/* DryLine marketing — single source of truth for shared styles.
   Tokens, base type, nav, footer, and components used across every page.

   Phase 1: navy-hero look. Locked rules — no box-shadow, no drop-shadow,
   no glow anywhere; definition comes from hairline borders + contrast. */

:root {
  /* light system */
  --canvas: #F1F4F8;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --fg: #0B1E3A;
  --fg-muted: #475569;
  --fg-subtle: #94A3B8;
  --teal: #1A5C52;
  --teal-light: #2AA99A;
  --teal-bg: #E6F4F1;
  --on-teal: #06231F;
  --safe-bg: #DCFCE7;
  --safe-fg: #15803D;
  --warn-bg: #FEF3C7;
  --warn-fg: #B45309;
  --risk-bg: #FEE2E2;
  --risk-fg: #B91C1C;

  /* marketing navy (sanctioned dark hero / field-app palette) */
  --navy-bg: #0A1929;
  --navy-surface: #0F2640;
  --navy-border: #1E3A55;
  --navy-fg: #F0F4F8;
  --navy-fg-muted: #8FAEC7;
  --navy-fg-subtle: #4A7A9B;

  /* shape + motion */
  --r-card: 12px;
  --r-pill: 999px;
  --gutter: 20px;
  --maxw: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--canvas);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -.02em;
  line-height: 1.1;
}

img, svg { display: block; max-width: 100%; }
.wcard, .feat, .step, .who, .pcard, .plan, .card { max-width: 100%; }

/* .wrap supplies the 20px side gutter. Any rule that uses `padding`
   shorthand on a `.wrap`-classed element MUST set vertical padding via
   padding-top/padding-bottom, never via shorthand that zeros the sides. */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 100;
  background: var(--fg); color: #fff; padding: 8px 14px;
  border-radius: 6px; font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- motion ----------
   Progressive enhancement: .reveal elements are FULLY VISIBLE by default.
   Only when JS has confirmed it's running (by adding `js` to <html>) do we
   hide them so the IntersectionObserver can fade them in. This means a
   failed script load (500, network, CSP, whatever) can never blank the
   site — visitors just see content without the entrance animation. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
/* Reveal-state must out-specify the gated hide rule above. `html.js .reveal`
   has specificity (0,2,1), so `.reveal.in` at (0,2,0) loses to it and the
   element stays hidden even after the IO adds `.in`. Gating the in-state
   under `html.js` too lifts it to (0,3,1) so it wins.
   Keep the transition on the hide rule (not :not(.in)) so the fade plays
   when .in is added rather than snapping in instantly. */
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-pill); font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent;
  padding: 13px 24px; font-family: inherit;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--teal-light); color: var(--on-teal); }
