:root {
  --bg: #1c1e21;        /* page */
  --panel: #25282c;     /* cards, bands */
  --panel-2: #2d3035;   /* inputs, code */
  --line: #3a3e44;
  --text: #ecedee;
  --muted: #9ba1a8;
  --accent: #f5c400;
  --accent-ink: #15171a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.01em; }
.mark:hover { color: var(--text); }
nav a { margin-left: 24px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--text); }

/* hero */
.hero { padding: 88px 0 72px; }
.status { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; background: var(--accent); display: inline-block; }
h1 { font-size: clamp(34px, 5.8vw, 60px); line-height: 1.05; font-weight: 800; max-width: 17ch; letter-spacing: -0.02em; }
.lede { margin-top: 24px; max-width: 58ch; color: var(--muted); font-size: 19px; }

.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 16px; border: 2px solid var(--accent); }
.btn:hover { background: #ffd526; border-color: #ffd526; color: var(--accent-ink); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--panel-2); border-color: var(--muted); color: var(--text); }

/* sections */
section { padding: 64px 0; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 30px; font-weight: 800; margin-bottom: 26px; letter-spacing: -0.01em; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--bg); }
.steps li { counter-increment: s; padding: 24px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(s); display: inline-block; font-weight: 800; font-size: 20px; color: var(--accent-ink); background: var(--accent); line-height: 1; padding: 6px 11px; margin-bottom: 16px; }
.steps b { display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

.synced { margin-top: 34px; width: 100%; border-collapse: collapse; background: var(--bg); font-size: 15px; }
.synced caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.synced td { border: 1px solid var(--line); padding: 11px 14px; color: var(--text); }

/* pricing */
.tiers { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--panel); }
.tiers-4 { grid-template-columns: repeat(4, 1fr); }
.tier { padding: 26px; border-top: 4px solid transparent; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier-main { border-top-color: var(--accent); background: var(--panel-2); }
.tier h3 { font-size: 15px; font-weight: 600; color: var(--muted); }
.price { font-size: 40px; font-weight: 800; margin: 6px 0 16px; letter-spacing: -0.02em; }
.price span { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tier ul { list-style: none; }
.tier li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.tier-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* faq */
.faq details { border-top: 1px solid var(--line); background: var(--bg); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 17px 18px; font-weight: 600; list-style: none; }
.faq summary:hover { background: var(--panel-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

footer { padding: 36px 0 52px; font-size: 13px; color: var(--muted); }
footer p + p { margin-top: 6px; }

/* guide / account pages */
.guide > * { max-width: 760px; }
.guide h1 { font-size: clamp(30px, 4.6vw, 44px); max-width: none; }
.guide .lede { margin-bottom: 36px; }
.guide h2 { font-size: 22px; margin: 40px 0 12px; }
.guide ol, .guide ul { padding-left: 22px; }
.guide li { margin: 8px 0; }
.guide code { background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; font-size: 15px; }
.guide .path { display: block; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 12px 14px; margin: 10px 0; font-family: Consolas, monospace; font-size: 15px; overflow-wrap: anywhere; }
.guide .warn { border-left: 4px solid var(--accent); background: var(--panel); padding: 14px 16px; margin: 18px 0; }

@media (max-width: 860px) {
  .tiers-4 { grid-template-columns: 1fr 1fr; }
  .tiers-4 .tier:nth-child(3) { border-left: 0; }
  .tiers-4 .tier:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiers-4 .tier-main:nth-child(n+3) { border-top: 4px solid var(--accent); }
}

@media (max-width: 720px) {
  nav a { margin-left: 14px; }
  .hero { padding: 52px 0 44px; }
  section { padding: 48px 0; }
  .steps, .tiers, .tiers-4 { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .tier + .tier, .tiers-4 .tier:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .tiers-4 .tier:first-child { border-top: 4px solid transparent; }
  .tier-main, .tiers-4 .tier-main:nth-child(n) { border-top: 4px solid var(--accent); }
  .synced td { display: block; border-top: 0; }
  .synced tr:first-child td:first-child { border-top: 1px solid var(--line); }
}

@media (max-width: 420px) {
  nav a { margin-left: 10px; font-size: 14px; }
}
