/* ==========================================================================
   WinMacro — site styles
   ========================================================================== */

:root {
  --ink:        #0e1420;
  --ink-2:      #364152;
  --muted:      #5f6b7c;
  --faint:      #8b95a3;

  --bg:         #ffffff;
  --surface:    #f6f8fa;
  --surface-2:  #eef1f5;
  --line:       #e0e5eb;
  --line-soft:  #edf0f4;

  --accent:     #1b5fd0;
  --accent-ink: #17509f;
  --accent-bg:  #eef3fd;
  --rec:        #d4342a;

  --radius:     10px;
  --radius-lg:  14px;

  --shadow-sm:  0 1px 2px rgba(14,20,32,.06), 0 1px 1px rgba(14,20,32,.04);
  --shadow-md:  0 2px 4px rgba(14,20,32,.04), 0 8px 24px rgba(14,20,32,.07);
  --shadow-lg:  0 24px 60px rgba(14,20,32,.13), 0 4px 12px rgba(14,20,32,.06);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #eef2f7;
    --ink-2:      #c2cbd6;
    --muted:      #97a3b2;
    --faint:      #78838f;

    --bg:         #0d1117;
    --surface:    #131a23;
    --surface-2:  #1a222d;
    --line:       #232c38;
    --line-soft:  #1c242f;

    --accent:     #5b9bff;
    --accent-ink: #86b5ff;
    --accent-bg:  #14213a;

    --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
    --shadow-md:  0 2px 4px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --shadow-lg:  0 24px 60px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.4);
  }
}

/* ── Base ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 640;
  color: var(--ink);
}
p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: .08em .34em;
  color: var(--ink-2);
}

kbd {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: .28em .42em;
  display: inline-block;
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: .6rem 1rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 780px; }

/* ── Icons ────────────────────────────────────────────── */

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .fill { fill: currentColor; stroke: none; }

/* ── Buttons ──────────────────────────────────────────── */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: inherit;
  font-weight: 560;
  letter-spacing: -0.008em;
  padding: .62rem 1.05rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease,
              box-shadow .16s ease, transform .12s ease, color .16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-lg { padding: .82rem 1.5rem; font-size: 1.0125rem; border-radius: 9px; }
.btn-sm { padding: .44rem .9rem; font-size: .925rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-ink); box-shadow: var(--shadow-md); }
@media (prefers-color-scheme: dark) {
  .btn-primary { color: #08101d; }
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--faint); }

.btn-invert {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-invert:hover { background: var(--surface); }

/* ── Header ───────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 62px;
}

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 27px; height: 27px; flex: none; }
.brand-mark rect { fill: none; stroke: var(--ink); stroke-width: 2; }
.brand-mark .dot  { fill: var(--rec); }
.brand-mark .tri  { fill: var(--ink); }
.brand-name { font-weight: 660; font-size: 1.075rem; letter-spacing: -0.025em; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav > a {
  color: var(--muted);
  font-size: .945rem;
  font-weight: 500;
}
.nav > a:hover { color: var(--ink); text-decoration: none; }
.nav > a.nav-cta,
.nav > a.nav-cta:hover { color: #fff; }
@media (prefers-color-scheme: dark) {
  .nav > a.nav-cta,
  .nav > a.nav-cta:hover { color: #08101d; }
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem 24px 1.1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: .72rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-cta { margin-top: .9rem; border-bottom: 0; justify-content: center; }
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: "";
  position: absolute; inset: -40% -20% auto -20%; height: 640px;
  background:
    radial-gradient(60% 60% at 22% 30%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    radial-gradient(50% 50% at 78% 18%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .87rem; color: var(--muted); font-weight: 500;
  margin-bottom: 1.15rem;
}
.tag {
  background: var(--accent-bg);
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-weight: 620; font-size: .8rem;
  padding: .16rem .5rem; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.6rem);
  letter-spacing: -0.035em;
  font-weight: 680;
  margin-bottom: 1.1rem;
}

.lede {
  font-size: 1.115rem;
  color: var(--muted);
  max-width: 30em;
  line-height: 1.62;
}

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-meta {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .5rem 1.9rem;
  margin: 2.1rem 0 0; padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  font-size: .915rem; color: var(--muted);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* ── Hero visual: app window mock ─────────────────────── */

.hero-visual { position: relative; }

.win {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg);
}

