/* ==========================================================================
   Clyra Digital — design system  v4
   Palette : white/warm-off-white surfaces · charcoal #1A1614 · orange #C2470C
             · amber #F5A623 for secondary accents
   Type    : Instrument Serif (display) · Instrument Sans (UI/body)
             · JetBrains Mono (labels, metrics)
   Idea    : light and open. Orange carries the energy, charcoal carries the
             authority, and dark bands are used sparingly so they still land.
   ========================================================================== */

:root {
  /* surfaces */
  --ink:        #1A1614;
  --ink-2:      #2E2825;
  --ink-3:      #443B36;
  --paper:      #FFFFFF;
  --mist:       #FBF5F0;
  --line:       #EDE6E0;
  --line-dark:  rgba(255,255,255,.13);

  /* brand */
  --brand:      #C2470C;
  --brand-br:   #E85D18;
  --brand-deep: #9E370A;

  /* accent — the warm signal colour, used for CTAs and highlights */
  --flare:      #F5A623;
  --flare-br:   #FFC05C;
  --flare-ink:  #2A1A02;
  --gold:       #F5A623;

  /* text */
  --muted:       #6B615B;
  --muted-light: #B8ABA3;
  --on-ink:      #E4DCD6;

  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --wrap: 1180px;
  --radius:   14px;
  --radius-lg: 22px;
  --shadow:    0 2px 4px rgba(26,22,20,.04), 0 12px 32px rgba(26,22,20,.08);
  --shadow-lg: 0 4px 8px rgba(26,22,20,.05), 0 28px 64px rgba(26,22,20,.14);
  --ease: cubic-bezier(.22,.68,.36,1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--flare); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------ typography */
/* Display faces are serif and set at 400 — Instrument Serif has no bold, and
   at large sizes its high contrast is the point. Anything small or functional
   (h3, buttons, nav, cards) stays in the sans for legibility. */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 .4em;
  line-height: 1.06;
  letter-spacing: -.018em;
}
h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.h1  { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.6rem); line-height: 1.03; letter-spacing: -.022em; }
.h2  { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.018em; }
.h3  { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .55vw, 1.42rem); letter-spacing: -.015em; }

/* Italic serif accent — used on one phrase per headline, never more. */
.h1 em, .h2 em, h1 em, h2 em {
  font-style: italic;
  color: var(--flare);
}
.section--ink .h1 em, .section--ink .h2 em, .hero em { color: var(--flare-br); }

.lede {
  font-size: clamp(1.05rem, .98rem + .34vw, 1.24rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.62;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 500;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--flare); flex: none; }
.eyebrow--light { color: var(--flare-br); }

.text-mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------------- layout */
.wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2.6rem); }

