/* ==========================================================================
   Sermon Cam — sermoncam.app
   ========================================================================== */

:root {
  --bg: #05090e;
  --bg-2: #08111a;
  --surface: #0b151f;
  --surface-2: #0f1c28;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eaf1f4;
  --muted: #95a5b2;
  --dim: #5f6f7b;
  --teal: #50c0b2;
  --mint: #58dfb5;
  --navy: #0e2645;
  --lav: #9b93e6;
  --yellow: #ffd60a;

  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --app: -apple-system, 'SF Pro Text', 'Inter Tight', system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: var(--grain, none);
  background-size: 160px;
  opacity: .055;
  mix-blend-mode: overlay;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(88, 223, 181, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--mint); color: #022; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

em { font-style: normal; }
h1 em, h2 em {
  background: linear-gradient(100deg, #7ff0cc 0%, var(--mint) 30%, var(--teal) 60%, #7fb6d8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 9, 14, .62);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.02em; font-size: 17px; }
.brand-mark {
  width: 28px; height: 28px; flex: none;
  background: linear-gradient(180deg, #58dfb5, #4591ad 55%, #2a5c7a);
  -webkit-mask: url(../img/mark.svg) center / contain no-repeat;
  mask: url(../img/mark.svg) center / contain no-repeat;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14.5px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  background: var(--text); color: #071016;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.nav-cta svg { width: 14px; height: 14px; margin-top: -2px; }
.nav-cta:hover { box-shadow: 0 0 0 4px rgba(88, 223, 181, .25); }

/* ------------------------------------------------------------------ shared */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint); margin: 0 0 22px;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section-head h2, .privacy-copy h2, .final h2 {
  font-size: clamp(36px, 5.2vw, 72px); line-height: 1.08; letter-spacing: -.028em; font-weight: 650; margin: 0 0 22px;
  text-wrap: balance;
}
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; margin: 0; line-height: 1.55; text-wrap: pretty; }
.lede a { color: var(--text); border-bottom: 1px solid var(--line-2); }


/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 40px; isolation: isolate; }
.hero-glow {
  position: absolute; inset: -10% 0 auto; height: 120vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 18%, rgba(88, 223, 181, .13), transparent 70%),
    radial-gradient(40% 40% at 78% 50%, rgba(140, 128, 255, .12), transparent 70%),
    radial-gradient(40% 40% at 20% 60%, rgba(69, 145, 173, .10), transparent 70%);
}
.hero-copy { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: 13.5px; color: var(--muted); margin: 0 0 24px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(88,223,181,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(88,223,181,0); } 100% { box-shadow: 0 0 0 0 rgba(88,223,181,0); } }

.hero-title {
  font-size: clamp(44px, min(8vw, 14vh), 118px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
  margin: 0 auto 24px; max-width: 12ch;
}
.ht-line { display: block; }
.hero-title em { font-weight: 700; }
.framed { position: relative; display: inline-block; padding: .06em .3em .08em .3em; margin-top: .1em; }
.corner { position: absolute; width: .22em; height: .22em; border: 0 solid var(--mint); transition: transform 1s var(--ease-out), opacity .4s; }
.corner.tl { left: 0; top: .04em; border-width: 3px 0 0 3px; }
.corner.tr { right: 0; top: .04em; border-width: 3px 3px 0 0; }
.corner.bl { left: 0; bottom: 0; border-width: 0 0 3px 3px; }
.corner.br { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.js .corner { opacity: 0; }
.js .corner.tl { transform: translate(-.5em, -.35em); }
.js .corner.tr { transform: translate(.5em, -.35em); }
.js .corner.bl { transform: translate(-.5em, .35em); }
.js .corner.br { transform: translate(.5em, .35em); }
.loaded .corner { opacity: 1; transform: none !important; transition-delay: 1.05s; }

.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; text-wrap: balance; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-hint { margin: 26px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.hero-hint span { color: var(--mint); margin-left: 4px; }
.store-badge { display: inline-block; border-radius: 12px; transition: transform .35s var(--ease-out), box-shadow .35s; box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 10px 30px -10px rgba(0,0,0,.8); }
.store-badge img { height: 56px; width: auto; }
.store-badge.big img { height: 66px; }
.store-badge:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 0 6px rgba(88,223,181,.15), 0 18px 40px -12px rgba(88,223,181,.35); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: 12px;
  font-weight: 550; color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  transition: background-color .25s, border-color .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); }
.btn-ghost span { transition: transform .3s var(--ease-out); }
.btn-ghost:hover span { transform: translateY(3px); }

.js [data-intro] { opacity: 0; transform: translateY(18px); }
.loaded [data-intro] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.loaded [data-intro="1"] { transition-delay: .05s; }
.loaded [data-intro="3"] { transition-delay: .55s; }
.loaded [data-intro="4"] { transition-delay: .7s; }
.loaded [data-intro="5"] { transition-delay: .85s; transition-duration: 1.4s, 1.6s; }
.loaded [data-intro="6"] { transition-delay: 1.6s; }
.js:not(.loaded) [data-intro="5"] { transform: translateY(60px) scale(.97); }

.js .hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin: 0 -.02em -.08em; }
.js .hero-title .wi { display: inline-block; transform: translateY(105%); }
.loaded .hero-title .wi { transform: none; transition: transform 1.2s var(--ease-out); transition-delay: calc(.12s + var(--i) * .07s); }

/* rig: monitor + beam + phone */
.rig-wrap { margin-top: clamp(40px, 5vw, 68px); padding: 0 var(--gutter); perspective: 1800px; }
.rig { position: relative; width: min(1220px, 100%); margin: 0 auto; padding-bottom: 6%; transform-style: preserve-3d; will-change: transform; }
.monitor {
  position: relative; z-index: 1; width: 77%; aspect-ratio: 16 / 9;
  border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 120px -30px rgba(0,0,0,.9), 0 30px 80px -40px rgba(120,110,255,.25);
}
.monitor::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 120px rgba(0,0,0,.55); }
.monitor-canvas { width: 100%; height: 100%; }
.crop-rect {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px;
  border: 1.5px solid rgba(255,255,255,.92); border-radius: 3px;
  box-shadow: 0 0 0 9999px rgba(2, 4, 8, .52);
  will-change: transform, width, height; opacity: 0; transition: opacity .8s;
}
.crop-rect.on { opacity: 1; }
.crop-rect::before, .crop-rect::after { content: ''; position: absolute; left: 33.333%; right: 33.333%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.14); border-right: 1px solid rgba(255,255,255,.14); }
.crop-rect::after { left: 0; right: 0; top: 33.333%; bottom: 33.333%; border: 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.crop-label {
  position: absolute; left: 6px; top: 6px; white-space: nowrap; z-index: 1;
  font: 600 clamp(8.5px, .85vw, 11px)/1 var(--mono); letter-spacing: .02em; color: #071016;
  background: rgba(255,255,255,.92); padding: 5px 7px; border-radius: 4px;
}
.track-box { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border: 1.5px solid var(--mint); border-radius: 2px; opacity: 0; will-change: transform; box-shadow: 0 0 22px rgba(88,223,181,.25), inset 0 0 22px rgba(88,223,181,.12); }
.track-box.on { opacity: 1; transition: opacity .4s; }
.track-box .tb { position: absolute; width: 12px; height: 12px; border: 0 solid var(--mint); }
.tb.tl { left: -5px; top: -5px; border-width: 3px 0 0 3px; } .tb.tr { right: -5px; top: -5px; border-width: 3px 3px 0 0; }
.tb.bl { left: -5px; bottom: -5px; border-width: 0 0 3px 3px; } .tb.br { right: -5px; bottom: -5px; border-width: 0 3px 3px 0; }
.track-box.locking { animation: lock .9s var(--ease-out) both; }
@keyframes lock { 0% { opacity: 0; outline: 1.5px solid rgba(88,223,181,.0); outline-offset: 40px; } 30% { opacity: 1; } 60% { outline: 1.5px solid rgba(88,223,181,.7); outline-offset: 6px; } 100% { opacity: 1; outline: 1.5px solid rgba(88,223,181,0); outline-offset: 0; } }
.track-tag {
  position: absolute; left: 5px; bottom: 5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  font: 600 clamp(9px, .85vw, 11px)/1 var(--mono); color: #04201a; background: var(--mint); padding: 5px 7px; border-radius: 4px;
}
.track-tag i { width: 6px; height: 6px; border-radius: 50%; background: #04201a; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.monitor-chrome { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(8px, 1.3vw, 16px); font: 500 clamp(8.5px, .85vw, 11.5px)/1 var(--mono); color: rgba(255,255,255,.78); }
.mc-top, .mc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mc-file { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.45); padding: 6px 9px; border-radius: 6px; backdrop-filter: blur(8px); }
.mc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.mc-spec { background: rgba(0,0,0,.45); padding: 6px 9px; border-radius: 6px; backdrop-filter: blur(8px); }
.mc-bottom { background: rgba(0,0,0,.5); padding: 7px 10px; border-radius: 8px; backdrop-filter: blur(8px); }
.mc-bar { flex: 1; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; }
.mc-bar i { display: block; height: 100%; width: 51%; background: var(--mint); }
.mc-dur { color: rgba(255,255,255,.45); }

.beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 1s .2s; }
.beam.on { opacity: 1; }

