:root {
  --bg: #FFF8F1;
  --ink: #16131A;
  --ink2: #4A4452;
  --ink3: #8A8392;
  --line: rgba(22, 19, 26, .08);
  --card: rgba(255, 255, 255, .72);
  --accent: #F7821B;
  --accent-h: #E5730F;
  --c1: #FFC93C; --c2: #FF8A1F; --c3: #FF5A5F; --c4: #E6399B; --c5: #8B4CF6;
  --grad: linear-gradient(100deg, var(--c1), var(--c2) 28%, var(--c3) 52%, var(--c4) 76%, var(--c5));
  --spring: linear(0.001,0.09,0.282,0.515,0.741,0.93,1.066,1.148,1.182,1.177,1.149,1.108,1.065,1.027,0.998,0.978,0.968,0.966,0.97,0.977,0.985,0.992,0.998,1.003,1.005,1.006,1.006,1.005,1.003,1.002,1.001,1,0.999,0.999,0.999,0.999,0.999,1,1);
  --spring-soft: linear(0.001,0.188,0.489,0.741,0.903,0.987,1.02,1.026,1.02,1.012,1.006,1.002,1,0.999,0.999,1,1,1,1,1,1,1,1,1,1,1,1,1);
  --r: 28px;
  --shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(40,20,10,.05), 0 12px 32px -12px rgba(60,30,20,.16);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -.035em; margin: 0; }
kbd {
  font: 600 .78em/1 Inter, sans-serif; display: inline-block; padding: .32em .52em .36em; margin: 0 .1em;
  border-radius: 7px; background: #fff; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 2px 0 rgba(0,0,0,.09);
  vertical-align: .08em; color: var(--ink);
}
code { font: 500 .9em ui-monospace, Consolas, monospace; background: rgba(0,0,0,.05); padding: .1em .35em; border-radius: 6px; }
section { position: relative; z-index: 1; }

/* ---------- color mesh ---------- */
.mesh { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.mesh .b1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--c1); animation: drift1 22s ease-in-out infinite alternate; }
.mesh .b2 { width: 40vw; height: 40vw; right: -10vw; top: -6vw; background: var(--c4); opacity: .32; animation: drift2 26s ease-in-out infinite alternate; }
.mesh .b3 { width: 36vw; height: 36vw; left: 30vw; top: 22vh; background: var(--c2); opacity: .26; animation: drift3 30s ease-in-out infinite alternate; }
.mesh .b4 { width: 34vw; height: 34vw; right: 4vw; top: 50vh; background: var(--c5); opacity: .18; animation: drift1 34s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-6vw, 10vh) scale(.92); } }
@keyframes drift3 { to { transform: translate(-10vw, -4vh) scale(1.15); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px;
  padding: 9px 9px 9px 16px; border-radius: 20px;
  background: rgba(255, 250, 245, .62); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 8px 30px -14px rgba(60,30,20,.25);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { background: rgba(255, 250, 245, .82); box-shadow: 0 10px 34px -12px rgba(60,30,20,.3); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink2); padding: 8px 13px; border-radius: 11px; transition: background .2s, color .2s; }
.nav nav a:hover { background: rgba(0,0,0,.05); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 16px Inter, sans-serif; color: #fff; border: 0; border-radius: 14px; padding: 12px 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--b) 88%, #fff), var(--b));
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.08) inset, 0 8px 22px -8px color-mix(in srgb, var(--b) 75%, transparent), 0 2px 4px color-mix(in srgb, var(--b) 30%, transparent);
  transition: transform .55s var(--spring), translate .6s var(--spring), box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-2px) scale(1.035); }