.section { padding: clamp(3.6rem, 2rem + 5vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.6rem, 1.6rem + 3vw, 4rem) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3, .section--ink .h2, .section--ink .h3 { color: #fff; }
.section--ink .lede { color: var(--muted-light); }

.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.section-head { max-width: 66ch; margin-bottom: 2.8rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(194,71,12,.28); }
.btn--primary:hover { background: var(--brand-br); color: #fff; }
.btn--signal { background: var(--flare); color: var(--flare-ink); box-shadow: 0 8px 22px rgba(245,166,35,.3); }
.btn--signal:hover { background: var(--flare-br); color: var(--flare-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "\2192"; transition: transform .18s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 1.4rem; height: 88px; }
.brand { display: flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand svg { width: 196px; height: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem; border-radius: 9px;
  font-size: .94rem; font-weight: 600; color: var(--ink-2);
}
.nav__link:hover { background: var(--mist); color: var(--ink); text-decoration: none; }
.nav__link.is-active { color: var(--brand); }
.nav__caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 340px; padding: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .2s var(--ease);
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop__item { display: block; padding: .65rem .8rem; border-radius: 9px; color: var(--ink); }
.drop__item:hover { background: var(--mist); text-decoration: none; }
.drop__item strong { display: block; font-family: var(--font-display); font-size: .95rem; font-weight: 600; }
.drop__item span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }

.header-cta { display: flex; align-items: center; gap: .7rem; flex: none; }
.header-phone { font-family: var(--font-mono); font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.header-phone:hover { color: var(--brand); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3.5px auto; transition: .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
/* Single-column, left-aligned copy over a live neural-network canvas. The
   canvas is decorative: it sits behind the text, never intercepts clicks, and
   is skipped entirely when the visitor prefers reduced motion. */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(178deg, #FFFFFF 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(3.4rem, 2rem + 5vw, 6.4rem) 0 clamp(3.4rem, 2rem + 5vw, 6rem);
  isolation: isolate;
}

.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;          /* pointer events are read on .hero itself */
  /* hint the compositor to keep this on its own layer */
  transform: translateZ(0);
  will-change: transform;
  /* fade the network out behind the copy so text stays readable */
  mask-image: linear-gradient(100deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 34%, #000 62%);
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 34%, #000 62%);
}

.hero__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__glow::before, .hero__glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__glow::before {
  width: 46vw; height: 46vw; max-width: 660px; max-height: 660px;
  right: -10%; top: -30%;
  background: radial-gradient(circle, rgba(194,71,12,.16), transparent 68%);
}
.hero__glow::after {
  width: 32vw; height: 32vw; max-width: 440px; max-height: 440px;
  left: -8%; bottom: -26%;
  background: radial-gradient(circle, rgba(245,166,35,.16), transparent 68%);
}

.hero__inner { position: relative; max-width: 760px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .71rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(255,255,255,.86); border: 1px solid var(--line);
  border-radius: 99px; padding: .42rem 1rem; margin: 0 0 1.5rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(26,22,20,.05);
}
.hero__badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(194,71,12,.5); animation: heroPulse 2.6s ease-out infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(194,71,12,.45); }
  70% { box-shadow: 0 0 0 10px rgba(194,71,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(194,71,12,0); }
}

.hero__title { color: var(--ink); margin: 0 0 1.1rem; max-width: 17ch; }
.hero__lede { color: var(--muted); font-size: clamp(1.04rem, .97rem + .42vw, 1.22rem); line-height: 1.62; max-width: 56ch; margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }

/* channel row, doubles as a plain-language statement of what we run */
.hero__channels {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.hero__channels li {
  font-size: .83rem; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.82); border: 1px solid var(--line);
  border-radius: 99px; padding: .4rem .9rem; backdrop-filter: blur(6px);
}
.hero__channels li:nth-child(1) { background: rgba(194,71,12,.09); border-color: rgba(194,71,12,.26); color: var(--brand-deep); }
.hero__channels li:nth-child(2),
.hero__channels li:nth-child(3),
.hero__channels li:nth-child(4) { background: rgba(245,166,35,.14); border-color: rgba(245,166,35,.34); color: #8A5A12; }

.hero__trust { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__trust-item { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.hero__trust-item::before {
  content: ""; width: 13px; height: 7px; flex: none;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg) translateY(-2px);
}

/* ---- audit bar, lives in the closing CTA band ---- */
.audit {
  display: flex; align-items: center; gap: .5rem;
  max-width: 520px; margin: 1.2rem 0 .7rem;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: .38rem .38rem .38rem 1.2rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.audit:focus-within { border-color: rgba(255,192,92,.6); box-shadow: 0 0 0 4px rgba(245,166,35,.16); }
.audit__prefix { font-family: var(--font-mono); font-size: .84rem; color: #9A8C84; flex: none; }
.audit__input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff;
  font-family: var(--font-mono); font-size: .92rem; padding: .8rem .5rem;
}
.audit__input::placeholder { color: #8B7D75; }
.audit__go { flex: none; white-space: nowrap; }
.audit__note { font-size: .8rem; color: var(--muted-light); margin: 0; }

/* Sample report panel — used on the Results page (clearly labelled there). */
.funnel {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.funnel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; }
.funnel__title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted-light); }
.funnel__badge { font-family: var(--font-mono); font-size: .7rem; color: var(--flare); border: 1px solid rgba(245,166,35,.35); border-radius: 99px; padding: .18rem .6rem; }
.funnel__row { display: grid; grid-template-columns: 1fr auto; gap: .35rem .8rem; padding: .72rem 0; border-bottom: 1px dashed var(--line-dark); }
.funnel__row:last-of-type { border-bottom: 0; }
.funnel__stage { font-size: .87rem; color: var(--muted-light); font-weight: 600; }
.funnel__num { font-family: var(--font-mono); font-size: 1.02rem; color: #fff; font-weight: 600; }
.funnel__bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.funnel__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-br), var(--flare-br)); width: 0; transition: width 1.1s var(--ease); }
.funnel__foot { margin-top: 1.15rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.funnel__foot-label { font-size: .8rem; color: var(--muted-light); }
.funnel__foot-value { font-family: var(--font-display); font-size: 1.85rem; font-weight: 400; color: var(--flare-br); }

/* Signal line divider — the brand motif: noise resolving into signal */
.signal-rule { display: block; width: 100%; height: 34px; opacity: .8; }
.signal-rule path { fill: none; stroke: var(--flare); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signal-rule .signal-rule__noise { stroke: var(--line); }

/* ----------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #E0D5CD; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--brand-br), var(--brand-deep)); display: grid; place-items: center; margin-bottom: 1.15rem; flex: none; }
.card__icon svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 1.8; }
.card__title { font-family: var(--font-body); font-size: 1.14rem; font-weight: 600; color: var(--ink); margin: 0 0 .5rem; }
.card__text { font-size: .95rem; color: var(--muted); margin: 0 0 1.15rem; }
.card__list { list-style: none; margin: 0 0 1.3rem; padding: 0; font-size: .9rem; color: var(--muted); }
.card__list li { position: relative; padding-left: 1.4rem; margin-bottom: .42rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 2px; background: var(--flare); }
.card__foot { margin-top: auto; }

.card--flat { background: var(--mist); border-color: transparent; }
.card--flat:hover { transform: none; box-shadow: none; }

/* ----------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem; }
.stat { padding: 1.4rem 1.5rem; border-left: 3px solid var(--flare); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 400; color: var(--ink); line-height: 1.05; }
.stat__label { font-size: .87rem; color: var(--muted); margin-top: .3rem; }
.section--ink .stat { background: rgba(255,255,255,.05); }
.section--ink .stat__value { color: #fff; }
.section--ink .stat__label { color: var(--muted-light); }

/* --------------------------------------------------------------- process */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__n { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; color: var(--brand); display: block; margin-bottom: .7rem; }
.step__title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0 0 .4rem; }
.step__text { font-size: .92rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------- logo row */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.6rem; }
.logo-row__item { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: -.01em; opacity: .72; }

/* ------------------------------------------------------------ case cards */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.case__top { padding: 1.6rem 1.7rem 1.2rem; border-bottom: 1px dashed var(--line); }
.case__tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.case__title { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: .5rem 0 .5rem; }
.case__text { font-size: .93rem; color: var(--muted); margin: 0; }
.case__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: 1.3rem 1.7rem 1.6rem; margin-top: auto; }
.case__metric-v { font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; color: var(--brand); }
.case__metric-l { font-size: .76rem; color: var(--muted); line-height: 1.35; }

/* ------------------------------------------------------------ testimonial */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.quote__stars { color: var(--gold); letter-spacing: .15em; font-size: .95rem; margin-bottom: .8rem; }
.quote__text { font-size: 1rem; color: var(--ink-2); margin: 0 0 1.2rem; }
.quote__who { display: flex; align-items: center; gap: .8rem; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, var(--brand), var(--flare)); color: #fff; display: grid; place-items: center; font-family: var(--font-body); font-weight: 600; font-size: .88rem; flex: none; }
.quote__name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.quote__role { font-size: .82rem; color: var(--muted); }

/* ------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-body); font-size: 1.04rem; font-weight: 600; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 15px; height: 15px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--brand); transition: transform .2s var(--ease); }
.faq__icon::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq__icon::after  { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 0 1.35rem; color: var(--muted); font-size: .96rem; max-width: 74ch; }
.faq__a p { margin: 0 0 .8rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(118deg, var(--ink) 0%, #2E2825 46%, #6B3410 100%); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-end; justify-content: space-between; }
.cta-band__title { color: #fff; margin-bottom: .6rem; max-width: 20ch; }
.cta-band__sub { color: var(--muted-light); max-width: 52ch; margin: 0; font-size: .98rem; }
.cta-band__inner > div:first-child { flex: 1 1 420px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ----------------------------------------------------------------- forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field__label { display: block; font-size: .87rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.field__req { color: var(--brand); }
.field__input, .field__select, .field__textarea {
  width: 100%; padding: .78rem .95rem; font: inherit; font-size: .95rem;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(194,71,12,.11);
}
.field__textarea { min-height: 122px; resize: vertical; }
.field__hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 1.1rem 0 1.4rem; }
.consent input { margin-top: .22rem; flex: none; width: 16px; height: 16px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; margin-bottom: 1.3rem; border: 1px solid; }
.alert--ok  { background: #EDFBF4; border-color: #B7E9D1; color: #0C5236; }
.alert--err { background: #FEF0F0; border-color: #F5C4C4; color: #8B1F1F; }

/* --------------------------------------------------------- contact grid */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ------------------------------------------------------------------- map */
.map {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--mist); line-height: 0;
}
.map iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(.9); }
.map__bar {
  display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem; background: #fff; border-top: 1px solid var(--line); line-height: 1.5;
}
.map__addr { font-size: .9rem; color: var(--muted); font-style: normal; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.table th, .table td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--mist); }
.table tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------- pricing */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--brand); box-shadow: 0 20px 48px rgba(194,71,12,.14); }
.plan__flag { position: absolute; top: -12px; left: 1.7rem; background: var(--brand); color: #fff; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; }
.plan__name { font-family: var(--font-body); font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: 0 0 .3rem; }
.plan__for { font-size: .86rem; color: var(--muted); margin: 0 0 1.2rem; }
.plan__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--ink); line-height: 1; }
.plan__per { font-size: .84rem; color: var(--muted); margin: .35rem 0 1.4rem; }
.plan__list { list-style: none; margin: 0 0 1.6rem; padding: 0; font-size: .91rem; color: var(--ink-2); }
.plan__list li { position: relative; padding-left: 1.55rem; margin-bottom: .58rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 5px; border-left: 2px solid var(--flare); border-bottom: 2px solid var(--flare); transform: rotate(-45deg); }
.plan__foot { margin-top: auto; }

