/* Honest Servers — custom.css
   Covers everything theme.json can't express: bespoke cards, the hero
   terminal panel, footer grid, sticky nav blur, button color variants.
   Base color/typography/button tokens live in theme.json. */

:root{
  --hs-navy: var(--wp--preset--color--navy);
  --hs-navy-2: var(--wp--preset--color--navy-2);
  --hs-amber: var(--wp--preset--color--amber);
  --hs-amber-dark: var(--wp--preset--color--amber-dark);
  --hs-cream: var(--wp--preset--color--cream);
  --hs-slate: var(--wp--preset--color--slate);
  --hs-white: var(--wp--preset--color--white);
  --hs-green: var(--wp--preset--color--green);
  --hs-hairline: var(--wp--preset--color--hairline);
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hs-hairline);
  padding: 14px 32px;
}
.nav-row{ width: 100%; }
.brand{ gap: 10px; }
.brand .wp-block-site-logo img{ border-radius: 0; }
.wp-block-site-title, .wp-block-site-title a{
  font-family: var(--wp--preset--font-family--fraunces);
  font-weight: 600;
  font-size: 19px;
  color: var(--hs-navy);
  text-decoration: none;
}
.main-nav .wp-block-navigation-item__content{
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--hs-navy-2);
}
.main-nav .wp-block-navigation-item__content:hover{ color: var(--hs-navy); }
.nav-actions{ gap: 12px; }

/* ---------- Buttons (variants layered on theme.json base button) ---------- */
.wp-block-button .wp-block-button__link{
  border-radius: 8px;
  font-weight: 600;
}
.btn-accent .wp-block-button__link{
  background: var(--hs-amber);
  color: var(--hs-navy);
}
.btn-accent .wp-block-button__link:hover{ background: var(--hs-amber-dark); }

.btn-outline .wp-block-button__link{
  background: transparent;
  color: var(--hs-navy);
  border: 1px solid var(--hs-navy);
}
.btn-outline .wp-block-button__link:hover{ background: var(--hs-navy); color: var(--hs-cream); }

.btn-outline-light .wp-block-button__link{
  background: transparent;
  color: var(--hs-cream);
  border: 1px solid rgba(250,247,242,0.4);
}
.btn-outline-light .wp-block-button__link:hover{ background: rgba(255,255,255,0.12); }

.btn-ghost .wp-block-button__link{
  background: transparent;
  color: var(--hs-navy-2);
  border: 1px solid var(--hs-hairline);
}

.btn-primary .wp-block-button__link{
  background: var(--hs-navy);
  color: var(--hs-cream);
}
.btn-primary .wp-block-button__link:hover{ background: var(--hs-navy-2); }

/* ---------- Section rhythm ---------- */
.site-section{ padding-top: 80px; padding-bottom: 80px; }
.site-section.hero{ padding-top: 90px; padding-bottom: 70px; }
.site-section.hero.hero-tight{ padding-bottom: 20px; }
.site-section.alt{
  background: var(--hs-white);
  border-top: 1px solid var(--hs-hairline);
  border-bottom: 1px solid var(--hs-hairline);
}

.eyebrow{
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hs-amber-dark);
  margin-bottom: 10px !important;
}
.section-head{ max-width: 620px; margin-bottom: 44px; }
.section-head h2{ font-size: 34px; }

.hero-title, h1.page-title{ font-size: 52px; line-height: 1.12; letter-spacing: -0.5px; max-width: 620px; }
.page-title{ font-size: 44px !important; max-width: 680px; }
p.lead{ font-size: 18.5px; color: var(--hs-slate); max-width: 520px; margin-bottom: 28px !important; }
.hero-actions{ margin-bottom: 30px; }

.trust-row{ gap: 26px; }
.trust-item{
  font-size: 13.5px;
  color: var(--hs-navy-2);
  font-weight: 500;
  margin: 0 !important;
}

