/* ==========================================================================
   DoDo Panel Store — public landing page
   Loaded only by index.html, after css/premium.css.

   The marketing surface shares the brand tokens (gold accent, Inter, mono for
   data) but has its own editorial skin: warm paper, ink rules, serif display
   type, numbered sections and a ticket instead of a generic SaaS card grid.
   The dashboards are untouched.
   ========================================================================== */

:root {
  --paper: #f7f3e9;
  --paper-raised: #fffdf7;
  --paper-sunken: #efe9db;

  --ink: #191509;
  --ink-2: #4a4436;
  --ink-3: #6d6555;

  --rule: #ddd3bf;
  --rule-strong: #c6b99e;

  --gold: #d99500;
  --gold-hover: #c08500;
  --gold-soft: #f3e2b8;
  --gold-ink: #7d5400;

  --night: #17130b;
  --night-2: #221c11;
  --night-3: #2e2617;
  --night-text: #f6f0e2;
  --night-muted: #bcb098;
  --night-rule: #3b3221;
  --night-gold: #e9b64a;

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

section[id] {
  scroll-margin-top: 84px;
}

.landing-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper-raised);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Top strip
   -------------------------------------------------------------------------- */

.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 34px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.topbar-brand {
  color: var(--ink-2);
  white-space: nowrap;
}

.topbar-brand span {
  color: var(--gold-ink);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.topbar-meta span[aria-hidden] {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* The sticky wrapper is the header, so the bar itself must not be sticky. */
.site-header .nav {
  position: static;
  background: rgba(247, 243, 233, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink);
}

.nav-inner {
  max-width: 1240px;
  height: 64px;
  padding: 0 32px;
  gap: 32px;
}

.nav-brand {
  gap: 10px;
  border-radius: 0;
}

.brand-text {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}

.brand-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-toggle:hover {
  background: var(--paper-sunken);
  border-color: var(--ink);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 8px 0;
  border-radius: 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transition: right 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  right: 0;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-primary {
  width: auto;
  height: 44px;
  padding: 0 20px;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn-ghost {
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  background: var(--paper-raised);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-arrow {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-actions .btn-primary,
.nav-actions .btn-ghost {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-actions .btn-ghost {
  box-shadow: none;
}

.nav-actions .btn-primary:hover {
  box-shadow: 1px 1px 0 var(--ink);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 72px 0 104px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  background-image: radial-gradient(rgba(25, 21, 9, 0.16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 58% 50%, #000 28%, transparent 76%);
  mask-image: radial-gradient(ellipse 68% 62% at 58% 50%, #000 28%, transparent 76%);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 72px;
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.kicker::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-ink);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-ink);
}

.hero-lede {
  max-width: 47ch;
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-facts span {
  color: var(--gold-ink);
}

/* License ticket ----------------------------------------------------------- */

.ticket-figure {
  width: 100%;
  max-width: 470px;
  min-width: 0;
  justify-self: end;
}

.ticket {
  position: relative;
  background: var(--paper-raised);
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  box-shadow: 12px 12px 0 var(--gold-soft);
  transform: rotate(-1.4deg);
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
}

.ticket-brand {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
}

.ticket-serial {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ticket-body {
  padding: 8px 20px 20px;
}

.ticket-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--rule);
}

.ticket-row span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ticket-row strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ticket-muted {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--ink-2) !important;
}

.ticket-key {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 12px 12px 14px;
  border-radius: 4px;
  background: var(--night);
}

.ticket-key-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.ticket-key-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.ticket-key code {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #f2ead9;
}

.ticket-copy {
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--night-rule);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-gold);
}

.ticket-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px dashed var(--rule-strong);
}

.ticket-stub::before,
.ticket-stub::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
}

.ticket-stub::before {
  left: -9px;
}

.ticket-stub::after {
  right: -9px;
}

.ticket-barcode {
  width: 92px;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 4px,
    var(--ink) 4px 5px,
    transparent 5px 9px,
    var(--ink) 9px 12px,
    transparent 12px 14px
  );
}

.ticket-stub-text {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ticket-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  column-gap: 64px;
  align-items: end;
  margin-bottom: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.section-kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.kicker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-lede {
  max-width: 42ch;
  padding-left: 24px;
  border-left: 1px solid var(--rule-strong);
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 64px;
  align-items: start;
}

.feature-spot {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 6px;
  background: var(--night);
  color: var(--night-text);
}

.feature-spot::after {
  content: '';
  position: absolute;
  right: -96px;
  bottom: -128px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--night-rule);
  border-radius: 50%;
  pointer-events: none;
}

.spot-label {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-gold);
}

.feature-spot h3 {
  max-width: 13ch;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 33px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--night-text);
}

.feature-spot p {
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--night-muted);
}

.spot-key {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--night-rule);
  border-radius: 4px;
  background: #0f0c06;
}

.spot-key-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--night-gold);
  box-shadow: 0 0 0 3px rgba(233, 182, 74, 0.16);
}

.spot-key code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #efe7d6;
}

.spot-key-copy {
  flex: none;
  padding: 4px 7px;
  border: 1px solid var(--night-rule);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.feature-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.feature-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fnum {
  padding-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.feature-item p {
  grid-column: 2;
  max-width: 52ch;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
}

.step-num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--gold-ink);
}

