:root {
  --bg: #0b1020;
  --bg2: #0f1629;
  --panel: #141c33;
  --line: #24304f;
  --text: #e8edf7;
  --muted: #9aa6c2;
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --violet: #8b5cf6;
  --coffee: #ffdd00;
  --radius: 16px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fc;
    --bg2: #eef2fa;
    --panel: #ffffff;
    --line: #dbe2f0;
    --text: #0f172a;
    --muted: #55617a;
    --accent: #2563eb;
    --accent2: #3b82f6;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent2); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: #2f6fe8; transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(59,130,246,.7); }
.btn svg { width: 20px; height: 20px; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-big { padding: 15px 26px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); box-shadow: none; }
.btn-coffee { background: var(--coffee); color: #1a1a1a; }
.btn-coffee:hover { background: #ffe633; box-shadow: 0 8px 24px -8px rgba(255,221,0,.6); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 75% 20%, rgba(59,130,246,.18), transparent 70%), radial-gradient(600px 300px at 10% 0%, rgba(139,92,246,.12), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; background: var(--panel); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--accent2), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; }

.hero-art { position: relative; min-height: 420px; }
.glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(59,130,246,.35), transparent); filter: blur(30px); }
.shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.phone { position: absolute; right: -6px; bottom: -28px; width: 30%; max-width: 170px; aspect-ratio: 9 / 19; border-radius: 26px; background: #05070d; padding: 7px; border: 1px solid #2a3350; box-shadow: 0 24px 60px -10px rgba(0,0,0,.7); animation: bob 6s ease-in-out infinite; }
.phone-screen { position: relative; height: 100%; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #1e3a8a, #6d28d9 70%, #0f172a); color: #fff; padding: 10px; }
.ps-status { display: flex; justify-content: space-between; font-size: 9px; opacity: .85; }
.ps-clock { font-size: 34px; font-weight: 700; text-align: center; margin-top: 18px; letter-spacing: -0.02em; }
.ps-date { font-size: 10px; text-align: center; opacity: .8; }
.ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 30px; }
.ps-grid i { aspect-ratio: 1; border-radius: 8px; background: var(--c); opacity: .9; }
.ps-cursor { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 0 0 4px rgba(255,255,255,.25); left: 30%; top: 66%; animation: tap 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes tap { 0%,100% { left: 30%; top: 66%; } 40% { left: 62%; top: 76%; } 45% { transform: scale(.7); } 50% { transform: scale(1); } }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 64px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓"; color: #22c55e; font-weight: 700; margin-right: 8px; }

/* Sections */
.section { padding: 88px 0; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent2); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; text-align: center; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; text-align: center; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 auto 44px; text-align: center; }
.sub.left, .split h2, .split .kicker { text-align: left; margin-left: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); transform: translateY(-2px); }
.card h3 { margin: 12px 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ic { width: 42px; height: 42px; display: grid; place-items: center; font-size: 21px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); }

/* Control mode */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { line-height: 2; }
.ticks li::before { content: "→"; color: var(--accent2); margin-right: 6px; font-weight: 700; }
kbd { font: 600 13px/1 Inter, system-ui, sans-serif; padding: 5px 8px; border-radius: 7px; background: var(--panel); border: 1px solid var(--line); border-bottom-width: 3px; color: var(--text); }

.desk { position: relative; height: 380px; border-radius: 24px; background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 70%, transparent), var(--panel)); border: 1px solid var(--line); overflow: hidden; }
.desk-phone { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); width: 150px; height: 220px; border-radius: 22px; background: #05070d; padding: 6px; border: 1px solid #2a3350; }
.dp-screen { position: relative; height: 100%; border-radius: 17px; background: #f1f5f9; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.dp-bubble { align-self: flex-start; background: #e2e8f0; color: #0f172a; font-size: 10px; padding: 6px 9px; border-radius: 12px 12px 12px 4px; }
.dp-bubble.me { align-self: flex-end; background: #3b82f6; color: #fff; border-radius: 12px 12px 4px 12px; }
.dp-type { margin-top: auto; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 10px; color: #0f172a; padding: 6px 9px; white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 1px; height: 10px; background: #0f172a; margin-left: 2px; vertical-align: -1px; animation: blink 1s steps(1) infinite; }
.dp-pointer { position: absolute; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 16px solid #111; transform: rotate(-30deg); left: 60%; top: 30%; animation: drift 5s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes drift { 50% { left: 35%; top: 50%; } }
.desk-kb { position: absolute; left: 8%; bottom: 34px; width: 62%; height: 84px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); padding: 10px; }
.keys { height: 100%; border-radius: 6px; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(var(--line) 1px, transparent 1px); background-size: 7.6% 33.4%; opacity: .9; }
.desk-mouse { position: absolute; right: 12%; bottom: 40px; width: 46px; height: 72px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--line); }
.desk-mouse::after { content: ""; position: absolute; left: 50%; top: 10px; width: 2px; height: 14px; background: var(--line); transform: translateX(-50%); }

/* Table */
.table-wrap { max-width: 760px; margin: 32px auto 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.keys-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.keys-table th, .keys-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.keys-table th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; background: var(--bg2); }
.keys-table tr:last-child td { border-bottom: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps h3 { margin: 14px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }

/* Download */
.dl { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 48px 24px; background-image: radial-gradient(600px 200px at 50% 0%, rgba(59,130,246,.16), transparent 70%); }
.dl > img { margin: 0 auto 18px; }
.dl .sub { margin-bottom: 28px; }
.dl-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.dl-card { display: flex; flex-direction: column; gap: 4px; min-width: 260px; max-width: 340px; flex: 1; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); text-decoration: none; text-align: left; transition: transform .15s, border-color .15s; }
.dl-card span { color: var(--muted); font-size: 14px; }
.dl-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.dl-card.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.dl-card.primary span { color: rgba(255,255,255,.85); }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-top: 10px; padding: 0 20px; }
details[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: var(--muted); }
#faq h2 { margin-bottom: 28px; }

/* Coffee */
.coffee { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(120deg, color-mix(in srgb, var(--coffee) 12%, var(--panel)), var(--panel)); }
.coffee h2 { text-align: left; margin-bottom: 6px; font-size: 28px; }
.coffee p { margin: 0; color: var(--muted); max-width: 36em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .ps-cursor, .dp-pointer, .caret { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin: 10px 8px 30px; }
  .shot { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 44px; }
  .section { padding: 64px 0; }
  .phone { width: 34%; right: -4px; bottom: -20px; border-radius: 18px; padding: 5px; }
  .phone-screen { border-radius: 14px; padding: 7px; }
  .ps-clock { font-size: 22px; margin-top: 8px; }
  .ps-grid { gap: 5px; margin-top: 14px; }
  .ps-grid i { border-radius: 5px; }
  .cta .btn { width: 100%; justify-content: center; }
  .keys-table th, .keys-table td { padding: 11px 12px; font-size: 14px; }
  .coffee { padding: 28px 22px; }
  .dl-card { min-width: 0; }
  .desk { height: 340px; }
}
