:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f1eee8;
  --ink: #1f1e1b;
  --muted: #666158;
  --quiet: #9b948a;
  --line: #e3ded5;
  --accent: #b15c38;
  --accent-strong: #8f4326;
  --success: #527a58;
  --shadow: 0 18px 60px rgba(31, 30, 27, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(177, 92, 56, 0.35);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: var(--surface);
  left: 16px;
  padding: 10px 12px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 22px 24px;
}

.site-header {
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav,
.site-footer nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 78px);
  overflow: hidden;
  padding: 84px 24px 120px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--paper));
  bottom: 0;
  content: "";
  height: 160px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-scene {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.hero-scene::before {
  background:
    linear-gradient(90deg, rgba(31, 30, 27, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 30, 27, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.45;
  position: absolute;
}

.timeline-strip {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(22px, 1fr));
  height: 180px;
  left: max(24px, calc(50vw - 560px));
  opacity: 0.7;
  position: absolute;
  right: max(24px, calc(50vw - 560px));
  top: 96px;
}

.timeline-strip span {
  background: rgba(177, 92, 56, 0.16);
  border: 1px solid rgba(177, 92, 56, 0.18);
  border-radius: 8px 8px 0 0;
  display: block;
}

.timeline-strip span:nth-child(1) {
  height: 38%;
}

.timeline-strip span:nth-child(2) {
  height: 64%;
}

.timeline-strip span:nth-child(3) {
  height: 48%;
}

.timeline-strip span:nth-child(4) {
  height: 82%;
}

.timeline-strip span:nth-child(5) {
  height: 54%;
}

.timeline-strip span:nth-child(6) {
  height: 70%;
}

.transcript-sheet {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(227, 222, 213, 0.82);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 520px;
  padding: 28px;
  position: absolute;
  right: max(24px, calc(50vw - 560px));
  top: 154px;
  transform: rotate(-1.5deg);
}

.sheet-kicker {
  color: var(--accent-strong);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.sheet-line {
  color: var(--muted);
  font-family: "New York", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.42;
  margin: 0 0 16px;
}

.sheet-line.strong {
  color: var(--ink);
  font-weight: 650;
}

.sheet-meta {
  border-top: 1px solid var(--line);
  color: var(--quiet);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  gap: 10px;
  padding-top: 16px;
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(4rem, 14vw, 10rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fffaf6;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--ink);
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 64px 24px;
}

.intro-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid article,
.launch-note,
.policy-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-grid article {
  padding: 24px;
}

.intro-grid h2 {
  font-size: 1.2rem;
}

.intro-grid p,
.plain-list p,
.launch-note p,
.policy-section p,
.policy-section li,
.page-header p {
  color: var(--muted);
}

.split {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.plain-list {
  display: grid;
  gap: 12px;
}

.plain-list p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 14px;
}

.launch-note {
  padding: 28px;
}

.launch-note p {
  max-width: 700px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 40px;
}

.site-footer p {
  margin: 0;
}

.policy-layout {
  margin: 0 auto;
  max-width: 860px;
  padding: 54px 24px 80px;
}

.page-header {
  margin-bottom: 38px;
}

.page-header h1 {
  font-size: clamp(3rem, 9vw, 6rem);
}

.page-header p {
  font-size: 1.15rem;
}

.policy-section {
  margin-bottom: 16px;
  padding: 24px;
}

.policy-section h2 {
  font-size: 1.35rem;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section code {
  background: var(--surface-muted);
  border-radius: 6px;
  color: var(--accent-strong);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.9em;
  padding: 2px 5px;
}

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 370px;
  }

  .transcript-sheet {
    left: 24px;
    max-width: none;
    right: 24px;
    top: 38px;
    transform: rotate(-0.75deg);
  }

  .timeline-strip {
    display: none;
  }

  .intro-grid,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.6rem, 22vw, 5.5rem);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #171614;
    --surface: #23211e;
    --surface-muted: #2b2925;
    --ink: #f4efe7;
    --muted: #b9b0a4;
    --quiet: #817a71;
    --line: #3a3631;
    --accent: #d07a52;
    --accent-strong: #f0a077;
    --shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  }

  .transcript-sheet,
  .button.secondary {
    background: rgba(35, 33, 30, 0.88);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(23, 22, 20, 0), var(--paper));
  }
}