.btn-primary:hover { background: #34c2b1; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal); transform: translateY(-2px); }
/* ghost button placed on the navy hero swaps to navy-fg / navy-border */
.hero .btn-ghost { color: var(--navy-fg); border-color: var(--navy-border); }
.hero .btn-ghost:hover { color: var(--teal-light); border-color: var(--teal-light); }

.btn-full {
  width: 100%; padding: 12px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: var(--canvas); color: var(--fg);
  text-align: center; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
}
.btn-full:hover { border-color: var(--teal-light); color: var(--teal); transform: translateY(-2px); }
.btn-full.primary { background: var(--teal-light); color: var(--on-teal); border-color: var(--teal-light); }
.btn-full.primary:hover { background: #34c2b1; color: var(--on-teal); }
.btn-full.secondary { background: var(--surface); color: var(--teal); border-color: var(--border-strong); }
.btn-full.secondary:hover { background: var(--canvas); }

/* ---------- bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
}

.badge, .pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-pill); padding: 4px 11px;
  font-size: 12px; font-weight: 700;
}
.badge .d, .pill .d { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.badge.safe, .pill.safe { background: var(--safe-bg); color: var(--safe-fg); }
.badge.warn, .pill.warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge.risk, .pill.risk { background: var(--risk-bg); color: var(--risk-fg); }

.soon {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: .02em;
  color: var(--fg-subtle);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 1px 7px; margin-left: 6px;
  vertical-align: middle;
}

.section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.sec-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; margin: 10px 0 12px;
}
.sec-head p { font-size: 17px; color: var(--fg-muted); }

.phead { text-align: center; max-width: 620px; margin: 0 auto; padding: 64px 0 40px; }
.phead h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin: 10px 0 12px; }
.phead p { font-size: 17px; color: var(--fg-muted); }

/* ---------- nav ---------- */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 244, 248, .92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
/* Home page: nav starts transparent over the navy hero, then frosts on scroll. */
nav.site-nav.over-hero {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
nav.site-nav.over-hero.scrolled {
  background: rgba(241, 244, 248, .92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700; font-size: 18px;
  color: var(--fg);
  transition: color .3s var(--ease);
}
.over-hero .brand { color: var(--navy-fg); }
.over-hero.scrolled .brand { color: var(--fg); }
.brand svg { flex-shrink: 0; }
/* Prism icon adapts with the header background. The right half stays teal
   on every surface; only the left half swaps navy<->white so the full mark
   (icon + wordmark) reads correctly over the dark hero and over light pages.
   Mirrors the .brand color states above and shares the same easing so the
   swap-on-scroll stays in sync with the wordmark. */
.brand .prism-left { fill: var(--fg); transition: fill .3s var(--ease); }
.over-hero .brand .prism-left { fill: var(--navy-fg); }
.over-hero.scrolled .brand .prism-left { fill: var(--fg); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  color: var(--fg-muted);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); font-weight: 600; }
.over-hero .nav-links a { color: var(--navy-fg-muted); }
.over-hero .nav-links a:hover { color: var(--teal-light); }
.over-hero .nav-links a.active { color: var(--navy-fg); }
.over-hero.scrolled .nav-links a { color: var(--fg-muted); }
.over-hero.scrolled .nav-links a:hover { color: var(--fg); }
.over-hero.scrolled .nav-links a.active { color: var(--fg); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .login {
  font-size: 14px; font-weight: 600;
  color: var(--fg-muted);
  transition: color .2s var(--ease);
}
.nav-right .login:hover { color: var(--fg); }
.over-hero .nav-right .login { color: var(--navy-fg-muted); }
.over-hero .nav-right .login:hover { color: var(--teal-light); }
.over-hero.scrolled .nav-right .login { color: var(--fg-muted); }
.over-hero.scrolled .nav-right .login:hover { color: var(--fg); }

.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--teal-light); color: var(--on-teal);
  font-size: 14px; font-weight: 600;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav-cta:hover { background: #34c2b1; transform: translateY(-1px); }

/* ---------- hero (navy band) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-bg) 0%, var(--navy-surface) 100%);
  color: var(--navy-fg);
  overflow: hidden;
  /* extend the hero up behind the sticky nav so the transparent nav reveals
     navy (not the page canvas) before the user scrolls */
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(var(--nav-h) + 84px);
  padding-bottom: 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  color: var(--teal-light);
  border: 1px solid var(--navy-border);
  background: rgba(42, 169, 154, .07);
  padding: 6px 13px;
  border-radius: var(--r-pill);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 22px 0 0;
}
.hero h1 .l2 { color: var(--teal-light); }
.hero .sub {
  font-size: 1.12rem;
  color: var(--navy-fg-muted);
  max-width: 30ch;
  margin: 20px 0 0;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 30px 0 16px;
}
.trust { font-size: .84rem; color: var(--navy-fg-subtle); }

/* ---------- weather card (the product shot) ---------- */
.wcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  color: var(--fg);
}
.wcard-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
}
.wcard-job { font-weight: 600; font-size: 15px; }
.wcard-loc { font-size: 12px; color: var(--fg-subtle); margin-top: 2px; }
.wcard-main { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 4px; }
.wcard-temp {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 3.2rem; font-weight: 700;
  line-height: 1; letter-spacing: -.03em;
}
.wcard-cond { font-size: 13px; color: var(--fg-muted); line-height: 1.4; }
.wcard-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 18px;
}
.wtile {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px; text-align: center;
}
.wtile .lbl {
  font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-subtle);
}
.wtile .val { font-size: 15px; font-weight: 600; margin-top: 3px; }
.fc {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px; margin-top: 14px;
}
.fc-day {
  text-align: center; padding: 10px 4px;
  border: 1px solid var(--border); border-radius: 10px;
}
/* Stagger-on-reveal applies only to the home hero's weather card; other
   .wcard instances (e.g. on /features/) show the forecast immediately.
   Gated on html.js — same progressive-enhancement reason as .reveal. */
html.js #wcard .fc-day {
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
/* Same specificity bump as .reveal.in above: the hide rule above is
   (1,2,1), so #wcard .fc-day.in at (1,2,0) loses. Gate under html.js to
   reach (1,3,1) and win. */