.win-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .52rem .8rem;
  background: linear-gradient(var(--surface), var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.win-title {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.win-ico { width: 15px; height: 15px; fill: none; stroke: var(--ink-2); stroke-width: 2; }
.win-ico circle { fill: var(--rec); stroke: none; }
.win-ico path { fill: var(--ink-2); stroke: none; }

.win-controls { display: flex; gap: 7px; }
.win-controls i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--line); display: block;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.win-controls i.x { background: #e5544b; border-color: #cf4941; }

.win-body { padding: 16px; background: var(--bg); }

.toolbar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
}
.tb {
  width: 38px; height: 34px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
  cursor: default; padding: 0;
}
.tb-sep { width: 1px; height: 22px; background: var(--line); margin: 0 3px; }

.glyph-rec  { width: 11px; height: 11px; border-radius: 50%; background: var(--rec); display: block; }
.glyph-play { width: 0; height: 0; border-left: 11px solid var(--ink-2); border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; display: block; }
.glyph-open { width: 14px; height: 11px; border: 1.6px solid var(--ink-2); border-radius: 2px 3px 3px 3px; border-top-width: 4px; display: block; }
.glyph-save { width: 13px; height: 13px; border: 1.6px solid var(--ink-2); border-radius: 2px; display: block; position: relative; }
.glyph-save::after { content: ""; position: absolute; top: 0; left: 2.5px; right: 2.5px; height: 4px; background: var(--ink-2); }
.glyph-exe  { width: 12px; height: 14px; border: 1.6px solid var(--ink-2); border-radius: 2px; display: block; position: relative; }
.glyph-exe::after { content: ""; position: absolute; bottom: 1.5px; left: 1.5px; right: 1.5px; height: 1.6px; background: var(--ink-2); box-shadow: 0 -3.4px 0 var(--ink-2); }
.glyph-gear { width: 13px; height: 13px; border: 1.6px solid var(--ink-2); border-radius: 50%; display: block; position: relative; }
.glyph-gear::after { content: ""; position: absolute; inset: 3px; border: 1.6px solid var(--ink-2); border-radius: 50%; }

.status {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 12px; padding: 9px 11px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: .795rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rec); flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--rec) 45%, transparent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.float-card {
  position: absolute;
  right: -14px; bottom: -52px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow-lg);
  padding: .75rem .9rem;
  display: grid; gap: .45rem;
}
.fc-row { display: flex; align-items: center; gap: .3rem; }
.fc-key {
  font-size: .74rem; color: var(--muted); font-weight: 600;
  width: 46px; letter-spacing: .01em;
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .win { transform: none; }
  .float-card { right: 8px; bottom: -46px; }
  .lede { max-width: none; }
}
@media (max-width: 520px) {
  .float-card { display: none; }
  .hero-meta { gap: .35rem 1.2rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

/* ── Trust strip ──────────────────────────────────────── */

.strip { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px 34px; padding-block: 34px;
}
.strip-item { display: flex; gap: .7rem; align-items: flex-start; }
.strip-item .icon { color: var(--accent); margin-top: 2px; }
.strip-item strong { display: block; font-size: .93rem; font-weight: 600; letter-spacing: -0.012em; }
.strip-item span   { display: block; font-size: .865rem; color: var(--muted); line-height: 1.5; margin-top: 1px; }

@media (max-width: 900px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .strip-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ── Sections ─────────────────────────────────────────── */

.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.kicker {
  font-size: .765rem; font-weight: 680; letter-spacing: .085em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.section-head h2 { font-size: clamp(1.72rem, 3.4vw, 2.24rem); }
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.045rem; }

/* ── Feature cards ────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card .icon {
  width: 22px; height: 22px; color: var(--accent);
  margin-bottom: 1.05rem;
}
.card h3 { font-size: 1.055rem; margin-bottom: .5rem; letter-spacing: -0.017em; }
.card p  { color: var(--muted); font-size: .945rem; line-height: 1.62; }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ── Steps ────────────────────────────────────────────── */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: s;
}
.steps > li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
}
.step-n {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-bg);
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  font-size: .87rem; font-weight: 680;
  margin-bottom: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.055rem; margin-bottom: .5rem; }
