:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --panel-2: #161616;
  --line: #242424;
  --ink: #f3f3f1;
  --soft: #a6a6a2;
  --muted: #6f6f6b;
  --gold: #e8b54a;
  --gold-ink: #1a1202;
  --work: #f0883e;
  --ready: #22c55e;
  --wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --frame: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: normal; color: var(--gold); }
code { font-family: var(--mono); font-size: 0.92em; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  height: 56px; padding: 0 0 0 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 15px/1 var(--wide); font-stretch: 125%; letter-spacing: 0; text-transform: none; }
.brand img { border-radius: 6px; }
.links { display: flex; gap: 24px; margin-left: 12px; }
.links a { color: var(--soft); text-decoration: none; transition: color .15s; }
.links a:hover { color: var(--ink); }
.top-buy {
  margin-left: auto; height: 100%; display: flex; align-items: center; padding: 0 24px;
  background: var(--gold); color: var(--gold-ink); text-decoration: none; transition: background .15s;
}
.top-buy:hover { background: #f2c766; }

/* ---------- the ruled frame ---------- */
.frame {
  max-width: var(--frame); margin: 0 auto;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.bar {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 28px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 400 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.frame > .bar:first-child { border-top: 0; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 72px 28px 64px; }
.appicon { margin: 0 auto 18px; width: 112px; height: 112px; filter: drop-shadow(0 18px 40px rgba(232, 181, 74, 0.18)); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.name { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font: 700 22px/1 var(--wide); font-stretch: 125%; }
.kind { margin: -14px 0 22px; font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.ver { font: 500 11px/1 var(--mono); padding: 4px 6px; background: var(--gold); color: var(--gold-ink); }
h1, h2, .h2 {
  font-family: var(--wide); font-stretch: 125%; font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.02; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.6rem); max-width: 15ch; margin: 0 auto; }
.sub { max-width: 640px; margin: 26px auto 34px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: var(--gold-ink); border: 1px solid var(--gold); }
.btn.gold:hover { background: #f2c766; }
.btn.line { border: 1px solid #3a3a3a; color: var(--ink); }
.btn.line:hover { border-color: var(--ink); }
.btn.block { width: 100%; }
.meta { margin: 22px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.meta.soft { margin-top: 8px; color: var(--muted); }

/* ---------- screenshots ---------- */
.shot { margin: 0; background: var(--panel); }
.shot img { width: 100%; }
.shot.first .bar { border-bottom: 1px solid var(--line); }
.screens .pair { display: grid; grid-template-columns: 1fr 1fr; }
.screens .pair .shot + .shot { border-left: 1px solid var(--line); }
.screens figcaption.bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- what it does ---------- */
.what h2, .how h2, .faq h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); padding: 80px 28px 64px; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cell { position: relative; padding: 40px 28px 44px; border-bottom: 1px solid var(--line); transition: background .2s; }
.cell:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.cell:hover { background: var(--panel); }
.cell .n { position: absolute; top: 18px; right: 22px; font: 400 12px/1 var(--mono); color: var(--muted); }
.cell h3 { margin: 18px 0 10px; font: 700 20px/1.2 var(--wide); font-stretch: 125%; letter-spacing: -0.01em; }
.cell p { margin: 0; color: var(--soft); }
.cells .cell:nth-last-child(-n+3) { border-bottom: 0; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 28px 44px; }
.step + .step { border-left: 1px solid var(--line); }
.step h3 { margin: 26px 0 8px; font: 700 20px/1.2 var(--wide); font-stretch: 125%; }
.step p { margin: 0; color: var(--soft); }
.mini {
  height: 190px; padding: 18px; background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  font: 500 13.5px/1.2 var(--text);
}
.m-side { display: flex; flex-direction: column; gap: 6px; }
.m-side b { font: 400 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.m-proj { padding: 9px 12px; color: var(--soft); background: var(--panel-2); }
.m-proj.on { color: var(--ink); background: #1f1f1f; box-shadow: inset 3px 0 0 var(--gold); }
.m-tabs { display: flex; gap: 8px; }
.m-btn { padding: 7px 12px; background: var(--panel-2); color: var(--soft); font-size: 13px; }
.m-btn.gold { background: var(--gold); color: var(--gold-ink); }
.m-pane { display: flex; align-items: center; gap: 9px; padding: 11px 12px; background: var(--panel-2); }
.m-time { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.m-note { display: flex; gap: 12px; align-items: center; padding: 14px; background: #222; border-radius: 12px; }
.m-note img { border-radius: 6px; }
.m-note b { display: block; font-size: 13px; }
.m-note span { color: var(--soft); font-weight: 400; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.work { background: var(--work); animation: pulse 1.4s ease-in-out infinite; }
.dot.ready { background: var(--ready); }

/* ---------- get ---------- */
.opt { display: grid; grid-template-columns: 1fr 360px; border-bottom: 1px solid var(--line); }
.opt-text { padding: 48px 28px; }
.opt-side { padding: 48px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--panel); }
.tag { margin: 0; font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.tag.soft { color: var(--muted); }
.opt-side .tag:first-child { color: var(--muted); }
.opt h2, .opt .h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); margin: 16px 0 16px; }
.opt-text > p { max-width: 560px; color: var(--soft); margin: 0; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 22px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.ticks li::before { content: "✓"; color: var(--gold); margin-right: 8px; }
.opt.one { grid-template-columns: 1fr; }
.small-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.opt.one .cmd { margin-top: 26px; max-width: 640px; }
.cmd { display: flex; align-items: stretch; border: 1px solid #3a3a3a; background: var(--bg); }
.cmd code { flex: 1; min-width: 0; padding: 16px 18px; font-size: 14px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.copy { border: 0; border-left: 1px solid #3a3a3a; background: transparent; color: var(--gold); padding: 0 16px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.copy:hover { background: #1b1b1b; }
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.plan { padding: 48px 28px; display: flex; flex-direction: column; gap: 16px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.pro { background: var(--panel); box-shadow: inset 0 3px 0 var(--gold); }
.plan .h2 { margin: 0; }
.plan .ticks.col { flex-direction: column; flex-wrap: nowrap; margin: 4px 0 8px; flex: 1; }
.plan .btn { align-self: flex-start; }
.price { margin: 0; font: 800 56px/1 var(--wide); font-stretch: 125%; letter-spacing: -0.03em; }
.price span { font: 400 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-left: 6px; }

/* ---------- faq ---------- */
.qa { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 24px 28px; font: 700 19px/1.3 var(--wide); font-stretch: 125%; display: flex; justify-content: space-between; gap: 16px; transition: background .15s; }
summary:hover { background: var(--panel); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-family: var(--mono); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 28px 26px; max-width: 720px; color: var(--soft); }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; isolation: isolate; padding: 80px 28px 28px; border-top: 1px solid var(--line); }
.foot-mark { position: absolute; z-index: -1; right: -7%; top: 50%; transform: translateY(-50%) rotate(-8deg); width: min(42vw, 540px); height: auto; color: #fff; opacity: .055; pointer-events: none; }
.foot-get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 44px; }
.foot-or { color: var(--muted); font-size: 15px; }
.foot-cmd { margin-top: 18px; max-width: 640px; }
.foot-dollar { align-self: center; padding-left: 18px; font: 400 14px/1 var(--mono); color: var(--muted); }
.foot-cmd code { padding-left: 10px; }
.foot-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.foot-note code { color: var(--soft); }
.foot-word { margin: 0; font: 800 min(12.5vw, 9.5rem)/0.9 var(--wide); font-stretch: 125%; letter-spacing: -0.04em; color: var(--gold); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-row a { text-decoration: none; color: var(--soft); }
.foot-row a:hover { color: var(--ink); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .35; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .links { display: none; }
  .cells { grid-template-columns: 1fr 1fr; }
  .cell:not(:nth-child(3n)) { border-right: 0; }
  .cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .cells .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .opt { grid-template-columns: 1fr; }
  .opt-side { border-left: 0; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .top { gap: 12px; padding-left: 16px; }
  .top-buy { padding: 0 16px; }
  .bar { padding: 12px 16px; }
  .hide-s { display: none; }
  .hero { padding: 48px 16px 48px; }
  .actions { flex-direction: column; align-items: stretch; }
  .cells { grid-template-columns: 1fr; }
  .cell:nth-child(odd) { border-right: 0; }
  .what h2, .how h2, .faq h2 { padding: 56px 16px 40px; }
  .cell, .step, .opt-text, .opt-side, .plan { padding-left: 16px; padding-right: 16px; }
  .screens .pair { grid-template-columns: 1fr; }
  .screens .pair .shot + .shot { border-left: 0; }
  summary { padding: 20px 16px; font-size: 17px; }
  details p { padding: 0 16px 22px; }
  .foot { padding: 56px 16px 24px; }
  .cmd code { font-size: 11.5px; }
}
