/* ============================================================
   RivoHR — Design tokens
   Palette drawn from brand kit: navy #233776, teal #295a56, ink #16162b
   Type: Inter everywhere, the app's own face, served from /site/fonts
   (owner decision 2026-10-30; no third-party font host)
   ============================================================ */

@font-face{
  font-family:'Inter';
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  --ink:        #16162b;
  --navy:       #233776;
  --navy-deep:  #182a63;
  --teal:       #295a56;
  --teal-light: #3f8378;
  --paper:      #fbfbf9;
  --mist:       #eef3f1;
  --mist-line:  #dfe6e3;
  --line:       #e2e2de;
  --muted:      #5c6067;
  --muted-2:    #8a8d92;
  --white:      #ffffff;
  --ok:         #2f7d5e;

  --font-head: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --container: 1160px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--ink);
  font-weight:700;
  line-height:1.15;
  margin:0 0 .6em;
  letter-spacing:-.02em;
}
h1{ font-size:clamp(2.1rem,4vw,3.4rem); font-weight:700; }
h2{ font-size:clamp(1.6rem,2.6vw,2.35rem); }
h3{ font-size:1.2rem; font-weight:600; }
p{ margin:0 0 1em; color:var(--muted); }
a{ color:var(--navy); text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:2px solid var(--teal); outline-offset:2px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-mist{ background:var(--mist); }
.section-ink{ background:var(--ink); color:#cfd3da; }
.section-ink h2, .section-ink h3{ color:#fff; }
.section-ink p{ color:#a7acb8; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:600; font-size:.85rem;
  color:var(--teal); margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:18px; height:2px; background:var(--teal); display:inline-block; border-radius:2px;
}

.lede{ font-size:1.1rem; max-width:640px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-head); font-weight:600; font-size:.98rem;
  padding:13px 26px; border-radius:8px; border:1.5px solid transparent;
  cursor:pointer; transition:background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--navy); color:#fff; }
.btn-primary:hover{ background:var(--navy-deep); }
.btn-teal{ background:var(--teal); color:#fff; }
.btn-teal:hover{ background:var(--teal-light); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--navy); color:var(--navy); }
.btn-ghost-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.35); }
.btn-ghost-light:hover{ border-color:#fff; }
.btn-lg{ padding:16px 32px; font-size:1.02rem; }
.btn-block{ width:100%; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(251,251,249,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:30px; width:auto; }
.brand-name{ font-family:var(--font-head); font-weight:700; font-size:1.2rem; color:var(--navy); display:none; }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-size:.96rem; color:var(--ink); font-weight:500; position:relative; padding:4px 0;
}
.nav-links a:hover{ color:var(--navy); }
.nav-links a.is-active{ color:var(--navy); font-weight:600; }
.nav-links a.is-active::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--teal); border-radius:2px;
}
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px; }