.btn:active { transform: scale(.96); transition-duration: .12s; transition-timing-function: ease-out; }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 12px; }
.btn-xl { padding: 17px 28px; font-size: 18px; border-radius: 18px; }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 18px -10px rgba(0,0,0,.2); }
.btn-white { color: var(--ink); background: #fff; box-shadow: 0 14px 34px -12px rgba(0,0,0,.45); }

/* ---------- hero ---------- */
.hero { padding: 168px 20px 40px; text-align: center; max-width: 1240px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink2);
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 4px 14px -8px rgba(0,0,0,.2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2FAE4E; box-shadow: 0 0 0 4px rgba(47,174,78,.18); }
.hero h1 { font-size: clamp(54px, 9.4vw, 132px); line-height: .94; font-weight: 800; margin: 26px 0 0; letter-spacing: -.05em; }
.hl { position: relative; display: inline-block; padding: 0 .12em; margin-top: .06em; }
.hl::before {
  content: ""; position: absolute; inset: .1em -.02em .02em; border-radius: .2em; background: var(--grad); background-size: 200% 100%;
  transform: rotate(-1.6deg) scaleX(0); transform-origin: left; animation: hlIn 1.1s var(--spring) .55s forwards, hlShift 8s linear 2s infinite alternate;
  box-shadow: 0 18px 40px -16px rgba(230, 57, 155, .55);
}
.hl span { position: relative; color: #fff; text-shadow: 0 2px 12px rgba(120,20,60,.25); }
@keyframes hlIn { to { transform: rotate(-1.6deg) scaleX(1); } }
@keyframes hlShift { to { background-position: 100% 0; } }
.lede { max-width: 640px; margin: 28px auto 0; font-size: clamp(17px, 2vw, 21px); color: var(--ink2); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fine { font-size: 14px; color: var(--ink3); margin-top: 16px; }

/* ---------- live demo ---------- */
.stage { position: relative; margin: 64px auto 0; max-width: 1120px; perspective: 1800px; }
.stage-tilt { position: relative; transform-style: preserve-3d; transform: rotateX(12deg) scale(.96); transition: transform 1.2s var(--spring-soft); will-change: transform; }
.stage.in .stage-tilt { transform: rotateX(0) scale(1); }
.desk {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1878 / 1184;
  background: #EDEAF2; box-shadow: 0 50px 100px -30px rgba(70, 30, 60, .35), 0 0 0 1px rgba(0,0,0,.06);
}
.desk-img { position: absolute; left: 50%; top: 50%; width: 82%; transform: translate(-50%, -50%); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.snip { position: absolute; inset: 0; background: rgba(10, 8, 14, .38); opacity: 0; transition: opacity .25s; }
.snip.on { opacity: 1; }
.snip-rect {
  position: absolute; left: 0; top: 0; width: 0; height: 0; box-shadow: 0 0 0 9999px rgba(10,8,14,.38);
  outline: 2px solid #fff; outline-offset: 0; background: transparent;
}
.snip.on { background: transparent; }
.snip-size {
  position: absolute; left: 0; top: -38px; white-space: nowrap; font: 600 13px Inter, sans-serif; color: #fff;
  background: rgba(20,18,24,.82); padding: 6px 10px; border-radius: 9px; backdrop-filter: blur(8px);
}
.snip-rect .h { position: absolute; width: 10px; height: 10px; background: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.h.tl { left: -5px; top: -5px; } .h.tr { right: -5px; top: -5px; } .h.bl { left: -5px; bottom: -5px; } .h.br { right: -5px; bottom: -5px; }
.cursor { position: absolute; left: 0; top: 0; margin: -15px 0 0 -15px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.cursor.on { opacity: 1; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.editor-shot {
  position: absolute; inset: 0; width: 100%; border-radius: 22px; opacity: 0; transform: scale(.86) translateY(30px);
  box-shadow: 0 60px 120px -30px rgba(70, 30, 60, .45), 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .9s var(--spring), opacity .25s;
}
.editor-shot.on { opacity: 1; transform: none; }
.float-key, .float-tag { position: absolute; z-index: 3; transition: transform .8s var(--spring), opacity .4s; }
.float-key {
  left: -26px; top: 18%; width: 112px; height: 104px; border-radius: 26px; display: grid; place-items: center;
  background: linear-gradient(160deg, #fff, #F4EEF6); box-shadow: 0 2px 0 #fff inset, 0 10px 0 #E2D7E4, 0 26px 40px -10px rgba(80,40,80,.35);
  font: 700 22px "Bricolage Grotesque", sans-serif; transform: rotate(-9deg); animation: bob 5s ease-in-out infinite;
}
.float-key span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-key.press { animation: none; transform: rotate(-9deg) translateY(9px); box-shadow: 0 2px 0 #fff inset, 0 1px 0 #E2D7E4, 0 10px 20px -10px rgba(80,40,80,.35); transition-duration: .08s; }
.float-tag {
  right: -20px; top: 8%; padding: 12px 18px; border-radius: 16px; font-size: 15px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -14px rgba(60,30,40,.35); opacity: 0; transform: translateY(14px) scale(.9);
}
.float-tag b { color: var(--accent); }
.float-tag.on { opacity: 1; transform: rotate(3deg); }
.float-tag.t2 { top: auto; bottom: 14%; right: auto; left: 6%; display: flex; gap: 8px; padding: 12px; transform: translateY(14px) scale(.9); }
.float-tag.t2.on { transform: rotate(-4deg); }
.sw { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.2); }
.sw1 { background: #FF3B30; } .sw2 { background: #FF9500; } .sw3 { background: #FFCC00; } .sw4 { background: #0A84FF; }
@keyframes bob { 50% { transform: rotate(-6deg) translateY(-10px); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1120px; margin: 70px auto 0; padding: 0 20px; }
.stat { padding: 26px 24px; border-radius: 24px; background: var(--card); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.stat b { font: 800 54px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font: 700 20px "Bricolage Grotesque", sans-serif; margin-left: 4px; color: var(--ink2); }
.stat p { margin: 8px 0 0; font-size: 15px; color: var(--ink3); line-height: 1.45; }

/* ---------- sections ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 13px; border-radius: 99px; margin-bottom: 18px; transition: color .4s, background .4s; }
h2 { font-size: clamp(40px, 6vw, 76px); line-height: .98; font-weight: 800; }
.sec-head p { font-size: 19px; color: var(--ink2); margin: 20px auto 0; max-width: 560px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.features, .yours, .keys { padding: 140px 20px 0; max-width: 1180px; margin: 0 auto; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--r); padding: 28px; background: var(--card); overflow: hidden;
  border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.card h3 { font-size: 25px; line-height: 1.12; font-weight: 700; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink2); font-size: 16px; line-height: 1.55; }
.spring-hover { transition: transform .7s var(--spring), box-shadow .4s; }
.spring-hover:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 1px 0 #fff inset, 0 28px 50px -20px rgba(60,30,40,.3); }
.card-art { border-radius: 18px; margin-bottom: 22px; height: 170px; position: relative; overflow: hidden; }
.c-annotate { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.c-annotate .card-art { height: auto; margin: 0; background: linear-gradient(140deg, #FFE7C2, #FFD0DA 60%, #E9D8FF); padding: 14px; }
.c-ocr, .c-lens { grid-column: span 2; }
.c-snip, .c-pix, .c-frames { grid-column: span 2; }
.c-drag { grid-column: span 4; display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 32px; align-items: center; }
.c-drag .card-art { grid-row: span 2; margin: 0; }
.c-drag h3 { align-self: end; }
.c-drag p { align-self: start; }
.tools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tools span {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font: 700 15px Inter, sans-serif;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 3px 0 rgba(0,0,0,.06); transition: transform .5s var(--spring), background .2s, color .2s;
}
.tools span:hover { transform: translateY(-4px) scale(1.12); background: var(--accent); color: #fff; }

/* draw animation */
#drawSvg { width: 100%; display: block; }
.d-hl, .d-circ, .d-arrow, .d-head { stroke-dasharray: 600; stroke-dashoffset: 600; }
.card.play .d-hl { animation: dash .7s ease-out .1s forwards; }
.card.play .d-arrow { animation: dash .6s ease-out .7s forwards; }
.card.play .d-head { animation: dash .3s ease-out 1.25s forwards; }
.card.play .d-circ { animation: dash .8s ease-in-out 1.5s forwards; }
.d-step, .d-step2 { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.card.play .d-step { animation: pop .8s var(--spring) 2.3s forwards; }
.card.play .d-step2 { animation: pop .8s var(--spring) 2.5s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

/* ocr */
.art-ocr { background: linear-gradient(140deg, #D9F0FF, #E6E1FF); display: grid; place-items: center; }
.ocr-box { position: relative; display: grid; gap: 6px; padding: 18px 22px; background: #fff; border-radius: 14px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.25); font: 500 14px Inter, sans-serif; overflow: hidden; }
.ocr-box span:first-child { font-weight: 700; }
.ocr-box span { padding: 1px 4px; border-radius: 4px; transition: background .3s; }
.card.play .ocr-box span { animation: sel 4s ease-in-out infinite; }
.card.play .ocr-box span:nth-child(2) { animation-delay: .25s; } .card.play .ocr-box span:nth-child(3) { animation-delay: .5s; }
@keyframes sel { 0%, 30% { background: transparent; } 45%, 85% { background: color-mix(in srgb, var(--accent) 28%, transparent); } 100% { background: transparent; } }
.scan { position: absolute; left: 0; right: 0; height: 30px; top: -30px; background: linear-gradient(transparent, color-mix(in srgb, var(--accent) 35%, transparent)); border-bottom: 2px solid var(--accent); }
.card.play .scan { animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0% { top: -30px; } 35% { top: 100%; } 100% { top: 100%; } }

/* lens */
.art-lens { background: linear-gradient(140deg, #FFE0F0, #FFE9C9); display: grid; place-items: center; }
.lens-ring { width: 104px; height: 104px; border-radius: 50%; position: relative; background: conic-gradient(#4285F4 0 25%, #EA4335 0 50%, #FBBC04 0 75%, #34A853 0); padding: 13px; animation: spin 9s linear infinite; }
.lens-ring i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.lens-ring::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; right: -4px; bottom: -4px; background: #4285F4; border: 4px solid #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* stack */
.art-stack { background: linear-gradient(140deg, #E5F7E9, #D8ECFF); }
.pane { position: absolute; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.25); }
.p1 { left: 9%; top: 14%; width: 66%; height: 74%; background: repeating-linear-gradient(#fff 0 18px, #F1F3F7 18px 22px); }
.p2 { right: 9%; bottom: 12%; width: 44%; height: 50%; background: linear-gradient(135deg, #FFC93C, #FF5A5F); outline: 4px solid #fff; box-shadow: 0 22px 40px -14px rgba(120,30,40,.5); transition: transform .8s var(--spring); }
.p2 i { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: #fff; border-radius: 4px; box-shadow: 0 0 0 2px var(--accent); }
.c-snip:hover .p2 { transform: translate(-14px, -12px) rotate(-3deg) scale(1.06); }

/* pixelate */
.art-pix { background: linear-gradient(140deg, #F0E4FF, #FFDDE5); display: grid; place-content: center; gap: 12px; padding: 0 18px; }
.pix-row { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.25); position: relative; font: 500 14px Inter, sans-serif; }
.pix-row .clear { position: relative; }
.pixd { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 0; border-radius: 3px; z-index: 2;
  background: conic-gradient(#9C8FB0 25%, #C5BBD3 0 50%, #ADA0C2 0 75%, #D4CCE0 0) 0 0 / 14px 14px; transition: width .9s var(--spring-soft); }
.card.play .pixd { width: 150px; } .card.play .pixd.short { width: 120px; transition-delay: .2s; }

/* frames */
.art-frames { background: linear-gradient(140deg, #FFF0C9, #FFD9C2); display: flex; align-items: center; justify-content: center; gap: 12px; }
.fr { width: 30%; aspect-ratio: 4/3; background: linear-gradient(135deg, #7C5CFF, #E6399B); transition: transform .7s var(--spring); }
.f1 { border-radius: 2px; }
.f2 { border-radius: 16px; }
.f3 { border-radius: 10px; box-shadow: 0 0 0 9px #fff, 0 12px 26px -8px rgba(0,0,0,.3); transform: scale(.86); }
.c-frames:hover .f1 { transform: translateY(-6px) rotate(-4deg); }
.c-frames:hover .f2 { transform: translateY(-10px); }
.c-frames:hover .f3 { transform: translateY(-6px) rotate(4deg) scale(.86); }

/* drag */
.art-drag { height: 230px; background: linear-gradient(110deg, #FFE7C2, #FFD0DA 45%, #E9D8FF); }
.chip { position: absolute; z-index: 2; left: 8%; top: 44%; padding: 9px 14px; border-radius: 11px; background: rgba(20,18,24,.85); color: #fff; font: 600 14px Inter, sans-serif; box-shadow: 0 14px 28px -10px rgba(0,0,0,.45); }
.card.play .chip { animation: dragit 4.5s var(--spring-soft) infinite; }
.drop { position: absolute; right: 8%; top: 16%; width: 110px; height: 58px; border-radius: 14px; display: grid; place-items: center; font: 700 15px Inter, sans-serif; background: #fff; box-shadow: 0 8px 20px -10px rgba(0,0,0,.25); }
.drop.d2 { top: 58%; right: 22%; }
@keyframes dragit { 0%, 12% { transform: none; } 45%, 70% { transform: translate(min(18vw, 200px), -40px) rotate(-4deg) scale(.92); } 85%, 100% { transform: none; } }

/* ---------- record ---------- */
.record { max-width: 1180px; margin: 0 auto; padding: 160px 20px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.record p { color: var(--ink2); font-size: 18px; margin: 20px 0 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--grad); }
.rec-art { position: relative; }
.rec-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(70,30,60,.4), 0 0 0 1px rgba(0,0,0,.06); background: #fff; }
.rec-dash { position: absolute; inset: 9% 8% 16% 12%; border: 2.5px dashed #FF3B30; border-radius: 4px; box-shadow: 0 0 0 9999px rgba(10,8,14,.22); }
.rec-hud { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 14px; background: rgba(28,26,32,.9); color: #fff; font: 600 15px Inter, sans-serif; font-variant-numeric: tabular-nums; box-shadow: 0 12px 26px -10px rgba(0,0,0,.5); }
.rdot { width: 10px; height: 10px; border-radius: 50%; background: #FF3B30; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.stop { background: #FF3B30; padding: 6px 12px; border-radius: 9px; }
.home-shot { width: 92%; margin: 18px auto 0; position: relative; filter: drop-shadow(0 20px 30px rgba(70,30,40,.22)); transition: transform .8s var(--spring); }
.home-shot:hover { transform: translateY(-6px) scale(1.02); }

/* ---------- make it yours ---------- */
.yours-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; }
.picker h3 { font-size: 22px; margin-bottom: 20px; }
.accents { display: flex; flex-wrap: wrap; gap: 12px; }
.accents button { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--a); box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(0,0,0,.08), 0 6px 14px -6px var(--a); transition: transform .6s var(--spring), box-shadow .3s; }
.accents button:hover { transform: scale(1.15); }
.accents button.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--a), 0 8px 18px -6px var(--a); transform: scale(1.06); }
.mini-bar { margin-top: 30px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px -12px rgba(0,0,0,.25); }
.mini-new { color: #fff; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 11px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 85%, #fff), var(--accent)); transition: background .4s; }
.mini-seg { display: flex; flex: 1; min-width: 0; background: #F0EFF3; border-radius: 11px; padding: 3px; font-size: 12px; }
.mini-seg b, .mini-seg i { flex: 1; text-align: center; padding: 6px 2px; white-space: nowrap; overflow: hidden; font-style: normal; border-radius: 9px; }
.mini-seg b { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.mini-seg i { color: var(--ink3); }
.mini-x { width: 34px; height: 34px; border-radius: 10px; background: #FF453A; color: #fff; display: grid; place-items: center; font-weight: 600; }
.icons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icons button { border: 0; cursor: pointer; background: rgba(255,255,255,.6); border-radius: 22px; padding: 14px 10px 12px; display: grid; justify-items: center; gap: 8px; font: 600 14px Inter, sans-serif; color: var(--ink2); box-shadow: 0 0 0 1px var(--line); transition: transform .6s var(--spring), box-shadow .3s, background .3s; }
.icons button:hover { transform: translateY(-4px); }
.icons button.on { background: #fff; box-shadow: 0 0 0 2.5px var(--accent), 0 14px 28px -14px rgba(0,0,0,.3); color: var(--ink); }
.icons img { width: 100%; max-width: 120px; transition: transform .8s var(--spring); }
.icons button.on img { transform: scale(1.06) rotate(-3deg); }
.theme-flip { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1878/1184; box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.theme-flip img { position: absolute; inset: 0; width: 100%; transition: clip-path .8s var(--spring-soft); }
.theme-flip .tf-dark { clip-path: inset(0 0 0 100%); }
.theme-flip.dark .tf-dark { clip-path: inset(0 0 0 0); }
.seg { display: inline-flex; margin-top: 16px; background: #EFEDF2; padding: 4px; border-radius: 13px; position: relative; }
.seg button { border: 0; background: none; font: 600 14px Inter, sans-serif; padding: 8px 18px; border-radius: 10px; cursor: pointer; color: var(--ink3); transition: background .3s, color .3s, box-shadow .3s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.theme-card h3 { display: inline-block; margin-right: 12px; }

/* ---------- keyboard ---------- */
.keyboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.combo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); cursor: pointer; transition: transform .6s var(--spring); }
.combo:hover { transform: translateY(-4px); }
.combo p { flex-basis: 100%; margin: 10px 0 0; color: var(--ink2); font-weight: 500; }
.cap {
  min-width: 64px; height: 60px; padding: 0 16px; display: grid; place-items: center; border-radius: 15px;
  font: 700 18px "Bricolage Grotesque", Inter, sans-serif; color: var(--ink);
  background: linear-gradient(170deg, #fff, #F3EEF4); box-shadow: 0 1.5px 0 #fff inset, 0 6px 0 #E0D6E2, 0 14px 22px -8px rgba(80,40,80,.3);
  transform: translateY(0); transition: transform .5s var(--spring), box-shadow .5s var(--spring), background .25s, color .25s;
}
.cap.wide { min-width: 120px; }
.combo.down .cap {
  transform: translateY(5px); box-shadow: 0 1.5px 0 rgba(255,255,255,.4) inset, 0 1px 0 var(--accent-h), 0 6px 12px -6px rgba(80,40,80,.3);
  background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent)); color: #fff; transition-duration: .08s;
}

/* ---------- compare ---------- */
.compare { max-width: 760px; margin: 140px auto 0; padding: 0 20px; }
.cmp { padding: 10px 26px; }
.cmp-row { display: grid; grid-template-columns: 1fr 130px 130px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cmp-row:last-child { border: 0; }
.cmp-row > span:not(:first-child) { text-align: center; }
.cmp-row.head { font: 700 16px Inter, sans-serif; color: var(--ink2); }
.cmp-row .us { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cmp-row.head .us { color: var(--ink); }
.cmp-row .us img { border-radius: 7px; }
.yes { color: #2FAE4E; font-weight: 800; font-size: 19px; }
.us.yes { color: var(--accent); }
.no { color: var(--ink3); }

/* ---------- download ---------- */
.download { padding: 140px 20px 0; max-width: 1180px; margin: 0 auto; }
.dl-card {
  position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 40px; padding: 80px 24px 64px;
  background: linear-gradient(125deg, #FFB627, #FF7A1A 25%, #FF4D5E 50%, #DB3A9F 74%, #7C4DFF);
  background-size: 160% 160%; animation: dlbg 12s ease-in-out infinite alternate;
  box-shadow: 0 50px 100px -40px rgba(219, 58, 159, .6);
}
@keyframes dlbg { to { background-position: 100% 100%; } }
.dl-glow { position: absolute; inset: -40%; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.35), transparent 35%); pointer-events: none; }
.dl-icon { width: 168px; margin: 0 auto 26px; filter: drop-shadow(0 24px 30px rgba(80,0,40,.35)); transition: transform 1s var(--spring); }
.dl-card:hover .dl-icon { transform: translateY(-8px) rotate(-6deg) scale(1.05); }
.dl-card h2 { font-size: clamp(44px, 7vw, 84px); position: relative; }
.dl-card > p { position: relative; font-size: 19px; max-width: 520px; margin: 18px auto 30px; opacity: .95; }
.dl-card kbd { color: var(--ink); }
.dl-card .btn { position: relative; }
.dl-meta { position: relative; font-size: 15px; opacity: .9; margin: 22px 0 0; }
.dl-meta a { color: #fff; }
.dl-note { position: relative; font-size: 14px; max-width: 480px; margin: 12px auto 0; opacity: .8; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: 140px 20px 0; }
.faq h2 { text-align: center; margin-bottom: 36px; }
details { border-radius: 20px; background: var(--card); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); margin-bottom: 12px; padding: 0 24px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 18px Inter, sans-serif; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .5s var(--spring); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--ink2); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; max-width: 1180px; margin: 120px auto 0; padding: 30px 20px 50px; display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 15px; }
.foot p { margin: 0; flex: 1; }
.foot .brand { color: var(--ink); font-size: 18px; }
.foot a { text-decoration: none; font-weight: 500; }

/* ---------- toast (mirrors Koji's) ---------- */
.toast { position: fixed; z-index: 99; left: 50%; bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 16px; background: rgba(28,26,32,.92); color: #fff; font: 600 15px Inter, sans-serif; backdrop-filter: blur(12px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.5); transform: translate(-50%, 180%) scale(.9); opacity: 0; transition: transform .7s var(--spring), opacity .25s; pointer-events: none; }
.toast.on { transform: translate(-50%, 0) scale(1); opacity: 1; }
.tdot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.tdot::after { content: "✓"; font-size: 12px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .6s ease, transform 1s var(--spring-soft); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: .7s, 1.2s; }
.stage.reveal { transform: translateY(60px); }
.stage.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .c-annotate, .c-drag { grid-column: span 2; grid-template-columns: 1fr; }
  .c-drag .card-art { grid-row: auto; margin-bottom: 22px; }
  .c-ocr, .c-lens, .c-snip, .c-pix, .c-frames { grid-column: span 1; }
  .record { grid-template-columns: 1fr; }
  .yours-grid { grid-template-columns: 1fr 1fr; }
  .theme-card { grid-column: span 2; }
  .keyboard { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .float-key { left: -6px; width: 84px; height: 78px; font-size: 17px; border-radius: 20px; }
  .float-tag { right: -4px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 120px 16px 20px; }
  .bento, .yours-grid, .keyboard { grid-template-columns: 1fr; }
  .c-annotate, .c-drag, .theme-card, .c-ocr, .c-lens, .c-snip, .c-pix, .c-frames { grid-column: auto; }
  .stats { gap: 10px; padding: 0 16px; }
  .stat { padding: 20px 18px; } .stat b { font-size: 40px; }
  .features, .yours, .keys, .download, .faq { padding-left: 16px; padding-right: 16px; }
  .record { padding: 120px 16px 0; gap: 36px; }
  .compare { padding: 0 16px; }
  .cmp { padding: 6px 16px; }
  .cmp-row { grid-template-columns: 1fr 70px 80px; font-size: 14px; }
  .float-key, .float-tag.t2 { display: none; }
  .float-tag { font-size: 13px; padding: 9px 13px; }
  .cap { min-width: 54px; height: 52px; font-size: 16px; }
  .dl-card { border-radius: 30px; padding: 60px 18px 50px; }
  .foot { flex-wrap: wrap; padding: 30px 16px 40px; }
  .mesh i { filter: blur(60px); }
}
