:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f2f5;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.09);
  --accent: #f0735a;
  --accent-ink: #ffffff;
  --sky: #9fd0ef;
  --hill: #6f8f5f;
  --panel: rgba(246, 246, 248, 0.86);
  --shadow: 0 30px 60px -20px rgba(20, 20, 40, 0.28), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f12;
    --bg-alt: #17171b;
    --surface: #1c1c21;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --panel: rgba(40, 40, 46, 0.86);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn small { font-weight: 500; opacity: 0.85; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-icon { width: 88px; height: 88px; margin-bottom: 18px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; margin: 0 0 10px; }
h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 20px; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 30px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Desktop + panel mockup */
.scene {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, #ffd9c9 0%, transparent 55%),
    radial-gradient(120% 90% at 90% 90%, #c6e2f5 0%, transparent 60%),
    linear-gradient(160deg, #f7e7f0, #dfe9f7);
  box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) {
  .scene {
    background:
      radial-gradient(120% 90% at 20% 10%, #5a3a46 0%, transparent 55%),
      radial-gradient(120% 90% at 90% 90%, #234257 0%, transparent 60%),
      linear-gradient(160deg, #2a2230, #1b2433);
  }
}
.menubar {
  height: 28px; display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  padding: 0 14px; font-size: 12.5px; font-weight: 500;
  background: rgba(255, 255, 255, 0.45); color: #1d1d1f;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (prefers-color-scheme: dark) { .menubar { background: rgba(0, 0, 0, 0.35); color: #f5f5f7; } }
.menubar .item { display: inline-flex; align-items: center; }
.menubar .active { background: rgba(0, 0, 0, 0.12); border-radius: 5px; padding: 2px 6px; }
@media (prefers-color-scheme: dark) { .menubar .active { background: rgba(255, 255, 255, 0.18); } }

.panel {
  position: absolute; top: 36px; right: 22px; width: min(280px, 64%);
  background: var(--panel); color: var(--text);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: 14px; padding: 12px; box-shadow: var(--shadow);
  font-size: 12px;
}
.thumb {
  aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; position: relative;
  background: linear-gradient(var(--sky), #d7ecf8 62%, var(--hill) 62%);
  border: 1px solid var(--line);
}
.thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 40% at 30% 100%, #86a575 0%, transparent 70%);
}
.thumb .win {
  position: absolute; left: 14%; top: 16%; width: 52%; height: 50%;
  background: #fff; border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.thumb .win::before {
  content: ""; position: absolute; left: 7px; top: 6px; width: 22px; height: 6px;
  background: radial-gradient(circle, #ff6159 2.5px, transparent 3px) 0 0 / 8px 6px repeat-x;
}
.thumb .win::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 34%; height: 5px; border-radius: 3px;
  background: #e5e5ea; box-shadow: 0 10px 0 #e5e5ea, 0 20px 0 #eeeef2;
}
.fname { margin: 8px 0 2px; }
.more { color: var(--muted); font-size: 11px; margin: 0 0 6px; }
.tools { display: flex; gap: 4px; }
.tool {
  width: 34px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: var(--text);
}
.tool.hot { background: rgba(0, 0, 0, 0.08); }
@media (prefers-color-scheme: dark) { .tool.hot { background: rgba(255, 255, 255, 0.12); } }
.tool svg { width: 17px; height: 17px; }
.divider { height: 1px; background: var(--line); margin: 8px 0; }
.foot { display: flex; justify-content: space-between; color: var(--accent); font-size: 11px; }

.toast {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 13px;
}
.toast b { font-weight: 600; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 14px; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 36em; margin: 0 0 44px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; margin-bottom: 14px;
}
.step h3, .feature h3 { margin: 0 0 6px; font-size: 19px; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.feature .ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.feature .ico svg { width: 21px; height: 21px; }

/* Shortcuts */
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; max-width: 760px; }
.keyrow { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
kbd {
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  display: inline-block; min-width: 30px; text-align: center; padding: 7px 9px; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1.5px 0 var(--line);
}

/* Pricing */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px 34px;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.3);
}
.price-card img { width: 72px; height: 72px; }
.price { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 0; }
.price-note { color: var(--muted); margin: 0 0 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; display: inline-block; }
.price-card li { padding: 5px 0 5px 28px; position: relative; }
.price-card li::before {
  content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 7px;
  border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg);
}
.price-card .cta { justify-content: center; flex-direction: column; }
.price-card .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; padding: 64px 24px 80px; margin: 0 auto; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-size: 14px; }

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps, .features { grid-template-columns: 1fr; }
  .keys { grid-template-columns: 1fr; }
  .top nav a:not(.nav-buy) { display: none; }
  /* Let the panel set the scene's height instead of overflowing a fixed ratio. */
  .scene { aspect-ratio: auto; padding-bottom: 72px; }
  .panel { position: relative; top: auto; right: auto; margin: 10px 14px 0 auto; width: min(300px, 82%); }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .toast { left: 12px; bottom: 12px; }
}
