/* ============================================================
   YAANTRIX — cinematic AI-infrastructure landing page
   Type: Inter · Color: deep black + cyan/teal accents
   ============================================================ */

:root {
  --bg:        #050505;
  --bg-1:      #0a0a0c;
  --panel:     #111113;
  --card:      rgba(255,255,255,0.04);
  --card-2:    rgba(255,255,255,0.06);
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.16);

  --text:      rgba(255,255,255,0.92);
  --body:      rgba(255,255,255,0.72);
  --muted:     rgba(255,255,255,0.52);

  --cyan:      #00E5FF;
  --teal:      #16F2C5;
  --violet:    #7C3AED;
  --cyan-soft: rgba(0,229,255,0.14);
  --cyan-glow: rgba(0,229,255,0.40);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Deck-style paging: the document snaps page by page (scroll-padding must be 0
   so each page lands flush at the top — sections' own padding clears the nav) */
html { scroll-behavior: smooth; scroll-padding-top: 0; scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; background: var(--bg); }

/* Each top-level section is one "page" of the deck. Tall pages (pricing)
   scroll inside themselves before the next flick advances the deck. */
.page {
  min-height: 100vh; min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;   /* one flick = one page, no skipping */
}
.page--center { display: flex; flex-direction: column; justify-content: center; }

body {
  /* full-page gradient so the background glides black → deep charcoal → black
     as you scroll (sized to the whole document, scrolls with the page) */
  background-color: var(--bg);
  background-image:
    radial-gradient(140% 48% at 50% 38%, rgba(0,150,180,0.06), transparent 70%),
    linear-gradient(180deg, #050505 0%, #050505 30%, #0c0d1c 56%, #08080f 82%, #050505 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--text);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas, video { display: block; max-width: 100%; }
::selection { background: var(--cyan-glow); color: #04151a; }
a { color: inherit; text-decoration: none; }

/* faint drifting tech grid behind content */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  opacity: 0.7;
}

/* scroll progress bar */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  z-index: 200;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* ---------- shared atoms ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex; align-items: center;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }

.display { font-size: clamp(54px, 9vw, 120px); font-weight: 800; letter-spacing: -0.04em; }
.display-sm { font-size: clamp(34px, 5.4vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.h-section { font-size: clamp(30px, 4.4vw, 60px); font-weight: 700; max-width: 18ch; }
.h-section--sm { font-size: clamp(26px, 3.2vw, 42px); }
.h-beat { font-size: clamp(30px, 4.6vw, 62px); font-weight: 700; line-height: 1.03; }

.lead-xl {
  font-size: clamp(19px, 2.1vw, 27px); font-weight: 500;
  color: var(--text); line-height: 1.4; max-width: 26ch;
}
.lead {
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: var(--body); line-height: 1.6; max-width: 56ch; text-wrap: pretty;
}
.micro { font-size: 13.5px; color: var(--muted); }

.section { position: relative; z-index: 1; padding: clamp(90px, 13vh, 170px) var(--pad); }
.section--tight { padding-block: clamp(50px, 7vh, 90px); }
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }

.sec-head { margin-bottom: 60px; }
.sec-head .h-section { margin-top: 20px; }
.sec-head--sm { margin-bottom: 38px; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- live demo · hero-product (two-column) ---------- */
.demo-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) {
  .demo-hero { grid-template-columns: 1fr; gap: 44px; }
}
.demo-copy { display: flex; flex-direction: column; gap: 18px; }
.demo-copy .h-section { margin-top: 4px; max-width: 16ch; }
.demo-copy .lead { max-width: 50ch; }
.demo-copy .actions { margin-top: 8px; }
.demo-points { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 4px 0; }
.demo-points li {
  position: relative; padding-left: 26px;
  font-size: 16px; color: var(--body); line-height: 1.55;
}
.demo-points li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg);
}

/* phone shell — wraps the iframe with a "live" badge + pulsing glow so it's
   obvious the demo is a working, interactive agent and not a static mockup */
.phone-shell { position: relative; width: 100%; max-width: 302px; margin: 0 auto; }
/* The live-demo page snaps flush to the viewport top, so the section needs
   real nav clearance (the fixed nav is ~77px tall), and on short windows the
   phone scales down so shell + floating badge always fit the page. */
#live-demo { padding-top: 110px; }
@media (min-width: 701px) {
  .phone-shell { max-width: min(302px, calc((100svh - 220px) * 402 / 918)); }
}
.phone-shell iframe { position: relative; z-index: 1; }

/* pulsing halo behind the phone — draws the eye, signals it's "live" */
.phone-shell::before {
  content: ""; position: absolute; inset: -14px; z-index: 0; pointer-events: none;
  border-radius: 60px;
  background: radial-gradient(58% 50% at 50% 42%, var(--cyan-glow), transparent 72%);
  opacity: 0.4;
}
@media (prefers-reduced-motion: no-preference) {
  .phone-shell::before { animation: phoneGlow 2.8s var(--ease) infinite; }
}
@keyframes phoneGlow {
  0%, 100% { opacity: 0.30; transform: scale(0.97); }
  50%      { opacity: 0.62; transform: scale(1.03); }
}

/* "Live demo" badge floating over the top of the phone */
.live-badge {
  position: absolute; top: -38px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 100px; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); background: rgba(5,5,5,0.78); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px -14px rgba(0,0,0,0.85);
}
.live-dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%; position: relative;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--teal); animation: livePing 1.8s ease-out infinite;
  }
}
@keyframes livePing {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- live demo phone embed ---------- */
.demo-phone { display: flex; justify-content: center; }
.demo-phone iframe {
  width: 100%;
  max-width: 302px;       /* design width of the phone (reduced 25%) */
  aspect-ratio: 402 / 884; /* height tracks width on every screen */
  height: auto;
  border: 0;
  background: #050505; /* matches site bg so the phone blends seamlessly */
  color-scheme: dark;
}

/* inline text link (e.g. "See plans & pricing →") */
.inline-link { color: var(--cyan); font-weight: 600; transition: color 0.25s, text-shadow 0.25s; }
.inline-link:hover { text-shadow: 0 0 14px var(--cyan-glow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease);
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-primary {
  background: var(--cyan); color: #04151a;
  box-shadow: 0 0 0 rgba(0,229,255,0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px var(--cyan-glow); }
.btn-ghost { background: rgba(255,255,255,0.02); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 26px -6px var(--cyan-glow); }

/* ============================================================
   NAV — transparent → glass
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(5,5,5,0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(140deg, var(--cyan), var(--teal));
  position: relative; box-shadow: 0 0 20px var(--cyan-glow);
}
.brand .mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--bg); }
.brand-logo { height: 32px; width: auto; display: block; object-fit: contain; }
.nav .brand-logo { max-width: 35px; }  /* trim the top logo ~10% narrower */
.footer .brand-logo { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; color: var(--body); position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
/* mobile nav (hamburger panel) is defined in the MULTI-PAGE NAV block near EOF */

/* ============================================================
   PINNED CINEMATIC HERO (canvas frame-sequence scrub)
   The landing page scrolls exactly as it always did — the scrub
   drives the frames. It is one tall snap area, so free scrolling
   inside it is allowed; the deck sliding starts after its end.
   ============================================================ */
.hero { position: relative; height: 375vh; z-index: 1; }
.hero-pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: var(--bg);
}
@media (max-width: 720px) {
  .hero { height: 300vh; }
}
.seq { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(125% 95% at 50% 48%, transparent 32%, rgba(5,5,5,0.55) 100%),
    linear-gradient(to bottom, rgba(5,5,5,0.45) 0%, transparent 22%, transparent 46%, rgba(5,5,5,0.82) 80%, #050505 100%);
}

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  transition: opacity 0.5s var(--ease); z-index: 3;
}
.scroll-cue .line { width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--cyan); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue .line::after { animation: drip 1.9s var(--ease) infinite; } }
@keyframes drip { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* ============================================================
   reveal-on-scroll — directional + staggered choreography
   things glide in from below / the sides / scale-pop as you scroll
   ============================================================ */
.js .reveal,
.js [data-reveal] { opacity: 0; will-change: opacity, transform; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal,
  .js [data-reveal] {
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  }
}
/* directions */
.js .reveal,
.js [data-reveal="up"]    { transform: translateY(30px); }
.js [data-reveal="left"]  { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="scale"] { transform: scale(0.92); }
.js [data-reveal="blur"]  { transform: translateY(22px); filter: blur(12px); }
/* On phones the sideways entrance offsets shove not-yet-revealed elements
   past the screen edge → horizontal overflow that makes the whole page
   render zoomed-out / "not fit". Animate those vertically instead. */
@media (max-width: 700px) {
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translateY(30px); }
}
/* resting state once revealed */
.js .reveal.in,
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
/* elements already scrolled past snap in instantly — never animate off-screen */
.js .reveal.reveal-instant,
.js [data-reveal].reveal-instant { transition: none; }
/* honour reduced-motion: show everything, no movement */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ============================================================
   INTRO (post-animation hero copy) + shared action rows
   ============================================================ */
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.intro { text-align: center; padding-top: clamp(80px, 12vh, 150px); }
.intro-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 880px; margin: 0 auto; }
.intro .actions { justify-content: center; margin-top: 6px; }
.intro .lead { max-width: 60ch; }
.cta .actions { justify-content: center; }

/* ============================================================
   SERVICES — glass card grid
   ============================================================ */
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 32px 30px; min-height: 200px;
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s var(--ease);
}
/* accent line that draws across the top on hover */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease); opacity: 0.9;
}
.card:hover {
  border-color: var(--cyan-soft); transform: translateY(-6px); background: var(--card-2);
  box-shadow: 0 30px 60px -38px rgba(0,0,0,0.8);
}
.card:hover::before { transform: scaleX(1); }
.card-ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; color: var(--cyan);
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.05);
}
.card-ic svg { width: 22px; height: 22px; }
.card-ic img { width: 27px; height: 27px; object-fit: contain; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--body); line-height: 1.6; }

