:root {
  --bg: #fff9f5;
  --accent: #e3612e;
  --accent2: #52bdd5;
  --text: #2e1f14;
  --muted: #705846;
  --paper: #fffdf9;
  --cork: #d4b896;
  --shadow: rgba(46, 31, 20, 0.12);
  --spine-w: 220px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 22px;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent2);
}

.page-shell {
  display: flex;
  min-height: 100vh;
}

.spine-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--spine-w);
  height: 100vh;
  padding: var(--pad) 1.25rem;
  background: linear-gradient(180deg, #fff5ec 0%, #ffe8d6 100%);
  border-right: 1px solid rgba(112, 88, 70, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 2;
}

.spine-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
}

.spine-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spine-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-left: 3px solid transparent;
  padding-left: 0.5rem;
}

.spine-links a:hover,
.spine-links a:focus-visible {
  border-left-color: var(--accent);
  color: var(--accent);
}

.main-column {
  margin-left: var(--spine-w);
  flex: 1;
  max-width: 920px;
  padding: var(--pad);
}

.hero-window {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px var(--shadow);
  border: 6px solid var(--paper);
  background: var(--paper);
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0.25rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

.tagline {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent2);
  margin: 0.5rem 0;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.band {
  margin-bottom: 3.5rem;
}

.section-intro h2 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.section-intro p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 36rem;
}

.section-intro--right {
  text-align: right;
  margin-left: auto;
}

.section-intro--center {
  text-align: center;
  margin-inline: auto;
}

.section-intro--center p {
  margin-inline: auto;
}

.cork-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  background: var(--cork);
  padding: 1.5rem;
  border-radius: var(--radius);
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 40%);
}

.cork-note {
  background: #fff8e8;
  padding: 1.1rem 1.2rem;
  border-radius: 4px 4px 12px 12px;
  box-shadow: 2px 4px 12px var(--shadow);
  transform: rotate(-1.5deg);
}

.cork-note--b {
  transform: rotate(1.2deg);
  margin-top: 0.5rem;
}

.cork-note--c {
  transform: rotate(-0.8deg);
}

.cork-note h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.cork-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.device-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.device-shot {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: 0 16px 32px var(--shadow);
}

.device-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-expand {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(112, 88, 70, 0.12);
}

.legal-expand summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
}

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

.support-line {
  font-size: 1.05rem;
  max-width: 36rem;
  margin-left: auto;
  text-align: right;
}

.site-footer {
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(112, 88, 70, 0.15);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .spine-nav {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }

  .spine-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .main-column {
    margin-left: 0;
  }

  .page-shell {
    flex-direction: column;
  }

  .device-pair {
    grid-template-columns: 1fr;
  }

  .section-intro--right,
  .support-line {
    text-align: left;
    margin-left: 0;
  }
}