/* ---------- Hero terminal card ---------- */
.hero-card{
  background: var(--hs-navy);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(15,27,45,0.35);
}
.hc-line{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 13.5px;
  color: rgba(250,247,242,0.7);
  margin: 0 !important;
}
.hc-line:last-child{ border-bottom: none; }
.hc-line .val{ color: var(--hs-amber); }
.hc-line .ok{ color: var(--hs-green); }

/* ---------- Feature / pillar cards ---------- */
.card{
  background: var(--hs-white);
  border: 1px solid var(--hs-hairline);
  border-radius: 12px;
  padding: 28px;
  height: 100%;
}
.card-icon{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--hs-navy);
  color: var(--hs-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 0 16px !important;
}
.card h3{ font-size: 18.5px; margin-bottom: 8px; }
.card p{ font-size: 14.5px; margin-bottom: 0 !important; }

/* ---------- Steps ---------- */
.steps{ counter-reset: hs-step; }
.step{ position: relative; padding-left: 52px; }
.step::before{
  counter-increment: hs-step;
  content: counter(hs-step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--hs-amber);
  color: var(--hs-navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-weight: 700; font-size: 14px;
}
.step h3{ font-size: 17px; margin-bottom: 6px; }
.step p{ font-size: 14px; margin-bottom: 0 !important; }

/* ---------- Quote ---------- */
.quote{
  background: var(--hs-navy);
  border-radius: 16px;
  padding: 56px;
  text-align: center;
}
.quote-text{
  font-family: var(--wp--preset--font-family--fraunces);
  font-style: italic;
  font-size: 26px;
  color: var(--hs-cream) !important;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 20px !important;
}
.quote-who{
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 13px;
  color: var(--hs-amber) !important;
  letter-spacing: 1px;
  margin: 0 !important;
}

/* ---------- Pricing plans ---------- */
.plan{
  background: var(--hs-white);
  border: 1px solid var(--hs-hairline);
  border-radius: 14px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.plan.featured{
  border: 2px solid var(--hs-amber);
  position: relative;
}
.plan.featured::before{
  content: "MOST POPULAR";
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--hs-amber); color: var(--hs-navy);
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 10px; letter-spacing: 1px; padding: 4px 12px;
  border-radius: 20px; font-weight: 700;
}
.plan-name{
  font-family: var(--wp--preset--font-family--fraunces);
  font-size: 22px; font-weight: 600; color: var(--hs-navy);
  margin: 0 0 4px !important;
}
.plan-tagline{ font-size: 13.5px; color: var(--hs-slate); margin: 0 0 18px !important; }
.plan-price{ display: flex; align-items: baseline; gap: 6px; margin: 0 0 4px !important; }
.plan-price .amt{
  font-family: var(--wp--preset--font-family--fraunces);
  font-size: 40px; font-weight: 600; color: var(--hs-navy);
}
.plan-price .per{ font-size: 13px; color: var(--hs-slate); }
.plan-renewal{
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 11.5px; color: var(--hs-amber-dark);
  margin: 0 0 22px !important;
}
ul.plan-features{ list-style: none; padding: 0; margin: 0 0 24px !important; flex: 1; }
ul.plan-features li{
  font-size: 14px; color: var(--hs-navy-2);
  padding: 9px 0; border-bottom: 1px solid var(--hs-hairline);
  display: flex; align-items: center; gap: 10px;
}
ul.plan-features li::before{ content: "✓"; color: var(--hs-green); font-weight: 700; }
.plan .wp-block-buttons{ margin-top: auto; }
.plan .wp-block-button{ width: 100%; }
.plan .wp-block-button .wp-block-button__link{ display: block; text-align: center; }

.compare-note{ margin-top: 18px; font-size: 13.5px; color: var(--hs-slate); }

/* ---------- FAQ ---------- */
.faq{ max-width: 760px; margin: 0 auto; }
.faq-item{ border-bottom: 1px solid var(--hs-hairline); padding: 20px 0; }
.faq-item h3{ font-size: 17px; margin-bottom: 8px; }
.faq-item p{ font-size: 14.5px; margin-bottom: 0 !important; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--hs-navy);
  border-radius: 18px;
  padding: 60px;
  text-align: center;
  color: var(--hs-cream);
}
.cta-band h2{ color: var(--hs-cream) !important; font-size: 32px; }
.cta-band p{ color: rgba(250,247,242,0.75) !important; max-width: 480px; margin: 0 auto 26px !important; }
.cta-band-light{
  background: var(--hs-white);
  border: 1px solid var(--hs-hairline);
  color: var(--hs-navy);
}
.cta-band-light h2{ color: var(--hs-navy) !important; }
.cta-band-light p{ color: var(--hs-slate) !important; }

