/* ===========================================================
   The EC Solution — styles
   Theme: sleek dark, modern violet
   =========================================================== */

:root {
  --bg:        #0B0A0F;   /* page background, near-black */
  --bg-2:      #100E17;   /* alternate section shade */
  --surface:   #16141F;   /* cards */
  --surface-2: #1D1A2A;   /* raised cards */
  --border:        rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.17);

  --text-hi:  #F4F3F8;    /* headings */
  --text:     #C7C4D6;    /* body */
  --text-dim: #8C88A0;    /* muted labels */

  --accent:        #8A6DFF;  /* modern violet */
  --accent-bright: #A891FF;
  --accent-deep:   #6E4EE6;  /* hover */
  --accent-soft:   rgba(138,109,255,.16);
  --glow:          rgba(124,92,255,.40);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--text-hi); }

h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); font-weight: 600; letter-spacing: -0.035em; }

.section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.section-title.center { text-align: center; margin-inline: auto; max-width: 20ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.9rem;
}
.eyebrow-center { text-align: center; }

.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text); max-width: 46ch; margin: 1.25rem 0 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }

.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 8px 30px -8px var(--glow);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 10px 38px -6px var(--glow); }

.btn-ghost { background: transparent; color: var(--text-hi); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--text-hi); }

.btn-sm { --btn-pad-y: 0.6rem; --btn-pad-x: 1.1rem; font-size: 0.92rem; }
.btn-lg { --btn-pad-y: 1rem; --btn-pad-x: 2rem; font-size: 1.08rem; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark { flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--text-hi); }

.nav { display: none; gap: clamp(1rem, 1.9vw, 1.7rem); }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 0.96rem; color: var(--text-dim); position: relative; padding: 0.25rem 0; transition: color .2s ease; }
.nav a:hover { color: var(--text-hi); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: none; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin-right: -10px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text-hi); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.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); }

