:root {
  --bg: #111113;
  --surface: #18181b;
  --surface-2: #202024;
  --surface-3: #2a2a2f;
  --line: #2c2c31;
  --text: #ececee;
  --muted: #a1a1a9;
  --faint: #6c6c74;
  --accent: #ff8a3d;
  --accent-soft: rgba(255, 138, 61, .12);
  --accent-ink: #1a1007;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface-2); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 550; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, opacity .15s;
}
.btn:hover { background: var(--surface-3); }
.btn:focus-visible, .drop-zone:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ff9b57; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.big { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 11px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 max(20px, calc((100% - var(--wrap)) / 2));
  background: rgba(17, 17, 19, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(44, 44, 49, .6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; text-decoration: none; }
.logo { width: 22px; height: 15px; border-radius: 4px; background: var(--accent); position: relative; }
.logo::after { content: ""; position: absolute; inset: 4px 5px; border-radius: 1.5px; background: var(--bg); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }

/* ---------- sections ---------- */
main > section { padding: 96px max(20px, calc((100% - var(--wrap)) / 2)); }
main > section + section { border-top: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.section-head .sub { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center;
  padding-top: 72px !important;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255, 138, 61, .10), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(80, 120, 255, .06), transparent 70%);
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { color: var(--muted); font-size: 19px; line-height: 1.55; margin-top: 24px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 9px; font-size: 16px; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; }
.hero-points li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23ff8a3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.hero-points li:last-child { color: var(--muted); }
.hero-points li:last-child::before { background: none; }

/* ---------- negative / positive toggle ---------- */
.compare { margin: 0; justify-self: center; width: 100%; max-width: 440px; display: grid; gap: 14px; justify-items: center; }
.compare-frame {
  position: relative; width: 100%; aspect-ratio: 999 / 1500; cursor: pointer;
  border-radius: 14px; overflow: hidden; background: #0b0b0c;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  transition: opacity .9s ease;
}
.compare .pos { opacity: 0; }
.compare[data-show="positive"] .pos { opacity: 1; }
.compare[data-show="positive"] .neg { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .compare img { transition: none; } }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.toggle button {
  border: 0; border-radius: 999px; padding: 7px 18px; cursor: pointer;
  background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s;
}
.toggle button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare figcaption { color: var(--faint); font-size: 13px; text-align: center; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 26px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.feature svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 18px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- how ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { position: relative; }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-family: var(--serif); font-size: 20px; font-weight: 600;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 760px; }
.plan-sub strong { color: var(--text); }
.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 138, 61, .08), var(--surface) 55%); }
.plan h3 { font-size: 16px; color: var(--muted); font-weight: 600; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.amount { font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1; }
.per { color: var(--muted); font-size: 15px; }
.plan-sub { color: var(--faint); font-size: 14px; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23ff8a3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.badge {
  position: absolute; top: -12px; right: 22px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700;
}

/* ---------- try ---------- */
.try { text-align: center; }
.try .section-head { margin-left: auto; margin-right: auto; }
.drop { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.drop-zone {
  width: 100%; display: grid; justify-items: center; gap: 8px;
  padding: 56px 24px; border-radius: 18px; cursor: pointer;
  background: var(--surface); border: 2px dashed var(--surface-3); color: var(--text); font: inherit;
  transition: border-color .15s, background .15s;
}
.drop-zone svg { width: 40px; height: 40px; color: var(--faint); margin-bottom: 8px; transition: color .15s; }
.drop-zone:hover, .drop-zone.over { border-color: var(--accent); background: var(--accent-soft); }
.drop-zone:hover svg, .drop-zone.over svg, .drop-zone.ready svg { color: var(--accent); }
.drop-zone.ready { border-style: solid; border-color: var(--accent); }
.drop-title { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.drop-sub { color: var(--muted); font-size: 14px; }
.drop .btn.primary { min-width: 200px; }
.drop-note { color: var(--muted); font-size: 14px; min-height: 1.6em; }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 36px max(20px, calc((100% - var(--wrap)) / 2));
  border-top: 1px solid var(--line); color: var(--faint); font-size: 14px;
}
.foot .brand { color: var(--text); }
.foot nav { margin-left: auto; display: flex; gap: 20px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--text); }

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  main > section { padding-top: 72px; padding-bottom: 72px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px !important; }
  .compare { max-width: 380px; }
  .feature-grid, .steps, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 440px; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; padding: 0 16px; }
  .nav .btn.ghost { display: none; }
  main > section { padding-left: 16px; padding-right: 16px; }
  .hero-cta .btn { width: 100%; }
}