html.js #wcard .fc-day.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js #wcard .fc-day { opacity: 1; transform: none; transition: none; }
}
.fc-day .dn {
  font-size: 10px; font-weight: 600;
  color: var(--fg-subtle); letter-spacing: .05em;
}
.fc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  margin: 7px auto;
}
.fc-day .t { font-size: 13px; font-weight: 600; }

/* ---------- problem band (navy, centered) ---------- */
.problem {
  background: var(--navy-bg);
  color: var(--navy-fg);
  text-align: center;
}
.problem h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  max-width: 22ch; margin: 0 auto;
  font-weight: 700;
}
.problem h2 .accent { color: var(--teal-light); }
.problem p {
  color: var(--navy-fg-muted);
  max-width: 52ch; margin: 20px auto 0;
  font-size: 17px;
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
}
.step-n {
  width: 34px; height: 34px; border-radius: var(--r-pill);
  background: var(--teal-light); color: var(--on-teal);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--fg-muted); }

/* ---------- features ---------- */
.feat-sec {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.feat:hover { transform: translateY(-3px); border-color: var(--teal-light); }
.feat .ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(42, 169, 154, .1);
  border: 1px solid rgba(42, 169, 154, .25);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feat .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.feat .mini {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-light);
  margin-bottom: 6px;
}
.feat h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--fg-muted); }

/* ---------- who it's for ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  background: var(--surface);
}
.who .plan {
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--teal);
}
.who h3 { font-size: 19px; font-weight: 700; margin: 6px 0 8px; }
.who p { font-size: 14.5px; color: var(--fg-muted); }

/* ---------- pricing (home strip) ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; align-items: start;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-3px); border-color: var(--teal-light); }
.pcard.feat-card { border-color: var(--teal-light); border-width: 1.5px; padding-top: 32px; }
.pcard .pop {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--teal-light); color: var(--on-teal);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.pcard .pn {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.pcard .amt {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -.02em; margin: 10px 0 2px;
}
.pcard .amt span {
  font-family: 'Inter', sans-serif;
  font-size: 1rem; color: var(--fg-subtle); font-weight: 500;
}
.pcard .pd {
  font-size: 13.5px; color: var(--fg-muted);
  margin: 4px 0 0; min-height: 42px;
}
.pcard .btn { margin-top: 18px; }

/* ---------- why DryLine ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
  display: flex; align-items: center; gap: 9px;
}
.why h3 svg { width: 20px; height: 20px; stroke: var(--teal-light); fill: none; }
.why p { font-size: 14.5px; color: var(--fg-muted); }

/* ---------- closing CTA band ---------- */
.cta-band {
  background: var(--teal-bg);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; margin-bottom: 10px;
}
.cta-band p { font-size: 16px; color: var(--fg-muted); margin-bottom: 24px; }

/* ---------- features page (spotlight rows) ---------- */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; padding: 64px 0;
}
.spotlight .mini {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--teal-light); margin-bottom: 10px;
}
.spotlight h2 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.spotlight p { font-size: 16px; color: var(--fg-muted); }
.grid-sec { padding: 24px 0 64px; }

/* ---------- pricing page (full plan cards) ---------- */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start; padding-bottom: 24px;
}
.plan {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.plan:hover { transform: translateY(-3px); border-color: var(--teal-light); }
.plan.featured { border-color: var(--teal-light); border-width: 1.5px; padding-top: 32px; }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--teal-light); color: var(--on-teal);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.plan .pn {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-subtle);
  margin-bottom: 12px;
}
.price { display: flex; align-items: baseline; gap: 4px; }
.price .amt {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.5rem; font-weight: 700; letter-spacing: -.02em;
}
.price .per { font-size: 15px; color: var(--fg-subtle); font-weight: 500; }
.psub { font-size: 13px; color: var(--fg-muted); font-weight: 500; margin-top: 4px; min-height: 18px; }
.tag { font-size: 14px; color: var(--fg-muted); line-height: 1.5; margin: 16px 0 20px; min-height: 42px; }
.divider { height: 1px; background: var(--border); margin-bottom: 18px; }
.feats {
  list-style: none; display: flex; flex-direction: column;
  gap: 11px; margin-bottom: 26px; flex: 1;
}
.feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.feats li svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; stroke: var(--teal-light); fill: none; }

