/* SantiZ Markets: all styles. Start with the tokens in :root to change colors, type, spacing and motion. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* =========================================================
   TOKENS: change the look here
   ========================================================= */
:root {
  /* Brand */
  --mint: #20E99A;
  --mint-hover: #5CF0B6;
  --navy: #0E1B2E;        /* page background */
  --slate: #152139;       /* cards, raised panels */
  --slate-2: #1C2B47;     /* hover fills, inputs on cards */
  --white: #FFFFFF;
  --text: #E6ECF4;        /* body text */
  --mist: #A7B3C6;        /* secondary text */
  --line: rgba(167, 179, 198, 0.16);
  --line-strong: rgba(167, 179, 198, 0.32);
  --mint-soft: rgba(32, 233, 154, 0.14);
  --error: #FF9B8A;

  /* Type */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius: 22px;
  --radius-lg: 30px;
  --section: clamp(80px, 11vw, 148px);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);     /* expo-out: reveals, lifts */
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);  /* small overshoot: checkmarks, toggles, badges */
  --dur: .8s;

  color-scheme: dark;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--navy); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 18px; } }
/* Fine film grain so flat navy doesn't look digital */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--white); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--navy); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mint); color: var(--navy); font-weight: 600; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Small label above section titles */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--mint); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.section { padding-block: var(--section); }
.section-title { font-size: clamp(36px, 5.4vw, 68px); line-height: .98; letter-spacing: -0.03em; }
.section-intro { margin-top: 18px; color: var(--mist); font-size: clamp(17px, 1.5vw, 20px); max-width: 38em; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent; background: none;
  font: 600 17px/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out), translate .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn-primary { background: var(--mint); color: var(--navy); }
