/* ───────── Tokens ───────── */
:root {
  --bg: #fafaf8;
  --ink: #0b0b0f;
  --muted: #71717a;
  --soft: #52525b;
  --card: #ffffff;
  --well: #f3f3f1;
  --hair: rgba(15, 23, 42, .08);
  --ring: 0 0 0 1px var(--hair);
  --lift: 0 0 0 1px var(--hair), 0 10px 30px -12px rgba(15, 23, 42, .25);
  --accent: #6b4dfa;
  --accent-soft: rgba(107, 77, 250, .1);
  --pink: #f5549e;
  --btn: #0b0b0f;
  --btn-text: #fafaf8;
  --sans: "Geist", -apple-system, system-ui, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* mockup */
  --w-bg: #ffffff; --w-bar: #f4f3f1; --w-text: #1d1d1f; --w-muted: #9a9892; --w-line: #e7e5e0; --w-glass: rgba(255,255,255,.8);
  --wall: radial-gradient(110% 90% at 0% 0%, #b8c4ff 0%, transparent 55%),
          radial-gradient(90% 80% at 100% 100%, #ffc9dd 0%, transparent 60%),
          radial-gradient(70% 60% at 100% 0%, #f5d9ff 0%, transparent 60%),
          linear-gradient(160deg, #e6e8ff, #fbe9f1);
  --bd-a: #8254fa; --bd-b: #fa5c9e; --an: #ff3b30; --stroke: 4;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0f; --ink: #f4f4f5; --muted: #8b8b94; --soft: #b4b4bc; --card: #141418; --well: #1c1c21;
    --hair: rgba(255,255,255,.08); --lift: 0 0 0 1px var(--hair), 0 14px 40px -14px rgba(0,0,0,.8);
    --btn: #f4f4f5; --btn-text: #0b0b0f; --accent-soft: rgba(140, 120, 255, .16);
    --w-bg: #1e1e22; --w-bar: #26262b; --w-text: #ececec; --w-muted: #85858c; --w-line: #303036; --w-glass: rgba(34,34,40,.85);
    --wall: radial-gradient(110% 90% at 0% 0%, #2c3577 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #6b2448 0%, transparent 60%), linear-gradient(160deg, #191a33, #25141f);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0f; --ink: #f4f4f5; --muted: #8b8b94; --soft: #b4b4bc; --card: #141418; --well: #1c1c21;
  --hair: rgba(255,255,255,.08); --lift: 0 0 0 1px var(--hair), 0 14px 40px -14px rgba(0,0,0,.8);
  --btn: #f4f4f5; --btn-text: #0b0b0f; --accent-soft: rgba(140, 120, 255, .16);
  --w-bg: #1e1e22; --w-bar: #26262b; --w-text: #ececec; --w-muted: #85858c; --w-line: #303036; --w-glass: rgba(34,34,40,.85);
  --wall: radial-gradient(110% 90% at 0% 0%, #2c3577 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #6b2448 0%, transparent 60%), linear-gradient(160deg, #191a33, #25141f);
  color-scheme: dark;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
code { font: 500 .86em/1 var(--mono); background: var(--well); padding: .22em .45em; border-radius: 6px; }
kbd { display: inline-grid; place-items: center; min-width: 1.85em; height: 1.85em; padding: 0 .4em; font: 500 .78rem/1 var(--sans); color: var(--ink); background: var(--card); border-radius: 6px; box-shadow: 0 0 0 1px var(--hair), 0 1px 0 1px var(--hair); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--btn-text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform .15s, background .15s, opacity .15s; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-ink { background: var(--btn); color: var(--btn-text); }
.btn-ink:hover { opacity: .88; }
.btn-line { background: var(--card); box-shadow: var(--ring); }
.btn-line:hover { background: var(--well); }
.btn-arrow { padding-right: 5px; }
.arrow-dot { display: grid; place-items: center; width: 32px; height: 32px; margin-left: 6px; border-radius: 50%; background: var(--btn-text); color: var(--btn); font-size: 14px; transition: transform .2s; }
.btn-arrow:hover .arrow-dot { transform: translateX(2px); }
.btn-sm .arrow-dot { width: 26px; height: 26px; }
.apple { width: 14px; height: 14px; fill: currentColor; flex: none; }
.play-ico { font-size: 10px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; }
.icon-btn:hover { background: var(--well); }

/* ───────── Strip + Nav ───────── */
.strip { padding: 8px 16px 0; }
.strip-inner { max-width: 1180px; margin: 0 auto; height: 32px; display: flex; align-items: center; gap: 16px; padding: 0 14px; border-radius: 10px; background: var(--card); box-shadow: var(--ring); font-size: 12.5px; color: var(--soft); overflow: hidden; }
.strip-label { color: var(--muted); }
.strip-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.strip-item kbd { height: 20px; font-size: 11px; }
.strip-link { margin-left: auto; color: var(--ink); font-weight: 500; white-space: nowrap; }
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 var(--hair); }
.nav-inner { max-width: 1180px; margin: 0 auto; height: 60px; padding: 0 16px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-links > a, .dd-btn { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; color: var(--soft); display: inline-flex; align-items: center; gap: 4px; }
.nav-links > a:hover, .dd-btn:hover { color: var(--ink); }
.dropdown { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); width: 260px; padding: 6px; border-radius: 14px; background: var(--card); box-shadow: var(--lift); opacity: 0; visibility: hidden; transition: all .18s; }
.dropdown.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 10px; }
.dd-menu a:hover { background: var(--well); }
.dd-menu b { display: block; font-size: 13.5px; font-weight: 600; }
.dd-menu span { font-size: 12.5px; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.menu-btn { display: none; }
.mobile-menu { display: flex; flex-direction: column; padding: 6px 16px 14px; background: var(--bg); box-shadow: 0 1px 0 var(--hair); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 11px 8px; font-weight: 500; border-radius: 10px; }

/* ───────── Hero ───────── */
.hero { position: relative; text-align: center; padding: 36px 16px 40px; overflow: hidden; }
.hero-glow { position: absolute; inset: -200px 0 auto; height: 900px; background: radial-gradient(40% 40% at 50% 40%, rgba(107,77,250,.08), transparent 70%); pointer-events: none; }
.release { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--card); box-shadow: var(--ring); font-size: 13px; font-weight: 500; }
.release .tag { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; }
.release svg { color: var(--muted); transition: transform .15s; }
.release:hover svg { transform: translateX(2px); }
.hero-title { position: relative; margin: 26px auto 0; font-weight: 650; letter-spacing: -.045em; line-height: 1.02; font-size: clamp(42px, 7.2vw, 88px); }
.hero-title .row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 .2em; }
.tile { display: inline-grid; place-items: center; vertical-align: middle; border-radius: .24em; background: linear-gradient(180deg, #ffffff, #ececf0); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15,23,42,.1), 0 .12em .3em -.06em rgba(15,23,42,.35); }
:root[data-theme="dark"] .tile { background: linear-gradient(180deg, #2b2b31, #1d1d22); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.08), 0 .12em .3em -.06em rgba(0,0,0,.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile { background: linear-gradient(180deg, #2b2b31, #1d1d22); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.08), 0 .12em .3em -.06em rgba(0,0,0,.7); } }
.tile-wide { position: relative; width: 1.5em; height: .9em; transform: rotate(-2deg); }
.tile-sel { position: absolute; inset: .14em .16em; border-radius: .1em; border: .035em dashed var(--accent); background: linear-gradient(135deg, rgba(107,77,250,.25), rgba(245,84,158,.25)); }
.tile-text { position: relative; display: grid; gap: .07em; width: .8em; }
.tile-text i { height: .09em; border-radius: 1em; background: var(--accent); }
.tile-text i:last-child { width: 65%; }
.tile-sq { width: .9em; height: .9em; transform: rotate(-4deg); color: var(--ink); }
.tile-sq svg { width: .56em; height: .56em; }
.tile { transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.tile:hover { transform: rotate(3deg) scale(1.06); }
.hero-sub { position: relative; max-width: 560px; margin: 22px auto 0; font-size: 17px; color: var(--soft); text-wrap: pretty; }
.hero-ctas { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.hero-meta, .final-meta { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.hero-meta i, .final-meta i { font-style: normal; margin: 0 6px; opacity: .6; }
.ask-ai { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.ask-ai a { color: var(--soft); padding: 2px 0; border-bottom: 1px dashed var(--hair); }
.ask-ai a:hover { color: var(--ink); border-color: var(--muted); }

/* MacBook */
.macbook { position: relative; max-width: 980px; margin: 56px auto 0; }
.mb-lid { position: relative; margin: 0 5.5%; padding: 1.1% 1.1% 1.4%; border-radius: 2.2% / 3.4%; background: #0d0d0f; box-shadow: 0 0 0 1.5px #3a3a3f, inset 0 0 0 1px #222, 0 40px 80px -40px rgba(30, 20, 80, .5); }
.mb-notch { position: absolute; z-index: 6; top: 1.1%; left: 50%; width: 12%; height: 2.6%; transform: translateX(-50%); background: #0d0d0f; border-radius: 0 0 8px 8px; }
.mb-base { position: relative; height: clamp(10px, 2.1vw, 22px); background: linear-gradient(180deg, #e4e4e7 0%, #c9c9ce 45%, #9d9da3 100%); border-radius: 2px 2px 40% 40% / 2px 2px 100% 100%; box-shadow: 0 18px 30px -16px rgba(0,0,0,.4); }
.mb-base i { position: absolute; left: 50%; top: 0; width: 15%; height: 45%; transform: translateX(-50%); background: linear-gradient(180deg, #b5b5ba, #d5d5da); border-radius: 0 0 10px 10px; }
.tour-card { position: absolute; z-index: 8; left: 50%; bottom: 20%; transform: translateX(-50%); width: min(380px, 80%); text-align: left; padding: 16px 18px; border-radius: 16px; background: rgba(24, 24, 28, .94); color: #f4f4f5; backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transition: bottom .4s cubic-bezier(.3,1,.4,1), opacity .3s; }
.tour-card.low { bottom: 6%; }
.tour-top { display: flex; justify-content: space-between; align-items: center; }
.tour-step { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #a1a1aa; }
.tour-dots { display: flex; gap: 3px; }
.tour-dots i { width: 14px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); }
.tour-dots i.on { background: #8b7bff; }
.tour-card h3 { margin: 10px 0 4px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.tour-card p { margin: 0 0 14px; font-size: 13.5px; color: #c4c4cc; }
.tour-btn { height: 34px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 500; transition: filter .15s; }
.tour-btn:hover { filter: brightness(1.12); }

/* ───────── Mockup desktop ───────── */
.screen { text-align: left; container-type: inline-size; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--wall); color: var(--w-text); font-family: var(--sans); }
.frame { position: relative; padding: 5px; border-radius: 16px; background: linear-gradient(135deg, rgba(107,77,250,.35), rgba(245,84,158,.35)); box-shadow: 0 30px 60px -30px rgba(40,20,90,.45); }
.frame .screen { border-radius: 11px; }
.menubar { position: absolute; inset: 0 0 auto 0; height: 2.6cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.6cqw; font-size: 1.05cqw; background: color-mix(in srgb, var(--w-bg) 55%, transparent); backdrop-filter: blur(10px); z-index: 5; }
.menubar b { font-weight: 700; }
.mb-apple { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: currentColor; opacity: .85; }
.mb-spacer { flex: 1; }
.mb-gp { display: grid; place-items: center; width: 2.1cqw; height: 1.8cqw; border-radius: .4cqw; }
.mb-gp svg { width: 1.3cqw; height: 1.3cqw; }
.screen:not([data-scene="idle"]) .mb-gp { background: color-mix(in srgb, var(--w-text) 14%, transparent); }
.mb-rec { display: none; align-items: center; gap: .5cqw; font: 600 1cqw/1 var(--mono); color: #ff3b30; }
.mb-rec i { width: .8cqw; height: .8cqw; border-radius: 50%; background: #ff3b30; }
.screen[data-scene="record"] .mb-rec { display: inline-flex; }
.desk { position: absolute; top: 2.6cqw; left: 0; width: 100cqw; height: 59.9cqw; }
.win { position: absolute; background: var(--w-bg); border-radius: 1cqw; overflow: hidden; box-shadow: 0 .2cqw .5cqw rgba(0,0,0,.08), 0 2cqw 4cqw -1.5cqw rgba(30,10,60,.35); }
.win-bar { height: 2.6cqw; display: flex; align-items: center; gap: .55cqw; padding: 0 1.1cqw; background: var(--w-bar); border-bottom: 1px solid var(--w-line); font-size: 1cqw; font-weight: 600; color: var(--w-muted); }
.win-bar i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 1cqw; }
.win-doc { left: 6cqw; top: 4cqw; width: 52cqw; height: 48cqw; }
.doc > * { position: absolute; left: 3.5cqw; }
.doc-h { top: 5cqw; font-size: 2.4cqw; font-weight: 750; letter-spacing: -.03em; }
.doc-meta { top: 8.5cqw; font-size: 1.05cqw; color: var(--w-muted); }
.doc-text { top: 11cqw; font-size: 1.5cqw; line-height: 2.3cqw; font-weight: 500; }
.doc-text p { margin: 0; white-space: nowrap; }
.doc-chart { top: 20.5cqw; width: 45cqw; height: 20cqw; border: 1px solid var(--w-line); border-radius: 1cqw; padding: 1.4cqw; }
.chart-h { font-size: 1.1cqw; font-weight: 700; color: var(--w-muted); }
.bars { position: absolute; inset: 4cqw 1.6cqw 1.6cqw; display: flex; align-items: flex-end; gap: 1.6cqw; }
.bars i { flex: 1; height: var(--h); border-radius: .5cqw .5cqw .2cqw .2cqw; background: linear-gradient(180deg, #6b4dfa, #a75bd9); }
.doc-lines { top: 43cqw; width: 45cqw; display: grid; gap: 1cqw; }
.doc-lines i, .side-lines i { display: block; height: .9cqw; border-radius: 1cqw; background: var(--w-line); }
.win-side { left: 63cqw; top: 9cqw; width: 28cqw; height: 30cqw; }
.side-body { position: relative; padding: 2cqw 3cqw; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 12cqw; aspect-ratio: 1; }
.qr i { background: var(--w-text); } .qr i.o { background: transparent; }
.side-lines { position: absolute; left: 3cqw; right: 3cqw; top: 16cqw; display: grid; gap: 1cqw; }
.dock { position: absolute; left: 50%; bottom: 1cqw; transform: translateX(-50%); display: flex; gap: .7cqw; padding: .6cqw; border-radius: 1.4cqw; background: color-mix(in srgb, var(--w-bg) 45%, transparent); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.dock i { width: 3cqw; height: 3cqw; border-radius: .8cqw; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); }
.dock i.gp { background: url("assets/favicon.png") center/120% no-repeat; }

.layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.screen[data-scene="capture"] .layer-capture, .screen[data-scene="annotate"] .layer-annotate, .screen[data-scene="shelf"] .layer-shelf,
.screen[data-scene="text"] .layer-text, .screen[data-scene="library"] .layer-library, .screen[data-scene="pin"] .layer-pin,
.screen[data-scene="record"] .layer-record { opacity: 1; visibility: visible; transition: opacity .35s; }
@keyframes drawSel { from { width: 0; height: 0; } }
@keyframes popIn { from { transform: scale(.94); opacity: 0; } }
@keyframes slideInLeft { from { transform: translateX(-130%); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes flashSel { 0% { box-shadow: 0 0 0 200cqw rgba(15,8,35,.38); } 30% { box-shadow: 0 0 0 200cqw rgba(255,255,255,.6); background: rgba(255,255,255,.5); } 100% { box-shadow: 0 0 0 200cqw rgba(15,8,35,0); border-color: transparent; background: transparent; } }

.sel { position: absolute; left: 8.5cqw; top: 23.5cqw; width: 47cqw; height: 22cqw; border: 1px dashed #fff; box-shadow: 0 0 0 200cqw rgba(15, 8, 35, .38); }
.sel-size { position: absolute; right: 0; bottom: -2.4cqw; font: 600 1cqw/1 var(--mono); color: #fff; background: rgba(0,0,0,.6); padding: .4cqw .6cqw; border-radius: .4cqw; }
.screen[data-scene="capture"] .sel { animation: drawSel 1.1s cubic-bezier(.4,.1,.2,1) both, flashSel .5s 1.5s both; }
.screen[data-scene="capture"] .sel-size { animation: fadeOut .3s 1.6s both; }
.qa { position: absolute; left: 2cqw; bottom: 2cqw; width: 19cqw; padding: .8cqw; border-radius: 1.2cqw; background: var(--w-glass); backdrop-filter: blur(12px); box-shadow: 0 1.5cqw 3cqw -1cqw rgba(0,0,0,.35); z-index: 2; }
.qa-thumb { height: 9cqw; border-radius: .7cqw; background: var(--w-bg); border: 1px solid var(--w-line); display: grid; place-items: center; }
.qa-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4cqw; margin-top: .6cqw; }
.qa-btns span { text-align: center; font-size: .95cqw; font-weight: 600; padding: .5cqw 0; border-radius: .5cqw; background: color-mix(in srgb, var(--w-text) 8%, transparent); }
.qa-btns span:nth-child(3) { background: var(--accent); color: #fff; }
.screen[data-scene="capture"] .qa { animation: slideInLeft .6s 1.9s cubic-bezier(.2,1.2,.4,1) both; }
.mini-chart { display: flex; align-items: flex-end; gap: 8%; width: 70%; height: 60%; }
.mini-chart i { flex: 1; border-radius: 2px 2px 1px 1px; background: var(--accent); opacity: .85; }
.mini-chart i:nth-child(1) { height: 40%; } .mini-chart i:nth-child(2) { height: 60%; } .mini-chart i:nth-child(3) { height: 50%; }
.mini-chart i:nth-child(4) { height: 85%; } .mini-chart i:nth-child(5) { height: 70%; } .mini-chart i:nth-child(6) { height: 100%; } .mini-chart i:nth-child(7) { height: 90%; }

.editor { position: absolute; left: 11cqw; top: 2.5cqw; width: 72cqw; height: 50cqw; background: var(--w-bg); border-radius: 1.2cqw; overflow: hidden; box-shadow: 0 3cqw 6cqw -2cqw rgba(20,5,50,.55); z-index: 3; }
.screen[data-scene="annotate"] .editor { animation: popIn .5s cubic-bezier(.2,1.2,.4,1) both; }
.ed-bar { height: 4.2cqw; display: flex; align-items: center; gap: 1.5cqw; padding: 0 1.4cqw; background: var(--w-bar); border-bottom: 1px solid var(--w-line); }
.ed-tools { display: flex; gap: .3cqw; }
.ed-tools span { display: grid; place-items: center; width: 2.5cqw; height: 2.5cqw; border-radius: .5cqw; font-size: 1.25cqw; color: var(--w-muted); }
.ed-tools span.on { background: var(--accent); color: #fff; }
.ed-swatches { display: flex; gap: .5cqw; margin-left: auto; }
.ed-swatches i { width: 2cqw; height: 2cqw; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); }
.ed-save { font-size: 1.1cqw; font-weight: 700; padding: .6cqw 1.3cqw; border-radius: .6cqw; background: var(--w-text); color: var(--w-bg); }
.ed-canvas { position: absolute; inset: 4.2cqw 0 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--bd-a), var(--bd-b)); transition: background .4s; }
.screen.no-bd .ed-canvas { background: var(--w-bar); }
.ed-shot { position: relative; width: 52cqw; height: 35cqw; background: var(--w-bg); border-radius: 1cqw; box-shadow: 0 2cqw 4cqw -1cqw rgba(30,0,60,.45); display: grid; place-items: center; transition: width .4s, height .4s, box-shadow .4s; }
.screen.no-bd .ed-shot { width: 68cqw; height: 44cqw; border-radius: 0; box-shadow: none; }
.ed-shot .mini-chart.big { width: 70%; height: 55%; margin-top: -4cqw; }
.ed-email { position: absolute; left: 7cqw; bottom: 3cqw; font-size: 1.4cqw; font-weight: 500; color: var(--w-muted); }
.an { color: var(--an); }
.an-rect { position: absolute; left: 30cqw; top: 3.5cqw; width: 16cqw; height: 21cqw; border: calc(var(--stroke) * .1cqw) solid var(--an); border-radius: .8cqw; }
.an-arrow { position: absolute; left: 14cqw; top: 9cqw; width: 15cqw; height: 9cqw; }
.an-arrow path { stroke-width: calc(var(--stroke) * 1.25); }
.an-step { position: absolute; display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--an); color: #fff; font-size: 1.5cqw; font-weight: 800; box-shadow: 0 0 0 .3cqw #fff; }
.an-step.s1 { left: 44.6cqw; top: 2cqw; } .an-step.s2 { left: 4.5cqw; top: 29.3cqw; }
.an-text { position: absolute; left: 4cqw; top: 6cqw; font-size: 2.2cqw; font-weight: 800; }
.an-pixel { position: absolute; left: 6.6cqw; bottom: 2.6cqw; width: 15.5cqw; height: 2.5cqw; border-radius: .3cqw; background: repeating-conic-gradient(#b9b6c4 0 25%, #d9d6e2 0 50%) 0 0 / 1.3cqw 1.3cqw; }
.screen[data-scene="annotate"] .an-rect { animation: popIn .4s .5s both; }
.screen[data-scene="annotate"] .an-arrow { animation: popIn .4s .9s both; }
.screen[data-scene="annotate"] .an-text { animation: popIn .4s 1.2s both; }
.screen[data-scene="annotate"] .an-step.s1 { animation: popIn .3s 1.5s both; }
.screen[data-scene="annotate"] .an-step.s2 { animation: popIn .3s 1.7s both; }
.screen[data-scene="annotate"] .an-pixel { animation: popIn .4s 2s both; }
.screen.static-anim * { animation: none !important; }

.shelf { position: absolute; right: 1.5cqw; top: 4cqw; width: 23cqw; padding: 1.2cqw; border-radius: 1.6cqw; background: var(--w-glass); backdrop-filter: blur(16px); box-shadow: 0 3cqw 5cqw -2cqw rgba(30,10,60,.5); display: grid; gap: .8cqw; z-index: 3; }
.shelf-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 .4cqw .2cqw; font-size: 1.3cqw; }
.shelf-h span { font-size: 1cqw; color: var(--w-muted); }
.shelf-item { display: flex; align-items: center; gap: 1cqw; padding: .8cqw; border-radius: 1cqw; background: var(--w-bg); font-size: 1.1cqw; }
.shelf-item b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14cqw; }
.shelf-item span { font-size: .9cqw; color: var(--w-muted); }
.file-ico { flex: none; display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: .7cqw; font-size: .95cqw; font-weight: 800; color: #fff; }
.file-ico.img { background: linear-gradient(135deg, #8254fa, #fa5c9e); }
.file-ico.lnk { background: #1f8cfa; font-size: 1.5cqw; }
.file-ico.txt { background: #33c778; font-size: 1.2cqw; }
.file-ico.pdf { background: #f24554; }
.screen[data-scene="shelf"] .shelf { animation: shelfIn .7s .9s cubic-bezier(.2,1.1,.3,1) both; }
@keyframes shelfIn { from { transform: translateX(130%); } }
.screen[data-scene="shelf"] .shelf-item.new { animation: popIn .35s 2.6s both; }
.drag-ghost { position: absolute; left: 30cqw; top: 30cqw; z-index: 4; }
.drag-ghost .file-ico { width: 5cqw; height: 6cqw; font-size: 1.3cqw; box-shadow: 0 1.5cqw 3cqw -1cqw rgba(0,0,0,.5); transform: rotate(-6deg); }
.drag-ghost::after { content: ""; position: absolute; left: 3.6cqw; top: 4.6cqw; width: 2cqw; height: 2cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.5L10 19z' fill='%23111' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.screen[data-scene="shelf"] .drag-ghost { animation: dragFly 2.6s .2s cubic-bezier(.5,0,.3,1) both; }
@keyframes dragFly { 0% { transform: translate(0,0); opacity: 0; } 10% { opacity: 1; } 45% { transform: translate(20cqw,-6cqw); } 85% { transform: translate(53cqw,-12cqw); opacity: 1; } 100% { transform: translate(53cqw,-12cqw) scale(.5); opacity: 0; } }

.ocr-sel { position: absolute; left: 8.7cqw; top: 14.2cqw; width: 32cqw; height: 8.4cqw; border: .2cqw solid var(--accent); background: rgba(107,77,250,.14); border-radius: .4cqw; }
.screen[data-scene="text"] .ocr-sel { animation: drawSel 1s cubic-bezier(.4,.1,.2,1) both; }
.ocr-pop { position: absolute; left: 22cqw; top: 25cqw; width: 30cqw; padding: 1.2cqw 1.4cqw; border-radius: 1.2cqw; background: var(--w-glass); backdrop-filter: blur(16px); box-shadow: 0 3cqw 5cqw -2cqw rgba(30,10,60,.5); }
.ocr-h { display: flex; align-items: center; gap: .7cqw; font-size: 1.25cqw; font-weight: 700; }
.ok { display: grid; place-items: center; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #33c778; color: #fff; font-size: 1.1cqw; }
.ocr-body { margin-top: .8cqw; font: 500 1.1cqw/1.6 var(--mono); color: var(--w-muted); }
.screen[data-scene="text"] .ocr-pop { animation: popIn .45s 1.2s cubic-bezier(.2,1.2,.4,1) both; }
.qr-sel { position: absolute; left: 65.2cqw; top: 13cqw; width: 13.6cqw; height: 13.6cqw; border: .2cqw solid #33c778; border-radius: .6cqw; background: rgba(51,199,120,.12); }
.qr-pop { position: absolute; left: 63.5cqw; top: 41cqw; display: flex; align-items: center; gap: .7cqw; padding: .9cqw 1.3cqw; border-radius: 1cqw; background: var(--w-glass); backdrop-filter: blur(14px); font-size: 1.2cqw; font-weight: 600; box-shadow: 0 2cqw 4cqw -1.5cqw rgba(30,10,60,.5); }
.screen[data-scene="text"] .qr-sel { animation: popIn .4s 2.2s both; }
.screen[data-scene="text"] .qr-pop { animation: popIn .4s 2.6s both; }

.pinned { position: absolute; right: 4cqw; top: 26cqw; width: 26cqw; border-radius: 1cqw; overflow: hidden; background: var(--w-bg); box-shadow: 0 0 0 .25cqw var(--accent), 0 3cqw 5cqw -1.5cqw rgba(30,10,60,.55); z-index: 3; }
.pinned-img { height: 14cqw; display: grid; place-items: center; }
.pinned-bar { display: flex; justify-content: space-between; padding: .7cqw 1cqw; font-size: 1cqw; font-weight: 600; background: var(--w-bar); border-top: 1px solid var(--w-line); }
.pinned-bar span:first-child { color: var(--accent); }
.screen[data-scene="pin"] .pinned { animation: pinIn .7s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes pinIn { from { transform: translate(-30cqw, -6cqw) scale(.6); opacity: 0; } }

.rec-area { position: absolute; left: 7cqw; top: 6cqw; width: 50cqw; height: 44cqw; border: .25cqw solid #ff3b30; border-radius: .5cqw; box-shadow: 0 0 0 200cqw rgba(15,8,35,.25); }
.rec-pill { position: absolute; left: 22cqw; top: 51cqw; display: flex; align-items: center; gap: .8cqw; padding: .7cqw .8cqw .7cqw 1.2cqw; border-radius: 99px; background: rgba(20,20,24,.92); color: #fff; font: 600 1.2cqw/1 var(--mono); }
.rec-pill i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff3b30; animation: pulse 1.2s infinite; }
.rec-pill span { font-family: var(--sans); padding: .5cqw 1cqw; border-radius: 99px; background: #ff3b30; }
@keyframes pulse { 50% { opacity: .3; } }
.screen[data-scene="record"] .rec-area { animation: drawSel .9s cubic-bezier(.4,.1,.2,1) both; }
.screen[data-scene="record"] .rec-pill { animation: popIn .4s 1s both; }

.library { position: absolute; left: 8cqw; top: 2.5cqw; width: 80cqw; height: 50cqw; display: grid; grid-template-columns: 19cqw 1fr; background: var(--w-bg); border-radius: 1.2cqw; overflow: hidden; box-shadow: 0 3cqw 6cqw -2cqw rgba(20,5,50,.55); z-index: 3; }
.screen[data-scene="library"] .library { animation: popIn .5s cubic-bezier(.2,1.2,.4,1) both; }
.lib-side { background: var(--w-bar); padding: 2cqw 1.2cqw; display: flex; flex-direction: column; gap: .3cqw; font-size: 1.2cqw; border-right: 1px solid var(--w-line); }
.lib-search { padding: .8cqw 1cqw; margin-bottom: 1.2cqw; border-radius: .7cqw; background: var(--w-bg); color: var(--w-muted); font-size: 1.1cqw; border: 1px solid var(--w-line); }
.lib-side span { display: flex; justify-content: space-between; padding: .7cqw 1cqw; border-radius: .6cqw; font-weight: 500; }
.lib-side span em { font-style: normal; color: var(--w-muted); font-size: 1cqw; }
.lib-side span.on { background: var(--accent); color: #fff; } .lib-side span.on em { color: rgba(255,255,255,.75); }
.lib-main { padding: 2cqw 2.2cqw; }
.lib-day { font-size: 1.6cqw; font-weight: 750; margin-bottom: 1.4cqw; }
.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.card { position: relative; height: 17cqw; border-radius: 1cqw; background: var(--w-bar); border: 1px solid var(--w-line); display: grid; place-items: center; overflow: hidden; }
.card > span { position: absolute; left: 0; right: 0; bottom: 0; padding: .7cqw 1cqw; font-size: .95cqw; font-weight: 600; color: var(--w-muted); background: var(--w-bg); border-top: 1px solid var(--w-line); }
.card p { margin: 0 1.4cqw 2.5cqw; font-size: 1.15cqw; font-weight: 500; line-height: 1.5; }
.c-shot { background: linear-gradient(135deg, #ece7ff, #ffe3ef); } .c-shot .mini-chart { margin-bottom: 2.5cqw; }
.c-shot.alt { background: linear-gradient(135deg, #d7f0ff, #cff7ee); }
.c-rec { background: linear-gradient(135deg, #1f2937, #3b3b55); }
.play { display: grid; place-items: center; width: 4.5cqw; height: 4.5cqw; margin-bottom: 2.5cqw; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; font-size: 1.6cqw; padding-left: .3cqw; }
.c-link p { color: #1f8cfa; font-weight: 700; font-size: 1.4cqw; }
.qr.qr-mini { width: 8cqw; margin-bottom: 2.5cqw; }
.mini-window { width: 60%; height: 45%; margin-bottom: 2.5cqw; border-radius: .6cqw; background: var(--w-bg); box-shadow: 0 .5cqw 1.5cqw rgba(0,0,0,.15); border-top: 1.4cqw solid var(--w-line); }
.screen[data-scene="library"] .card { animation: popIn .35s both; }
.screen[data-scene="library"] .card:nth-child(2) { animation-delay: .08s; } .screen[data-scene="library"] .card:nth-child(3) { animation-delay: .16s; }
.screen[data-scene="library"] .card:nth-child(4) { animation-delay: .24s; } .screen[data-scene="library"] .card:nth-child(5) { animation-delay: .32s; }
.screen[data-scene="library"] .card:nth-child(6) { animation-delay: .40s; }

/* ───────── Sections ───────── */
.sec { padding: clamp(64px, 10vh, 120px) 0; }
.eyebrow { margin: 0 0 14px; font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; }
.h2 { margin: 0; font-size: clamp(30px, 4.3vw, 48px); font-weight: 650; letter-spacing: -.045em; line-height: 1.06; text-wrap: balance; }
.center { text-align: center; }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.lede { color: var(--soft); max-width: 640px; margin: 18px auto 0; font-size: 15.5px; }

/* How it works */
.how { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; margin-top: 52px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.how-steps li { position: relative; border-radius: 16px; transition: background .25s, box-shadow .25s; overflow: hidden; }
.how-steps button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left; font-size: 15px; font-weight: 500; color: var(--soft); }
.how-steps b { font: 500 12px/1 var(--mono); color: var(--muted); }
.how-steps p { display: none; margin: -4px 16px 14px 44px; font-size: 14px; color: var(--soft); }
.how-steps li.on { background: var(--card); box-shadow: var(--lift); }
.how-steps li.on button { color: var(--ink); font-weight: 600; }
.how-steps li.on b { color: var(--accent); }
.how-steps li.on p { display: block; }
.prog { position: absolute; left: 44px; right: 16px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--well); display: none; }
.how-steps li.on .prog { display: block; }
.prog::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--accent); }
.how-steps li.on.running .prog::after { animation: progress var(--dur, 6s) linear forwards; }
@keyframes progress { to { width: 100%; } }
.pause { display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 0 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--well); font-size: 13px; font-weight: 500; color: var(--soft); }
.pz { font-size: 9px; letter-spacing: -1px; }
.caption { text-align: center; margin: 16px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 4px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Features */
.tabs-wrap { display: flex; justify-content: center; margin: 32px 0 40px; }
.tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--soft); transition: all .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--card); color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 2px 6px -2px rgba(15,23,42,.2); }
.feat-panel { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.feat-kicker { margin: 0 0 8px; color: var(--accent); font-size: 14.5px; font-weight: 500; }
.feat-title { margin: 0; font-size: 30px; font-weight: 650; letter-spacing: -.035em; display: flex; align-items: center; gap: 10px; }
.badge { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.feat-text { margin: 14px 0 0; color: var(--soft); font-size: 15px; line-height: 1.6; }
.feat-keys { display: flex; gap: 4px; margin: 18px 0 0; }
.feat-copy { transition: opacity .25s; }
.feat-copy.swap { opacity: 0; }

/* Customize */
.cust { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-top: 48px; align-items: stretch; }
.cust-panel { padding: 22px; border-radius: 20px; background: var(--card); box-shadow: var(--lift); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.cp-label { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--soft); }
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.segment button { height: 32px; padding: 0 10px; border-radius: 9px; font-size: 13px; font-weight: 500; background: var(--well); color: var(--soft); transition: all .15s; }
.segment button.on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--a), var(--b, var(--a))); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: transform .15s; }
.swatches.dots button { width: 24px; height: 24px; border-radius: 50%; }
.swatches button:hover { transform: scale(1.1); }
.swatches button.on { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent); }
input[type=range] { width: 100%; accent-color: var(--accent); }
.toggles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; margin-top: 26px; }
.toggles label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); cursor: pointer; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 34px; height: 20px; margin: 0; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.switch:checked { background: var(--accent); box-shadow: none; }
.switch:checked::after { transform: translateX(14px); }

/* Made to fit */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.fit { padding: 14px 14px 24px; border-radius: 26px; background: var(--card); box-shadow: var(--ring); transition: box-shadow .25s, transform .25s; }
.fit:hover { box-shadow: var(--lift); transform: translateY(-2px); }
.fit-vis { height: 150px; border-radius: 16px; background: var(--well); display: grid; place-items: center; align-content: center; gap: 10px; padding: 12px; }
.fit h3 { margin: 18px 10px 6px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.fit p { margin: 0 10px; font-size: 14px; color: var(--soft); line-height: 1.55; }
.keyrow { display: flex; gap: 6px; }
.keyrow kbd { width: 40px; height: 40px; font-size: 16px; }
.keyrow kbd.hot { background: var(--accent); color: #fff; box-shadow: 0 6px 14px -4px rgba(107,77,250,.6); }
.keyrow.small kbd { width: 28px; height: 28px; font-size: 12px; opacity: .7; }
.toolgrid { display: grid; grid-template-columns: repeat(5, 34px); gap: 6px; }
.toolgrid kbd { width: 34px; height: 34px; font-size: 13px; transition: all .2s; }
.toolgrid kbd:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.folder { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--card); box-shadow: var(--ring); }
.folder code { background: none; padding: 0; }
.f-ico { width: 26px; height: 20px; border-radius: 3px 3px 4px 4px; background: linear-gradient(180deg, #74b6ff, #3d8bfd); position: relative; }
.f-ico::before { content: ""; position: absolute; left: 0; top: -4px; width: 11px; height: 6px; border-radius: 3px 3px 0 0; background: #74b6ff; }
.urls { display: grid; gap: 6px; justify-items: center; }
.urls code { background: var(--card); box-shadow: var(--ring); font-size: 12px; padding: 6px 10px; }
.segment.static { width: 200px; }
.fit-vis .segment button:not(.on) { background: var(--card); box-shadow: var(--ring); }
.segment button { white-space: nowrap; }
.cust { grid-template-columns: 1fr 320px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 260px; }
.sources span { padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--ring); font-size: 13px; font-weight: 500; }
.sources span:first-child { background: var(--accent); color: #fff; box-shadow: none; }

/* Compare */
.table-wrap { margin-top: 40px; border-radius: 22px; background: var(--card); box-shadow: var(--lift); overflow-x: auto; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13.5px; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; vertical-align: middle; border-top: 1px solid var(--hair); }
.cmp thead th { border-top: 0; padding: 16px; font-weight: 600; }
.cmp tbody th { font-weight: 600; width: 24%; }
.cmp td { color: var(--soft); }
.cmp .us { background: var(--accent-soft); color: var(--ink); }
.cmp thead .us { border-radius: 0; }
.th-app { display: inline-flex; align-items: center; gap: 8px; }
.th-app img { border-radius: 5px; }
.th-ico { width: 18px; height: 18px; border-radius: 5px; }
.th-ico.sys { background: linear-gradient(135deg, #d4d4d8, #a1a1aa); }
.th-ico.sep { background: repeating-linear-gradient(90deg, #a1a1aa 0 5px, transparent 5px 7px); }
.cmp i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; vertical-align: -4px; font-style: normal; font-size: 10px; font-weight: 700; }
.cmp i.y { background: var(--accent); color: #fff; } .cmp i.y::before { content: "✓"; }
.cmp i.p { background: rgba(245, 158, 11, .18); color: #d97706; } .cmp i.p::before { content: "–"; }
.cmp i.n { background: var(--well); color: var(--muted); } .cmp i.n::before { content: "×"; }
.fine { margin: 18px auto 0; max-width: 680px; font-size: 12.5px; color: var(--muted); }
.perf { margin: 14px 0 0; font-size: 14.5px; color: var(--soft); }
.perf a { color: var(--accent); font-weight: 500; }

/* Handoff */
.handoff { padding: 0 0 20px; }
.handoff-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.handoff-inner > div, .handoff-form { padding: 0; }
.handoff { display: none; }
.handoff h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.handoff p { margin: 4px 0 0; color: var(--soft); font-size: 14px; }
.handoff-form { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.handoff-form input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--card); box-shadow: var(--ring); color: var(--ink); font: inherit; font-size: 14px; }

/* Pricing */
.price-card { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 1020px; margin: 0 auto; border-radius: 32px; background: var(--card); box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(15,23,42,.35); overflow: hidden; }
.pc-left { padding: 40px; display: flex; flex-direction: column; }
.pc-left .eyebrow { text-align: left; }
.pc-sub { margin: 16px 0 24px; color: var(--soft); font-size: 15px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-item { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; padding: 14px; border-radius: 14px; background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); }
.pc-ico { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--card); box-shadow: var(--ring); font-size: 14px; color: var(--soft); }
.pc-item b { font-size: 14px; font-weight: 600; }
.pc-item span:not(.pc-ico) { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.pc-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--soft); }
.pc-left .pc-grid { margin-bottom: 26px; }
.pc-right { padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, var(--card)), color-mix(in srgb, var(--pink) 8%, var(--card))); }
.pc-icon { border-radius: 18px; filter: drop-shadow(0 12px 22px rgba(107,77,250,.35)); margin-bottom: 22px; }
.segment.plan { width: 260px; padding: 4px; gap: 0; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); }
.segment.plan button { border-radius: 999px; background: none; }
.segment.plan button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(15,23,42,.18); }
.price { margin: 22px 0 0; font-size: clamp(48px, 7vw, 72px); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.price-note { margin: 10px 0 24px; font-size: 13px; color: var(--muted); }
.price-trial { margin: 18px 0 0; font-size: 13px; color: var(--soft); }
.price-trial a { text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.faq-left { position: sticky; top: 100px; }
.faq-left .eyebrow { text-align: left; }
.faq-left .h2 { font-size: clamp(30px, 3.3vw, 40px); }
.faq-contact { margin: 18px 0 0; color: var(--soft); font-size: 14.5px; }
.faq-contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-card { padding: 12px; border-radius: 24px; background: var(--card); box-shadow: var(--ring); }
.faq-group { margin: 6px 4px 10px; font-size: 13px; color: var(--muted); }
.faq-group:not(:first-child) { margin-top: 22px; }
.faq-card details { margin-bottom: 8px; border-radius: 14px; background: var(--well); transition: background .2s; }
.faq-card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 16px; font-size: 14.5px; font-weight: 600; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--card); box-shadow: var(--ring); font-weight: 400; font-size: 16px; color: var(--muted); transition: transform .25s; }
.faq-card details[open] summary::after { transform: rotate(45deg); }
.faq-card details p { margin: -4px 16px 0; padding-bottom: 16px; color: var(--soft); font-size: 14px; line-height: 1.6; }

/* Final */
.final { position: relative; text-align: center; padding: clamp(96px, 14vh, 140px) 16px; overflow: hidden; }
.final-glow { position: absolute; left: 50%; top: 40px; width: 520px; height: 320px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(107,77,250,.18), transparent); pointer-events: none; }
.final-icon { position: relative; margin: 0 auto 30px; border-radius: 22px; filter: drop-shadow(0 20px 30px rgba(107,77,250,.4)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.final-h { position: relative; margin: 0; font-size: clamp(36px, 5.2vw, 56px); font-weight: 650; letter-spacing: -.045em; line-height: 1.05; }
.final-sub { position: relative; margin: 14px 0 28px; color: var(--soft); font-size: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--hair); background: color-mix(in srgb, var(--ink) 1.5%, var(--bg)); padding: 56px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 14px 0 0; max-width: 300px; font-size: 13.5px; color: var(--soft); line-height: 1.6; }
.theme-seg { display: inline-flex; gap: 2px; margin-top: 18px; padding: 3px; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 1px var(--hair); }
.theme-seg button { width: 28px; height: 24px; border-radius: 999px; font-size: 12px; color: var(--muted); }
.theme-seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.foot-eyebrow { font: 500 11.5px/1 var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; margin-top: 26px !important; }
.foot-ai { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--soft); }
.foot-ai a:hover { color: var(--ink); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.foot-col b { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.foot-col a { color: var(--soft); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--muted); }

/* Toast + reveal */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-text); font-size: 13.5px; font-weight: 500; transition: all .25s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-actions { margin-left: auto; }
  .how, .feat-panel, .faq { grid-template-columns: 1fr; gap: 28px; }
  .how-steps { grid-template-columns: 1fr; }
  .faq-left { position: static; }
  .cust { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .toggles { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr; }
  .foot { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .handoff { display: block; }
}
@media (max-width: 640px) {
  .hide-sm, .strip-label { display: none; }
  .nav-actions .btn-sm { padding: 0 12px; font-size: 13px; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-ctas .btn { flex: 1 1 calc(50% - 8px); padding: 0 12px; font-size: 13.5px; }
  .hero-ctas .btn-arrow { flex-basis: 100%; }
  .macbook { margin-top: 36px; }
  .mb-lid { margin: 0 3%; }
  .tour-card { position: relative; left: auto; bottom: auto !important; transform: none; width: 100%; margin-top: 18px; }
  .fit-grid, .toggles, .pc-grid { grid-template-columns: 1fr; }
  .pc-left, .pc-right { padding: 26px 20px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .handoff-form { max-width: none; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
