:root {
  --ink: #090705;
  --ink-raised: #140d08;
  --paper: #f1e5d4;
  --paper-muted: #d7c6b0;
  --gold: #d6b06a;
  --gold-strong: #f4cf7a;
  --gold-light: #f4cf7a;
  --bronze: #805025;
  --line: #80502599;
  --display: Georgia, "Times New Roman", serif;
  --reading: system-ui, -apple-system, "Segoe UI", sans-serif;
  --reading-measure: 42rem;
  --page-gutter: clamp(1.25rem, 5vw, 6rem);
  --section-space: clamp(4rem, 8vw, 7.5rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--reading); font-size: clamp(1rem, .98rem + .14vw, 1.1rem); line-height: 1.68; overflow-x: clip; }
a { text-underline-offset: .22em; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 20; padding: .65rem 1rem; background: var(--paper); color: var(--ink); }
.skip:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 5rem; padding: .65rem var(--page-gutter); border-bottom: 1px solid #6c4726; background: #090705ee; backdrop-filter: blur(.55rem); }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.8rem; object-fit: contain; filter: drop-shadow(0 .15rem .4rem #b8843a88); }
.brand strong, .brand small { display: block; font-family: var(--display); letter-spacing: .15em; }
.brand strong, .eyebrow, h1, h2, h3 { color: var(--gold-strong); }
.brand strong { font-size: .9rem; }
.brand small { font-size: .45rem; }
.menu, .button { border: 1px solid var(--gold); background: transparent; color: var(--paper); font: 700 .78rem var(--display); letter-spacing: .09em; padding: .82rem 1.05rem; text-decoration: none; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover, .button:focus-visible { background: #2a180b; color: var(--gold-light); transform: translateY(-1px); }
.primary, .nav-cta { background: var(--gold); color: #201207; }
.primary:hover, .primary:focus-visible { background: var(--gold-light); color: #201207; }
.primary { box-shadow: 0 .5rem 1.5rem #0008; }
nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 1rem var(--page-gutter) 1.25rem; background: #100b07; border-bottom: 1px solid var(--gold); }
nav[hidden] { display: none !important; }
nav a { padding: .7rem; color: var(--paper); font: .72rem var(--display); letter-spacing: .1em; text-decoration: none; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible, .legal-link a:hover, .legal-link a:focus-visible { color: var(--gold-light); }

.hero { position: relative; isolation: isolate; display: grid; min-height: min(44rem, calc(100svh - 5rem)); overflow: hidden; }
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.hero-scene img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #090705fa 0%, #090705df 43%, #09070540 73%, #09070508 100%); content: ""; }
.hero-copy { align-self: center; max-width: 44rem; padding: clamp(2.5rem, 6vw, 5.75rem) var(--page-gutter); }
.eyebrow { margin: 0 0 .75rem; font: 700 .72rem var(--display); letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; overflow-wrap: anywhere; }
h1, h2 { line-height: .98; }
h1 { max-width: 12ch; font-size: clamp(2.85rem, 5.6vw, 5.1rem); }
h2 { max-width: 16ch; font-size: clamp(2.05rem, 3.7vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.16; }
.hero-lede { max-width: 37rem; margin: 1.35rem 0 .65rem; color: #fff0dc; font: clamp(1.17rem, 1.05rem + .45vw, 1.48rem)/1.48 var(--display); }
.hero-copy > p:not(.eyebrow):not(.actions):not(.signature):not(.hero-lede) { max-width: 37rem; }
.signature { margin: 1.35rem 0 0; color: var(--gold-light); font: 1.13rem/1.45 var(--display); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.beta-note { margin: .85rem 0 0; color: var(--gold-strong); font: .82rem/1.45 var(--display); letter-spacing: .04em; }

section:not(.hero) { max-width: 84rem; margin: auto; padding: var(--section-space) var(--page-gutter); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 18%, #5d351418, transparent 28rem); }
.section-intro { display: grid; min-inline-size: 0; gap: .2rem; }
.reading-copy { max-width: var(--reading-measure); margin-top: clamp(1.6rem, 3vw, 2.75rem); }
.reading-copy p { margin: 0 0 1rem; }
.reading-copy p:last-child { margin-bottom: 0; }
.statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }

.boundaries { background: linear-gradient(135deg, #120b06, #0d0906 62%); }
.boundary-grid, .editorial-grid, .trust-grid { display: grid; gap: 1rem; margin-top: clamp(1.75rem, 3vw, 2.8rem); }
.boundary-grid article, .editorial-grid article { padding: clamp(1.3rem, 2.4vw, 2rem); border: 1px solid var(--line); background: #120b07b0; }
.boundary-grid h3 { margin-bottom: .7rem; }
.boundary-grid p, .editorial-grid p { margin: 0; color: var(--paper-muted); }

.journey-grid { display: grid; gap: 0; margin: clamp(2rem, 4vw, 3.2rem) 0 0; padding: 0; list-style: none; counter-reset: steps; border-top: 1px solid var(--line); }
.journey-grid li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .75rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.journey-grid strong { grid-column: 2; color: var(--gold); font: 1.08rem/1.25 var(--display); letter-spacing: .07em; }
.journey-grid p { grid-column: 2; max-width: 28rem; margin: .4rem 0 0; color: var(--paper-muted); }
.step-number { grid-row: 1 / span 2; color: var(--gold-light); font: 1.25rem var(--display); }
.quiet-note { max-width: 49rem; margin: 1.6rem 0 0; color: var(--gold-light); font: 1.1rem/1.5 var(--display); }

.editorial-journey { background: linear-gradient(180deg, #120d09, #090705); }
.journey-line { margin: clamp(1.75rem, 3vw, 2.8rem) 0 0; color: var(--gold-light); font: clamp(1.08rem, 1rem + .5vw, 1.48rem) var(--display); letter-spacing: .025em; }
.editorial-grid article { display: grid; align-content: start; gap: .85rem; min-height: 15.5rem; }
.editorial-grid h3 { color: var(--paper); }
.editorial-grid cite { font-style: normal; }
.item-label { color: var(--gold) !important; font: .7rem var(--display); letter-spacing: .15em; text-transform: uppercase; }
.supporting-note { color: var(--gold-light) !important; font: .98rem/1.45 var(--display); }

.reflexo-section .reading-copy { border-left: 2px solid var(--gold); padding-left: clamp(1rem, 2.5vw, 2rem); }
.trust-section { background: #0d0906; }
.trust-grid p { margin: 0; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--paper-muted); }
.trust-grid strong { display: block; margin-bottom: .25rem; color: var(--gold-light); font-family: var(--display); font-size: 1.12rem; }
.legal-link { margin: 1.75rem 0 0; }
.legal-link a { color: var(--gold); font-family: var(--display); }
.beta-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
.beta-section .reading-copy { margin-top: 0; }

.closing { max-width: none !important; text-align: center; }
.closing img { max-width: min(11rem, 42vw); height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 .6rem 1rem #000); }
.closing h2, .closing p { margin-inline: auto; }
.closing h2 { max-width: 13ch; }
.closing > p:not(.eyebrow) { max-width: 34rem; margin-top: 1.3rem; margin-bottom: 1.8rem; color: var(--paper-muted); }
footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 2rem var(--page-gutter); color: var(--gold-strong); font: .72rem/1.55 var(--display); letter-spacing: .08em; }
.footer-details { display: grid; gap: .2rem; }
.footer-details strong { letter-spacing: .15em; }
.footer-beta { align-self: end; color: var(--paper-muted); }
footer a { color: inherit; }

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

@media (min-width: 48rem) {
  .statement, .beta-section { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(2rem, 6vw, 7rem); }
  .statement .reading-copy { margin-top: 0; }
  .boundary-grid, .editorial-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .trust-grid p { padding-top: 1.15rem; }
  footer { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

@media (min-width: 64rem) {
  .menu { display: none; }
  nav { position: static; display: flex !important; align-items: center; gap: .35rem; padding: 0; border: 0; background: none; }
  nav a { padding: .55rem .45rem; font-size: .65rem; }
  .nav-cta { margin-left: .45rem; padding-inline: .8rem; }
  .hero-copy { padding-left: max(7rem, calc((100vw - 90rem) / 2 + 5rem)); }
  .journey-grid { grid-template-columns: repeat(4, 1fr); }
  .journey-grid li { display: block; min-height: 14rem; padding: 1.45rem 1.1rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .journey-grid li:last-child { border-right: 0; }
  .journey-grid strong, .journey-grid p { display: block; }
  .journey-grid p { margin-top: .85rem; }
  .step-number { display: block; margin-bottom: 2.3rem; }
}

@media (max-width: 63.99rem) {
  .hero::after { background: linear-gradient(180deg, #090705ed 0%, #090705c7 48%, #0907052e 100%); }
  .hero-copy { padding-top: 3rem; align-self: start; }
}

@media (max-width: 31rem) {
  .site-header { min-height: 4.55rem; }
  .brand img { width: 1.9rem; height: 2.3rem; }
  .brand strong { font-size: .76rem; }
  .hero { min-height: 38rem; }
  .hero-copy { padding-inline: 1.25rem; }
  .button { width: 100%; }
}

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

@media (max-width: 22.5rem) {
  h2 { font-size: clamp(1.6rem, 8.25vw, 2.05rem); }
  #beta-title { max-width: none; font-size: clamp(1.3rem, 7.4vw, 1.6rem); }
}
