/* Spinet — the app's own palette: near-black, white text, one orange. */
:root {
  --bg: #0b0b0d;
  --panel: #141418;
  --panel-2: #1b1b20;
  --line: #26262d;
  --text: #ffffff;
  --muted: #a6a6b0;
  --accent: #ff8510;
  --accent-soft: rgba(255, 133, 16, 0.14);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .12em .4em;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px;
  background: var(--accent); color: #000;
  padding: 10px 14px; border-radius: 10px; z-index: 10;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; text-decoration: none;
}
.brand img { border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.nav nav a.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}
.nav nav a.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- layout ---------- */
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
}
.section-lede {
  color: var(--muted);
  max-width: 62ch;
  margin-top: -.4em;
  margin-bottom: 2.2em;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 133, 16, 0.3);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.lede { color: var(--muted); font-size: 1.12rem; max-width: 48ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.sub { color: var(--muted); font-size: .9rem; margin: 0; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(100%, 420px); height: auto;
  filter: drop-shadow(0 30px 60px rgba(255, 133, 16, 0.18));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); border-color: #3a3a44; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #140a00; }
.btn.primary:hover { background: #ff9833; border-color: #ff9833; }

/* ---------- strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 40px;
}
.strip h3 { margin-bottom: .3em; }
.strip p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.grid p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- download ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.card .btn { width: 100%; }
.card .meta { color: var(--accent); font-size: .9rem; font-weight: 600; margin: 0; }
.fineprint { color: var(--muted); font-size: .86rem; margin: 6px 0 0; }
.verify {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 26px;
  max-width: 70ch;
}
.verify strong { color: var(--text); font-weight: 600; }
.verify a { color: var(--accent); text-decoration: none; }
.verify a:hover { text-decoration: underline; }

/* ---------- server ---------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  color: var(--muted);
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(255, 133, 16, 0.12), transparent 70%),
    var(--panel);
}
.video-placeholder svg { color: var(--accent); }
.video-placeholder p { margin: 0; }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.steps li {
  counter-increment: step;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700; font-size: .9rem;
  margin-bottom: 12px;
}
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}
details[open] { border-color: #33333c; }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: .97rem; }

/* ---------- closing ---------- */
.closing {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(255, 133, 16, 0.1), transparent 70%);
  border-top: 1px solid var(--line);
  max-width: none;
}
.closing p { color: var(--muted); }
.closing .cta { justify-content: center; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: #08080a;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.foot-grid h4 { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.foot-grid a { display: block; color: var(--muted); text-decoration: none; font-size: .95rem; padding: 3px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
.foot-grid img { border-radius: 7px; }

/* ---------- narrow ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; }
  .hero-art img { width: min(62%, 260px); }
  .strip { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav nav a:not(.ghost) { display: none; }
  section { padding: 60px 20px; }
}