/* services spans a touch wider + trims side padding so the cards reach
   closer to the screen edges (less empty gutter on the left/right) */
#services { --pad: clamp(16px, 3vw, 40px); }
#services .wrap { max-width: 1400px; }


/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
/* 5 columns don't fit below ~1180px (tablet landscape) — step down gradually */
@media (max-width: 1180px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.price:hover { transform: translateY(-4px); border-color: var(--line-2); }
.price h3 { font-size: 19px; }
.price-val { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.price-val span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price p { font-size: 14px; color: var(--body); line-height: 1.55; flex: 1; }
.price .btn { align-self: flex-start; }
.price--featured {
  border-color: var(--cyan-soft);
  background: linear-gradient(180deg, rgba(0,229,255,0.10), var(--card));
  box-shadow: 0 30px 80px -50px var(--cyan-glow);
}
.price-badge {
  position: absolute; top: -11px; left: 26px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #04151a; background: var(--cyan); border-radius: 100px; padding: 5px 12px;
}
.price-note { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---- section lead paragraph ---- */
.sec-lead { margin-top: 16px; max-width: 62ch; font-size: 16.5px; line-height: 1.6; color: var(--body); }

/* ---- pricing: families, features, billing toggle ---- */
.price-val .amount { font-size: 38px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.price-val .per { color: var(--muted); }
.price-fam {
  align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan); background: var(--cyan-soft);
  border-radius: 100px; padding: 4px 10px;
}
.price-fam--prem { color: #FFC56B; background: rgba(255,176,32,0.14); }
.price .price-tag { flex: none; margin: 0; font-size: 13.5px; color: var(--muted); }
.price-feat { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; margin: 2px 0; }
.price-feat li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.price-feat li::before {
  content: ""; position: absolute; left: 1px; top: 4px; width: 11px; height: 6px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg);
}
.price-feat li.feat-hybrid { color: var(--text); font-weight: 600; }
.price-feat li.feat-none { opacity: .5; }
.price-feat li.feat-none::before { top: 10px; height: 0; width: 10px; border-left: 0; border-bottom: 0; border-top: 2px solid var(--body); transform: none; }
/* "available as an add-on" line — cyan + marker, muted text */
.price-feat li.feat-addon { color: var(--muted); }
.price-feat li.feat-addon::before {
  content: "+"; left: 0; top: -1px; width: auto; height: auto;
  border: 0; transform: none; color: var(--cyan); font-weight: 700; font-size: 16px; line-height: 1.4;
}

/* ---- add-ons strip (stacks onto any AI Front Desk plan) ---- */
.addons { margin-top: clamp(34px, 5vh, 52px); }
.addons-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.addons-sub { font-size: 13.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.addons-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .3s var(--ease), background .3s; }
.addon:hover { border-color: var(--line-2); background: var(--card-2); }
.addon-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.addon-name { font-weight: 600; font-size: 15.5px; color: var(--text); }
.addon-price { font-weight: 700; font-size: 19px; color: var(--cyan); white-space: nowrap; }
.addon-price span { font-size: 12px; color: var(--muted); font-weight: 500; }
.addon-desc { font-size: 14px; color: var(--body); line-height: 1.5; margin: 0; }
@media (max-width: 860px) { .addons-row { grid-template-columns: 1fr; } }

.price-badge--flag { background: #FFB020; color: #1a1206; }
.price:has(.price-badge--flag) {
  border-color: rgba(255,176,32,0.35);
  background: linear-gradient(180deg, rgba(255,176,32,0.08), var(--card));
}
.guarantee-badge {
  display: inline-block; color: var(--text); border: 1px solid var(--line-2);
  border-radius: 100px; padding: 3px 11px; font-size: 12.5px; font-weight: 600; margin: 0 4px;
}
.bill-toggle {
  display: flex; width: max-content; gap: 4px; padding: 4px; margin: 0 auto 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: 100px;
}
.bill-opt {
  appearance: none; border: 0; cursor: pointer; background: transparent; color: var(--body);
  font: inherit; font-size: 14px; font-weight: 600; padding: 9px 20px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.bill-opt.active { background: var(--cyan); color: #04151a; }
.bill-save {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--cyan-soft); color: var(--cyan); border-radius: 100px; padding: 2px 7px;
}
.bill-opt.active .bill-save { background: rgba(0,0,0,0.14); color: #04151a; }


/* ============================================================
   PIVOT ADDITIONS — 3-job pillars, cascade callout, trust/clinic pills
   (reuse existing .card / .flow / tokens; minimal new CSS)
   ============================================================ */

/* service-card bottom link ("Explore …") */
.card-link {
  margin-top: auto; padding-top: 16px;
  font-size: 15px; font-weight: 600; color: var(--cyan);
  transition: text-shadow 0.25s;
}
.card-link:hover { text-shadow: 0 0 14px var(--cyan-glow); }

/* cascade "why it's different" callout */
.callout {
  margin-top: 30px; border: 1px solid var(--cyan-soft); border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,229,255,0.07), var(--card));
  padding: 26px 28px;
}
.callout .eyebrow { margin-bottom: 12px; }
.callout h4 { font-size: 20px; margin-bottom: 9px; color: var(--text); }
.callout p { font-size: 16px; color: var(--body); line-height: 1.6; max-width: 70ch; }

/* pill row — shared by the trust strip (with check) and clinic-type chips */
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 14.5px; color: var(--body); white-space: nowrap;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.pill:hover { border-color: var(--cyan-soft); background: var(--card-2); transform: translateY(-2px); }
.pill--check { color: var(--text); font-weight: 600; }
.pill--check::before {
  content: ""; flex: none; width: 11px; height: 6px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg) translateY(-1px);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { position: relative; z-index: 1; text-align: center; padding: clamp(110px, 18vh, 220px) var(--pad); overflow: hidden; }
.cta-glow {
  position: absolute; left: 50%; bottom: -36%;
  width: min(120vw, 1100px); height: min(120vw, 1100px); transform: translateX(-50%);
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 60%);
  filter: blur(28px); opacity: 0.55; pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-inner .display-sm { margin-top: 4px; }
.cta-inner .actions { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
/* snap-align:end makes the document bottom a snap point — the last flick
   from the CTA page slides the footer into view */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 60px var(--pad) 36px; scroll-snap-align: end; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 54px; }
.footer .brand { font-size: 21px; }
.footer .foot-tag { color: var(--body); font-size: 14.5px; max-width: 30ch; margin-top: 14px; }
.footer-cols { display: flex; gap: clamp(36px, 8vw, 100px); flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--body); font-size: 14.5px; margin-bottom: 11px; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 26px; font-size: 13px; color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- hybrid call handling — compact horizontal 1·2·3·4 stepper ----
   replaces the old full-height vertical "story": same numbered feel as
   the cascade, but in a fraction of the vertical space ---- */
.hybrid-steps {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 940px; margin: 0 auto;
}
/* rail + scroll-drawn glow line threading the node row (node centers sit at 12.5% … 87.5%) */
.hstep-rail, .hstep-fill { position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0; }
.hstep-rail { background: var(--line); border-radius: 2px; }
.hstep-fill {
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  box-shadow: 0 0 14px var(--cyan-glow); border-radius: 2px;
  transform-origin: left; transform: scaleX(var(--draw, 0));
}
.hstep {
  position: relative; z-index: 1; padding: 0 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hstep-node {
  width: 42px; height: 42px; border-radius: 50%; margin-bottom: 16px;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  color: var(--cyan); background: var(--bg); border: 1.5px solid var(--line-2);
  transition: border-color 0.5s var(--ease), color 0.5s, background 0.5s, box-shadow 0.5s var(--ease);
}
/* each node lights up as it pops in, left → right */
.hstep.in .hstep-node {
  border-color: var(--cyan); color: #04151a; background: var(--cyan);
  box-shadow: 0 0 22px -4px var(--cyan-glow);
}
.hstep h4 { font-size: 16px; margin-bottom: 5px; color: var(--text); }
.hstep p  { font-size: 14px; color: var(--body); line-height: 1.5; max-width: 22ch; }

.hybrid-note { margin: 36px auto 0; max-width: 62ch; text-align: center; font-size: 15px; line-height: 1.6; color: var(--body); }
.hybrid-note b { color: var(--text); }

/* on phones & tablets the row stacks into a tight vertical list (rail hidden) */
@media (max-width: 860px) {
  .hybrid-steps { grid-template-columns: 1fr; max-width: 460px; gap: 4px; }
  .hstep-rail, .hstep-fill { display: none; }
  .hstep { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding: 12px 0; }
  .hstep-node { margin-bottom: 0; flex: none; }
  .hstep p { max-width: none; }
}

/* ============================================================
   DESIGN REFRESH — open, breathing layouts that replace the
   box-soup grids. Less border, more rhythm, more motion.
   ============================================================ */

/* keep section leads to a comfortable reading measure */
.sec-lead { max-width: 56ch; }
.sec-head--sm .sec-lead { max-width: 60ch; }

/* ---------- cancellation cascade — vertical timeline that DRAWS as you scroll ---------- */
.cascade { position: relative; max-width: 760px; margin: 0 auto 38px; }

/* ≥1000px: the whole cascade story fits ONE deck page — header + callout on
   the left, the 4-step timeline on the right, vertically centered. */
@media (min-width: 1000px) {
  #cascade {
    display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(90px, 10vh, 120px);
    padding-bottom: clamp(50px, 7vh, 90px);
  }
  #cascade .wrap {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head steps" "callout steps";
    column-gap: 64px; row-gap: 30px; align-items: start;
  }
  #cascade .sec-head { grid-area: head; margin-bottom: 0; }
  #cascade .h-section { font-size: clamp(26px, 2.7vw, 40px); }
  #cascade .cascade { grid-area: steps; margin: 0; max-width: none; }
  #cascade .callout { grid-area: callout; }
  #cascade .cascade-step { padding: 10px 0 22px; }
}
.cascade-track { position: relative; padding-left: 2px; }
/* dim rail behind */
.cascade-track::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: var(--line); border-radius: 2px;
}
/* glowing line on top, height driven by scroll progress (--draw: 0 → 1) */
.cascade-fill {
  position: absolute; left: 21px; top: 22px; width: 2px; border-radius: 2px;
  height: calc(100% - 44px); pointer-events: none;
  background: linear-gradient(180deg, var(--teal), var(--cyan));
  box-shadow: 0 0 16px var(--cyan-glow);
  transform-origin: top; transform: scaleY(var(--draw, 0));
}
.cascade-step {
  position: relative; display: flex; gap: 24px; align-items: flex-start;
  padding: 12px 0 30px;
}
.cascade-step:last-child { padding-bottom: 6px; }
.cascade-node {
  flex: none; position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
  color: var(--cyan); background: var(--bg); border: 1.5px solid var(--line-2);
  transition: border-color 0.5s var(--ease), color 0.5s, background 0.5s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
/* the node lights up the moment its step reveals — the line "arrives" */
.cascade-step.in .cascade-node {
  border-color: var(--cyan); color: #04151a; background: var(--cyan);
  box-shadow: 0 0 24px -3px var(--cyan-glow);
}
.cascade-body { padding-top: 7px; }
.cascade-body h4 { font-size: clamp(18px, 2.2vw, 22px); margin-bottom: 7px; color: var(--text); }
.cascade-body p { font-size: 16px; color: var(--body); line-height: 1.6; max-width: 50ch; }

/* "why it's different" — lighter, no longer a heavy boxed callout */
.callout {
  margin-top: 4px; border: 0; border-left: 2px solid var(--cyan);
  border-radius: 0; background: none; padding: 6px 0 6px 26px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.callout .eyebrow { margin-bottom: 12px; }
.callout h4 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 10px; color: var(--text); }
.callout p { font-size: 16px; color: var(--body); line-height: 1.65; max-width: 68ch; }

/* ---------- reminders — open hairline list, no glass boxes ---------- */
.reminders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 760px) { .reminders-grid { grid-template-columns: 1fr; } }
.r-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.r-ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--cyan); background: var(--cyan-soft); border: 1px solid var(--cyan-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.r-ic svg { width: 20px; height: 20px; }
.r-item:hover .r-ic { transform: translateY(-3px); box-shadow: 0 0 22px -6px var(--cyan-glow); }
.r-item h3 { font-size: 18px; margin-bottom: 6px; }
.r-item p { font-size: 15.5px; color: var(--body); line-height: 1.6; }
.r-item p .inline-link { white-space: nowrap; }


/* ============================================================
   MULTI-SERVICE — services hub grid, sub-page hero, multi-page nav
   ============================================================ */

/* ---------- homepage "What Yaantrix does" — 4 service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { min-height: 230px; }
.service-card h3 { font-size: 23px; margin-bottom: 10px; }
.service-card p { font-size: 16px; color: var(--body); line-height: 1.6; flex: 1; }
.service-card .card-link { margin-top: 18px; }
/* flagship (AI Front Desk) gets the cyan wash, like the featured pricing card */
.service-card--featured {
  border-color: var(--cyan-soft);
  background: linear-gradient(180deg, rgba(0,229,255,0.09), var(--card));
}
.service-badge {
  align-self: flex-start; margin-bottom: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #04151a; background: var(--cyan); border-radius: 100px; padding: 4px 11px;
}


/* ---------- multi-page nav: Services dropdown + mobile hamburger ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-caret { font-size: 9px; transition: transform 0.3s var(--ease); }
.nav-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  display: flex; flex-direction: column; min-width: 210px; padding: 8px;
  background: rgba(10,10,12,0.94); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 26px 64px -22px rgba(0,0,0,0.85);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 120;
}
.nav-has-menu:hover .nav-menu,
.nav-has-menu:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(6px);
}
.nav-has-menu:hover .nav-caret, .nav-has-menu:focus-within .nav-caret { transform: rotate(180deg); }
.nav-menu a { padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--body); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.nav-menu a::after { display: none; }
.nav-menu a:hover { background: var(--card-2); color: var(--text); }
.nav-links a[aria-current="page"], .nav-menu a[aria-current="page"] { color: var(--cyan); }
.nav-mobile-cta { display: none; }

/* hamburger button — hidden on desktop */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--pad) 20px;
    background: rgba(5,5,5,0.97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-trigger { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav-item { display: block; }
  .nav-caret { display: none; }
  .nav-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 2px 0 8px 14px; background: none; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav-menu a { padding: 11px 2px; }
  .nav-links .nav-mobile-cta { display: inline-flex; justify-content: center; margin-top: 16px; padding: 14px 22px; border-bottom: 0; }
}

/* ============================================================
   HOMEPAGE POLISH — depth, drift, and a smoother scroll feel
   ============================================================ */

/* soft glow accents that parallax behind sections (sit under .wrap) */
.sec-glow {
  position: absolute; z-index: 0; pointer-events: none;
  top: 6%; left: 4%; right: 4%; height: min(62vh, 520px);
  background: radial-gradient(58% 60% at 50% 40%, var(--cyan-soft), transparent 72%);
  filter: blur(40px); opacity: 0.65; will-change: transform;
}
.sec-glow--violet { background: radial-gradient(58% 60% at 50% 40%, rgba(124,58,237,0.16), transparent 72%); }
.sec-glow--right  { left: 34%; right: 0; }
.sec-glow--left   { left: 0; right: 34%; }
.section > .wrap { position: relative; z-index: 1; }

/* a thin luminous seam where the cinematic hero hands off to content */
.intro { position: relative; }
.intro::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  opacity: 0.5;
}

/* the services hub — a touch more room + depth so the cards feel premium */
#services { position: relative; }
.service-grid { gap: 20px; }
.service-card { min-height: 240px; padding: 34px 32px; }
.service-card:hover { transform: translateY(-7px); }

/* cinematic blur-reveal — used on the homepage intro/headlines */
.js [data-reveal="rise"] { opacity: 0; transform: translateY(40px) scale(0.985); filter: blur(6px); }
.js [data-reveal="rise"].in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .sec-glow { will-change: auto; }
}

