:root {
  --paper: #f4f1e8;
  --paper-deep: #e9e3d4;
  --ink: #17211d;
  --muted: #66706a;
  --line: #c9c4b7;
  --accent: #dc5d36;
  --moss: #355c4a;
  --white: #fffdf7;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(100% - 48px, 1400px);
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand, .site-footer > div {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .17em;
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0;
}
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 13px; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-invite { padding: 11px 17px; border: 1px solid var(--ink); }

main > section, .site-footer {
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
}
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(52px, 8vw, 128px);
  align-items: center;
  padding-block: 72px 96px;
}
.eyebrow, .section-index, .preview-source, .preview-brand, .preview-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 28px; color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.3vw, 94px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.055em;
}
h1 em { color: var(--moss); font-style: normal; }
.hero-lead {
  max-width: 660px;
  color: #46514b;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .62; transform: none; }
.button-primary, .button-accent { color: var(--white); background: var(--accent); }
.button-dark { color: var(--white); background: var(--ink); }
.button-outline { border-color: var(--ink); }
.button-outline:hover { color: var(--white); background: var(--ink); }
.text-link { font-size: 14px; font-weight: 650; text-underline-offset: 6px; }
.trust-line { margin-top: 25px; color: var(--muted); font-size: 12px; }

.reading-preview {
  position: relative;
  padding: 18px;
  color: #e9eee9;
  background: var(--ink);
  transform: rotate(1.2deg);
}
.reading-preview::before {
  content: "";
  position: absolute;
  inset: 11px -11px -11px 11px;
  z-index: -1;
  border: 1px solid #8c9289;
}
.preview-topbar, .preview-footer { display: flex; justify-content: space-between; gap: 12px; }
.preview-topbar { padding: 4px 4px 17px; border-bottom: 1px solid #5b655f; }
.preview-date { color: #9fac9f; }
.preview-paper { margin: 18px 0; padding: clamp(28px, 4vw, 56px); color: var(--ink); background: var(--white); }
.preview-source { color: var(--accent); }
.preview-paper h2 {
  margin: 20px 0;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.2vw, 47px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.preview-deck { color: #56615b; font-size: 16px; line-height: 1.75; }
.preview-rule { width: 46px; margin: 26px 0; border-top: 2px solid var(--accent); }
.preview-body { font-family: var(--font-serif); font-size: 16px; line-height: 1.95; }
mark { padding: 1px 2px; color: inherit; background: #eedb89; }
.preview-footer { padding: 0 4px 3px; color: #aeb8b1; font-size: 11px; }

.manifesto, .tour, .access, .mobile-app {
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 9vw, 130px);
}
.manifesto { display: grid; grid-template-columns: .45fr 1fr 1.2fr; gap: 46px; }
.section-index { color: var(--accent); }
.manifesto h2, .tour h2, .access h2, .mobile-app h2 {
  font-family: var(--font-serif);
  font-size: clamp(39px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 86px 1fr; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps span { font-family: var(--font-serif); font-size: 22px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.75; }

.tour { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.tour-copy > p:last-child, .access-intro > p:last-child, .mobile-copy > p { color: var(--muted); line-height: 1.8; }
.video-frame { border: 1px solid var(--ink); background: #101714; }
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

.access { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(48px, 8vw, 110px); }
.access-forms { border-top: 1px solid var(--ink); }
.access-form { padding: 34px 0 40px; border-bottom: 1px solid var(--line); }
.form-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 27px; }
.form-number { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 16px var(--font-serif); }
.form-heading h3 { margin-bottom: 4px; font: 600 25px var(--font-serif); }
.form-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.access-form label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.input-row input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #979d97;
  border-right: 0;
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 253, 247, .55);
  font-size: 16px;
}
.input-row input::placeholder { color: #8a918c; }
.form-status { min-height: 21px; margin: 12px 0 0; color: var(--moss); font-size: 13px; }
.is-complete .form-status { font-weight: 700; }

.mobile-app { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.mobile-copy { padding-bottom: 10px; }
.mobile-copy .button { margin: 14px 18px 0 0; }
.mobile-copy span { display: inline-block; color: var(--muted); font-size: 12px; }

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--ink);
  font-size: 12px;
}
.site-footer p { margin: 0; text-align: center; }
.site-footer > a { justify-self: end; color: var(--muted); }

:focus-visible { outline: 3px solid #d78c31; outline-offset: 3px; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 420px; gap: 50px; }
  .manifesto { grid-template-columns: .35fr .8fr 1.2fr; gap: 28px; }
  .tour, .access { grid-template-columns: .75fr 1.25fr; gap: 50px; }
}

@media (max-width: 768px) {
  .site-header { width: min(100% - 32px, 1400px); height: 70px; }
  nav a:not(.nav-invite) { display: none; }
  main > section, .site-footer { width: min(100% - 32px, 1400px); }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 60px 80px; }
  .hero-copy { max-width: 680px; }
  .reading-preview { width: min(100%, 560px); justify-self: end; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto .section-index { margin-bottom: -20px; }
  .steps { margin-top: 10px; }
  .tour, .access { grid-template-columns: 1fr; }
  .tour-copy, .access-intro { max-width: 600px; }
  .mobile-app { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .site-header, main > section, .site-footer { width: min(100% - 24px, 1400px); }
  .brand { font-size: 12px; }
  .nav-invite { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 13px; }
  .hero { padding-block: 50px 70px; }
  h1 { font-size: 45px; }
  .hero-lead { font-size: 16px; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .reading-preview { padding: 11px; transform: none; }
  .reading-preview::before { display: none; }
  .preview-paper { margin-block: 11px; padding: 25px 20px; }
  .preview-paper h2 { font-size: 29px; }
  .preview-footer { font-size: 10px; }
  .manifesto h2, .tour h2, .access h2, .mobile-app h2 { font-size: 42px; }
  .steps li { grid-template-columns: 68px 1fr; }
  .input-row { grid-template-columns: 1fr; gap: 9px; }
  .input-row input { border-right: 1px solid #979d97; }
  .input-row .button { width: 100%; }
  .mobile-copy .button { width: 100%; margin-right: 0; }
  .mobile-copy span { margin-top: 16px; }
  .site-footer { min-height: 190px; grid-template-columns: 1fr; align-content: center; gap: 16px; }
  .site-footer p { text-align: left; }
  .site-footer > a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}