.btn-primary:hover { background: var(--mint-hover); }
.btn-ghost { color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--mint); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn .icon { width: 18px; height: 18px; }
@media (hover: hover) {
  .btn:hover { translate: 0 -2px; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .7); }
}
.btn:active { transform: scale(.97); translate: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 27, 46, .96); border-bottom: 1px solid transparent; transition: border-color .25s; }
@supports (backdrop-filter: blur(12px)) { .site-header { background: rgba(14, 27, 46, .8); backdrop-filter: blur(12px) saturate(140%); } }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 11px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav { margin-left: auto; display: flex; gap: 28px; }
.site-nav a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.site-nav a:hover { color: var(--white); }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { white-space: nowrap; }
@media (max-width: 959px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-call { display: none; }
}
@media (max-width: 380px) {
  .brand { font-size: 18px; gap: 9px; }
  .brand-mark { width: 30px; height: 30px; }
}
@media (max-width: 340px) { .brand span { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-block: clamp(48px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.hero-sub { display: grid; gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 960px) { .hero-sub { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: end; } }
.hero h1 { font-size: clamp(44px, 8.4vw, 112px); line-height: .92; letter-spacing: -0.04em; }
.hero-phone { display: none; margin: 0; }
@media (min-width: 1100px) {
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 248px; column-gap: 80px; align-items: center; }
  .hero h1, .hero-sub { grid-column: 1; }
  .hero h1 { font-size: clamp(44px, 6.6vw, 96px); }
  .hero-sub { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-phone { display: block; grid-column: 2; grid-row: 1 / span 2; rotate: 3deg; }
}
.hero-phone-frame { padding: 10px; border-radius: 36px; background: #04070C; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(167, 179, 198, .18); }
.hero-phone .screen { aspect-ratio: 390 / 844; border-radius: 27px; }
.hero-phone figcaption { margin-top: 16px; color: var(--mist); font-size: 14px; text-align: center; }
.hero-phone figcaption a { color: var(--mint); font-weight: 600; text-underline-offset: 3px; }

/* Masked line reveal: each line slides up from behind its own clip edge */
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; }
.underline { position: relative; white-space: nowrap; }
.underline::after { content: ""; position: absolute; left: .02em; right: .08em; bottom: .02em; height: .085em; background: var(--mint); border-radius: 99px; transform-origin: left; }

.js .line > span { transform: translateY(105%); opacity: 0; filter: blur(12px); }
.js .underline::after { transform: scaleX(0); }
.js .hero-fade { opacity: 0; transform: translateY(14px); }
.hero.is-in .line > span {
  transform: none; opacity: 1; filter: blur(0);
  transition: transform 1.1s var(--ease-out), opacity .9s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(.03s + var(--i, 0) * .1s);
}
.hero.is-in .underline::after { transform: scaleX(1); transition: transform .9s var(--ease-out) .85s; }
.hero.is-in .hero-fade { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(.55s + var(--i, 0) * .1s); }

.lede { margin-top: 0; font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--mist); font-size: 15.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--mint); width: 18px; height: 18px; }
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   PROOF NUMBERS (count up)
   ========================================================= */
.numbers { border-block: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .numbers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: clamp(26px, 3.4vw, 40px) 0 clamp(26px, 3.4vw, 40px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
@media (min-width: 900px) { .stat:nth-child(odd) { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); } .stat:first-child { border-left: 0; padding-left: 0; } }
@media (max-width: 899px) { .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: clamp(22px, 2.7vw, 36px); color: var(--mint); letter-spacing: -0.01em; margin-left: 2px; }
.stat-num .pre { margin: 0 2px 0 0; }
.stat-quote { grid-column: span 2; margin: 0; display: flex; flex-direction: column; justify-content: center; }
.stat-quote blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; color: var(--white); }
@media (min-width: 900px) { .stat-quote blockquote { font-size: 28px; } }
.stat-quote figcaption { margin-top: 10px; color: var(--mist); font-size: 15.5px; }
.stat-quote a { position: relative; color: var(--mint); font-weight: 600; text-underline-offset: 3px; }
.stat-quote a::after { content: ""; position: absolute; inset: -14px -6px; }
.stat-num + p { margin-top: 10px; color: var(--mist); font-size: 15.5px; max-width: 18em; }

/* =========================================================
   PACKAGES + NICHE SWITCHER
   ========================================================= */
.packages-head { max-width: 100%; }
.niche-title { font-size: clamp(36px, 5.4vw, 68px); line-height: 1; letter-spacing: -0.03em; }

/* The niche word sits in its own clipped line, so entrances never overlap the text around it.
   Each niche plays its own entrance (see "Niche switcher" in js/site.js). */
.niche-mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.niche-word { display: inline-block; vertical-align: top; max-width: 100%; color: var(--mint); overflow-wrap: anywhere; }

/* Niche labels: stick under the top nav while you scroll the packages, then let go at the end of the section */
.niche-bar { position: sticky; top: var(--header-h); z-index: 40; margin-top: 30px; background: var(--navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
.niche-tabs { display: flex; gap: 0 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.niche-tabs::-webkit-scrollbar { display: none; }
.niche-tab { position: relative; flex: none; white-space: nowrap; min-height: 48px; padding: 12px 0; border: 0; background: none; color: var(--mist); font: 600 16px/1.3 var(--body); cursor: pointer; transition: color .2s; }
.niche-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.niche-tab:hover, .niche-tab[aria-selected="true"] { color: var(--white); }
.niche-tab[aria-selected="true"]::after { transform: scaleX(1); }
/* Phones: one compact row that scrolls sideways */
/* Phones: all four niches visible at once as a 2x2 grid of chips */
@media (max-width: 599px) {
  .niche-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--line); overflow: visible; }
  .niche-tab { min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line-strong); border-radius: 14px; font-size: 14.5px; line-height: 1.25; white-space: normal; text-align: center; transition: color .2s, background-color .2s, border-color .2s; }
  .niche-tab::after { display: none; }
  .niche-tab[aria-selected="true"] { background: var(--white); border-color: var(--white); color: var(--navy); }
  /* The 2x2 chips are too tall to pin on a phone screen; they scroll with the page */
  .niche-bar { position: static; }
}

/* Shared inclusions */
.every { margin-top: clamp(40px, 5vw, 56px); padding: 22px 0; border-block: 1px solid var(--line); display: grid; gap: 12px; }
@media (min-width: 900px) { .every { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: start; } }
.every h3 { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: 0; line-height: 1.6; }
.every ul { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--mist); font-size: 15.5px; }
.every li { display: flex; align-items: center; gap: 8px; }
.every .icon { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.4; }

/* Selectable cards (packages and monthly plans): shared base, cursor glow, hover, press.
   Their entrance and transition timings live with the scroll reveal (data-reveal="card"). */
.pkg, .plan {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; isolation: isolate; min-width: 0; cursor: pointer;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
/* Glow that follows the cursor (position set from JS through --mx/--my) */
.pkg::before, .plan::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(32, 233, 154, .16), transparent 55%); }
.pkg:hover::before, .pkg.is-hover::before, .plan:hover::before, .plan.is-hover::before { opacity: 1; }
.pkg.is-hover, .plan.is-hover { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); border-color: var(--line-strong); }
.pkg.is-popular, .plan.is-rec { border: 1.5px solid var(--mint); }
/* Phones and tablets: a quick press instead of tilt */
@media (hover: none) { .pkg:active, .plan:active { transform: scale(.985); } }