/* ---------- service "chapters" on the one-page site ---------- */
.chapter { position: relative; padding-top: clamp(96px, 13vh, 168px); }
/* a soft hairline divides one service chapter from the last */
.chapter::before {
  content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad);
  height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 28%, var(--line-2) 72%, transparent);
  opacity: 0.7;
}
/* the chapter's own number/label reads as a quiet section marker */
.chapter > .wrap > .sec-head { margin-bottom: 44px; }

/* ============================================================
   OFFER + FORMS + INTERNAL TOOLING
   ============================================================ */


/* ---------- forms (contact / intake) ---------- */
.form { width: 100%; max-width: 580px; margin: 10px auto 0; display: flex; flex-direction: column; gap: 15px; text-align: left; }
.form--wide { max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--body); }
.field .opt { color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--text); width: 100%;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; color-scheme: dark;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.form textarea { resize: vertical; min-height: 88px; }
.form select { cursor: pointer; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--cyan); background: rgba(0,229,255,0.04);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}
.check { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--body); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--cyan); flex: none; cursor: pointer; }
.form .btn { align-self: flex-start; margin-top: 2px; }
.form-status { font-size: 14px; min-height: 1.2em; margin: 2px 0 0; }
.form-status.is-ok { color: var(--teal); }
.form-status.is-err { color: #ff7a7a; }

/* ---------- internal (private) pages ---------- */
.topbar--internal {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  background: rgba(5,5,5,0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.private-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 11px;
}
.internal { max-width: 880px; margin: 0 auto; padding: clamp(34px, 6vh, 64px) var(--pad) 110px; }
.internal h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 12px; }
.internal-lead { color: var(--body); font-size: 16px; line-height: 1.6; margin-bottom: 38px; max-width: 60ch; }
.internal h2.block-title { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 36px 0 16px; }

/* ---------- onboarding checklist ---------- */
.check-progress { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.check-item:hover { border-color: var(--line-2); background: var(--card-2); }
.check-item input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--cyan); flex: none; cursor: pointer; }
.check-item span { font-size: 15px; color: var(--body); line-height: 1.5; }
.check-item input:checked ~ span { color: var(--muted); text-decoration: line-through; }