.steps p  { color: var(--muted); font-size: .945rem; }
.steps kbd { font-size: .68rem; }

@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

.usecases {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 26px 28px 28px;
}
.usecases-title {
  font-size: .765rem; font-weight: 680; letter-spacing: .085em;
  text-transform: uppercase; color: var(--faint);
  margin-bottom: 1rem;
}
.usecases ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .55rem 2rem;
}
.usecases li {
  position: relative; padding-left: 1.35rem;
  font-size: .945rem; color: var(--ink-2);
}
.usecases li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}
@media (max-width: 900px) { .usecases ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usecases ul { grid-template-columns: 1fr; } }

/* ── Download panel ───────────────────────────────────── */

.dl-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg);
}
.dl-main {
  padding: 44px 42px;
  display: grid; align-content: center; justify-items: start;
}
.dl-main h2 { font-size: 1.86rem; margin-bottom: .6rem; }
.dl-main > p { color: var(--muted); margin-bottom: 1.7rem; }
.dl-note { font-size: .845rem; color: var(--faint); margin-top: 1.05rem; }
.dl-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.dl-specs {
  margin: 0;
  padding: 40px 42px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: grid; align-content: center; gap: 0;
}
.dl-specs > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.dl-specs > div:last-child { border-bottom: 0; }
.dl-specs dt { font-size: .875rem; color: var(--muted); }
.dl-specs dd {
  margin: 0; font-size: .89rem; font-weight: 600; color: var(--ink);
  text-align: right; font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
  .dl-panel { grid-template-columns: 1fr; }
  .dl-main { padding: 34px 26px; }
  .dl-specs { border-left: 0; border-top: 1px solid var(--line); padding: 24px 26px; }
}

/* ── FAQ ──────────────────────────────────────────────── */

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 22px;
  position: relative;
  font-weight: 560;
  font-size: 1rem;
  letter-spacing: -0.012em;
  transition: background-color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface); }

.faq summary::before,
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  background: var(--faint); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq summary::before { width: 11px; height: 1.6px; margin-top: -.8px; }
.faq summary::after  { width: 1.6px; height: 11px; margin-top: -5.5px; right: 26.7px; }
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] summary { background: var(--surface); }

.faq-body {
  padding: 0 52px 20px 22px;
  color: var(--muted);
  font-size: .955rem;
  line-height: 1.65;
}
.faq-more { margin-top: 1.5rem; font-size: .93rem; color: var(--muted); text-align: center; }

/* ── Closer ───────────────────────────────────────────── */