/* Package cards */
.restore-note { margin-top: 24px; padding: 10px 14px; border-radius: 12px; background: var(--mint-soft); color: var(--white); font-size: 15px; }
.build-clear-top { position: relative; padding: 0; border: 0; background: none; color: var(--mint); font: 600 15px/1.4 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.build-clear-top::after { content: ""; position: absolute; inset: -14px -6px; }
.pkg-hint { margin-top: 28px; color: var(--mist); font-size: 15.5px; }
.pkg-hint strong { color: var(--white); }
.pkg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: clamp(32px, 4vw, 48px); align-items: stretch; }
@media (min-width: 960px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pkg { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--slate); transform-style: preserve-3d; will-change: transform; }
.badge { position: absolute; top: -13px; left: clamp(26px, 3vw, 36px); padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.pkg h3 { font-size: clamp(26px, 2.4vw, 30px); }
.pkg-tag { margin-top: 6px; color: var(--mist); font-size: 15.5px; }
.pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 22px; }
.pkg-price .amt { font-family: var(--display); font-weight: 700; font-size: clamp(50px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.pkg-price small { color: var(--mist); font-size: 14.5px; line-height: 1.3; }
.pkg-free { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); font-size: 14.5px; font-weight: 600; }
.pkg-free .icon { width: 16px; height: 16px; }
.pkg-lists { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); flex: 1; }
.plus { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.ticks .icon { color: var(--mint); margin-top: 2px; width: 18px; height: 18px; stroke-width: 2.4; }
.ticks small { display: block; color: var(--mist); font-size: 14px; }
.pkg .btn { margin-top: 28px; width: 100%; }
.pkg-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--mist); font-size: 15.5px; }
.pkg-foot .icon { color: var(--mint); }

/* Selected package / plan: mint ring, checkmark, "Selected" button */
.pick-check { position: absolute; top: 18px; right: 18px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--navy); opacity: 0; transform: scale(.3) rotate(-60deg); transition: transform .5s var(--ease-pop), opacity .2s; pointer-events: none; }
.pick-check .icon { width: 18px; height: 18px; stroke-width: 2.8; }
.is-selected .pick-check { opacity: 1; transform: none; }
.pkg.is-selected, .plan.is-selected { animation: pick-ring .7s var(--ease-out); border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), 0 0 0 7px rgba(32, 233, 154, .13), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.select-btn .sel-on { display: none; }
.select-btn[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.select-btn[aria-pressed="true"] .sel-off { display: none; }
.select-btn[aria-pressed="true"] .sel-on { display: inline-flex; align-items: center; gap: 8px; animation: sel-pop .4s var(--ease-pop); }
@keyframes sel-pop { from { opacity: 0; transform: scale(.7); } }
@keyframes pick-ring { from { box-shadow: 0 0 0 1px var(--mint), 0 0 0 0 rgba(32, 233, 154, .45), 0 30px 60px -30px rgba(0, 0, 0, .7); } }
.select-btn .icon { stroke-width: 2.6; }
.has-pick .pkg.is-popular:not(.is-selected), .has-pick .plan.is-rec:not(.is-selected) { border-color: var(--line); }
.has-pick .is-popular:not(.is-selected) .select-btn, .has-pick .is-rec:not(.is-selected) .select-btn { background: none; color: var(--white); border-color: var(--line-strong); box-shadow: none; }
.has-pick .is-popular:not(.is-selected) .select-btn:hover, .has-pick .is-rec:not(.is-selected) .select-btn:hover { border-color: var(--mint); }

/* =========================================================
   MONTHLY PLANS + ADD-ONS
   ========================================================= */
.plans { background: var(--slate); overflow-x: clip; } /* add-on rows slide in from the right; keep them inside the screen */
.plans-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { padding: 28px; border-radius: var(--radius); background: var(--navy); }
.plan.is-rec .badge { left: 28px; }
.plan h3 { font-size: 24px; }
.plan-price { margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -0.035em; color: var(--white); }
.plan-price small { font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--mist); letter-spacing: 0; }
.plan .ticks { margin-top: 20px; font-size: 16px; flex: 1; }
.plan .btn { margin-top: 24px; width: 100%; min-height: 48px; }