/* ---------- About page ---------- */
.stat-row{ gap: 36px; margin-top: 30px !important; }
.stat-n{
  font-family: var(--wp--preset--font-family--fraunces);
  font-size: 34px; font-weight: 600; color: var(--hs-navy);
  margin: 0 !important;
}
.stat-l{
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 12.5px; color: var(--hs-slate); letter-spacing: 0.5px;
  margin: 0 !important;
}

/* ---------- Contact page ---------- */
.contact-card{
  background: var(--hs-white);
  border: 1px solid var(--hs-hairline);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  gap: 16px;
  align-items: flex-start !important;
}
.contact-icon{
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--hs-navy); color: var(--hs-amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  margin: 0 !important;
}
.contact-card h3{ font-size: 15.5px; margin-bottom: 3px; }
.contact-card p{ font-size: 13.5px; margin-bottom: 0 !important; }

.form-panel{
  background: var(--hs-white);
  border: 1px solid var(--hs-hairline);
  border-radius: 14px;
  padding: 36px;
}
.hs-contact-form .form-row{ margin-bottom: 18px; }
.hs-contact-form label{
  display: block; font-size: 13px; font-weight: 600;
  color: var(--hs-navy-2); margin-bottom: 6px;
  font-family: var(--wp--preset--font-family--inter);
}
.hs-contact-form input,
.hs-contact-form select,
.hs-contact-form textarea{
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--hs-hairline); border-radius: 8px;
  font-family: var(--wp--preset--font-family--inter);
  font-size: 14.5px; background: var(--hs-cream); color: var(--hs-navy);
}
.hs-contact-form textarea{ min-height: 120px; resize: vertical; }
.form-two{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-contact-form button.btn{
  border: none; border-radius: 8px; padding: 12px 24px;
  font-weight: 600; font-size: 14.5px; cursor: pointer;
  background: var(--hs-amber); color: var(--hs-navy);
}
.hs-contact-form button.btn:hover{ background: var(--hs-amber-dark); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--hs-navy);
  color: rgba(250,247,242,0.7);
  padding: 60px 32px 32px;
}
.footer-brand{ gap: 10px; margin-bottom: 14px; }
.footer-brand .wp-block-site-title,
.footer-brand .wp-block-site-title a{ color: var(--hs-cream); }
.site-footer p{ color: rgba(250,247,242,0.55) !important; font-size: 14px; max-width: 280px; }
.footer-heading{
  color: var(--hs-cream) !important;
  font-family: var(--wp--preset--font-family--jetbrains-mono) !important;
  font-size: 13px !important; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px !important;
}
ul.footer-list{ list-style: none; padding: 0; margin: 0; }
ul.footer-list li{ margin-bottom: 10px; }
ul.footer-list a{ font-size: 14px; color: rgba(250,247,242,0.7); text-decoration: none; }
ul.footer-list a:hover{ color: var(--hs-amber); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px; margin-top: 44px !important;
  font-size: 12.5px; color: rgba(250,247,242,0.45);
  font-family: var(--wp--preset--font-family--jetbrains-mono);
}
.footer-bottom p{ color: rgba(250,247,242,0.45) !important; margin: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 782px){
  .site-header{ padding: 12px 20px; }
  .hero-title, .page-title{ font-size: 34px !important; }
  .cta-band{ padding: 36px 24px; }
  .quote{ padding: 36px 24px; }
  .form-two{ grid-template-columns: 1fr; }
  .site-section{ padding-top: 56px; padding-bottom: 56px; }
}