.mobile-menu { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.5rem var(--pad) 1.25rem; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { text-decoration: none; font-weight: 600; padding: 0.7rem 0.25rem; color: var(--text-hi); border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { border: 1.5px solid var(--accent); margin-top: 0.6rem; justify-content: center; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
/* ambient violet glow */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -12%; right: -8%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  opacity: .55; filter: blur(8px);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }

.hero h1 { margin-top: 0.4rem; max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-note { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em; color: var(--text-dim); margin: 1.4rem 0 0; }

.hero-photo { position: relative; }

/* "The week you get back" — the descending-bars mark, drawn from real hours */
.timeback {
  position: relative; margin: 0 auto; max-width: 460px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 0 70px -30px var(--glow);
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  display: flex; flex-direction: column; gap: 1.15rem;
}
.tb-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tb-title { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; color: var(--text-hi); }
.tb-tag {
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--border); border-radius: 999px; padding: .24rem .55rem; flex: none;
}

.tb-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .95rem; }
.tb-row {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "task hrs" "track track";
  gap: .4rem .75rem; align-items: baseline;
}
.tb-task { grid-area: task; font-size: .88rem; color: var(--text); }
.tb-hrs { grid-area: hrs; font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tb-track { grid-area: track; display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.tb-fill { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--accent); }
.tb-fill.f2 { background: var(--accent); opacity: .8; }
.tb-fill.f3 { background: var(--text-hi); }

/* bars grow in when the hero reveals; full width already set if JS never runs */
.js .tb-fill { width: 0; }
.js .reveal.in .tb-fill { width: var(--w); transition: width .9s cubic-bezier(.22,.8,.24,1); }
.js .reveal.in .tb-fill.f2 { transition-delay: .1s; }
.js .reveal.in .tb-fill.f3 { transition-delay: .2s; }

.tb-total {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem;
  border-top: 1px solid var(--border); padding-top: 1.05rem;
}
.tb-side { display: flex; flex-direction: column; gap: .2rem; }
.tb-side strong { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tb-side span { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.tb-after { text-align: right; align-items: flex-end; }
.tb-after strong { color: var(--accent-bright); }
.tb-arrow { width: 26px; height: 12px; flex: none; color: var(--text-dim); }

/* ===========================================================
   SECTIONS
   =========================================================== */
.section { position: relative; padding: clamp(3rem, 8vw, 6rem) 0; }

/* feature panels: subtle raised, violet-tinted band */
.panel-dark { background: linear-gradient(180deg, var(--bg-2), #0C0A13); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.panel-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 15% 0%, var(--accent-soft), transparent 60%);
}
.panel-dark .wrap { position: relative; z-index: 1; }

/* ---------- Cards grid ---------- */
.cards { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.cards.two { grid-template-columns: 1fr; }
.cards.three { grid-template-columns: 1fr; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.build-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }

.card.plain { background: transparent; border: none; border-top: 1px solid var(--border-strong); border-radius: 0; padding: 1.2rem 0 0; }
.card-index { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-bright); margin: 0 0 0.5rem; }
.card.plain p:not(.card-index) { font-size: 1.1rem; color: var(--text-hi); margin: 0; }

.build-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.build-card p { color: var(--text); margin: 0 0 1.25rem; }

/* ---------- Flagship spotlight (Ravyn) ---------- */
.spotlight {
  display: grid; gap: 2rem; align-items: start;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 2.5rem;
  position: relative; overflow: hidden;
}
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 90% at 100% 0%, var(--accent-soft), transparent 60%); }
.spot-copy { position: relative; z-index: 1; }
.spot-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bright); margin: 0 0 0.75rem; }
.spot-name { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0; }
.spot-tagline { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--text-hi); margin: 0.25rem 0 1rem; }
.spot-copy p { color: var(--text); margin: 0 0 1.25rem; }
.spot-story { border-left: 2px solid var(--accent); padding-left: 1rem; color: var(--text) !important; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; }
.chips li { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.7rem; }
.spot-visual { position: relative; z-index: 1; }
.mock { background: var(--bg); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); }
.mock-head { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-title { margin-left: 0.6rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text); }
.mock-row:last-child { border-bottom: none; }
.pill { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.pill.ok { color: #7EE0B0; background: rgba(126,224,176,.12); border: 1px solid rgba(126,224,176,.28); }
.pill.block { color: #FF9A9A; background: rgba(255,154,154,.12); border: 1px solid rgba(255,154,154,.28); }

/* time-saved bar (shrinking-bar signature) */
.timesave { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "label track" "val val"; gap: 0.4rem 0.7rem; align-items: center; }
.ts-label { grid-area: label; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.ts-track { grid-area: track; height: 8px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; }
.ts-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); border-radius: 999px; box-shadow: 0 0 12px -1px var(--glow); transform-origin: left; transform: scaleX(1); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.timesave.run .ts-fill { transform: scaleX(var(--to-scale, .15)); }
.ts-val { grid-area: val; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-bright); }

/* ---------- Approach ---------- */
.approach-grid { display: grid; gap: 1.5rem; }
.approach-body p { font-size: 1.15rem; margin: 0 0 1.1rem; color: var(--text); }
.approach-body p:last-child { margin-bottom: 0; }

/* ---------- Services / offers ---------- */
.offers { display: grid; gap: 1.25rem; margin-top: 2.5rem; }

.offer {
  display: flex; flex-direction: column;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.offer-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.9rem;
}
.offer h3 { font-size: clamp(1.55rem, 3vw, 1.9rem); margin-bottom: 0.55rem; }
.offer-line { font-size: 1.1rem; color: var(--text-hi); margin: 0 0 0.9rem; }
.offer p { color: var(--text); margin: 0 0 1.1rem; }
.offer-note { font-size: 0.95rem; color: var(--text-dim); border-left: 2px solid var(--accent-soft); padding-left: 0.85rem; }
/* auto keeps both buttons on one baseline however long the copy above them runs */
.offer .btn { align-self: flex-start; margin-top: auto; }

/* Price block. Only the entry offer carries a number, so it gets the accent. */
.offer-price {
  background: var(--accent-soft);
  border: 1px solid rgba(138,109,255,.32);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
}
.price-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin-bottom: 0.3rem;
}

/* Not built yet, so it deliberately reads lighter than the two that are. */
.offer-next {
  background: transparent;
  border-style: dashed;
  gap: 1.25rem;
  padding: clamp(1.35rem, 3vw, 1.9rem);
}
.offer-next h3 { font-size: 1.45rem; }
.offer-next p { margin-bottom: 0; }
.offer-next .btn { margin-top: 0; }

/* ---------- Watch ---------- */
.watch-box { display: grid; gap: 1.75rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.watch-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); background: linear-gradient(140deg, #241f3d, #12101c); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); }
.watch-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 45%, var(--accent-soft), transparent 70%); }
.watch-media::before { content: "Coming soon"; position: absolute; z-index: 1; bottom: 0.9rem; left: 1rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.play-glyph { position: relative; z-index: 1; width: 0; height: 0; border-left: 26px solid var(--accent-bright); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; filter: drop-shadow(0 0 12px var(--glow)); }
.watch-copy p { color: var(--text); }
.watch-copy .btn { margin-top: 0.5rem; }

/* ---------- Reading rail, hero sequence, live product mock ---------- */

/* A quiet progress line across the bottom of the sticky header. */
.scroll-rail { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.scroll-rail i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@keyframes railGrow { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .js .scroll-rail i { animation: railGrow linear both; animation-timeline: scroll(root block); }
}

/* Hero panel: bars fill, then the arrow draws, then the after state lands.
   The figures themselves are counted up by main.js. */
.js .reveal .tb-arrow path { stroke-dasharray: 34; stroke-dashoffset: 34; }
.js .reveal.in .tb-arrow path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.22,.8,.24,1) .8s; }
.js .reveal .tb-after { opacity: 0; transform: translateX(-6px); }
.js .reveal.in .tb-after { opacity: 1; transform: none; transition: opacity .5s ease 1.2s, transform .5s cubic-bezier(.22,.8,.24,1) 1.2s; }

