/* Remote Window — site styles. Light sage + deep green + lime, matching the app. */
:root {
  --bg: #f4f6ee; --bg2: #edf3e5; --surface: #fbfcf7; --raised: #fff; --well: #e5eedd;
  --ink: #132f25; --ink2: #17372b; --muted: #4a6154; --dim: #6c8174;
  --green: #236447; --green2: #2f7d58; --lime: #e2fa83; --lime2: #c9ea5c; --stage: #142d25;
  --line: rgba(23, 55, 43, .12); --line2: rgba(23, 55, 43, .2);
  --amber: #93600e; --danger: #9d3e32;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --max: 1200px; --gut: max(20px, calc((100vw - var(--max)) / 2));
  --shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 60px -28px rgba(31, 74, 52, .35), 0 2px 6px rgba(31, 74, 52, .06);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; font-weight: 600; color: var(--ink); }
.i { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.accent { color: var(--green2); }

/* ── progress + nav ── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green2), var(--lime2)); transform-origin: 0 50%; transform: scaleX(0); }
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50; width: min(1120px, calc(100% - 28px)); margin: 0 auto;
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 14px; border: 1px solid transparent; border-radius: 18px;
  transition: transform .45s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.nav.solid { background: rgba(251, 252, 247, .82); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(31, 74, 52, .4); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav.hide { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.035em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 550; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(23, 55, 43, .06); }
.nav-toggle { display: none; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 20px;
  border-radius: 13px; border: 1px solid var(--line2); font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn-primary { background: linear-gradient(165deg, #f1ffb0, var(--lime) 55%, #cde86e); border-color: #9bb556; color: #1d3a24; box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 8px 20px -8px rgba(84, 120, 44, .5); }
.btn-primary:hover { background: linear-gradient(165deg, #f5ffc4, #e9fd96 55%, #d4ee78); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 1px #fff; }
.btn-ghost:hover { background: #fff; border-color: rgba(23, 55, 43, .3); }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 16.5px; border-radius: 15px; }

/* ── section scaffolding ── */
.section { position: relative; padding: clamp(96px, 12vw, 160px) var(--gut); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--lime2); box-shadow: 0 0 0 3px rgba(201, 234, 92, .3); }
.section-title { margin: 0; font-size: clamp(40px, 6.2vw, 80px); font-weight: 750; line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
.section-lede { margin: 22px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); text-wrap: pretty; }
.section-head.center .section-lede { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--well); color: var(--green); font-size: 13px; font-weight: 600; }

