/* Snipzo site. One accent (the warm "capture beam" from the app icon), Mac system type,
   dark plum + paper-white sections. No external fonts, no frameworks. */

:root {
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #86868b;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --night: #0d0812;
  --plum: #1a0f26;
  --plum-2: #2a1840;
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(0, 0, 0, .08);
  --beam-1: #ffb35c;
  --beam-2: #ff5e7a;
  --beam: linear-gradient(90deg, var(--beam-1), var(--beam-2));
  --cta: #ff6a4d;
  --cta-hover: #ff5537;
  --radius: 18px;
  --wrap: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system-headline, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.5 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--beam-1); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.022em; }
h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; }
.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.42; color: var(--ink-2); max-width: 34ch; }
.eyebrow { font: 600 15px/1 var(--sans); letter-spacing: .01em; color: var(--ink-3); margin: 0 0 18px; }
.beam-text { background: var(--beam); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 17px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 94, 74, .6); }
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }
.btn-ghost { color: inherit; padding-left: 4px; padding-right: 4px; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav: a floating glass pill ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; margin-bottom: -64px;
  color: #f5f5f7; pointer-events: none;
}
.nav .wrap {
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  max-width: 860px; height: 52px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(22, 16, 28, .55);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 32px -14px rgba(0, 0, 0, .55);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 14px; }
.nav ul a { text-decoration: none; opacity: .78; transition: opacity .15s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; }
.nav .btn { margin-left: 4px; }
.nav, .nav .wrap { transition: color .3s, background-color .3s, border-color .3s, box-shadow .3s; }
.nav.light { color: var(--ink); }
.nav.light .wrap {
  background: rgba(255, 255, 255, .72); border-color: rgba(0, 0, 0, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 32px -16px rgba(40, 20, 60, .3);
}

/* Sticky buy bar: slides in once the hero is out of view (main.js). */
.buybar {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(26, 15, 38, .82); color: #fff;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .5); border: 1px solid var(--line-dark);
  font-size: 14px; white-space: nowrap;
}
.buybar.show { transform: translate(-50%, 0); }
.buybar img { width: 24px; height: 24px; }
.buybar .price { opacity: .7; }

/* ---------- Sections ---------- */
section { padding: clamp(88px, 12vw, 160px) 0; }
.dark { background: var(--night); color: #f5f5f7; }
.dark .lede, .dark .eyebrow { color: #a1a1a6; }
.plum { background: radial-gradient(120% 90% at 50% 0%, var(--plum-2) 0%, var(--plum) 45%, var(--night) 100%); color: #f5f5f7; }
.plum .lede { color: #b9b0c6; }
.mist { background: var(--mist); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero: warm ribbon behind glass ---------- */
.glow { position: relative; isolation: isolate; background: radial-gradient(55% 38% at 50% 0%, rgba(255, 120, 90, .13), transparent 70%), #07050a; color: #f5f5f7; }
.hero { padding-top: clamp(132px, 14vw, 190px); padding-bottom: clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; background: linear-gradient(transparent, #07050a); }
.ribbon { position: absolute; left: 50%; top: 260px; width: max(1440px, 130%); height: auto; aspect-ratio: 16 / 10; transform: translateX(-50%); z-index: -2; pointer-events: none; }
.ribbon .rb-soft { filter: blur(60px); opacity: .55; }
.ribbon .rb-mid { filter: blur(14px); opacity: .7; }
.ribbon .rb-line { opacity: .9; }
.ribbon { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-50%) translateY(0) rotate(0deg); } to { transform: translateX(-52%) translateY(-3%) rotate(-2deg); } }

.hero h1 { font-size: clamp(42px, 6.6vw, 84px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero .h-thin { font-weight: 300; color: rgba(255, 255, 255, .94); }
.hero .h-strong { font-weight: 650; padding-bottom: .06em; }
.hero .lede { margin: 26px auto 0; max-width: 38ch; color: #b8b0c2; }
.hero-cta { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.btn-glass {
  color: #f5f5f7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn-glass:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.fine { margin: 18px 0 0; font-size: 13px; color: #8e8799; }
.fine span + span::before { content: "·"; margin: 0 8px; opacity: .6; }

.showcase { position: relative; max-width: 1000px; margin: clamp(56px, 7vw, 88px) auto 0; padding: 0 24px; }
.glass-frame {
  position: relative; padding: clamp(8px, 1.2vw, 14px); border-radius: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 70px 140px -50px rgba(0, 0, 0, .9);
}
.glass-frame img { width: 100%; height: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .45)); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px auto 0; padding: 0 12px; position: relative; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font: 500 14px/1 var(--sans); color: #ece8f1;
  background: rgba(30, 22, 38, .6); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 24px -12px rgba(0, 0, 0, .6);
}
.chip svg { width: 16px; height: 16px; flex: none; }
/* Hero content is visible without JS; a short CSS fade-up only. */
.rise { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero .lede.rise { animation-delay: .08s; }
.hero-cta.rise { animation-delay: .16s; }
.fine.rise { animation-delay: .22s; }
.showcase.rise { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Product shots sit in a glass frame; the editor section reuses it. */
.stage { position: relative; max-width: 980px; margin: 64px auto 0; padding: 0 24px; }
.stage::before {
  content: ""; position: absolute; inset: 10% 8% -10%;
  background: radial-gradient(closest-side, rgba(255, 110, 90, .35), transparent 70%);
  filter: blur(40px); z-index: 0;
}
.stage.editor { max-width: 940px; }
.stage .glass-frame img { width: 100%; height: auto; filter: drop-shadow(0 18px 36px rgba(40, 20, 60, .25)); }

/* ---------- Three-in-one ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line-light); }
.mist .card { border: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: #fff1ec; color: var(--cta); }
.card .ico svg { width: 24px; height: 24px; }
.card p { margin: 10px 0 0; color: var(--ink-2); }
.card kbd { margin-top: 18px; }

kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px;
  font: 500 14px/1 var(--mono); color: var(--ink); background: linear-gradient(#fff, #f0f0f2);
  border: 1px solid #d2d2d7; border-bottom-width: 2px; border-radius: 7px;
}
.dark kbd, .plum kbd { color: #f5f5f7; background: linear-gradient(#3a3a3c, #2c2c2e); border-color: #48484a; }

/* ---------- Scrolling capture demo ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .lede { margin-top: 22px; }
.split h2 { font-size: clamp(34px, 4.2vw, 54px); }
.points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; align-items: baseline; color: #c9c2d4; }
.points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--beam); transform: translateY(-2px); }
.points b { color: #fff; font-weight: 600; }

.scroller { display: grid; grid-template-columns: 1fr 120px; gap: 18px; align-items: start; }
.viewport { position: relative; height: 360px; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid rgba(255, 255, 255, .15); }
.viewport::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--beam-1); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.page { padding: 18px; display: grid; gap: 14px; animation: pagescroll 9s cubic-bezier(.45, 0, .55, 1) infinite; }
.post { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.post .av { width: 32px; height: 32px; border-radius: 50%; background: #e6defc; }
.post:nth-child(3n) .av { background: #ffd9cc; }
.post:nth-child(3n+1) .av { background: #d4f0e4; }
.post .lines { display: grid; gap: 7px; padding-top: 3px; }
.post .lines span { height: 9px; border-radius: 5px; background: #e7e4ee; }
.post .lines span:first-child { width: 30%; background: #c7c1d4; }
.post .lines span:nth-child(3) { width: 70%; }
.result { position: relative; height: 360px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .2); overflow: hidden; }
.result .grow { position: absolute; left: 8px; right: 8px; top: 8px; border-radius: 6px; background: repeating-linear-gradient(#fff 0 22px, #ebe7f2 22px 26px); animation: grow 9s cubic-bezier(.45, 0, .55, 1) infinite; }
.result small { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 600 11px/1 var(--mono); color: #a59cb4; }
.esc { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; color: #a59cb4; }
@keyframes pagescroll { 0%, 8% { transform: translateY(0); } 80%, 92% { transform: translateY(-62%); } 100% { transform: translateY(0); } }
@keyframes grow { 0%, 8% { height: 18%; } 80%, 92% { height: calc(100% - 34px); } 100% { height: 18%; } }

/* ---------- Editor ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 56px; }
.feature-list h3 { font-size: 19px; }
.feature-list p { margin: 6px 0 0; color: var(--ink-2); }

/* ---------- AI ---------- */
.chatmock { max-width: 640px; margin: 56px auto 0; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25); border: 1px solid var(--line-light); text-align: left; }
.chatmock .att { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--mist); }
.chatmock .thumb { width: 72px; height: 48px; border-radius: 8px; background: linear-gradient(135deg, #fbfaf8 0 60%, #ffe2d9 60%); border: 2px solid var(--cta); flex: none; }
.chatmock .att span { font-size: 14px; color: var(--ink-2); }
.chatmock .ask { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e3e3e6; color: var(--ink-3); font-size: 15px; }
.chatmock .ask kbd { margin-left: auto; }

/* ---------- Numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.stat { padding: 28px 0; border-top: 1px solid var(--line-dark); }
.stat strong { display: block; font: 700 clamp(40px, 5.6vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.stat span { display: block; margin-top: 10px; color: #a1a1a6; font-size: 15px; }

/* ---------- Shortcuts ---------- */
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.key { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--mist); }
.key span { color: var(--ink-2); font-size: 15px; }
.key .combo { display: flex; gap: 4px; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 460px; margin: 56px auto 0; padding: 40px 36px; border-radius: 26px; text-align: center;
  background: #fff; border: 1px solid var(--line-light); box-shadow: 0 30px 80px -40px rgba(60, 20, 80, .35);
  position: relative;
}
.price-card::before { content: ""; position: absolute; left: 36px; right: 36px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--beam); }
.price-card .amount { font: 700 72px/1 var(--display); letter-spacing: -.04em; margin: 14px 0 4px; }
.price-card .amount sup { font-size: 30px; vertical-align: 28px; margin-right: 2px; }
.price-card .once { color: var(--ink-3); font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 32px; text-align: left; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; }
.price-card li svg { flex: none; width: 20px; height: 20px; color: #28a745; margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .alt { display: block; margin-top: 14px; font-size: 15px; }
.price-card .secure { margin: 22px 0 0; font-size: 13px; color: var(--ink-3); }
.compare-note { max-width: 560px; margin: 28px auto 0; text-align: center; color: var(--ink-3); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Final CTA ---------- */
.final h2 { max-width: 14ch; margin: 0 auto; }
.final .hero-cta { margin-top: 40px; }
.final img { width: 96px; height: 96px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer { background: var(--mist); color: var(--ink-2); font-size: 13px; padding: 48px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .made { color: var(--ink-3); }

/* ---------- Simple pages ---------- */
.page-head { padding: clamp(128px, 14vw, 170px) 0 40px; }
.page-head .wrap { max-width: 760px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.page-head .lede { margin-top: 18px; }
.prose { padding: 20px 0 120px; }
.prose .wrap { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 48px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose .note { background: var(--mist); border-radius: 14px; padding: 18px 22px; }
.release { padding: 32px 0; border-top: 1px solid var(--line-light); }
.release h2 { margin: 0; font-size: 24px; }
.release time { display: block; color: var(--ink-3); font-size: 15px; margin-top: 4px; }

/* ---------- Glass layer (v2): one material for the whole site ----------
   Dark sections: near-black with warm light behind dark glass.
   Light sections: soft warm tint behind white frosted glass. */
:root {
  --glass-l: rgba(255, 255, 255, .62);
  --glass-l-line: rgba(255, 255, 255, .85);
  --glass-l-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -24px rgba(60, 30, 80, .28), 0 0 0 .5px rgba(30, 10, 40, .06);
  --glass-d: rgba(255, 255, 255, .06);
  --glass-d-line: rgba(255, 255, 255, .13);
  --glass-d-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 60px -30px rgba(0, 0, 0, .8);
}
.dark { background: radial-gradient(40% 50% at 85% 30%, rgba(255, 110, 90, .16), transparent 70%), radial-gradient(35% 45% at 10% 85%, rgba(180, 77, 255, .10), transparent 70%), #07050a; }
.mist, .soft { position: relative; isolation: isolate; }
.mist { background: radial-gradient(38% 55% at 12% 18%, rgba(255, 179, 92, .16), transparent 70%), radial-gradient(40% 55% at 88% 82%, rgba(255, 94, 122, .10), transparent 70%), radial-gradient(30% 40% at 60% 40%, rgba(160, 130, 255, .07), transparent 70%), #f5f5f7; }
.soft { background: radial-gradient(35% 45% at 90% 10%, rgba(255, 179, 92, .10), transparent 70%), radial-gradient(35% 45% at 5% 90%, rgba(160, 130, 255, .08), transparent 70%), #fbfbfd; }

/* Light glass surfaces */
.card, .mist .card, .key, .price-card, .chatmock, .feature-list > div, .prose .note {
  background: var(--glass-l); border: 1px solid var(--glass-l-line); box-shadow: var(--glass-l-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
}
.card { border-radius: 24px; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 60px -28px rgba(60, 30, 80, .35), 0 0 0 .5px rgba(30, 10, 40, .06); }
.card .ico { background: linear-gradient(135deg, #ffb35c, #ff5e7a); color: #fff; box-shadow: 0 8px 18px -8px rgba(255, 94, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.feature-list { gap: 16px; }
.feature-list > div { border-radius: 20px; padding: 24px 26px; }
.key { border-radius: 18px; }
.price-card { border-radius: 30px; background: rgba(255, 255, 255, .72); }
.chatmock { border-radius: 26px; }
.chatmock .att { background: rgba(245, 245, 247, .8); }
.prose .note { border-radius: 18px; }
.faq details { border-bottom-color: rgba(0, 0, 0, .07); }

/* Dark glass surfaces */
.scroller { padding: 14px; border-radius: 26px; background: var(--glass-d); border: 1px solid var(--glass-d-line); box-shadow: var(--glass-d-shadow); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
.viewport { border-radius: 14px; }
.viewport::after { border-radius: 14px; }
.stats { gap: 14px; }
.stat {
  border: 1px solid var(--glass-d-line); border-radius: 22px; padding: 26px 24px;
  background: var(--glass-d); box-shadow: var(--glass-d-shadow);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.stat strong { background: linear-gradient(180deg, #fff, #d8d0e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .points li { color: #c9c2d4; }

/* Light glass frame around drawn mocks */
.glass-frame.light {
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .35));
  border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 50px 100px -50px rgba(60, 30, 80, .45), 0 0 0 .5px rgba(30, 10, 40, .08);
}
.stage.editor::before { background: radial-gradient(closest-side, rgba(255, 150, 110, .28), transparent 70%); }

/* Final CTA keeps the hero's look */
.final.glow { padding-bottom: clamp(88px, 12vw, 160px); }
.final.glow::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: min(900px, 120vw); height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 110, 90, .35), rgba(180, 77, 255, .12) 55%, transparent 75%);
  filter: blur(30px); z-index: -1; pointer-events: none;
}
.final.glow .lede { color: #b8b0c2; }
.final img { border-radius: 22px; box-shadow: 0 20px 50px -18px rgba(255, 94, 74, .55); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .trio, .keys { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .wrap { gap: 12px; padding-left: 14px; }
  .chips { margin-top: 16px; }
  .chip { font-size: 13px; padding: 9px 13px; }
  .ribbon { width: 300%; top: 600px; }
  .stat { padding: 20px 18px; }
  .stat strong { font-size: 32px; white-space: nowrap; }
  .nav ul { display: none; }
  .nav .btn { margin-left: auto; }
  .trio, .keys, .feature-list { grid-template-columns: 1fr; }
  .scroller { grid-template-columns: 1fr 70px; }
  .viewport, .result { height: 300px; }
  .price-card { padding: 32px 22px; }
  .buybar .price { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