/* ----------------------------------------------------------- page header */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(2.4rem, 1.6rem + 3vw, 4rem) 0 clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem); }
.page-head__inner { max-width: 74ch; }
.crumbs { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); margin-bottom: 1.1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); }

/* ------------------------------------------------------------------ blog */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__meta { font-family: var(--font-mono); font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.post-card__title { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 0 0 .55rem; line-height: 1.3; }
.post-card__excerpt { font-size: .93rem; color: var(--muted); margin: 0 0 1.2rem; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.95rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.18rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink-2); font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--muted-light); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin-bottom: 2.8rem; }
.footer-brand svg { width: 208px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; margin: 0 0 1.3rem; }
.footer-col__title { font-family: var(--font-mono); font-size: .73rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .55rem; }
.footer-list a { color: var(--muted-light); font-size: .92rem; }
.footer-list a:hover { color: #fff; }
.social { display: flex; gap: .55rem; }
.social a { width: 36px; height: 36px; border: 1px solid var(--line-dark); border-radius: 9px; display: grid; place-items: center; color: var(--muted-light); }
.social a:hover { border-color: var(--flare); color: var(--flare); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; font-size: .84rem; }
.footer-bottom a { color: var(--muted-light); }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------- utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .8rem; } .mb-2 { margin-bottom: 1.6rem; } .mb-3 { margin-bottom: 2.4rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: .7rem 1.1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 88px 0 auto; display: none; flex-direction: column;
    align-items: stretch; gap: .1rem; padding: 1rem 1.3rem 1.6rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); max-height: calc(100vh - 88px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: .8rem .5rem; font-size: 1rem; }
  .nav__caret { display: none; }
  .drop { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 0 0 .5rem .7rem; margin-left: .5rem; }
  .has-drop:hover .drop { transform: none; }
  .header-phone { display: none; }
  .header-cta .btn { padding: .6rem 1.1rem; font-size: .88rem; }
  .field-row { grid-template-columns: 1fr; }
  .case__metrics { grid-template-columns: 1fr; gap: .8rem; }
  .audit { flex-wrap: wrap; border-radius: var(--radius-lg); padding: .9rem; gap: .7rem; }
  .audit__prefix { display: none; }
  .audit__input { flex: 1 1 100%; border: 1px solid var(--line-dark); border-radius: 10px; padding: .85rem 1rem; }
  .audit__go { flex: 1 1 100%; }
  .hero__canvas {
    mask-image: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.45) 45%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.45) 45%, #000 100%);
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .header-cta .btn--primary { display: none; }
}

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

}

@media print {
  .site-header, .site-footer, .cta-band { display: none; }
}
