:root {
  --bg: #10151c;
  --panel: #1b2530;
  --accent: #42d9eb;
  --accent2: #ff8a38;
  --text: #f2f6f8;
  --muted: #91a4b3;
  --line: rgba(101, 127, 152, 0.35);
  --spine: 11.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

.shell {
  display: grid;
  grid-template-columns: var(--spine) minmax(0, 1fr);
  min-height: 100vh;
}

.spine {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
  background: #0c1016;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.spine__brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text);
  text-decoration: none;
}

.spine__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spine__nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

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

main { padding: 2.5rem 2rem 4rem; max-width: 920px; }

.hero--editorial {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero__kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__line2 {
  margin: 0.6rem 0 1.25rem;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: var(--accent);
  font-family: ui-monospace, Menlo, monospace;
}

.hero__tag {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.band { padding: 3rem 0; border-bottom: 1px solid var(--line); }

.intro--centered {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 28rem;
}

.intro h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.steps__n {
  font-family: ui-monospace, Menlo, monospace;
  color: var(--accent2);
  font-weight: 700;
  font-size: 1.1rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.polaroids {
  position: relative;
  min-height: 28rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
}

.polaroid {
  margin: 0;
  width: min(210px, 42vw);
  background: #e8eef2;
  color: #15202a;
  padding: 0.55rem 0.55rem 1.6rem;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: #10151c;
}

.polaroid figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.78rem;
  font-family: ui-monospace, Menlo, monospace;
}

.polaroid--a { transform: rotate(-6deg) translateY(8px); }
.polaroid--b { transform: rotate(2deg) translateY(-12px); z-index: 2; }
.polaroid--c { transform: rotate(7deg) translateY(14px); }

.legal-band {
  display: grid;
  gap: 1.5rem;
}

.legal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
}

.legal h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.legal__summary {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.expand {
  appearance: none;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.expand:hover { background: rgba(66, 217, 235, 0.1); }

.legal__more {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal__more[hidden] { display: none; }

.foot {
  padding-top: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .spine {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 20;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .spine__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
  }
  main { padding: 1.5rem 1.1rem 3rem; }
  .polaroids { min-height: 0; }
  .polaroid--a,
  .polaroid--b,
  .polaroid--c { transform: none; }
}