.closer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  .closer { background: var(--surface-2); border-block: 1px solid var(--line); }
}
.closer-inner { display: grid; justify-items: center; gap: .85rem; }
.closer h2 {
  color: inherit;
  font-size: clamp(1.65rem, 3.6vw, 2.2rem);
}
.closer p { color: color-mix(in srgb, currentColor 68%, transparent); }
.closer .btn { margin-top: 1.1rem; }

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p {
  margin-top: .9rem;
  color: var(--muted);
  font-size: .9rem;
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: .58rem; }
.footer-col h4 {
  font-size: .765rem; font-weight: 680; letter-spacing: .085em;
  text-transform: uppercase; color: var(--faint);
  margin-bottom: .32rem;
}
.footer-col a { color: var(--muted); font-size: .915rem; }
.footer-col a:hover { color: var(--ink); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 22px 30px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem;
  font-size: .835rem; color: var(--faint);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ── Interior pages ───────────────────────────────────── */

.page-head {
  padding: 58px 0 40px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.page-head h1 { font-size: clamp(1.95rem, 4.4vw, 2.6rem); }
.page-head .lede { margin-top: .9rem; font-size: 1.06rem; max-width: 62ch; }

.crumb { font-size: .85rem; color: var(--faint); margin-bottom: .85rem; }
.crumb a { color: var(--muted); }

.prose { padding: 52px 0 84px; }
.prose h2 {
  font-size: 1.32rem; margin-top: 2.6rem; margin-bottom: .75rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.03rem; margin-top: 1.7rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--ink-2); font-size: .985rem; line-height: 1.7; }
.prose p { margin-bottom: .95rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .38rem; }
.prose li::marker { color: var(--faint); }
.prose .updated { font-size: .87rem; color: var(--faint); margin-bottom: 2rem; }

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 1.6rem 0;
}
.callout p { margin: 0; font-size: .93rem; }
.callout strong { color: var(--ink); }

/* ── Download page ────────────────────────────────────── */

.dl-hero { padding: 64px 0 40px; text-align: center; }
.dl-hero h1 { font-size: clamp(1.95rem, 4.4vw, 2.55rem); }
.dl-hero .lede { margin: 1rem auto 0; text-align: center; }
.dl-hero .btn { margin-top: 2rem; }
.dl-started {
  margin-top: 1.15rem; font-size: .9rem; color: var(--muted);
}

.infobox {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 22px 24px;
  text-align: left;
}
.infobox h3 { font-size: .95rem; margin-bottom: .55rem; }
.infobox p { font-size: .89rem; color: var(--muted); margin-bottom: .9rem; }

.req-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 40px; text-align: left;
}
.req-grid > div {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; background: var(--bg);
}
.req-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: .45rem; font-weight: 680; }
.req-grid p { font-size: .93rem; color: var(--ink-2); }
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr; } }

/* ── Changelog ────────────────────────────────────────── */

.releases { border-left: 2px solid var(--line); padding-left: 26px; margin-left: 4px; }
.release { position: relative; padding-bottom: 40px; }
.release:last-child { padding-bottom: 0; }
.release::before {
  content: ""; position: absolute; left: -33px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
}
.release.is-latest::before { border-color: var(--accent); background: var(--accent); }

.release-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .7rem; margin-bottom: .85rem; }
.release-ver { font-size: 1.12rem; font-weight: 660; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.release-date { font-size: .855rem; color: var(--faint); }
.pill {
  font-size: .72rem; font-weight: 640; letter-spacing: .02em;
  padding: .13rem .48rem; border-radius: 999px;
  background: var(--accent-bg); color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.release ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; }
.release li { position: relative; padding-left: 1.3rem; font-size: .95rem; color: var(--ink-2); }
.release li::before {
  content: ""; position: absolute; left: 1px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--faint);
}

/* ── Support / contact ────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); padding: 24px 26px 26px;
}
.panel h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.panel p { color: var(--muted); font-size: .94rem; }
.panel .icon { color: var(--accent); margin-bottom: .95rem; width: 21px; height: 21px; }

.contact-line {
  margin-top: .9rem; font-size: .95rem;
  font-weight: 560; color: var(--ink);
}

.toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 18px 22px; margin-bottom: 40px;
}
.toc h4 { font-size: .765rem; text-transform: uppercase; letter-spacing: .085em; color: var(--faint); margin-bottom: .7rem; font-weight: 680; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .38rem; }
.toc a { font-size: .93rem; }