/* ── hero ── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gut) 90px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 75% 45%, rgba(226, 250, 131, .45), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(23, 55, 43, .1) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--bg);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--green); }
.eyebrow .i { width: 15px; height: 15px; }
.hero-title { margin: 0; font-size: clamp(60px, 8.2vw, 122px); font-weight: 760; line-height: .94; letter-spacing: -.06em; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .08em 0; margin-bottom: -.08em; }
.hero-title .word { display: inline-block; }
.hero-title .accent { color: var(--green2); }
.hero-sub { margin: 30px 0 0; max-width: 540px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 550; color: var(--muted); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .i { width: 17px; height: 17px; color: var(--green2); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line2); border-radius: 14px; z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.js .reveal { opacity: 0; }

/* ── use cases ── */
.uc { position: relative; padding-top: clamp(96px, 12vw, 150px); }
.uc-head { padding: 0 var(--gut); max-width: calc(780px + 2 * var(--gut)); margin-bottom: 0; }
.uc-track { position: relative; height: 640svh; margin-top: clamp(20px, 4vw, 40px); }
.uc-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 52% 45%, rgba(226, 250, 131, .5), transparent 72%),
    radial-gradient(circle at 1px 1px, rgba(23, 55, 43, .09) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--bg2);
  border-block: 1px solid var(--line);
}
.uc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.uc-tabs { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(251, 252, 247, .8); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -18px rgba(31, 74, 52, .4); }
.uc-tabs button { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 11px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.uc-tabs button span { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.uc-tabs button:hover { color: var(--ink); }
.uc-tabs button.on { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1px #a8c25d; }
.uc-tabs button.on span { color: var(--green); }
.uc-caps { position: absolute; left: 50%; bottom: 34px; z-index: 2; width: min(1000px, calc(100% - 40px)); height: 150px; transform: translateX(-50%); }
.uc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; align-items: center;
  padding: 22px 28px; border-radius: 22px;
  background: rgba(251, 252, 247, .9); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none;
}
.uc-cap.on { opacity: 1; transform: none; pointer-events: auto; }
.uc-cap > :nth-child(-n+2) { grid-column: 1; }
.uc-cap > :nth-child(n+3) { grid-column: 2; }
.uc-cap > :nth-child(3) { grid-row: 1; align-self: end; }
.uc-cap > :nth-child(4) { grid-row: 2; align-self: start; }
.uc-route { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--green2); }
.uc-route .i { width: 14px; height: 14px; }
.uc-cap h3 { margin: 0; font-size: 26px; font-weight: 720; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.uc-cap p:not(.uc-route) { margin: 0 0 12px; font-size: 16px; color: var(--muted); line-height: 1.5; }
.uc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); z-index: 2; }
.uc-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green2), var(--lime2)); transform-origin: 0 50%; transform: scaleX(0); }
.no-webgl .uc-track { height: auto; }
.no-webgl .uc-stage { position: static; height: auto; padding: 40px var(--gut); }
.no-webgl .uc-canvas, .no-webgl .uc-tabs, .no-webgl .uc-progress { display: none; }
.no-webgl .uc-caps { position: static; width: auto; height: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.no-webgl .uc-caps { transform: none; }
.no-webgl .uc-cap { position: static; display: block; opacity: 1; transform: none; }

/* ── how it works ── */
.how-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.how .section-title { font-size: clamp(40px, 4.6vw, 64px); }
.how .section-lede { margin-bottom: 30px; }
.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 6px; }
.how-steps li { position: relative; padding: 16px 16px 16px 60px; border-radius: 16px; counter-increment: s; transition: background .35s; }
.how-steps li::before { content: counter(s); position: absolute; left: 14px; top: 15px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--well); color: var(--green); font-family: var(--mono); font-size: 14px; font-weight: 600; transition: background .35s, color .35s; }
.how-steps li.now { background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line); }
.how-steps li.now::before { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1px #a8c25d; }
.how-steps li.done::before { content: "✓"; background: var(--green); color: #fff; }
.how-steps b { display: block; font-size: 17.5px; font-weight: 680; letter-spacing: -.02em; }
.how-steps span { display: block; margin-top: 3px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }

/* Remote Window replica */
.rw {
  --rw-bg: #f2f5ec; --rw-panel: #fbfdf6; --rw-well: #e4efdd; --rw-ink: #17372b; --rw-muted: #50675a; --rw-line: rgba(23, 55, 43, .14);
  position: relative; min-width: 0; background: var(--rw-bg); color: var(--rw-ink); border-radius: 16px; border: 1px solid rgba(23, 55, 43, .18);
  box-shadow: 0 40px 90px -40px rgba(23, 55, 43, .55), 0 8px 24px -10px rgba(23, 55, 43, .2); font-size: 13px; line-height: 1.35; overflow: hidden;
}
.rw-chrome { display: flex; gap: 8px; padding: 13px 14px 0; }
.rw-chrome i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.rw-chrome i:nth-child(2) { background: #febc2e; } .rw-chrome i:nth-child(3) { background: #28c840; }
.rw-head { display: flex; align-items: center; gap: 10px; padding: 8px 20px 12px; }
.rw-head b { font-size: 21px; font-weight: 750; letter-spacing: -.045em; }
.rw-seg { display: flex; gap: 3px; margin-left: auto; padding: 4px; border-radius: 11px; background: var(--rw-well); border: 1px solid var(--rw-line); }
.rw-seg button { display: flex; align-items: center; gap: 6px; padding: 6px 11px; border: 0; border-radius: 8px; background: none; font-size: 12px; font-weight: 600; color: var(--rw-muted); }
.rw-seg button .i { width: 14px; height: 14px; }
.rw-seg button.on { background: #fff; color: var(--rw-ink); box-shadow: 0 1px 3px rgba(23, 55, 43, .14); }
.rw-seg button:disabled { cursor: default; opacity: .6; }
.rw-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; padding: 0 16px 16px; }
.rw-card { min-width: 0; background: var(--rw-panel); border: 1px solid var(--rw-line); border-radius: 19px; box-shadow: 0 5px 10px rgba(23, 55, 43, .06); }
.rw-side { padding: 18px 0 12px; }
.rw-side-head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 10px; }
.rw-side-head b { font-size: 16px; font-weight: 650; }
.rw-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--rw-line); border-radius: 8px; background: #fff; }
.rw-icon .i { width: 14px; height: 14px; }
.rw-icon.spin .i { animation: spin .7s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
.rw-list { margin: 0; padding: 0 10px; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; border-radius: 12px; }
.rw-list li { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .2s; }
.rw-list li:hover { background: rgba(228, 239, 221, .6); }
.rw-list li.on { background: var(--rw-well); border-color: rgba(35, 100, 71, .24); }
.rw-list li.locked { cursor: default; }
.rw-ico { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 8px; background: var(--c); color: #fff; font-size: 15px; font-weight: 700; box-shadow: inset 0 -2px rgba(0, 0, 0, .12); }
.rw-meta { min-width: 0; flex: 1; }
.rw-meta b { display: block; font-size: 13px; font-weight: 650; }
.rw-meta span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11.5px; color: var(--rw-muted); }
.rw-check { width: 13px; height: 13px; color: var(--green); stroke-width: 3; opacity: 0; }
.rw-list li.on .rw-check { opacity: 1; }
.rw-work { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.rw-work-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rw-work-head h4 { margin: 0; font-size: 24px; font-weight: 750; letter-spacing: -.045em; }
.rw-work-head p { margin: 2px 0 0; font-size: 12px; color: var(--rw-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rw-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; --tc: var(--rw-muted, #50675a); color: var(--tc); background: color-mix(in srgb, var(--tc) 9%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 22%, transparent); }
.rw-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rw-badge[data-tone="green"] { --tc: #236447; } .rw-badge[data-tone="amber"] { --tc: #93600e; } .rw-badge[data-tone="muted"] { --tc: #50675a; }
.rw-badge[data-tone="green"] i { box-shadow: 0 0 0 3px rgba(35, 100, 71, .18); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(35, 100, 71, 0); } }
.rw-preview { position: relative; height: 236px; border-radius: 17px; overflow: hidden; border: 1px solid var(--rw-line); background: var(--stage); }
.rw-preview canvas { width: 100%; height: 100%; object-fit: contain; }
.rw-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px 0 22px; background: linear-gradient(135deg, var(--rw-panel), var(--rw-well)); }
.rw-empty b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -.035em; }
.rw-empty span { display: block; margin-top: 6px; font-size: 12px; color: var(--rw-muted); }
.rw-empty img { width: 52%; max-width: 250px; height: auto; transition: transform .4s var(--ease); }
.rw-empty:hover img { transform: perspective(600px) rotateY(-8deg) translateY(-3px); }
.rw-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; font-weight: 550; }
.rw-controls label, .rw-invite label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.rw input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--green); }
.sp { flex: 1; }
.rw-invite { display: flex; align-items: center; gap: 15px; padding: 12px; border-radius: 14px; background: var(--rw-well); border: 1px solid var(--rw-line); animation: rise .35s var(--ease); }
.rw-qr { width: 100px; height: 100px; padding: 6px; background: #fff; border-radius: 9px; image-rendering: pixelated; }
.rw-invite > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rw-invite b { font-size: 16px; font-weight: 650; }
.rw-invite span { font-size: 12px; color: var(--rw-muted); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.rw-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding-top: 14px; border-top: 1px solid var(--rw-line); }
.rw-status { flex: 1 1 160px; min-width: 0; font-size: 12px; color: var(--rw-muted); }
.rw-idle, .rw-live { display: flex; align-items: center; gap: 8px; }
.rw-select { position: relative; display: flex; align-items: center; gap: 5px; color: var(--rw-muted); }
.rw-select .i { width: 14px; height: 14px; }
.rw-select select { appearance: none; -webkit-appearance: none; padding: 7px 26px 7px 10px; border: 1px solid var(--rw-line); border-radius: 8px; font: 600 12px var(--font); color: var(--rw-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%2350675a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center / 11px; cursor: pointer; }
.rw-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--rw-line); border-radius: 9px; background: linear-gradient(#fff, var(--rw-panel)); font-size: 12px; font-weight: 650; color: var(--rw-ink); box-shadow: 0 2px 3px rgba(23, 55, 43, .05); transition: transform .13s, opacity .2s; white-space: nowrap; }
.rw-btn .i { width: 14px; height: 14px; }
.rw-btn:active:not(:disabled) { transform: scale(.97); }
.rw-btn:disabled { opacity: .46; cursor: default; }
.rw-btn.primary { background: linear-gradient(rgba(226, 250, 131, .72), var(--lime)); box-shadow: 0 2px 3px rgba(23, 55, 43, .14); }
.rw-btn.danger { color: #9b3b2e; }
.rw-btn.flash { animation: flash .6s; }
@keyframes flash { 30% { box-shadow: 0 0 0 4px rgba(201, 234, 92, .7); } }
.rw-alert-wrap { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; background: rgba(23, 55, 43, .16); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.rw-alert { width: min(300px, 100%); padding: 22px 18px 16px; border-radius: 16px; background: rgba(251, 253, 246, .97); border: 1px solid var(--rw-line); box-shadow: 0 30px 60px -20px rgba(23, 55, 43, .5); text-align: center; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.rw-alert img { margin: 0 auto 10px; }
.rw-alert b { font-size: 15px; font-weight: 700; }
.rw-alert p { margin: 6px 0 16px; font-size: 12px; color: var(--rw-muted); line-height: 1.45; }
.rw-alert div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rw-alert .rw-btn { justify-content: center; }
.hint { animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 234, 92, .0), 0 2px 3px rgba(23, 55, 43, .14); } 50% { box-shadow: 0 0 0 5px rgba(201, 234, 92, .75), 0 2px 3px rgba(23, 55, 43, .14); } }

/* ── viewer playground ── */
.vw-grid { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 80px); }
.vw-phone { position: relative; flex: 0 0 auto; width: 314px; height: 680px; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2a4a3c, #0f2119); box-shadow: inset 0 0 0 2px #7f9a8a, inset 0 0 0 4px #13261f, 0 50px 90px -40px rgba(23, 55, 43, .6), 0 10px 30px -12px rgba(23, 55, 43, .35); }
.vw-screen { position: relative; height: 100%; overflow: hidden; border-radius: 43px; background: #f5f7ef; isolation: isolate; }
.vw-island { position: absolute; top: 10px; left: 50%; z-index: 5; width: 96px; height: 28px; margin-left: -48px; border-radius: 14px; background: #08130f; }
.vw-invite { position: absolute; inset: 40px 0 0; }
.vw-invite::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: #fbfcf7; }
.vw-invite img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vw-hot { position: absolute; left: 6.4%; top: 46.8%; width: 46%; height: 6%; border: 0; border-radius: 10px; background: transparent; animation: hint 1.8s ease-in-out infinite; }
.vw-hot:disabled { animation: none; cursor: default; }
.vw-toast { position: absolute; left: 14px; right: 14px; bottom: 24px; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--ink2); color: #eef6dd; font-size: 13px; font-weight: 600; text-align: center; animation: rise .3s var(--ease); }
.vw-session { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f5f7ef; }
.vw-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 46px 12px 9px; border-bottom: 1px solid var(--line); background: #fbfcf7; }
.vw-brand { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: -.03em; }
.vw-status { display: flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--muted); }
.vw-status i { width: 5px; height: 5px; border-radius: 50%; background: #348a58; box-shadow: 0 0 0 3px rgba(52, 138, 88, .15); }
.vw-guide { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin: 0; padding: 7px 10px 0; font-size: 10px; color: var(--muted); }
.vw-guide b { color: var(--green); font-weight: 650; }
.vw-video { position: relative; flex: 1; min-height: 0; margin: 7px 7px 0; display: grid; place-items: center; border-radius: 12px; background: var(--stage); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; }
.vw-video canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.vw-cursor, .vw-mac-cursor { position: absolute; left: 0; top: 0; width: 18px; height: 20px; margin: -1.5px 0 0 -1.5px; fill: #fff; stroke: var(--ink2); stroke-width: 1.5; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); pointer-events: none; transition: transform .08s linear; }
.vw-cursor, .vw-mac-cursor { visibility: hidden; } .vw-cursor.on, .vw-mac-cursor.on { visibility: visible; }
.vw-pad { position: absolute; right: 8px; bottom: 8px; width: 56%; height: 34%; display: grid; place-items: end center; padding: 6px; border-radius: 12px; border: 1px solid rgba(181, 219, 164, .5); background: radial-gradient(circle at center, rgba(212, 245, 181, .18) 1px, transparent 1px) 0 0 / 12px 12px, rgba(37, 71, 55, .96); box-shadow: 0 6px 20px rgba(7, 30, 22, .6); cursor: crosshair; touch-action: none; }
.vw-pad span { color: #eef6dd; font-size: 9px; pointer-events: none; }
.vw-foot { padding: 9px 10px 14px; border-top: 1px solid var(--line); background: #fbfcf7; }
.vw-detail { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 10px; color: var(--muted); }
.vw-detail b { font-size: 11.5px; color: var(--green); }
.vw-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.vw-actions button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; min-height: 32px; border: 1px solid var(--line2); border-radius: 9px; background: #fff; font-size: 10.5px; font-weight: 600; }
.vw-actions button .i { width: 13px; height: 13px; }
.vw-actions button[aria-pressed="true"] { color: var(--green); border-color: rgba(83, 137, 105, .55); background: #eef8d2; }
.vw-actions .danger { color: var(--danger); background: #fff7f1; border-color: rgba(185, 101, 73, .25); }
.vw-actions button:disabled { opacity: .45; cursor: default; }
.vw-kbd { position: absolute; bottom: 0; left: 0; width: 1px; height: 1px; opacity: 0; font-size: 16px; }
.vw-phone.full .vw-screen { background: var(--stage); }
.vw-phone.full .vw-head, .vw-phone.full .vw-guide, .vw-phone.full .vw-detail { display: none; }
.vw-phone.full .vw-session { background: var(--stage); padding-top: 42px; }
.vw-phone.full .vw-video { margin: 0; border-radius: 0; }
.vw-phone.full .vw-foot { background: transparent; border: 0; }
.vw-phone.full .vw-actions { justify-content: center; }
.vw-ended { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center; background: rgba(245, 247, 239, .97); animation: fade .3s; }
.vw-ended b { font-size: 22px; letter-spacing: -.03em; }
.vw-ended span { font-size: 13px; color: var(--muted); }
.vw-ended button { margin-top: 6px; padding: 10px 16px; border: 1px solid #9bb556; border-radius: 11px; background: var(--lime); font-weight: 650; font-size: 13px; }
.ripple { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid var(--lime2); background: rgba(226, 250, 131, .25); pointer-events: none; animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.vw-mac { position: relative; flex: 0 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.vw-mac-win { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line2); box-shadow: 0 40px 80px -40px rgba(23, 55, 43, .5); }
.vw-titlebar { position: relative; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #f3f5ef; border-bottom: 1px solid var(--line); }
.vw-titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.vw-titlebar i:nth-child(2) { background: #febc2e; } .vw-titlebar i:nth-child(3) { background: #28c840; }
.vw-titlebar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); pointer-events: none; }
.vw-mac-view { position: relative; overflow: hidden; }
.vw-mac-view canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.vw-host { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.vw-host b { font-size: 15px; letter-spacing: -.03em; margin-right: auto; }
.vw-alert { position: absolute; left: 50%; top: 34%; z-index: 3; width: min(320px, 92%); transform: translate(-50%, -50%); display: grid; gap: 6px; padding: 18px; border-radius: 16px; text-align: center; background: rgba(251, 253, 246, .98); border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(23, 55, 43, .55); animation: pop .35s var(--ease); }
.vw-alert b { font-size: 15px; }
.vw-alert span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.vw-alert div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.vw-alert .rw-btn { justify-content: center; }
.gestures li { background: #fff; border: 1px solid var(--line); color: var(--muted); }

/* ── features ── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px circle at var(--mx, -500px) var(--my, -500px), rgba(226, 250, 131, .35), transparent 70%); }
.t-wide { grid-column: span 2; }
.tile h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.tile h3 .i { color: var(--green2); }
.tile p { margin: 0; font-size: 16px; color: var(--muted); max-width: 52ch; }
.tile-art { position: relative; height: 128px; margin-bottom: 22px; border-radius: 16px; background: linear-gradient(135deg, var(--bg2), var(--well)); display: flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; }
.art-single span { width: 22%; height: 62%; border-radius: 10px; background: rgba(255, 255, 255, .6); border: 1px dashed var(--line2); filter: blur(.4px); }
.art-single span.on { background: #fff; border: 2.5px solid var(--green2); filter: none; box-shadow: 0 0 0 5px rgba(201, 234, 92, .5); animation: lift 3s ease-in-out infinite; }
@keyframes lift { 50% { transform: translateY(-6px); } }
.art-approve { flex-direction: column; gap: 10px; }
.art-approve b { font-size: 14px; }
.art-approve span { display: flex; gap: 8px; }
.art-approve i { font-style: normal; padding: 6px 16px; border-radius: 9px; background: #fff; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; }
.art-approve i.ok { background: var(--lime); border-color: #9bb556; animation: hint 2s infinite; }
.art-timer { flex-wrap: wrap; align-content: center; gap: 7px; padding: 0 16px; }
.art-timer i { font-style: normal; padding: 6px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); animation: pick 7.2s infinite; }
.art-timer i:nth-child(2) { animation-delay: 1.2s; } .art-timer i:nth-child(3) { animation-delay: 2.4s; } .art-timer i:nth-child(4) { animation-delay: 3.6s; } .art-timer i:nth-child(5) { animation-delay: 4.8s; } .art-timer i:nth-child(6) { animation-delay: 6s; }
@keyframes pick { 0%, 16% { background: var(--lime); color: var(--ink); border-color: #9bb556; } 17%, 100% { background: #fff; } }
.art-audio { gap: 5px; }
.art-audio i { width: 7px; height: 56px; border-radius: 4px; background: var(--green2); transform-origin: 50% 100%; animation: bar 1s ease-in-out infinite alternate; }
.art-audio i:nth-child(3n) { background: var(--lime2); }
.art-audio i:nth-child(2n) { animation-duration: .7s; } .art-audio i:nth-child(3n) { animation-duration: 1.3s; } .art-audio i:nth-child(5n) { animation-duration: .9s; animation-delay: -.4s; }
@keyframes bar { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.art-touch .dot { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: rgba(226, 250, 131, .9); border: 2.5px solid var(--ink2); animation: spread 2.6s var(--ease) infinite; }
.art-touch .d2 { animation-name: spread2; }
@keyframes spread { 0%, 15% { transform: translate(-8px, 8px); } 55%, 70% { transform: translate(-46px, 30px); } 100% { transform: translate(-8px, 8px); } }
@keyframes spread2 { 0%, 15% { transform: translate(8px, -8px); } 55%, 70% { transform: translate(46px, -30px); } 100% { transform: translate(8px, -8px); } }
.art-modes { gap: 0; }
.art-modes { --w: 128px; }
.art-modes .m { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; width: var(--w); padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.art-modes::before { content: ""; position: absolute; left: calc(50% - var(--w)); width: var(--w); height: 42px; border-radius: 11px; background: #fff; box-shadow: 0 2px 6px rgba(23, 55, 43, .15); animation: toggle 5s ease-in-out infinite; }
@keyframes toggle { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(var(--w)); } 100% { transform: none; } }

/* ── install + faq ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: 28px 26px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); counter-increment: st; }
.steps li::before { content: "0" counter(st); display: block; margin-bottom: 26px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green2); }
.steps b { display: block; margin-bottom: 6px; font-size: 22px; font-weight: 720; letter-spacing: -.035em; }
.steps span { color: var(--muted); font-size: 16px; }
.fine-note { margin: 22px 0 0; font-size: 14px; color: var(--dim); }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--well); color: var(--green); font-size: 18px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 16.5px; }

/* ── final + footer ── */
.final { position: relative; display: grid; place-items: center; min-height: 86svh; padding: 100px 20px; overflow: hidden; text-align: center; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(226, 250, 131, .55), transparent 70%), var(--bg2); border-top: 1px solid var(--line); }
.final-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .32; }
.final-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final-logo { margin-bottom: 26px; filter: drop-shadow(0 16px 30px rgba(84, 120, 44, .35)); }
.final h2 { margin: 0 0 34px; font-size: clamp(48px, 8vw, 110px); font-weight: 760; line-height: .96; letter-spacing: -.06em; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 30px var(--gut) 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer .brand { font-size: 15px; color: var(--ink); }
.footer p { margin: 0; }
.footer .fine { flex-basis: 100%; font-size: 12.5px; color: var(--dim); }

/* ── responsive ── */
@media (max-width: 1080px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-copy { max-width: 640px; }
  .uc-tabs button { padding: 8px 10px; }
}
@media (max-width: 900px) {
  .vw-grid { flex-direction: column; }
  .vw-mac { flex-basis: auto; width: min(560px, 100%); }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; width: calc(100% - 20px); gap: 10px; }
  .nav .btn-small { margin-left: auto; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 8px; border-radius: 16px; background: rgba(251, 252, 247, .97); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: .25s var(--ease); }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 11px; background: rgba(255, 255, 255, .8); }
  .nav-toggle span { display: block; width: 16px; height: 1.6px; background: var(--ink); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .hero { align-items: flex-end; padding: 0 16px 70px; background: radial-gradient(ellipse 90% 40% at 50% 26%, rgba(226, 250, 131, .5), transparent 70%), radial-gradient(circle at 1px 1px, rgba(23, 55, 43, .1) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--bg); }
  .hero-canvas { height: 56%; }
  .hero-inner { padding-top: 46svh; }
  .hero-title { font-size: clamp(52px, 15vw, 76px); }
  .hero-sub { margin-top: 20px; font-size: 17px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-proof { margin-top: 22px; gap: 8px 16px; font-size: 13.5px; }
  .scroll-cue { display: none; }
  .section { padding: 84px 16px; }
  .uc-head { padding: 0 16px; }
  .uc-track { height: 600svh; }
  .uc-tabs { top: 64px; left: 8px; right: 8px; transform: none; overflow-x: auto; scrollbar-width: none; }
  .uc-tabs::-webkit-scrollbar { display: none; }
  .uc-tabs button { padding: 7px 10px; font-size: 13px; }
  .uc-caps { left: 12px; right: 12px; bottom: 16px; width: auto; height: 210px; transform: none; }
  .uc-cap { display: block; padding: 16px 18px; border-radius: 18px; }
  .uc-cap h3 { font-size: 20px; margin-bottom: 6px; }
  .uc-cap p:not(.uc-route) { font-size: 14.5px; margin-bottom: 10px; }
  .chips li { font-size: 12px; padding: 4px 10px; }
  .rw { border-radius: 14px; }
  .rw-head { padding: 6px 12px 10px; flex-wrap: wrap; }
  .rw-head b { font-size: 18px; }
  .rw-seg { margin-left: 0; width: 100%; }
  .rw-seg button { flex: 1; justify-content: center; }
  .rw-body { grid-template-columns: 1fr; padding: 0 10px 10px; gap: 10px; }
  .rw-side { padding: 12px 0 10px; }
  .rw-side-head { padding: 0 12px 8px; }
  .rw-list { display: flex; overflow-x: auto; padding: 0 10px 2px; scrollbar-width: none; }
  .rw-list::-webkit-scrollbar { display: none; }
  .rw-list li { flex: 0 0 auto; padding: 7px 10px; }
  .rw-meta span, .rw-check { display: none; }
  .rw-work { padding: 14px; }
  .rw-work-head h4 { font-size: 20px; }
  .rw-preview { height: 190px; }
  .rw-empty b { font-size: 18px; }
  .rw-empty img { width: 48%; }
  .rw-idle, .rw-live { width: 100%; }
  .rw-idle .rw-btn, .rw-live .rw-btn { flex: 1; justify-content: center; }
  .rw-qr { width: 84px; height: 84px; }
  .vw-phone { width: 300px; height: 650px; border-radius: 52px; }
  .vw-screen { border-radius: 41px; }
  .bento { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .tile { padding: 22px; }
  .faq summary { font-size: 16.5px; padding: 18px; }
  .faq details p { padding: 0 18px 18px; }
  .final { min-height: 70svh; }
}
@media (max-width: 360px) {
  .vw-phone { width: 284px; height: 616px; }
  .nav .btn-small { display: none; }
  .nav-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
