/* ==========================================================================
   Operwise — design system
   Sections: 1 tokens · 2 base · 3 layout · 4 components · 5 page sections ·
             6 utilities · 7 motion
   --------------------------------------------------------------------------
   COMPONENT API (class -> purpose -> expected markup)
   Theme: <html data-theme="light|dark"> overrides OS preference. `.js` class on
   <html> enables reveal animation (content visible without JS).

   LAYOUT
   .container            centred width wrapper (max 1180px, 16px gutters)
   .section              vertical-padded <section>; .section--soft = tinted bg
   .section-head         <div class="section-head"><p class="eyebrow">..</p><h2>..</h2><p class="lead">..</p></div>
   .eyebrow              small uppercase teal label above headings
   .lead                 larger muted intro paragraph
   .grid-2/.grid-3/.grid-4  responsive card grids (minmax(0,1fr)); 4->2->1, 3->2->1, 2->1
   .reveal               scroll-reveal; JS adds .is-visible

   BUTTONS / BITS
   .btn .btn-primary | .btn-ghost   <a class="btn btn-primary">; .btn-lg bigger; .btn-block full width
   .tag                  small pill label (e.g. "Illustrative"); .tag--accent
   .card                 bordered surface; .card--hover lifts on hover
   .card-icon            <span class="card-icon" aria-hidden>svg/emoji</span> in a card
   .check-list           <ul class="check-list"><li>..</li></ul> teal check bullets

   NAV
   <header class="site-header [nav-open]"><div class="container nav-inner">
     <a class="logo" href="#top"><svg class="logo-mark">..</svg><span>Operwise</span></a>
     <nav id="site-nav" class="site-nav" aria-label="Primary"><a href>..</a>... <a class="btn btn-primary nav-cta">..</a></nav>
     <button class="theme-toggle" aria-label>..</button>
     <button id="nav-toggle" class="nav-toggle" aria-expanded="false" aria-controls="site-nav"><span class="nav-toggle-bar"></span></button>
   </div></header>
   Under 1024px #site-nav hidden unless .site-header.nav-open.
   Theme toggle: show icons with <span class="icon-sun"> and <span class="icon-moon"> inside; CSS shows the right one.

   HERO
   <section class="hero"><div class="container hero-grid">
     <div class="hero-copy"><p class="eyebrow"/><h1/><p class="lead"/><div class="hero-actions">btns</div>
       <ul class="trust-strip"><li>..</li>..</ul></div>
     <div class="hero-visual"> FLOW </div></div></section>
   FLOW (decorative, aria-hidden)
   <div class="flow" aria-hidden="true">
     <div class="flow-node"><span class="flow-dot"></span>Inbound email</div>
     <span class="flow-line"></span>
     <div class="flow-node flow-node--accent"><span class="flow-dot"></span>AI triage</div>
     <span class="flow-line"></span>
     <div class="flow-node"><span class="flow-dot"></span>CRM updated</div>
   </div>   (optional .flow-label small caption inside a node: <small class="flow-label">)

   SECTIONS
   Problem cards:  .grid-3 > .card  (h3 + p); optional .stat (big number) <p class="stat">62%</p>
   Two paths:      <div class="paths grid-2"><article class="card path"> <p class="eyebrow"/><h3/><p/><ul class="check-list"/> </article> <article class="card path path--accent">..</article></div>
   Services:       .grid-4 > .card.card--hover (card-icon, h3, p, optional .service-meta)
   Method:         <ol class="steps"><li class="step"><span class="step-num">1</span><div><h3/><p/><p class="step-meta">2 days · Deliverable</p></div></li>..</ol>
   ROI calculator: <div class="roi"><form class="roi-form card"> <div class="field"><label/><input/></div>
                   <div class="field"><label for>..<output class="range-value"/></label><input type="range"></div>..</form>
                   <div class="roi-result card" aria-live="polite"><p class="roi-label"/><p class="roi-big">$123,000</p>
                   <dl class="roi-breakdown"><div><dt/><dd/></div>..</dl><p class="roi-note"/><a class="btn btn-primary"/></div></div>
   Outcomes:       .grid-3 > <article class="card outcome"><span class="tag">Illustrative</span><h3/><p/><p class="outcome-metric">..</p></article>
   Principles:     <ul class="principles"><li class="principle"><h3/><p/></li>..</ul>  (5 items; 5-col -> 3 -> 2 -> 1)
   Pricing:        .grid-3 > <article class="card price [price--featured]"><p class="price-badge">Most popular</p><h3/><p class="price-amount">$4,500 <small>fixed</small></p><p class="price-desc"/><ul class="check-list"/><a class="btn"/></article>
   FAQ:            <div class="faq"><details><summary>Question</summary><div class="faq-body"><p/></div></details>..</div>
   Contact:        <div class="contact"><div class="contact-copy"/><form class="card contact-form"> .field (label,input|select|textarea) · .field-row (2 fields side by side)
                   <button class="btn btn-primary btn-block"/><p class="form-status" role="status" aria-live="polite" [data-state="success|error"]></p></form></div>
   Footer:         <footer class="site-footer"><div class="container footer-grid"><div class="footer-brand"/><nav class="footer-links"/></div><p class="footer-legal"/></footer>
   Utilities:      .sr-only, .skip-link, .text-center, .muted
   ========================================================================== */