/* ---------- Hero / Ops board motif ---------- */
.hero{ padding:76px 0 64px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ margin-bottom:.5em; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-proof{ display:flex; gap:28px; margin-top:40px; flex-wrap:wrap; }
.hero-proof div{ font-family:var(--font-head); font-weight:700; font-size:1.5rem; color:var(--navy); }
.hero-proof span{ display:block; font-family:var(--font-body); font-weight:500; font-size:.82rem; color:var(--muted); }

/* Ops board — recurring visual device representing a live agent-status floor */
.ops-board{
  background:var(--ink); border-radius:16px; padding:22px; color:#fff;
  box-shadow:0 20px 44px -22px rgba(22,22,43,.55);
}
.ops-board-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.ops-board-head strong{ font-family:var(--font-head); font-size:.95rem; }
.ops-board-head span{ font-size:.74rem; color:#9aa0ab; }
.ops-live{ display:inline-flex; align-items:center; gap:6px; font-size:.72rem; color:#7ee2b8; }
.ops-live i{ width:7px; height:7px; border-radius:50%; background:#3ddc91; display:inline-block; }
.ops-grid{ display:grid; grid-template-columns:repeat(10,1fr); gap:6px; margin-bottom:16px; }
.ops-grid i{ display:block; padding-top:100%; border-radius:3px; }
.ops-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.ops-stat{ background:rgba(255,255,255,.05); border-radius:8px; padding:12px; }
.ops-stat b{ display:block; font-family:var(--font-head); font-size:1.15rem; }
.ops-stat span{ font-size:.72rem; color:#9aa0ab; }
.ops-legend{ display:flex; gap:16px; margin-top:14px; font-size:.72rem; color:#9aa0ab; flex-wrap:wrap; }
.ops-legend i{ width:8px; height:8px; border-radius:2px; display:inline-block; margin-right:5px; vertical-align:middle; }

/* ---------- Logo strip ---------- */
.logo-strip{ padding:34px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.logo-strip-inner{ display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.logo-strip p{ margin:0; font-size:.82rem; color:var(--muted-2); white-space:nowrap; }
.logo-strip-marks{ display:flex; gap:34px; flex-wrap:wrap; align-items:center; }
.logo-strip-marks span{
  font-family:var(--font-head); font-weight:600; color:var(--muted-2); font-size:1.05rem; letter-spacing:.02em;
}

/* ---------- Feature grid ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.feature-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:30px 26px;
}
.feature-card .icon{
  width:42px; height:42px; border-radius:9px; background:var(--mist);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.feature-card .icon svg{ width:22px; height:22px; stroke:var(--teal); }
.feature-card h3{ margin-bottom:.4em; }
.feature-card p{ margin-bottom:0; font-size:.95rem; }

.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Stat band ---------- */
.stat-band{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; }
.stat-cell{ background:#fff; padding:30px 22px; }
.stat-cell b{ display:block; font-family:var(--font-head); font-size:2rem; color:var(--navy); }
.stat-cell span{ font-size:.85rem; color:var(--muted); }

/* ---------- Steps (real sequence: onboarding) ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.step{ position:relative; padding:0 20px 0 0; }
.step-num{
  font-family:var(--font-head); font-weight:700; color:var(--teal); font-size:1rem;
  border:1.5px solid var(--teal); width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.step-line{ position:absolute; top:17px; left:34px; right:-20px; height:1.5px; background:var(--line); }
.step:last-child .step-line{ display:none; }

/* ---------- Pricing ---------- */
.billing-toggle{ display:flex; align-items:center; justify-content:center; gap:14px; margin:0 auto 46px; }
.billing-toggle span{ font-family:var(--font-head); font-weight:600; font-size:.95rem; color:var(--muted-2); }
.billing-toggle span.active{ color:var(--ink); }
.switch{ position:relative; width:50px; height:28px; background:var(--line); border-radius:20px; border:none; cursor:pointer; padding:0; }
.switch::after{ content:''; position:absolute; top:3px; left:3px; width:22px; height:22px; background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .18s ease; }
.switch.on{ background:var(--navy); }
.switch.on::after{ transform:translateX(22px); }
.save-badge{
  font-size:.72rem; font-weight:700; color:var(--ok); background:#e5f3ec; padding:3px 9px; border-radius:20px;
  font-family:var(--font-head); display:none;
}
.save-badge.show{ display:inline-block; }

.pricing-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; align-items:stretch; }
.price-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:32px 26px; display:flex; flex-direction:column; }
.price-card.featured{ border:2px solid var(--navy); position:relative; }
.price-tag{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--navy); color:#fff; font-family:var(--font-head); font-weight:600; font-size:.72rem;
  padding:5px 14px; border-radius:20px; white-space:nowrap;
}
.price-card h3{ text-align:center; margin-bottom:6px; }
.price-amount{ text-align:center; margin:6px 0 4px; }
.price-amount .num{ font-family:var(--font-head); font-weight:700; font-size:2.5rem; color:var(--ink); }
.price-amount .cur{ font-size:1.1rem; vertical-align:top; position:relative; top:6px; color:var(--muted); }
.price-amount .per{ font-size:.85rem; color:var(--muted); }
.price-desc{ text-align:center; font-size:.86rem; min-height:52px; }
.price-divider{ border-top:1px solid var(--line); margin:18px 0; padding-top:18px; }
.price-list-title{ font-family:var(--font-head); font-weight:700; font-size:.74rem; color:var(--muted-2); margin-bottom:12px; }
.price-row{ display:flex; justify-content:space-between; align-items:center; padding:7px 0; font-size:.92rem; color:var(--ink); border-bottom:1px dashed var(--line); }
.price-row:last-child{ border-bottom:none; }
.price-row b{ font-weight:600; }
.price-feature{ display:flex; align-items:center; gap:8px; padding:7px 0; font-size:.92rem; }
.price-feature svg{ width:15px; height:15px; stroke:var(--ok); flex-shrink:0; }
.price-card .btn{ margin-top:auto; }
.price-card .btn-wrap{ margin-top:24px; }
.price-card.enterprise{ background:var(--ink); border-color:var(--ink); color:#cfd3da; }
.price-card.enterprise h3, .price-card.enterprise .price-amount .num{ color:#fff; }
.price-card.enterprise .price-desc{ color:#a7acb8; }
.price-card.enterprise .price-divider{ border-color:rgba(255,255,255,.15); }
.price-card.enterprise .price-row{ color:#e7e9ee; border-bottom-color:rgba(255,255,255,.12); }
.price-card.enterprise .price-list-title{ color:#8b909b; }
.price-card.enterprise .price-feature svg{ stroke:#7ee2b8; }

.pricing-note{ text-align:center; margin-top:38px; font-size:.88rem; color:var(--muted-2); }

/* ---------- Testimonials ---------- */
.quote-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:30px; }
.quote-card p{ font-size:1.02rem; color:var(--ink); margin-bottom:20px; }
.quote-person{ display:flex; align-items:center; gap:12px; }
.quote-avatar{ width:40px; height:40px; border-radius:50%; background:var(--mist); color:var(--navy); font-family:var(--font-head); font-weight:700; display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.quote-person b{ display:block; font-size:.92rem; }
.quote-person span{ font-size:.8rem; color:var(--muted-2); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:22px 0; font-family:var(--font-head); font-weight:600; font-size:1.02rem; color:var(--ink);
}
.faq-q .plus{ flex-shrink:0; width:22px; height:22px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:''; position:absolute; background:var(--navy); border-radius:2px; transition:transform .2s ease; }
.faq-q .plus::before{ top:50%; left:0; width:100%; height:2px; transform:translateY(-50%); }
.faq-q .plus::after{ left:50%; top:0; height:100%; width:2px; transform:translateX(-50%); }
.faq-item.open .plus::after{ transform:translateX(-50%) scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding-bottom:22px; margin:0; max-width:720px; }
.faq-item.open .faq-a{ max-height:400px; }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--navy) 0%, var(--teal) 100%);
  border-radius:20px; padding:64px 56px; color:#fff; text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.85); max-width:520px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; gap:14px; justify-content:center; margin-top:28px; flex-wrap:wrap; }
.cta-band .btn-primary{ background:#fff; color:var(--navy); }
.cta-band .btn-primary:hover{ background:#f0f0f0; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#9aa0ab; padding:64px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer-brand img{ height:26px; margin-bottom:14px; filter:brightness(0) invert(1); }
.footer-brand p{ color:#8b909b; font-size:.9rem; max-width:280px; }
.footer-col h4{ color:#fff; font-size:.85rem; margin-bottom:16px; }
.footer-col li{ margin-bottom:10px; }
.footer-col a{ color:#9aa0ab; font-size:.9rem; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p{ margin:0; font-size:.82rem; color:#7a7f89; }
.footer-social{ display:flex; gap:14px; }
.footer-social a{ color:#9aa0ab; }
.footer-social a:hover{ color:#fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding:64px 0 56px; }
.page-hero .eyebrow{ justify-content:center; }
.page-hero .section-head{ margin:0 auto; }

/* ---------- Compliance strip ---------- */
.badge-row{ display:flex; gap:12px; flex-wrap:wrap; }
.badge-pill{
  display:inline-flex; align-items:center; gap:7px; font-size:.82rem; font-weight:500; color:var(--ink);
  background:#fff; border:1px solid var(--line); padding:8px 14px; border-radius:20px;
}
.badge-pill svg{ width:14px; height:14px; stroke:var(--teal); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.contact-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:26px; display:flex; gap:16px; margin-bottom:16px; }
.contact-card .icon{ width:40px; height:40px; border-radius:9px; background:var(--mist); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-card .icon svg{ width:20px; height:20px; stroke:var(--teal); }
.contact-card h3{ margin-bottom:4px; font-size:1.02rem; }
.contact-card p{ margin:0; font-size:.92rem; }
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:7px; font-family:var(--font-head); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px; font-family:var(--font-body);
  font-size:.95rem; background:#fff; color:var(--ink);
}
.form-field textarea{ resize:vertical; min-height:110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--navy); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0; }
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }

/* ---------- Feature rows (features page) ---------- */
.feature-row{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; padding:60px 0; border-bottom:1px solid var(--line); }
.feature-row:last-child{ border-bottom:none; }
.feature-row.reverse{ direction:rtl; }
.feature-row.reverse > *{ direction:ltr; }
.feature-row-num{ font-family:var(--font-head); font-weight:700; color:var(--teal); font-size:.82rem; margin-bottom:10px; }
.feature-row ul{ margin-top:18px; }
.feature-row ul li{ display:flex; gap:10px; padding:7px 0; font-size:.95rem; color:var(--ink); }
.feature-row ul li svg{ width:16px; height:16px; stroke:var(--ok); flex-shrink:0; margin-top:2px; }

.mock-panel{ background:var(--mist); border:1px solid var(--mist-line); border-radius:14px; padding:22px; }
.mock-panel-title{ font-family:var(--font-head); font-weight:700; font-size:.82rem; color:var(--muted); margin-bottom:14px; display:flex; justify-content:space-between; }
.mock-row{ background:#fff; border-radius:8px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; font-size:.85rem; }
.mock-row:last-child{ margin-bottom:0; }
.mock-dot{ width:8px; height:8px; border-radius:50%; display:inline-block; margin-right:8px; }
.mock-pill{ font-size:.72rem; font-weight:600; padding:3px 9px; border-radius:20px; }
.pill-ok{ background:#e5f3ec; color:var(--ok); }
.pill-warn{ background:#fdefe0; color:#b06a12; }
.pill-info{ background:#e8edfb; color:var(--navy); }
.mock-bars{ display:flex; align-items:flex-end; gap:8px; height:90px; }
.mock-bars i{ flex:1; background:var(--teal); border-radius:4px 4px 0 0; opacity:.85; }
.mock-bars i:nth-child(even){ background:var(--navy); opacity:.9; }

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid-3, .pricing-grid{ grid-template-columns:repeat(2,1fr); }
  .grid-2, .stat-band, .steps, .footer-grid, .contact-grid, .form-row, .feature-row{ grid-template-columns:1fr; }
  .feature-row.reverse{ direction:ltr; }
  .feature-row{ gap:32px; padding:40px 0; }
  .stat-band{ grid-template-columns:repeat(2,1fr); }
  .step{ padding:0 0 34px; }
  .step-line{ display:none; }
}
@media (max-width:760px){
  .nav-links, .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
  .grid-3, .pricing-grid, .stat-band{ grid-template-columns:1fr; }
  .cta-band{ padding:48px 26px; }
  .section{ padding:64px 0; }
}
.nav-open .nav-links{
  display:flex; position:absolute; top:76px; left:0; right:0; background:#fff; flex-direction:column;
  padding:20px 24px 26px; border-bottom:1px solid var(--line); gap:18px;
}
.nav-open .nav-cta{ display:none; }

/* ---------- Industries menu (preview of Step 8 changes) ---------- */
.nav-dd{ position:relative; }
.nav-dd-btn{ background:none; border:none; padding:4px 0; cursor:pointer; font:inherit; font-size:.96rem; font-weight:500; color:var(--ink); display:flex; align-items:center; gap:4px; }
.nav-dd-btn svg{ width:16px; height:16px; stroke:currentColor; }
.nav-dd-menu{ display:none; position:absolute; top:calc(100% + 12px); left:-18px; min-width:290px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:8px; box-shadow:0 16px 40px rgba(22,22,43,.10); z-index:60; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu{ display:block; }
.nav-dd-menu a{ display:block; padding:10px 12px; border-radius:8px; }
.nav-dd-menu a:hover{ background:var(--mist); }
.nav-dd-menu a::after{ display:none; }
.nav-dd-menu b{ display:block; font-weight:600; color:var(--ink); font-size:.95rem; }
.nav-dd-menu small{ display:block; color:var(--muted); font-size:.82rem; font-weight:400; }
.nav-open .nav-dd-menu{ display:block; position:static; box-shadow:none; border:none; padding:4px 0 0 8px; min-width:0; }

/* ---------- Coco AI cards ---------- */
.ai-quote{ display:block; margin-top:12px; padding:10px 12px; border-radius:var(--radius-sm); background:var(--mist); font-size:.9rem; color:var(--ink); }
.industry-card{ display:flex; flex-direction:column; gap:10px; color:var(--ink); }
.industry-card .more{ margin-top:auto; font-weight:600; color:var(--navy); }

/* ---------- Demo form states (Step 8) ---------- */
.form-error{ display:block; margin-top:6px; font-size:.82rem; color:#b42318; }
.form-field [aria-invalid="true"]{ border-color:#b42318; }
.form-alert{ margin:0 0 20px; padding:12px 14px; border-radius:var(--radius-sm); font-size:.92rem; }
.form-alert-ok{ background:#ecf7f1; border:1px solid #b7e1c9; color:#1f5c42; }
.form-alert-error{ background:#fdf0ef; border:1px solid #f3c5c0; color:#8a1c12; }
.hp-field{ position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }

/* The menu has more items now (Coco AI, Industries), so it folds into the
   menu button below 1080px instead of 760px. */
@media (max-width:1080px){
  .nav-links, .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- Inner pages (Step 8c) ---------- */
.page-answer{ max-width:720px; margin-top:18px; padding:14px 18px; border-radius:var(--radius-md); background:var(--mist); border:1px solid var(--mist-line); color:var(--ink); font-size:.98rem; text-align:left; }
.compliance-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.compliance-list li{ display:flex; gap:10px; padding:16px 18px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); font-size:.95rem; }
.compliance-list svg{ width:18px; height:18px; stroke:var(--ok); flex-shrink:0; margin-top:2px; }
.link-grid a.feature-card{ color:var(--ink); display:flex; flex-direction:column; gap:8px; }
.link-grid a.feature-card:hover{ border-color:var(--navy); }
.link-grid .more{ margin-top:auto; font-weight:600; color:var(--navy); }
.prose-page{ max-width:780px; margin:0 auto; }
.prose-page h2{ font-size:1.35rem; margin:36px 0 10px; }
.prose-page p, .prose-page li{ color:var(--ink); line-height:1.7; }
.prose-page ul{ list-style:disc; padding-left:22px; margin:8px 0 16px; }
.prose-page .updated{ color:var(--muted); font-size:.9rem; }
.faq-group-title{ margin:36px 0 6px; }
.faq-group-title:first-child{ margin-top:0; }
@media (max-width:760px){ .compliance-list{ grid-template-columns:1fr; } }
.footer-grid.five{ grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; }
.footer-bottom-links{ display:flex; gap:18px; font-size:.82rem; }
.footer-bottom-links a{ color:#a4a9b3; }
.footer-bottom-links a:hover{ color:#fff; }
@media (max-width:980px){ .footer-grid.five{ grid-template-columns:1fr 1fr; } }
@media (max-width:760px){ .footer-grid.five{ grid-template-columns:1fr; } }