.enterprise {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 20px 26px; margin-top: 8px;
}
.ent-title { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.ent-sub { font-size: 13.5px; color: var(--fg-muted); }

.bfaq {
  max-width: 760px; margin: 56px auto 0;
  border-top: 1px solid var(--border); padding-top: 40px;
}
.bfaq h2 {
  text-align: center; font-size: 24px; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 24px;
}
.bfaq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.bfaq-item h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.bfaq-item p { font-size: 13.5px; color: var(--fg-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.qa { padding: 24px 0; border-bottom: 1px solid var(--border); }
.qa:first-child { border-top: 1px solid var(--border); }
.qa h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.qa p { font-size: 15px; color: var(--fg-muted); }
.qa p a { color: var(--teal-light); font-weight: 600; }

.still {
  text-align: center; max-width: 600px; margin: 48px auto 0;
  background: var(--teal-bg); border-radius: 16px; padding: 36px;
}
.still h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.still p { font-size: 15px; color: var(--fg-muted); margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 880px; margin: 0 auto; align-items: start;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.card h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--fg-muted); margin-bottom: 18px; }
.email-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--teal);
}
.email-line:hover { color: var(--teal-light); }
.email-line svg { width: 19px; height: 19px; stroke: var(--teal-light); fill: none; }

.bigcrew {
  margin-top: 18px; background: var(--teal-bg);
  border: 1px solid var(--teal-light); border-radius: 14px;
  padding: 20px 22px;
}
.bigcrew h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.bigcrew p { font-size: 13.5px; color: var(--fg-muted); margin-bottom: 14px; }

/* ---------- Legal (privacy / terms) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 0 80px; }
.legal h1 { font-size: 36px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 8px; }
.legal .effective { font-size: 14px; color: var(--fg-subtle); margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; letter-spacing: -.015em; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 15.5px; color: var(--fg); line-height: 1.65; margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { font-weight: 700; }
.legal a { color: var(--teal); font-weight: 600; }
.legal a:hover { color: var(--teal-light); }

/* ---------- Footer (navy) ---------- */
footer.site-footer {
  background: var(--navy-bg);
  color: var(--navy-fg-muted);
  padding: 48px 0;
  margin-top: 0;
  border-top: none;
}
footer.site-footer .foot-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px; align-items: center;
}
footer.site-footer .brand { color: var(--navy-fg); }
footer.site-footer .foot-blurb {
  font-size: 14px; color: var(--navy-fg-muted);
  margin-top: 10px; max-width: 30ch;
}
footer.site-footer a {
  color: var(--navy-fg-muted);
  transition: color .2s var(--ease);
}
footer.site-footer a:hover { color: var(--teal-light); }
footer.site-footer .foot-credit { font-size: 14px; color: var(--navy-fg-muted); }
footer.site-footer .foot-bottom {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--navy-border);
  font-size: 13px; color: var(--navy-fg-subtle);
  display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
footer.site-footer .foot-bottom-links {
  display: flex; gap: 18px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 72px;
  }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .steps, .who-grid, .price-grid, .why-grid,
  .plans, .bfaq-grid, .contact-grid, .spotlight {
    grid-template-columns: 1fr;
  }
  .spotlight { gap: 28px; padding: 36px 0; }
  .enterprise { flex-direction: column; align-items: flex-start; }
  .price-grid, .plans { max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* Narrow mobile (iPhone widths). Aim: nothing overflows at 375–414px and
   the hero gutter matches every section below it. */
@media (max-width: 520px) {
  :root { --nav-h: 56px; }
  .brand { font-size: 16px; }
  .nav-right { gap: 10px; }
  .nav-right .login { display: none; }
  .btn { padding: 11px 18px; font-size: 14px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 56px;
  }
  .hero h1 { font-size: 2.25rem; }
  .hero .sub { font-size: 1rem; }

  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .phead { padding: 48px 0 32px; }

  .wcard { padding: 18px; border-radius: 14px; }
  .wcard-temp { font-size: 2.5rem; }
  .wcard-tiles { grid-template-columns: repeat(2, 1fr); }
  .wtile { padding: 8px 6px; }
  .fc { gap: 6px; }
  .fc-day { padding: 8px 2px; }
  .fc-day .dn { font-size: 9px; }
  .fc-day .t { font-size: 12px; }

  .cta-band { padding: 40px 24px; border-radius: 16px; }
  .feat, .step, .who, .plan, .pcard, .card { padding: 22px; }
  .price-grid, .plans { gap: 16px; }
  .pcard .amt, .price .amt { font-size: 2rem; }

  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 20px; }

  footer.site-footer .foot-inner { gap: 20px; }
  footer.site-footer .foot-bottom {
    flex-direction: column; align-items: flex-start; gap: 12px;
  }
}