/* ============================== 1. TOKENS ============================== */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --surface: #ffffff;
  --text: #0b1324;
  --text-muted: #4a566b;
  --border: #dde3ec;
  --input-border: #7a8699;
  --accent: #0fb5a6;
  --accent-ink: #08706a;
  --accent-soft: #e3f6f4;
  --on-accent: #0b1324;
  --navy: #0b1324;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 8px 24px -12px rgba(11, 19, 36, .14);
  --shadow-lg: 0 2px 4px rgba(11, 19, 36, .05), 0 24px 48px -20px rgba(11, 19, 36, .25);
  --glow: rgba(15, 181, 166, .16);
  --header-bg: rgba(255, 255, 255, .8);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.0625rem, .98rem + .4vw, 1.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 3.4vw, 4rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #070d1a;
    --bg-soft: #0a1222;
    --surface: #0e1729;
    --text: #e7ecf5;
    --text-muted: #a3afc4;
    --border: #1f2c45;
    --input-border: #5a6c8c;
    --accent: #2dd4bf;
    --accent-ink: #2dd4bf;
    --accent-soft: rgba(45, 212, 191, .12);
    --on-accent: #06101c;
    --navy: #0b1324;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -20px rgba(0, 0, 0, .7);
    --glow: rgba(45, 212, 191, .16);
    --header-bg: rgba(7, 13, 26, .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070d1a;
  --bg-soft: #0a1222;
  --surface: #0e1729;
  --text: #e7ecf5;
  --text-muted: #a3afc4;
  --border: #1f2c45;
  --input-border: #5a6c8c;
  --accent: #2dd4bf;
  --accent-ink: #2dd4bf;
  --accent-soft: rgba(45, 212, 191, .12);
  --on-accent: #06101c;
  --navy: #0b1324;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -20px rgba(0, 0, 0, .7);
  --glow: rgba(45, 212, 191, .16);
  --header-bg: rgba(7, 13, 26, .8);
}

/* =============================== 2. BASE =============================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ============================== 3. LAYOUT ============================== */
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.text-center { margin-inline: auto; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 62ch; }
.text-center .lead { margin-inline: auto; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 561px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* ============================ 4. COMPONENTS ============================ */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px -8px var(--accent); }
.btn-primary:hover { box-shadow: 0 10px 24px -8px var(--accent); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

/* Tag */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border);
}
.tag--accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* Card */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow); min-width: 0;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); }
.card--hover { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card--hover:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.25rem;
}
.card-icon svg { width: 22px; height: 22px; }

.check-list { list-style: none; display: grid; gap: 10px; margin: 16px 0; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230fb5a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Form fields */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.field-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 561px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
input:not([type="range"]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  background: var(--bg); border: 1px solid var(--input-border); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .8; }
input:not([type="range"]):hover, select:hover, textarea:hover { border-color: var(--text-muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 1px; border-color: var(--accent-ink); }
input[type="range"] { width: 100%; accent-color: var(--accent-ink); height: 28px; margin: 0; cursor: pointer; }
.field .field-hint { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.range-value { font-variant-numeric: tabular-nums; color: var(--accent-ink); font-weight: 700; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-size: var(--fs-sm); font-weight: 500; }
.form-status[data-state="success"] { color: var(--accent-ink); }
.form-status[data-state="error"] { color: #b42318; }
:root[data-theme="dark"] .form-status[data-state="error"] { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status[data-state="error"] { color: #ff8a80; } }

/* ============================ 5. PAGE SECTIONS ============================ */
/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
}
.nav-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--text); text-decoration: none; margin-right: auto; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--text-muted); font-weight: 500; font-size: .95rem; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--text); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; min-height: 40px; padding: 8px 18px; }
.theme-toggle, .nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--border); border-radius: 12px; color: var(--text); cursor: pointer;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.theme-toggle svg { width: 20px; height: 20px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: inline-block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: inline-block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1024px) {
  .nav-toggle { display: inline-grid; }
  .site-nav { display: none; }
  .site-header.nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; min-height: 48px; }
}