.hero-phone { position: absolute; z-index: 3; right: 0; top: 7%; width: 25%; }
.js .hero-phone { opacity: 0; transform: translate3d(8%, 6%, 0) rotate(2deg); }
.js .hero-phone.on, .hero-phone.on { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.4s var(--ease-out); }

.hero-foot { display: flex; justify-content: center; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap; margin: 28px 0 0; padding: 0 var(--gutter); font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.hero-foot span { display: inline-flex; align-items: center; gap: 9px; }
.hero-foot span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* ------------------------------------------------------------------ phone */
.phone-body {
  container-type: inline-size;
  position: relative; aspect-ratio: 9 / 19.5; padding: 3.6%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3a4048 0%, #16191d 18%, #0a0b0d 55%, #22262b 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.12),
    inset 0 0 0 4px #050607,
    0 60px 100px -30px rgba(0,0,0,.95),
    0 30px 60px -30px rgba(0,0,0,.8),
    0 0 0 1px rgba(0,0,0,.6);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #000; isolation: isolate; }
.island { position: absolute; z-index: 5; top: 4.6%; left: 50%; width: 29%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.statusbar { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 6.8cqh; display: flex; align-items: center; justify-content: space-between; padding: 2.2cqw 9cqw 0 11cqw; font: 600 4.2cqw/1 var(--app); color: #fff; }
.phone-screen { container-type: size; }
.statusbar { height: 6.4cqh; font-size: 4.3cqw; padding-top: 1.4cqh; }
.sb-icons { display: inline-flex; gap: 1.4cqw; align-items: center; }
.sb-icons i { display: block; width: 4.2cqw; height: 2.6cqw; border-radius: 1cqw; background: #fff; opacity: .95; }
.sb-icons i:last-child { width: 6.6cqw; height: 3cqw; border-radius: 1.2cqw; }

/* hero reel */
.reel { position: absolute; left: 0; right: 0; top: 6.4cqh; aspect-ratio: 9 / 16; overflow: hidden; background: #0b0a1a; border-radius: 0 0 3cqw 3cqw; }
.reel .statusbar { display: none; }
.hero-phone .phone-screen > .reel ~ .statusbar { display: none; }
.reel-canvas, .frame-canvas, .clip-canvas, .pick-canvas, .track-canvas { width: 100%; height: 100%; }
.reel::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.reel-side { position: absolute; z-index: 2; right: 3.6cqw; bottom: 24cqw; display: flex; flex-direction: column; gap: 5cqw; align-items: center; }
.reel-side span { display: flex; flex-direction: column; align-items: center; gap: 1cqw; }
.reel-side svg { width: 7.6cqw; height: 7.6cqw; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.reel-side span:first-child svg { fill: #ff3b5c; stroke: #ff3b5c; }
.reel-side small { font: 600 2.9cqw/1 var(--app); color: #fff; }
.reel-meta { position: absolute; z-index: 2; left: 4cqw; right: 16cqw; bottom: 5cqw; font-family: var(--app); color: #fff; }
.rm-user { display: flex; align-items: center; gap: 2.2cqw; font-size: 3.5cqw; }
.rm-avatar { width: 7cqw; height: 7cqw; border-radius: 50%; background: conic-gradient(from 200deg, #58dfb5, #4591ad, #8f88ff, #58dfb5); box-shadow: 0 0 0 .6cqw #000; }
.rm-follow { border: 1px solid rgba(255,255,255,.7); padding: .8cqw 2.4cqw; border-radius: 1.6cqw; font-size: 3cqw; font-weight: 600; }
.reel-meta p { margin: 2cqw 0 1.6cqw; font-size: 3.3cqw; line-height: 1.3; opacity: .95; }
.rm-audio { font-size: 3cqw; opacity: .85; }
.reel-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: .9cqw; background: rgba(255,255,255,.25); }
.reel-progress i { display: block; height: 100%; width: 0; background: #fff; }
.reel-tabbar { position: absolute; left: 0; right: 0; bottom: 0; top: calc(6.4cqh + 177.78cqw); display: flex; align-items: flex-start; justify-content: space-around; padding: 4cqw 6cqw 0; }
.reel-tabbar i { width: 6cqw; height: 6cqw; border-radius: 1.6cqw; border: .55cqw solid rgba(255,255,255,.9); }
.reel-tabbar i.plus { border-radius: 2cqw; position: relative; }
.reel-tabbar i:first-child { border-radius: 1cqw 1cqw 1.6cqw 1.6cqw; }

/* captions (hero + clip) */
.captions { position: absolute; z-index: 2; left: 6cqw; right: 6cqw; top: 64%; text-align: center; font: 800 6.6cqw/1.3 var(--app); letter-spacing: -.01em; color: #fff; text-shadow: 0 .4cqw 1.6cqw rgba(0,0,0,.6); pointer-events: none; }
.captions .cw { display: inline-block; padding: .3cqw 1.2cqw .6cqw; margin: .5cqw .1cqw; border-radius: 1.4cqw; opacity: 0; transform: translateY(1.4cqw) scale(.94); transition: opacity .18s, transform .3s var(--ease-out), background-color .15s, color .15s; }
.captions .cw.shown { opacity: 1; transform: none; }
.captions .cw.hot { background: var(--hl, var(--yellow)); color: #111; text-shadow: none; transform: scale(1.06); }
.captions.small { font-size: 6.2cqw; top: 66%; }

/* ------------------------------------------------------------------ marquee */
.marquee { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0; border-block: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(34px, 5.6vw, 84px); font-weight: 700; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(234,241,244,.32); transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee span:hover { color: var(--text); -webkit-text-stroke-color: transparent; }
.marquee i { font-style: normal; color: var(--teal); font-size: clamp(16px, 2vw, 26px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ statement */
.statement { padding-block: clamp(100px, 16vw, 220px); }
.statement-text { font-size: clamp(26px, 3.7vw, 52px); line-height: 1.24; letter-spacing: -.022em; font-weight: 600; margin: 0; max-width: 1100px; text-wrap: pretty; }
.statement-text strong { font-weight: 600; color: var(--mint); }

.search-ico { width: 3.6cqw; height: 3.6cqw; border: .55cqw solid #8e8e93; border-radius: 50%; position: relative; flex: none; }
.search-ico::after { content: ''; position: absolute; width: .55cqw; height: 1.8cqw; background: #8e8e93; right: -1.1cqw; bottom: -1.5cqw; transform: rotate(-45deg); border-radius: 1px; }

/* ------------------------------------------------------------------ features */
.features { padding-block: clamp(80px, 12vw, 160px); }
.features .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease-out);
}
.tile::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(88,223,181,.09), transparent 60%); opacity: 0; transition: opacity .4s; }
.tile:hover { border-color: rgba(255,255,255,.14); }
.tile:hover::before { opacity: 1; }
.t-lock, .t-fix { grid-column: span 4; }
.tile-vis { position: relative; height: 210px; margin: 14px 14px 0; border-radius: 16px; overflow: hidden; background: #070c11; border: 1px solid rgba(255,255,255,.05); }
.t-lock .tile-vis { height: 250px; }
.tile-vis canvas { width: 100%; height: 100%; }
.lock-tag { position: absolute; left: 12px; top: 12px; font: 600 11px/1 var(--mono); color: #04201a; background: var(--mint); padding: 6px 8px; border-radius: 5px; display: inline-flex; gap: 6px; align-items: center; }
.lock-tag i { width: 6px; height: 6px; border-radius: 50%; background: #04201a; animation: blink 1.2s steps(2) infinite; }
.track-mini { width: 100%; height: 13cqw; border-radius: 2.4cqw; background: #141416; }
.tile-copy { padding: 22px 24px 26px; }
.tile h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 8px; font-weight: 650; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }

.lock-vis svg { width: 100%; height: 100%; }
.lk-pastor, .lk-walker, .lk-box { will-change: transform; }

.search-vis { padding: 22px; display: flex; flex-direction: column; gap: 14px; font-family: var(--app); }
.sv-field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; background: #1c1c1e; font-size: 15px; }
.sv-field .search-ico { width: 13px; height: 13px; border-width: 2px; }
.sv-field .search-ico::after { width: 2px; height: 6px; right: -4px; bottom: -5px; }
.caret { width: 2px; height: 18px; background: var(--mint); animation: blink 1s steps(2) infinite; margin-left: -6px; }
.sv-hit { padding: 14px 16px; border-radius: 14px; background: rgba(88,223,181,.07); border: 1px solid rgba(88,223,181,.25); opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.sv-hit.on { opacity: 1; transform: none; }
.sv-hit small { font: 500 11px/1 var(--mono); color: var(--mint); text-transform: uppercase; letter-spacing: .08em; }
.sv-hit p { margin: 8px 0 0; color: #dfe7ea; font-size: 14.5px; line-height: 1.45; }

.sections-vis { padding: 20px; font-family: var(--app); }
.sec-bar { display: flex; gap: 4px; margin-bottom: 14px; }
.sec-bar i { height: 6px; border-radius: 6px; width: var(--w); background: #26323c; transition: background-color .4s; }
.sec-bar i.on { background: var(--mint); }
.sec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sec-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; transition: background-color .4s, opacity .5s, transform .5s var(--ease-out); }
.sec-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-list b { width: 22px; height: 22px; border-radius: 6px; background: #1f2a33; display: grid; place-items: center; font-size: 11.5px; }
.sec-list small { color: var(--dim); font-size: 11.5px; font-family: var(--mono); }
.sec-list li.on { background: rgba(88,223,181,.09); }
.sec-list li.on b { background: var(--mint); color: #04201a; }
.js .sections-vis:not(.run) .sec-list li { opacity: 0; transform: translateX(-10px); }

.verses-vis { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.vv-line { margin: 0; font-size: 15.5px; line-height: 1.6; color: #c9d4d9; font-family: var(--app); }
.vv-line mark { background: transparent; color: inherit; border-radius: 4px; padding: 0 2px; transition: background-color .5s, color .5s; }
.verses-vis.run mark { background: rgba(155,147,230,.25); color: #fff; box-shadow: inset 0 -2px 0 var(--lav); }
.vv-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.vv-chips span { font: 600 12.5px/1 var(--app); padding: 8px 11px; border-radius: 999px; background: rgba(155,147,230,.14); color: #d6d2ff; border: 1px solid rgba(155,147,230,.3); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.verses-vis.run .vv-chips span { opacity: 1; transform: none; }
.verses-vis.run .vv-chips span:nth-child(2) { transition-delay: .15s; }
.verses-vis.run .vv-chips span:nth-child(3) { transition-delay: .3s; }

.captions-vis { display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 40%, #1e1b44, #0b0a1a); }
.cap-demo { font: 800 30px/1.25 var(--app); color: #fff; text-align: center; padding: 0 16px; transition: font-family .2s; }
.cap-demo span { display: inline-block; padding: 2px 7px 4px; border-radius: 7px; transition: background-color .15s, color .15s, transform .25s var(--ease-out); }
.cap-demo span.hot { background: var(--hl, var(--yellow)); color: #111; transform: scale(1.06); }
.cap-meta { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.cap-dots { display: flex; gap: 6px; }
.cap-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); opacity: .45; transition: opacity .3s, transform .3s; }
.cap-dots i.on { opacity: 1; transform: scale(1.2); }

.pauses-vis canvas { position: absolute; inset: 0; }
.pv-badge { position: absolute; right: 14px; top: 14px; font: 600 12px/1 var(--mono); color: #04201a; background: var(--mint); padding: 6px 8px; border-radius: 6px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease-out); }
.pv-badge.on { opacity: 1; transform: none; }

.fix-vis { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 18px; font-family: var(--app); }
.fix-vis p { margin: 0; font-size: 18px; line-height: 1.5; color: #dfe7ea; }
.fix-word { position: relative; display: inline-block; padding: 0 3px; border-radius: 5px; background: rgba(255,107,107,.18); box-shadow: inset 0 -2px 0 #ff6b6b; transition: background-color .4s, box-shadow .4s; }
.fix-word.fixed { background: rgba(88,223,181,.16); box-shadow: inset 0 -2px 0 var(--mint); }
.fix-btn { align-self: flex-start; font-size: 13.5px; font-weight: 600; color: #04201a; background: var(--mint); padding: 9px 14px; border-radius: 999px; transition: transform .2s, opacity .3s; }
.fix-btn.press { transform: scale(.94); }

.also { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.also li { display: flex; gap: 16px; padding: 24px; background: var(--bg-2); }
.also svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.also b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 4px; }
.also span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ------------------------------------------------------------------ privacy */
.privacy { padding-block: clamp(80px, 12vw, 160px); position: relative; overflow: hidden; }
.privacy::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 25% 50%, rgba(14, 38, 69, .7), transparent 70%); pointer-events: none; }
.privacy-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.privacy-vis { aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.privacy-vis canvas { width: 100%; height: 100%; }
.zero-list { list-style: none; padding: 0; margin: 40px 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.zero-list li { padding: 18px 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.zero-list b { display: block; font: 600 clamp(36px, 4vw, 52px)/1.05 var(--sans); letter-spacing: -.02em; color: var(--text); }
.zero-list b small { font: 500 13px/1 var(--mono); color: var(--muted); margin-left: 3px; }
.zero-list span { display: block; margin-top: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fine { color: var(--dim); font-size: 14.5px; margin: 0; }

/* ------------------------------------------------------------------ verse */
.verse { padding-block: clamp(80px, 12vw, 160px); border-block: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(155,147,230,.04), transparent); }
.verse-inner { text-align: center; }
.verse .kicker { justify-content: center; }
.verse figure { margin: 0 auto; max-width: 980px; min-height: 3.6em; }
.verse-text { margin: 0 0 24px; font: 400 clamp(28px, 4.1vw, 58px)/1.2 var(--serif); letter-spacing: 0; color: #f1ede4; text-wrap: balance; transition: opacity .8s var(--ease-out), filter .8s var(--ease-out), transform .8s var(--ease-out); }
.verse-text.out { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.verse figcaption { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lav); transition: opacity .6s; }
.verse figcaption.out { opacity: 0; }
.verse-note { margin: 40px auto 0; max-width: 520px; color: var(--muted); font-size: 15.5px; }

/* ------------------------------------------------------------------ pricing */
.pricing { padding-block: clamp(80px, 12vw, 160px); }
.pricing .section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 32px 28px 30px; border-radius: 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.plan h3 { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.price { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 52px; font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
.price span { color: var(--muted); font-size: 15px; }
.plan-sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; min-height: 2.9em; }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(88,223,181,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%2358dfb5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan.featured { background: linear-gradient(180deg, #0f2a2b, #0b1a1f); border-color: rgba(88,223,181,.4); box-shadow: 0 30px 80px -30px rgba(88,223,181,.25), inset 0 1px 0 rgba(255,255,255,.08); }
.plan-flag { position: absolute; top: 26px; right: 24px; font: 600 12px/1 var(--mono); color: #04201a; background: var(--mint); padding: 6px 9px; border-radius: 999px; }
.plans-fine { text-align: center; color: var(--dim); font-size: 14px; max-width: 720px; margin: 28px auto 0; }

/* ------------------------------------------------------------------ faq */
.faq { padding-block: clamp(80px, 12vw, 160px); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--mint), var(--mint)) center/11px 1.6px no-repeat, linear-gradient(var(--mint), var(--mint)) center/1.6px 11px no-repeat; transition: transform .4s var(--ease-out), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(88,223,181,.1); }
.faq summary:hover { color: var(--mint); }
.faq details > div { overflow: hidden; }
.faq details p { margin: 0 0 26px; color: var(--muted); max-width: 60ch; font-size: 16.5px; }

/* ------------------------------------------------------------------ final */
.final { position: relative; padding-block: clamp(110px, 16vw, 220px); text-align: center; overflow: hidden; isolation: isolate; }
.final-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 55%, rgba(88,223,181,.16), transparent 70%), radial-gradient(30% 40% at 50% 30%, rgba(69,145,173,.18), transparent 70%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-icon { width: 112px; height: 112px; border-radius: 26px; margin-bottom: 36px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 80px -10px rgba(88,223,181,.45); animation: float 6s var(--ease-in-out) infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.final h2 { font-size: clamp(44px, 7.4vw, 108px); line-height: 1.05; letter-spacing: -.035em; }
.final .lede { margin: 0 auto 40px; text-align: center; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { display: block; font-weight: 650; letter-spacing: -.01em; }
.footer-brand span { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-fine { width: 100%; margin: 8px 0 0; font-size: 13.5px; color: var(--dim); }
.sdg { font-family: var(--serif); font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .t-lock { grid-column: span 1; }
  .t-lock { grid-column: span 2; }
  .also { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-vis { max-width: 420px; order: 2; }
  .zero-list { grid-template-columns: repeat(2, 1fr); }

}
@media (max-width: 760px) {
  .rig { padding-bottom: 0; }
  .monitor { width: 100%; }
  .hero-phone { position: relative; right: auto; top: auto; width: 54%; margin: -16% auto 0; }
  .js .hero-phone { transform: translate3d(0, 10%, 0); }
  .mc-spec { display: none; }
  .bento { grid-template-columns: 1fr; }
  .t-lock { grid-column: span 1; }
  .also { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; width: 100%; }
  .store-badge img { height: 52px; }
  .btn-ghost { height: 52px; }
  .tile-vis { height: 200px; }
  .t-lock .tile-vis { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