/* Ravyn: the device list populates, then the unknown installer is blocked. */
.js .reveal .mock-row { opacity: 0; transform: translateY(6px); }
.js .reveal.in .mock-row { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s cubic-bezier(.22,.8,.24,1); }
.js .reveal.in .mock-row:nth-child(2) { transition-delay: .35s; }
.js .reveal.in .mock-row:nth-child(3) { transition-delay: .47s; }
.js .reveal.in .mock-row:nth-child(4) { transition-delay: .59s; }
.js .reveal.in .mock-row:nth-child(5) { transition-delay: .71s; }

/* Resting state, with no script or reduced motion, is the settled one: blocked. */
.pill-swap { display: inline-grid; }
.pill-swap > .pill { grid-area: 1 / 1; }
.pill-swap .pill.ok { opacity: 0; }
.pill-swap .pill.block { opacity: 1; }
.js .reveal .pill-swap .pill.ok { opacity: 1; }
.js .reveal .pill-swap .pill.block { opacity: 0; }
.js .reveal.in .pill-swap .pill.ok { opacity: 0; transition: opacity .28s ease 1.55s; }
.js .reveal.in .pill-swap .pill.block { opacity: 1; transition: opacity .28s ease 1.6s; }
/* The 3 Stars mock runs the swap the other way: Unsigned becomes Signed. */
.pill-swap.to-ok .pill.ok { opacity: 1; }
.pill-swap.to-ok .pill.block { opacity: 0; }
.js .reveal .pill-swap.to-ok .pill.ok { opacity: 0; }
.js .reveal .pill-swap.to-ok .pill.block { opacity: 1; }
.js .reveal.in .pill-swap.to-ok .pill.ok { opacity: 1; transition: opacity .28s ease 1.6s; }
.js .reveal.in .pill-swap.to-ok .pill.block { opacity: 0; transition: opacity .28s ease 1.55s; }
/* Two client spotlights in a row breathe a little more than one. */
.spotlight + .spotlight { margin-top: 2rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 1.5rem; margin: 2.5rem 0 0; padding: 0; }
.steps li { border-top: 1px solid var(--border-strong); padding-top: 1rem; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.step-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-bright); display: block; margin-bottom: 0.6rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.steps p { color: var(--text); margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius-lg); background: var(--surface); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; max-width: 380px; margin-inline: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--border); }
.about-copy p { color: var(--text); margin: 0 0 1rem; }
.signature { font-family: var(--font-display); font-weight: 500; color: var(--accent-bright) !important; font-size: 1.2rem; letter-spacing: -0.01em; }

