:root {
  --bg: #0d0d0f;
  --bg-2: #141418;
  --line: #24242a;
  --ink: #f2efe6;
  --soft: #9fb6d6;
  --grey: #8a8a90;      /* brand grey #6e6e73, lifted a touch for readable text */
  --grey-dim: #6e6e73;
  --green: #2b7d4f;
  --green-hi: #36a064;
  --blue: #1f4f8a;
  --radius: 14px;
  --head: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--soft); }
b { color: var(--ink); font-weight: 600; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to bottom, rgba(31, 79, 138, 0.10), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font: 600 14px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 800; letter-spacing: -0.02em; }
.pitch {
  margin: 18px 0 32px;
  max-width: 34ch;
  font-size: clamp(18px, 2vw, 21px);
  color: #d6d3ca;
}
.hero-art img {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: 22%;
}

/* ---------- Download buttons ---------- */
.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 560px;
}
.dl {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 64px;
  padding: 18px 20px;
  border: 1px solid #34343c;
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.dl:hover { border-color: var(--soft); transform: translateY(-1px); }
.dl:focus-visible { outline: 3px solid var(--soft); outline-offset: 3px; }
.dl-label { font: 700 18px/1.25 var(--head); }
.dl-sub { font-size: 14px; color: var(--grey); }
.dl-meta { font-size: 13px; color: var(--grey-dim); min-height: 1.3em; font-variant-numeric: tabular-nums; }

.dl.is-mine {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(43, 125, 79, 0.35);
}
.dl.is-mine:hover { background: var(--green-hi); border-color: var(--green-hi); }
.dl.is-mine .dl-sub { color: #dcefe2; }
.dl.is-mine .dl-meta { color: #b9dcc6; }

.hint { margin: 14px 0 0; font-size: 14px; color: var(--grey); min-height: 1.4em; }
.hint a { color: var(--soft); }

/* ---------- Sections ---------- */
main section { padding: 80px 0 8px; }
h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 32px;
}

/* Features: a plain list on hairlines, no icon tiles */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  counter-reset: f;
}
.feature-list li {
  counter-increment: f;
  padding: 26px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: counter(f, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font: 700 13px/1 var(--head);
  color: var(--soft);
  letter-spacing: 0.06em;
}
.feature-list h3 { font-size: 20px; font-weight: 700; }
.feature-list p { margin: 8px 0 0; color: #bdbab2; max-width: 36ch; }
.feature-list li.feature-big::before { color: #5fd08f; }

/* Install steps */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.steps {
  padding: 28px 30px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps.is-mine { border-color: #3a5f8f; }
.steps h3 { font-size: 22px; margin-bottom: 18px; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 16px 44px;
  color: #d0cdc5;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  font: 700 14px/28px var(--head);
  text-align: center;
}
.first-time {
  display: table;
  margin: 2px 0 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(159, 182, 214, 0.14);
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}
.after { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--grey); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { margin-top: 88px; padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--grey); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; }
.footer p { margin: 0; }
.footer .small { max-width: 60ch; }

/* ---------- Phone / tablet ---------- */
@media (max-width: 900px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 180px; margin: 0; }
  .downloads { grid-template-columns: 1fr; }
  main section { padding-top: 56px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li { padding-right: 0; }
  .steps { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl { transition: none; }
  .dl:hover { transform: none; }
}
