/* ============================================================
   DOPPELGANGER · landing page — compact
   White bg, system fonts, single column, consistent gutter.
   ============================================================ */

:root {
  --bg:      #ffffff;
  --ink:     #111111;
  --muted:   #6b7280;
  --line:    #e5e7eb;
  --accent:  #1f2937;
  --hover:   #f9fafb;

  --max-width: 720px;
  --gutter:    1.25rem;     /* horizontal padding, applied everywhere */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--accent); }

code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}
code {
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 3px;
}
pre {
  margin: 0.5rem 0 0;
  padding: 0.7rem 0.9rem;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
  font-size: 13px;
}
pre code { background: none; padding: 0; }

/* ============================================================
   SHARED CONTAINER
   ============================================================ */
.topbar,
main,
footer {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  font-size: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}
.nav {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.version {
  color: var(--muted);
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* ============================================================
   MAIN sections
   ============================================================ */
section { padding-block: 1.5rem; }
section + section,
.screenshot + section {
  border-top: 1px solid var(--line);
}

h1, h2, h3 { margin: 0 0 0.4rem; line-height: 1.25; }
h1 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
h3 {
  font-size: 0.95rem;
  font-weight: 600;
}
p { margin: 0 0 0.6rem; }

/* ============================================================
   HERO — compact
   ============================================================ */
.hero { padding-block: 0.5rem 1rem; }
.tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 56ch;
}

/* ============================================================
   SCREENSHOT
   ============================================================ */
.screenshot {
  width: 100%;
  max-width: var(--max-width);
  margin: 0.75rem auto 0;
  padding-inline: var(--gutter);
}
.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f5f7;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.platform {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.platform:hover {
  background: var(--hover);
  border-color: var(--ink);
}
.platform-name { font-weight: 600; font-size: 14px; }
.platform-arch { color: var(--muted); font-size: 12px; }
.platform-action {
  margin-top: 0.3rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
}

.note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.note strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   STEPS — compact, inline number prefix
   ============================================================ */
.steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li { margin-bottom: 0.85rem; }
.steps li:last-child { margin-bottom: 0; }
.steps h3 {
  margin: 0 0 0.15rem;
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
}
.steps h3 .num {
  color: var(--muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 0.92rem;
}
.steps em { font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 1.75rem;
  padding-block: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