/* Hero */
.hero { position: relative; padding-block: clamp(48px, 8vw, 112px) clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 10%, var(--glow), transparent 70%),
    radial-gradient(45% 45% at 5% 0%, var(--accent-soft), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 961px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero h1 { margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; }
.trust-strip li { position: relative; padding-left: 22px; }
.trust-strip li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero-visual { display: grid; place-items: center; min-width: 0; }

/* Workflow visual */
.flow {
  display: grid; justify-items: center; width: min(100%, 360px); padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.flow-node {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; color: var(--text);
}
.flow-node--accent { background: var(--accent-soft); border-color: var(--accent); }
.flow-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--text-muted); }
.flow-node--accent .flow-dot { background: var(--accent); box-shadow: 0 0 0 5px var(--glow); animation: node-pulse 2.4s ease-in-out infinite; }
.flow-label { margin-left: auto; font-weight: 500; color: var(--text-muted); font-size: .78rem; }
.flow-line { position: relative; display: block; width: 2px; height: 40px; background: var(--border); overflow: hidden; border-radius: 2px; }
.flow-line::after {
  content: ""; position: absolute; left: 0; top: -14px; width: 2px; height: 14px;
  background: linear-gradient(to bottom, transparent, var(--accent)); animation: flow-pulse 2s linear infinite;
}
.flow-line:nth-of-type(2)::after { animation-delay: 1s; }

/* Problem / stat */
.stat { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink) !important; line-height: 1; margin-bottom: 10px; }

/* Services */
.service { display: flex; flex-direction: column; }
.service-meta { display: grid; gap: 10px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.service-meta dt { font-weight: 600; color: var(--text); }
.service-meta dd { margin: 2px 0 0; color: var(--text-muted); }

/* Two paths */
.path { display: flex; flex-direction: column; }
.path--accent { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); }

/* Method steps */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; position: relative; max-width: 820px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--border); }
.step:last-child::before { display: none; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.step h3 { margin: 8px 0 .3em; }
.step p { color: var(--text-muted); margin-bottom: .4em; }
.step-meta { font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink) !important; }

/* ROI calculator */
.roi { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 861px) { .roi { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.roi-form .field:last-child { margin-bottom: 0; }
.roi-result { background: var(--navy); border-color: var(--navy); color: #e7ecf5; }
.roi-result p, .roi-result dt { color: #b6c1d6; }
.roi-label { font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.roi-big { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #2dd4bf !important; margin: 0 0 20px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.roi-breakdown { display: grid; gap: 12px; margin: 0 0 20px; }
.roi-breakdown > div { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.roi-breakdown dt { margin: 0; }
.roi-breakdown dd { margin: 0; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.roi-note { font-size: var(--fs-sm); }
.roi-result .btn-primary { background: #2dd4bf; color: #06101c; }

/* Outcomes */
.outcome { display: flex; flex-direction: column; gap: 4px; }
.outcome .tag { align-self: flex-start; margin-bottom: 12px; }
.outcome-metric { margin-top: auto !important; padding-top: 14px; font-weight: 700; color: var(--accent-ink) !important; border-top: 1px solid var(--border); }

/* Principles */
.principles { list-style: none; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 561px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 861px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1181px) { .principles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.principle { padding-top: 18px; border-top: 2px solid var(--accent); min-width: 0; }
.principle h3 { font-size: 1.05rem; }
.principle p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* Pricing */
.price { position: relative; display: flex; flex-direction: column; }
.price .btn { margin-top: auto; }
.price .check-list { margin-bottom: 24px; }
.price-amount { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--text) !important; margin: 8px 0 4px; line-height: 1.1; }
.price-amount small { font-size: .9rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.price-desc { margin-bottom: 16px; }
.price .price-guarantee { margin: 0 0 24px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-size: var(--fs-sm); }
.pricing-note { max-width: 62ch; margin: 32px auto 0; font-size: var(--fs-sm); }
.price--featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg), 0 0 0 6px var(--glow); }
@media (min-width: 1025px) { .price--featured { transform: translateY(-8px); } }
.price-badge {
  align-self: flex-start; margin: 0 0 12px; padding: 3px 12px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent) !important; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px;
  font-weight: 600; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 20px 18px; color: var(--text-muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* Contact */
.contact { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 861px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.contact-form { box-shadow: var(--shadow-lg); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-note { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* Footer */
.site-footer { padding-block: 48px 32px; border-top: 1px solid var(--border); background: var(--bg-soft); color: var(--text-muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
@media (min-width: 761px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.footer-brand p { max-width: 36ch; margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: start; }
.footer-links a { color: var(--text-muted); text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { margin: 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: var(--fs-sm); }

/* ============================== 6. UTILITIES ============================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }

/* Reveal: content stays visible without JS */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================== 7. MOTION ============================== */
@keyframes flow-pulse { from { transform: translateY(0); } to { transform: translateY(60px); } }
@keyframes node-pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--glow); } 50% { box-shadow: 0 0 0 9px transparent; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Privacy page: header link stays visible (no collapsing nav there) */
.back-nav { display: flex; align-items: center; gap: 4px; }
.back-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-muted); font-weight: 500; font-size: .95rem; text-decoration: none; }
.back-nav a:hover { color: var(--text); background: var(--bg-soft); }
