@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/BodoniModa-Text.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/BodoniModa-TitleItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #faf6ec;
  --ink: #171410;
  --muted: #6b6151;
  --faint: #847b69;
  --accent: #b3402e;
  --rule: rgb(23 20 16 / 16%);
  --card: #f3ecdb;
  --cardline: rgb(23 20 16 / 10%);
  --poster: #df5438;
  --poster-ink: #fff7df;
  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14120e;
    --ink: #f5efe0;
    --muted: #b8ae99;
    --faint: #98907e;
    --accent: #e0a075;
    --rule: rgb(245 239 224 / 18%);
    --card: #1d1a14;
    --cardline: rgb(245 239 224 / 10%);
    --poster: #9f3529;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

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

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

a:focus-visible,
button:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img { border-radius: 11px; }
.star { color: var(--accent); }

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }

.landing {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  max-width: 880px;
  padding: clamp(72px, 12vw, 144px) 0 72px;
}

.eyebrow,
.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.29em;
}

.hero h1,
.legal h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 100px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 em,
.legal h1 { font-style: italic; }

.lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}

.coming {
  display: inline-flex;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.text-link { font-size: 14px; font-weight: 600; }

.poster-preview {
  position: relative;
  display: grid;
  min-height: 580px;
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  border-radius: 4px;
  background: var(--poster);
  color: var(--poster-ink);
  isolation: isolate;
}

.poster-preview::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-radial-gradient(circle at 20% 30%, transparent 0 3px, rgb(0 0 0 / 3%) 4px 5px);
  content: "";
  mix-blend-mode: multiply;
}

.poster-date,
.poster-event {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.poster-event { align-self: end; justify-self: end; }

.poster-copy {
  display: flex;
  align-items: baseline;
  align-self: center;
  justify-self: center;
  gap: clamp(10px, 3vw, 32px);
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.poster-copy strong {
  font-family: var(--serif);
  font-size: clamp(140px, 28vw, 340px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 96px 0 72px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.features article { padding: 38px 32px 42px 0; }
.features article + article { padding-left: 32px; border-left: 1px solid var(--rule); }
.feature-number { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; }
.features h2 { margin: 18px 0 10px; font-family: var(--serif); font-size: 27px; line-height: 1.12; }
.features p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.language-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 13px;
}

.langs { display: flex; gap: 6px; }

.langs button {
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 46px;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-size: 12px;
}

.legal {
  width: min(700px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.legal h1 { font-size: clamp(46px, 9vw, 68px); }

.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal .langs { margin: 28px 0 10px; }

.tldr {
  margin: 34px 0 8px;
  padding: 20px 22px;
  border: 1px solid var(--cardline);
  border-radius: 16px;
  background: var(--card);
}

.tldr p { margin: 0; font-size: 16px; }
.tldr strong, .email { font-weight: 600; }

.legal h2 {
  margin: 44px 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 1.15em; }
.legal li { margin: 0 0 8px; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}

.support-card {
  padding: 22px;
  border: 1px solid var(--cardline);
  border-radius: 14px;
  background: var(--card);
}

.support-card h2 { margin: 0 0 8px; font-size: 22px; }
.support-card p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 720px) {
  .site-header, .site-footer, .landing { width: min(100% - 36px, 1120px); }
  .site-header { min-height: 74px; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 14px; }
  .hero { padding: 72px 0 56px; }
  .poster-preview { min-height: 430px; }
  .features { grid-template-columns: 1fr; margin-top: 64px; }
  .features article { padding: 28px 0; }
  .features article + article { padding-left: 0; border-top: 1px solid var(--rule); border-left: 0; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .site-header nav { gap: 12px; }
  nav a { font-size: 12px; }
  .brand { gap: 8px; font-size: 12px; letter-spacing: 0.1em; }
  .hero h1 { font-size: 49px; }
  .poster-preview { min-height: 390px; padding: 24px; }
  .poster-copy { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  .poster-copy strong { width: 100%; text-align: center; }
  .poster-event { justify-self: start; }
  .site-footer { flex-direction: column; }
  .legal { width: min(100% - 40px, 700px); padding-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