/* ---------- playbook reference + copy buttons ---------- */
.pb-block { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 22px 24px; margin-bottom: 18px; }
.pb-block > h3 { font-size: 19px; margin-bottom: 12px; }
.pb-block p { font-size: 15px; color: var(--body); line-height: 1.6; margin-bottom: 10px; }
.pb-block ul { padding-left: 18px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 7px; }
.pb-block li { font-size: 15px; color: var(--body); line-height: 1.55; }
.pb-block b { color: var(--text); }
.pb-quote {
  border-left: 2px solid var(--cyan); padding: 8px 0 8px 18px; margin: 10px 0;
  color: var(--text); white-space: pre-wrap; font-size: 15px; line-height: 1.6;
}
.pb-template { position: relative; }
.copy-btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--cyan); background: var(--cyan-soft); border: 1px solid var(--cyan-soft);
  border-radius: 100px; padding: 5px 12px; transition: background 0.2s, color 0.2s;
}
.copy-btn:hover { background: var(--cyan); color: #04151a; }
.pb-template > .copy-btn { position: absolute; top: 16px; right: 16px; }

/* ============================================================
   PREMIUM BRAND POLISH — depth · grain · glassy buttons · focus
   Additive only: refines existing components, no layout changes.
   ============================================================ */

/* fine film grain over the whole page — the subtle "expensive" texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* glassy, dimensional primary button — a premium signature */
.btn-primary {
  background: linear-gradient(180deg, #61f1ff 0%, var(--cyan) 52%, #00cfe8 100%);
  color: #03141a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 30px -12px var(--cyan-glow);
}
.btn-primary:hover {
  transform: translateY(-2px); filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 18px 46px -12px var(--cyan-glow);
}
.btn-ghost { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* a hair of inner light on glass surfaces → more depth */
.card, .price, .service-card { box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }

/* brand mark — a touch more presence */
.brand { letter-spacing: -0.03em; }
.brand .mark { box-shadow: 0 0 24px var(--cyan-glow), inset 0 0 0 1px rgba(255,255,255,0.14); }

/* premium, accessible focus ring */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* nav reads sharper once you scroll; footer gets a brand-gradient hairline */
.nav.scrolled { box-shadow: 0 14px 44px -30px rgba(0,0,0,0.92); }
.footer { background: linear-gradient(180deg, rgba(0,229,255,0.025), transparent 24%); }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-soft) 28%, var(--cyan-soft) 72%, transparent);
}
/* ---------- two clearly-labeled pricing blocks (AI Front Desk · Website) ---------- */
.price-group + .price-group { margin-top: clamp(60px, 9vh, 104px); }
.price-group-head { text-align: center; max-width: 64ch; margin: 0 auto 30px; }
.price-group-title {
  font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.025em;
  display: inline-flex; align-items: center; gap: 14px;
}
.price-group-title::before, .price-group-title::after {
  content: ""; width: 30px; height: 1px; background: var(--line-2);
}
.price-group-sub { margin-top: 13px; font-size: 16px; line-height: 1.6; color: var(--body); }

/* website plans: 3-up grid, static price cycle, setup-fee note */
.price-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .price-grid.price-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .price-grid.price-grid--3 { grid-template-columns: 1fr; } }
.price-cycle { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-setup { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* legibility — make BOTH pricing line-ups read clearly (was a touch small) */
.price { padding: 30px 28px; }
.price h3 { font-size: 21px; }
.price .price-tag { font-size: 14.5px; }
.price-feat li { font-size: 15.5px; padding-left: 24px; }
.price-feat li::before { top: 6px; }

/* ---------- legal / terms page ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(112px, 17vh, 180px) var(--pad) 110px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.legal-intro { font-size: 17px; line-height: 1.65; color: var(--body); margin-bottom: 8px; max-width: 64ch; }
.legal h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 44px 0 14px; scroll-margin-top: 96px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.legal p { font-size: 15.5px; line-height: 1.7; color: var(--body); margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin: 6px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.legal li { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.legal b { color: var(--text); }
.legal a { color: var(--cyan); }
.legal .callout { margin: 22px 0; }
.legal .callout h4 { color: var(--text); }
