:root {
  --bg: #f1e9ff;
  --accent: #7928ff;
  --accent2: #00dfff;
  --accent3: #ff3eaf;
  --text: #101236;
  --muted: #5a5f8a;
  --canvas: #101236;
  --panel: #101236;
  --paper: #fffdf9;
  --shadow: 0 18px 40px rgba(16, 18, 54, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(121, 40, 255, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(0, 223, 255, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg), #ffffff 48%, #efe6ff);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent3); }

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

.split-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 20px;
  background: linear-gradient(180deg, #151742, var(--panel));
  color: #f7f3ff;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid rgba(0, 223, 255, 0.25);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-nav a {
  color: rgba(247, 243, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.panel-nav a:hover,
.panel-nav a:focus-visible {
  background: rgba(121, 40, 255, 0.28);
  border-left-color: var(--accent2);
  color: #fff;
}

.panel-note {
  margin-top: auto;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(247, 243, 255, 0.55);
}

main {
  padding: 36px 48px 64px;
  max-width: 980px;
}

.hero.editorial {
  padding: 24px 0 12px;
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--accent2) 55%, var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 22px 0 0;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 28rem;
}

.hero-rule {
  margin: 28px 0 14px;
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.hero-aside {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.72;
}

.atmosphere {
  margin: 36px 0 56px;
}

.atmosphere-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: block;
}

.atmosphere-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.atmosphere-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 18, 54, 0.12);
}

.intro-band {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 36px;
}

.intro-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.intro-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.step-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(121, 40, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.step-list h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.screens {
  margin: 64px 0 48px;
}

.screens-title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.polaroid-scatter {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.polaroid {
  margin: 0;
  background: var(--paper);
  padding: 12px 12px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.polaroid img {
  width: 100%;
  display: block;
  border-radius: 3px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #0d1028;
}

.polaroid figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.rot-a { transform: rotate(-4deg) translateY(18px); }
.rot-b { transform: rotate(2.5deg) translateY(-8px); }
.rot-c { transform: rotate(-1.5deg) translateY(28px); }
.polaroid:hover { transform: rotate(0deg) translateY(0) scale(1.02); z-index: 2; }

.legal-wrap {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.legal-card {
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid rgba(16, 18, 54, 0.08);
  border-radius: 18px;
  padding: 22px 24px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.legal-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.expand-toggle {
  display: inline-block;
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 18, 54, 0.08);
  color: var(--muted);
  line-height: 1.6;
}

.legal-more[hidden] { display: none; }

.site-foot {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 18, 54, 0.1);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .split-panel {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 14px 16px;
  }
  .panel-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .panel-nav a {
    border-left: 0;
    padding: 6px 8px;
    font-size: 0.85rem;
  }
  .panel-note { display: none; }
  main { padding: 24px 18px 48px; }
  .polaroid-scatter {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .rot-a, .rot-b, .rot-c { transform: none; }
  .step-list li { grid-template-columns: 56px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .polaroid, .panel-nav a { transition: none; }
}