/* "What counts as a change or a small fix?" under the plan cards (same look as the add-ons toggle) */
.plan-terms { margin-top: 20px; }
.plan-terms > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px; border: 1.5px solid var(--line-strong); border-radius: 16px; color: var(--white); font-weight: 600; cursor: pointer; transition: border-color .2s; }
.plan-terms > summary::-webkit-details-marker { display: none; }
.plan-terms > summary:hover { border-color: var(--mint); }
.plan-terms > summary .pm { margin-left: auto; flex: none; }
.plan-terms[open] .pm { transform: rotate(45deg); border-color: var(--mint); color: var(--mint); }
.plan-defs { display: grid; gap: 20px; margin: 0; padding: 20px 18px 8px; }
@media (min-width: 900px) { .plan-defs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; } }
.plan-defs dt { color: var(--white); font-weight: 600; font-size: 17px; }
.plan-defs dt small { display: block; margin-top: 2px; color: var(--mint); font-weight: 400; font-size: 14px; }
.plan-defs dd { margin: 8px 0 0; color: var(--mist); font-size: 15.5px; }

.addons { margin-top: clamp(64px, 8vw, 96px); display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .addons { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.addons h3 { font-size: clamp(28px, 3vw, 36px); }
.addons-intro { margin-top: 12px; color: var(--mint); font-weight: 600; max-width: 26em; }
.addons-rules { margin-top: 12px; color: var(--mist); font-size: 15.5px; max-width: 26em; }
.addons-rules strong { color: var(--white); }
.addons-status { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: var(--text); font-size: 15px; max-width: 26em; }
.addons-status .icon { color: var(--mint); width: 18px; height: 18px; margin-top: 2px; }

/* Add-on list sits behind an optional toggle */
.addons-more { align-self: start; }
.addons-more > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px; border: 1.5px solid var(--line-strong); border-radius: 16px; color: var(--white); font-weight: 600; cursor: pointer; transition: border-color .2s; }
.addons-more > summary::-webkit-details-marker { display: none; }
.addons-more > summary:hover { border-color: var(--mint); }
.addons-more > summary .opt { color: var(--mist); font-weight: 400; }
.addons-more > summary .pm { margin-left: auto; }
.addons-more[open] > summary { margin-bottom: 12px; }
.addons-more[open] .pm { transform: rotate(45deg); border-color: var(--mint); color: var(--mint); }

/* Add-on rows: the whole row toggles */
.addon-list > li { border-bottom: 1px solid var(--line); padding-block: 4px; }
.addon { display: flex; align-items: center; gap: 14px; min-height: 60px; margin-inline: -12px; padding: 10px 12px; border-radius: 14px; cursor: pointer; transition: background-color .35s var(--ease-out); }
.addon:hover { background: rgba(167, 179, 198, .05); }
.addon.is-on { background: rgba(32, 233, 154, .08); }
.addon-name { color: var(--white); font-weight: 600; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.3; }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgba(167, 179, 198, .34); position: relative; top: .35em; align-self: flex-start; margin-top: .55em; }
.addon-price { display: inline-block; transform-origin: right center; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 24px); color: var(--white); white-space: nowrap; text-align: right; }
.addon-price small { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--mist); }
.addon-price s { position: relative; color: var(--mist); font-size: .72em; text-decoration: none; }
.addon-price s::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left; animation: strike .35s var(--ease-out) backwards; }
@keyframes strike { from { transform: scaleX(0); } }
.free-tag { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--mint); color: var(--navy); font: 700 13px/1.2 var(--body); letter-spacing: .06em; vertical-align: .2em; animation: tag-pop .45s var(--ease-pop) .2s backwards; }
@keyframes tag-pop { from { opacity: 0; transform: scale(.4); } }
/* Add-on the chosen package already has: shown as Included, not charged, switch locked on */
.inc-tag { background: transparent; color: var(--mint); box-shadow: inset 0 0 0 1.5px var(--mint); }
.addon.is-included { cursor: default; }
.addon.is-included:hover { background: rgba(32, 233, 154, .08); }
.addon.is-included .switch { cursor: default; opacity: .6; }
.item-desc { margin: -4px 0 10px; color: var(--mist); font-size: 15px; }
/* Phones: price sits under the name, switch on the right */
@media (max-width: 520px) {
  .addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; }
  .addon .leader { display: none; }
  .addon-price { grid-row: 2; text-align: left; white-space: normal; font-size: 19px; }
  .addon .switch { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* Toggle switch with a check that pops in */
.switch { flex: none; position: relative; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: var(--slate-2); border: 1.5px solid var(--line-strong); appearance: none; -webkit-appearance: none; cursor: pointer; transition: background-color .25s, border-color .25s; }
.switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: var(--mist); transition: transform .4s var(--ease-pop), background-color .25s; }
.switch::after { content: ""; position: absolute; top: 8px; left: 9px; width: 7px; height: 4px; border: solid var(--mint); border-width: 0 0 2px 2px; transform: translateX(20px) rotate(-45deg) scale(0); transition: transform .3s var(--ease-out) .08s; }
.switch:checked { background: var(--mint); border-color: var(--mint); }
.switch:checked::before { transform: translateX(20px); background: var(--navy); }
.switch:checked::after { transform: translateX(20px) rotate(-45deg) scale(1); }
.switch:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* =========================================================
   WORK
   ========================================================= */