.step-label {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.step p:last-child {
  max-width: 38ch;
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   License terms (dark band)
   -------------------------------------------------------------------------- */

.terms {
  padding: 100px 0;
  background: var(--night);
  color: var(--night-text);
}

.terms .section-head {
  border-bottom-color: var(--night-rule);
}

.terms .section-kicker {
  color: var(--night-gold);
}

.terms .kicker-num {
  border-color: var(--night-rule);
  color: var(--night-muted);
}

.terms .section-title {
  color: var(--night-text);
}

.terms .section-lede {
  border-left-color: var(--night-rule);
  color: var(--night-muted);
}

.term-board {
  margin: 0;
  padding: 0;
  list-style: none;
}

.term-row {
  display: grid;
  grid-template-columns: 64px minmax(130px, 0.5fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--night-rule);
}

.term-row:last-child {
  border-bottom: 1px solid var(--night-rule);
}

.term-index {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--night-muted);
}

.term-name {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.08;
  color: var(--night-text);
}

.term-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--night-muted);
}

.term-note {
  max-width: 78ch;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--night-gold);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--night-muted);
}

.term-actions {
  margin-top: 34px;
}

.terms .btn-primary {
  border-color: var(--night-gold);
  box-shadow: 3px 3px 0 var(--night-3);
}

.terms .btn-primary:hover {
  box-shadow: 2px 2px 0 var(--night-3);
}

.terms .btn-primary:active {
  box-shadow: 0 0 0 var(--night-3);
}

.terms .btn-primary:focus-visible {
  outline-color: var(--night-gold);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 96px;
}

.faq-intro {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-2);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-index {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
}

.faq-q {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 0.15s ease;
}

.faq-item summary:hover .faq-q {
  color: var(--gold-ink);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-item summary svg {
  justify-self: end;
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  transition: transform 0.18s ease, color 0.18s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
  color: var(--gold-ink);
}

.faq-answer {
  max-width: 68ch;
  padding: 0 32px 24px 52px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */

.cta-section {
  padding: 0 0 96px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 56px;
  overflow: hidden;
  padding: 56px;
  border-radius: 6px;
  background: var(--night);
  color: var(--night-text);
}

.cta-kicker {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-gold);
}

.cta-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--night-text);
}

.cta-panel h2 em {
  font-style: italic;
  color: var(--night-gold);
}

.cta-lede {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--night-muted);
}

.cta-panel .hero-actions {
  margin-top: 30px;
}

.cta-panel .btn-primary {
  border-color: var(--night-gold);
  box-shadow: 3px 3px 0 var(--night-3);
}

.cta-panel .btn-primary:hover {
  box-shadow: 2px 2px 0 var(--night-3);
}

.cta-panel .btn-primary:active {
  box-shadow: 0 0 0 var(--night-3);
}

.cta-panel .btn-primary:focus-visible {
  outline-color: var(--night-gold);
}

.cta-panel .btn-ghost {
  border-color: var(--night-rule);
  background: transparent;
  color: var(--night-text);
}

.cta-panel .btn-ghost:hover {
  background: var(--night-2);
  border-color: var(--night-muted);
  color: var(--night-text);
}

.cta-panel .btn-ghost:focus-visible {
  outline-color: var(--night-gold);
}

.cta-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--night-rule);
}

.cta-aside-label,
.cta-aside-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.cta-barcode {
  display: block;
  width: 100%;
  height: 30px;
  background: repeating-linear-gradient(
    90deg,
    var(--night-muted) 0 2px,
    transparent 2px 4px,
    var(--night-muted) 4px 5px,
    transparent 5px 10px
  );
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.55fr));
  gap: 56px;
  padding: 56px 0 44px;
}

.footer-wordmark {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.footer-brand p {
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

.footer-mono {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-wrap {
    gap: 48px;
  }

  .hero::before {
    width: 60%;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    column-gap: 40px;
  }

  .steps {
    gap: 0 32px;
  }

  .faq-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .landing-wrap {
    padding: 0 20px;
  }

  .nav-inner {
    height: 60px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper-raised);
    box-shadow: 0 18px 28px -24px rgba(25, 21, 9, 0.5);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    height: 46px;
    padding: 0 4px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .nav-actions .btn-primary,
  .nav-actions .btn-ghost {
    width: 100%;
    height: 42px;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .ticket-figure {
    max-width: 520px;
    justify-self: center;
  }

  .ticket-note {
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .terms {
    padding: 76px 0;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    margin-bottom: 40px;
  }

  .section-lede {
    max-width: 58ch;
    padding-left: 0;
    border-left: 0;
  }

  .feature-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .feature-spot {
    padding: 32px;
  }

  .feature-spot h3 {
    max-width: 20ch;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .faq-head {
    position: static;
  }

  .faq-intro {
    max-width: 56ch;
  }

  .cta-section {
    padding-bottom: 72px;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 40px;
  }

  .cta-aside {
    max-width: 320px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding: 48px 0 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* The meta line sits next to the full wordmark and needs roughly 790px of
   content, so it is dropped before the strip can overflow. This rule must
   live here: the base .topbar-meta rule in this file would otherwise beat
   the equivalent media rule in premium.css. */
@media (max-width: 860px) {
  .topbar-meta {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-tag {
    display: none;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .hero-facts {
    margin-top: 34px;
    gap: 10px 20px;
  }

  .ticket {
    transform: rotate(-0.8deg);
    box-shadow: 8px 8px 0 var(--gold-soft);
  }

  .section {
    padding: 60px 0;
  }

  .terms {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(29px, 7vw, 36px);
  }

  .term-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px 16px;
    padding: 18px 0;
  }

  .term-desc {
    grid-column: 2;
  }

  .term-name {
    font-size: 27px;
  }

  .faq-answer {
    padding: 0 16px 22px 44px;
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .cta-panel h2 {
    font-size: clamp(31px, 8.4vw, 40px);
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .ticket {
    transform: none;
  }

  .ticket-body {
    padding: 6px 16px 16px;
  }

  .ticket-head,
  .ticket-stub {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .cta-panel .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-wordmark {
    font-size: 34px;
  }
}