/* ---------- Book ---------- */
.book-sub { max-width: 44ch; margin: 0 auto 2rem; color: var(--text); }
.booking-embed { max-width: 900px; margin-inline: auto; }
.cal-wrap { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
/* Reserve height only until Cal injects its iframe, then hug the real content.
   Without this the container stays 640px and Cal centers its shorter iframe inside it. */
#my-cal-inline-ai-advisory-call:empty { min-height: 560px; }
#my-cal-inline-ai-advisory-call iframe { display: block; }

.booking-placeholder {
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
}
.booking-note { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim) !important; margin: 0 0 1.25rem; }
.booking-fine { font-size: 0.85rem; color: var(--text-dim) !important; margin: 1.1rem 0 0; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--bg-2); color: var(--text); padding: clamp(2.5rem,6vw,4rem) 0 2rem; border-top: 1px solid var(--border); }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 0.6rem; }
.footer-brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--text-hi); }
.footer-tag { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 0.5rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: color .2s ease; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-dim); }
.footer-legal a { text-decoration: none; color: var(--text-dim); }
.footer-legal a:hover { color: var(--accent-bright); }

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .js .tb-fill, .js .reveal.in .tb-fill { width: var(--w); transition: none; }
  .js .reveal .tb-arrow path, .js .reveal.in .tb-arrow path { stroke-dashoffset: 0; transition: none; }
  .js .reveal .tb-after, .js .reveal.in .tb-after { opacity: 1; transform: none; transition: none; }
  .js .reveal .mock-row, .js .reveal.in .mock-row { opacity: 1; transform: none; transition: none; }
  .js .reveal .pill-swap .pill.ok, .js .reveal.in .pill-swap .pill.ok { opacity: 0; transition: none; }
  .js .reveal .pill-swap .pill.block, .js .reveal.in .pill-swap .pill.block { opacity: 1; transition: none; }
  .scroll-rail i { animation: none; transform: scaleX(0); }
  .hero::before { display: none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (min-width: 720px) {
  .cards.two { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .watch-box { grid-template-columns: 1.1fr 1fr; }
  .watch-box .watch-media { order: 2; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-links { justify-content: flex-end; }
}

@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .approach-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 0.8fr 1fr; gap: 3.5rem; }
  .spotlight { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer-next { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .offer-next > div { max-width: 62ch; }
  .offer-next .btn { align-self: center; flex: none; }
}

/* ===========================================================
   TACTILE LAYER
   Motion that answers the POINTER rather than the scrollbar.
   Gated behind hover + fine pointer, so a touch screen gets
   none of it and loses nothing, and off under reduced motion.
   =========================================================== */

@media (hover: hover) and (pointer: fine) {

  /* ---- Spotlight: light tracks across a surface ---- */
  .spot { position: relative; }
  .spot::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(
      260px circle at var(--mx, 50%) var(--my, 50%),
      rgba(168, 145, 255, .17),
      transparent 68%
    );
    opacity: 0;
    transition: opacity .4s ease;
  }
  .spot:hover::after { opacity: 1; }

  /* ---- Magnetic: the control leans toward the cursor ---- */
  .mag { will-change: transform; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
  .mag.pull { transition: transform .1s linear; }

  /* ---- Tilt: the device list behaves like a panel on a desk ---- */
  .tilt-wrap { perspective: 900px; }
  .tilt { transition: transform .5s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
  .tilt.live { transition: transform .14s ease-out; }
}

@media (prefers-reduced-motion: reduce) {
  .spot::after { display: none; }
  .mag, .tilt { transform: none !important; transition: none !important; }
}