.work-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .work-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } }
.client { margin-top: 30px; font-size: clamp(28px, 3vw, 36px); }
.client-type { margin-top: 4px; color: var(--mist); }
.work-desc { margin-top: 18px; max-width: 40ch; }
.link-out { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--mint); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(32, 233, 154, .45); padding-bottom: 2px; }
.link-out:hover { border-bottom-color: var(--mint); }
.link-out .icon { width: 17px; height: 17px; }
.quote { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--white); }
@media (min-width: 1100px) { .quote blockquote { font-size: 26px; } }
.quote figcaption { margin-top: 12px; color: var(--mist); font-size: 15.5px; }

.devices { position: relative; padding-bottom: 7%; }
.laptop { width: 84%; margin-left: auto; margin-right: 6%; }
.laptop-lid { background: #04070C; border-radius: 16px 16px 6px 6px; padding: 2.2% 2.2% 2.8%; box-shadow: inset 0 0 0 1px rgba(167, 179, 198, .16); }
.laptop-base { position: relative; height: 14px; margin: 0 -7%; background: linear-gradient(180deg, #2E4769 0%, #1B2F4A 55%, #12233A 100%); border-radius: 2px 2px 14px 14px; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #0E1D31; border-radius: 0 0 8px 8px; }
.screen { position: relative; overflow: hidden; background: #0B0B0B; --s: .44; }
.laptop .screen { aspect-ratio: 16 / 10; border-radius: 4px; }
.screen iframe { position: absolute; top: 0; left: 0; border: 0; max-width: none; width: calc(100% / var(--s)); height: calc(100% / var(--s)); transform: scale(var(--s)); transform-origin: 0 0; pointer-events: none; background: #0B0B0B; }
.phone { position: absolute; left: 0; bottom: 0; width: 28%; max-width: 236px; background: #04070C; border-radius: 16% / 7.4%; padding: 2.6%; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(167, 179, 198, .18); }
.phone .screen { aspect-ratio: 390 / 844; border-radius: 13% / 6%; --s: .55; }
.phone .screen::after { content: ""; position: absolute; z-index: 2; top: 1.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #04070C; border-radius: 99px; }
.devices-link { position: absolute; inset: 0; z-index: 3; }
@media (max-width: 719px) {
  .devices { padding-bottom: 0; }
  .laptop { display: none; }
  .phone { position: relative; margin-inline: auto; width: 64%; max-width: 250px; }
}

.shop-strip { display: grid; gap: 16px; margin-top: clamp(56px, 7vw, 88px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (min-width: 900px) { .shop-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.shop-note { grid-column: 1 / -1; padding-bottom: 8px; }
@media (min-width: 900px) { .shop-note { grid-column: auto; align-self: end; padding: 0 24px 40px 0; } }
.shop-note h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; }
.shop-note p { margin-top: 10px; color: var(--mist); max-width: 26em; }
.shop-strip figure { margin: 0; }
.shop-strip img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--slate); }
.shop-strip figcaption { margin-top: 10px; color: var(--mist); font-size: 14.5px; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 40px; position: relative; counter-reset: step; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); }
}
.step { position: relative; }
.step-num { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 68px; line-height: 1; color: var(--mint); background: var(--navy); padding-right: 18px; position: relative; }
.step h3 { margin-top: 18px; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.step p { margin-top: 10px; color: var(--mist); max-width: 34ch; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; gap: 24px 72px; padding-top: 56px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .about-grid { padding-top: 80px; } }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.about-copy { margin-top: 6px; font-size: clamp(18px, 1.6vw, 21px); max-width: 32em; }
.about-copy p + p { margin-top: 1em; }
.sig { margin-top: 28px; font-family: var(--display); font-size: 26px; color: var(--white); letter-spacing: -0.02em; }

/* =========================================================
   FREE CHECK, FAQ, CONTACT
   ========================================================= */
.check-panel { background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4.4vw, 56px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .check-panel { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.check-panel h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.check-panel p { margin-top: 14px; max-width: 36em; }

.faq-grid { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--white); font-weight: 600; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover .pm { border-color: var(--mint); }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--white); transition: transform .3s var(--ease-out), border-color .2s, color .2s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm { transform: rotate(45deg); border-color: var(--mint); color: var(--mint); }
.answer { padding: 0 54px 24px 0; max-width: 62ch; }

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.contact h2 { font-size: clamp(40px, 5.8vw, 76px); line-height: .97; letter-spacing: -0.035em; }
.contact-lede { margin-top: 20px; font-size: clamp(18px, 1.55vw, 20px); max-width: 30em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-list { margin: 40px 0 0; display: grid; gap: 6px; }
.contact-list div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact-list dt { color: var(--mist); font-size: 15px; }
.contact-list dd { margin: 0; color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 4px; }
@media (max-width: 520px) { .contact-actions .btn { flex: 1 1 100%; } }

.form { background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 40px); }
.form h3 { font-size: clamp(24px, 2.2vw, 28px); }
.field { margin-top: 20px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; color: var(--white); font-weight: 600; font-size: 15px; }
.opt { color: var(--mist); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: 400 17px/1.4 var(--body); color: var(--white);
  background: var(--navy); border: 1.5px solid var(--line-strong); border-radius: 14px;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select { padding-right: 46px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A7B3C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
.field select:invalid { color: var(--mist); }
.field option { background: var(--navy); color: var(--white); }
.field ::placeholder { color: #798598; opacity: 1; } /* faded vs. typed white text, still 4.6:1 */
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(32, 233, 154, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field select.is-prefilled { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(32, 233, 154, .25); }
.err { margin-top: 7px; color: var(--error); font-size: 14.5px; }

/* "Your build" summary inside the form */
.build-summary { margin-top: 22px; padding: 18px; border-radius: 16px; background: var(--navy); border: 1px solid var(--line-strong); }
.build-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.build-summary-title { color: var(--white); font-weight: 600; }
.build-summary-actions { display: flex; gap: 16px; }
.build-summary-head a, .build-clear { padding: 0; border: 0; background: none; color: var(--mint); font: 600 14.5px/1.4 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.build-clear { color: var(--mist); }
.build-lines { margin: 12px 0 0; display: grid; gap: 8px; font-size: 15.5px; }
.build-lines div { display: flex; justify-content: space-between; gap: 16px; }
.build-lines dt { color: var(--mist); }
.build-lines dd { margin: 0; color: var(--white); text-align: right; }
.build-lines .is-free { color: var(--mint); font-weight: 600; }
.build-est { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--white); font-weight: 600; }
.build-est strong { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; }
.build-note { margin-top: 4px; color: var(--mist); font-size: 14px; }
.form .btn-submit { width: 100%; margin-top: 26px; }
.btn-deposit { width: 100%; margin-top: 12px; }
.btn-deposit .icon { width: 18px; height: 18px; }
.deposit-sub, .deposit-msg { margin-top: 8px; color: var(--mist); font-size: 14px; text-align: center; }
.deposit-msg { color: var(--white); }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-note { margin-top: 14px; color: var(--mist); font-size: 14.5px; text-align: center; }
.form-note a { color: var(--white); white-space: nowrap; }
/* Small inline links get a bigger invisible hit area (44px tall) without moving their underline */
.link-out, .form-note a, .hero-phone figcaption a, .build-summary-head a, .build-clear, .done-deposit .deposit-sub a { position: relative; }
.link-out::after, .form-note a::after, .hero-phone figcaption a::after, .build-summary-head a::after, .build-clear::after, .done-deposit .deposit-sub a::after { content: ""; position: absolute; inset: -14px -6px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15.5px; background: rgba(255, 155, 138, .1); border: 1px solid rgba(255, 155, 138, .4); color: var(--white); }
.form-done { text-align: center; padding: 24px 4px; }
.form-done:focus { outline: none; }
.done-icon { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: var(--mint); color: var(--navy); display: grid; place-items: center; }
.done-icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.form-done p { margin-top: 10px; color: var(--mist); }
.form-done .btn { margin-top: 26px; }
.done-deposit { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.done-deposit-lede { color: var(--text) !important; }
.done-deposit .btn-deposit { width: 100%; margin-top: 16px; }
.done-deposit .deposit-sub { margin-top: 12px; font-size: 14.5px; }
.done-deposit .deposit-sub a { color: var(--white); text-underline-offset: 3px; }
.form.is-sent .form-fields { display: none; }

/* =========================================================
   FOOTER + STICKY CALL BAR (phones)
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 15.5px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.2fr); } }
.footer-brand p { margin-top: 14px; color: var(--mist); max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.footer-col span { padding-block: 10px; }
.footer-col a:hover { color: var(--mint); }
.footer-col span { color: var(--mist); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mist); font-size: 14.5px; }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); } }

/* Build summary bar: slides up once something is picked; hidden while the form is on screen */
.build-bar {
  position: fixed; z-index: 70; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(780px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px;
  padding: 10px 8px 10px 20px; border-radius: 20px; background: rgba(21, 33, 57, .96); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .75);
  transform: translate(-50%, 150%); visibility: hidden;
  transition: transform .45s var(--ease-out), visibility 0s .45s;
}
@supports (backdrop-filter: blur(12px)) { .build-bar { background: rgba(21, 33, 57, .84); backdrop-filter: blur(14px) saturate(140%); } }
.build-bar.is-open { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.build-bar-info { flex: 1; min-width: 0; }
.build-bar-text { display: flex; min-width: 0; color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.35; }
.bar-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-est { flex: none; white-space: nowrap; }
.build-bar-short, .note-short { display: none; }
@media (max-width: 599px) { .build-bar-short { display: block; } }
.build-bar-note { margin-top: 2px; color: var(--mist); font-size: 13px; }
.build-bar-go { flex: none; }
.build-bar-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--mist); cursor: pointer; transition: color .2s, background-color .2s; }
.build-bar-x:hover { color: var(--white); background: var(--slate-2); }
@media (max-width: 599px) {
  .build-bar { left: 10px; right: 10px; width: auto; gap: 6px; padding: 8px 4px 8px 14px; border-radius: 18px; transform: translateY(150%); }
  .build-bar.is-open { transform: none; }
  .build-bar-text { display: none; }
  .build-bar { padding: 6px 2px 6px 14px; }
  .build-bar-short { color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .build-bar-note { margin-top: 1px; font-size: 12px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .note-long { display: none; }
  .note-short { display: inline; }
  .build-bar-go { min-height: 44px; padding-inline: 14px; }
}
body:has(.legal:target) .build-bar { display: none; }

.sticky-bar { display: none; }
@media (max-width: 899px) {
  .sticky-bar {
    display: flex; gap: 8px; position: fixed; z-index: 60;
    left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 999px; background: rgba(21, 33, 57, .92); border: 1px solid var(--line-strong);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .6);
    transition: opacity .25s, transform .35s var(--ease-out), visibility 0s;
  }
  @supports (backdrop-filter: blur(12px)) { .sticky-bar { background: rgba(21, 33, 57, .78); backdrop-filter: blur(12px); } }
  .sticky-bar .btn { flex: 1; min-height: 48px; }
  .sticky-bar.is-hidden, body.build-open .sticky-bar, body.form-visible .sticky-bar { opacity: 0; transform: translateY(18px); visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
}

/* =========================================================
   LEGAL PAGES (shown one at a time at #privacy, #terms, etc.)
   ========================================================= */
.legal { display: none; padding-block: clamp(36px, 6vw, 76px) clamp(72px, 9vw, 112px); }
.legal:target { display: block; }
.legal:focus { outline: none; }
body:has(.legal:target) .site-main, body.legal-open .site-main { display: none; }
.legal-wrap { max-width: 780px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--mist); font-weight: 600; font-size: 15px; text-decoration: none; }
.back:hover { color: var(--white); }
.back .icon { width: 18px; height: 18px; }
.legal h1 { margin-top: 28px; font-size: clamp(40px, 6vw, 66px); line-height: 1; letter-spacing: -0.03em; }
.updated { margin-top: 12px; color: var(--mist); font-size: 15px; }
.legal h2 { margin-top: 44px; font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.01em; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 1.3em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--mint); }
.legal a { color: var(--mint); text-underline-offset: 3px; }
.legal-note { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mist); font-size: 14.5px; }

/* =========================================================
   SCROLL REVEAL
   Plays each time a block scrolls into view and resets once it's fully off screen.
   --d staggers siblings. Variants: data-reveal="card" | "title" | "label".
   ========================================================= */
.js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity var(--dur) var(--ease-out) var(--d, 0s), translate var(--dur) var(--ease-out) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; translate: none; }

/* Cards rise further and settle from a slight scale; their own hover and selection transitions stay */
.js [data-reveal="card"] { translate: 0 44px; scale: .96; transition: opacity .9s var(--ease-out) var(--d, 0s), translate 1s var(--ease-out) var(--d, 0s), scale 1s var(--ease-out) var(--d, 0s), transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.js [data-reveal="card"].in { scale: none; }
/* Phones: a quick press on cards (the reveal timings stay the same) */
@media (hover: none) { .js [data-reveal="card"]:active { transition-duration: .9s, 1s, 1s, .18s, .5s, .3s; } }
.js .pkg.is-hover[data-reveal="card"], .js .plan.is-hover[data-reveal="card"] { transition: opacity .9s var(--ease-out) var(--d, 0s), translate 1s var(--ease-out) var(--d, 0s), scale 1s var(--ease-out) var(--d, 0s), transform .15s linear, box-shadow .5s var(--ease-out), border-color .3s; }

/* Section titles wipe in from the top while rising */
.js [data-reveal="title"] { translate: 0 .35em; clip-path: inset(0 0 100% 0); transition: opacity .9s var(--ease-out) var(--d, 0s), translate 1s var(--ease-out) var(--d, 0s), clip-path 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal="title"].in { clip-path: inset(-20% -10% -30% -10%); }

/* Section labels slide in and their little line draws out */
.js [data-reveal="label"] { translate: -10px 0; transition: opacity .7s var(--ease-out) var(--d, 0s), translate .7s var(--ease-out) var(--d, 0s); }
.js [data-reveal="label"]::before { scale: 0 1; transform-origin: left; transition: scale .7s var(--ease-out) calc(var(--d, 0s) + .15s); }
.js [data-reveal="label"].in::before { scale: 1 1; }

/* Add-on rows slide in from the side; the dotted leader then draws left to right */
.js [data-reveal="row"] { translate: 32px 0; }
.js [data-reveal="row"] .leader { scale: 0 1; transform-origin: left; transition: scale .8s var(--ease-out) calc(var(--d, 0s) + .25s); }
.js [data-reveal="row"].in .leader { scale: 1 1; }

/* =========================================================
   REDUCED MOTION: final state, no movement
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js .line > span, .js .hero-fade, .js [data-reveal] { opacity: 1; transform: none; filter: none; translate: none; scale: none; clip-path: none; }
  .js [data-reveal="label"]::before, .js [data-reveal="row"] .leader { scale: 1 1; }
  .js .underline::after { transform: none; }
}
@media print {
  .site-header, .sticky-bar, .devices, body::after { display: none !important; }
  .js [data-reveal], .js .line > span, .js .hero-fade { opacity: 1 !important; transform: none !important; filter: none !important; translate: none !important; scale: none !important; clip-path: none !important; }
}

/* Other local businesses: one quote card, using the existing package palette and spacing. */
.pkg-grid.is-inquiry { grid-template-columns: minmax(0, 1fr); }
/* Same card as the monthly plans (.plan), on slate so it stands out on this section */
.inquiry-card { max-width: 480px; background: var(--slate); }
.inquiry-card .plan-price small { margin-right: 6px; }
.inquiry-card .pkg-tag { margin-top: 12px; }
.inquiry-options { margin-top: 24px; color: var(--mist); }
.inquiry-options strong { color: var(--white); }
.inquiry-quote { margin-top: 14px; color: var(--white); }
.inquiry-text { margin-top: 24px; }
.inquiry-fees { margin-top: 14px; color: var(--mist); font-size: 14px; line-height: 1.5; }
body.other-inquiry .every, body.other-inquiry .pkg-hint, body.other-inquiry .pkg-foot,
body.other-inquiry .restore-note, body.other-inquiry .plan .select-btn { display: none; }
body.other-inquiry .plan { cursor: default; }
@media (max-width: 599px) { .inquiry-text { width: 100%; } }

/* 404 page (404.html) */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 0; padding: 48px var(--gutter); text-align: center; }
.notfound .section-intro { margin-inline: auto; }
.notfound-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
