:root {
  color-scheme: light;
  --paper: #f9f6ec;
  --ink: #25271f;
  --muted: #565747;
  --olive: #3c492e;
  --olive-dark: #2d3822;
  --cream: #fffaf0;
  --line: #d7cebb;
  --rust: #91472e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.launch :focus-visible { outline-color: #ffcf96; }
main:focus-visible { outline-offset: -3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h2 { font-size: clamp(2.2rem, 5vw, 3.65rem); letter-spacing: -.055em; }
h3 { font-size: 1.65rem; letter-spacing: -.035em; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.skip, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  z-index: 1;
  top: .75rem;
  left: .75rem;
  width: auto;
  height: auto;
  clip-path: none;
  padding: .5rem .85rem;
  background: var(--cream);
}
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 2rem;
}
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; }
.brand span { font: 1.55rem/1 var(--serif); letter-spacing: -.06em; }
.brand img { display: block; }
.masthead nav, .footer nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); flex-wrap: wrap; }
.masthead nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.masthead nav a:hover, .footer nav a:hover { text-decoration: underline; }
.nav-cta { color: var(--rust); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.2rem, 8vw, 6.2rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.phase-dot { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
h1 { margin-top: 1.1rem; font-size: clamp(3rem, 6.5vw, 6.35rem); letter-spacing: -.063em; }
h1 em { color: var(--olive); font-weight: 400; }
.hero-intro { max-width: 46ch; margin-top: 1.4rem; color: var(--muted); font-size: 1.085rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 48px;
  padding: .65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  background: var(--olive);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: var(--olive-dark); }
.button:disabled { cursor: wait; }
.text-link { font-weight: 700; }

.hero-art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.16;
  background: radial-gradient(ellipse at 68% 13%, #ebc7a6, transparent 70%), linear-gradient(145deg, #d6aa91, #a5654f);
  border-radius: .25rem;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(110deg, transparent 0 3px, #61311f0c 4px 5px);
}
.paper {
  position: absolute;
  width: 49%;
  height: 78%;
  border-radius: .1rem;
  box-shadow: .6rem 1rem 2rem #4f271d50;
}
.paper-back { left: 21%; top: 10%; transform: rotate(-15deg); background: #d5c9b0; }
.paper-front {
  left: 31%;
  top: 10%;
  transform: rotate(12deg);
  background: linear-gradient(120deg, #fff4d8, #eaddbc);
  padding: 8%;
}
.paper-initial { color: #55563c; font: italic 700 clamp(1.75rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.1em; }
.paper-lines {
  height: 55%;
  margin-top: 9%;
  background: repeating-linear-gradient(to bottom, #8d7a5280 0 1px, transparent 1px 15%);
}
.paper-mark {
  position: absolute;
  top: 59%;
  left: 25%;
  width: 58%;
  height: 14%;
  border: 2px solid #9a4f3d;
  border-radius: 49% 35% 50% 40%;
  transform: rotate(-8deg);
}
.pencil {
  position: absolute;
  width: 54%;
  height: 2.3%;
  left: 39%;
  top: 73%;
  transform: rotate(-37deg);
  background: linear-gradient(to right, #d0a977 0 10%, transparent 10%), linear-gradient(#a45136, #793c29 65%, #542d21);
  clip-path: polygon(0 50%, 10% 0, 100% 0, 100% 100%, 10% 100%);
}

.principles { background: #eee8d8; border-block: 1px solid var(--line); }
.principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 2.5rem;
  padding: 1.65rem 0;
  list-style: none;
  color: var(--muted);
  font-size: .93rem;
}
.principles strong { display: block; color: var(--olive-dark); font-size: 1rem; margin-bottom: .2rem; }
.editor-guide {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  border-left: 4px solid var(--rust);
  background: #f3e4d3;
}
.editor-guide h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
.editor-guide p { max-width: 62ch; margin-top: .5rem; color: var(--muted); }
.services {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service {
  min-width: 0;
  padding: 1.45rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 3px solid #a47760;
  border-radius: .2rem;
}
.service p { margin-top: .75rem; color: var(--muted); }
.service code { color: var(--olive-dark); }
.short-section { background: #eee8d8; border-block: 1px solid var(--line); }
.short-section .section { padding-block: clamp(2.6rem, 6vw, 4.25rem); }
.short-section p { margin-top: .65rem; color: var(--muted); }
.short-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}
.short-card { min-width: 0; padding: 1rem; background: var(--cream); border: 1px solid var(--line); }
.short-player {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 13;
  max-height: 26rem;
  margin-block: .8rem;
  background: radial-gradient(ellipse at 70% 20%, #5f694d, var(--olive-dark));
}
.short-player .button { margin: .45rem; background: var(--cream); color: var(--olive-dark); }
.short-player iframe { width: 100%; height: 100%; border: 0; }

.launch {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.75rem 3rem;
  padding: clamp(1.25rem, 5vw, 3.6rem);
  border-radius: .25rem;
  background: var(--olive-dark);
  color: var(--cream);
}
.launch h2 + p { max-width: 35ch; margin-top: .8rem; }
.launch fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.launch label[for="email"] { display: block; margin-bottom: .3rem; font-weight: 700; }
.launch input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: .2rem;
  background: var(--cream);
  color: var(--ink);
}
.consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: .8rem; }
.consent input { flex: 0 0 1.2rem; width: 1.2rem; height: 1.2rem; margin: .19rem 0 0; accent-color: var(--olive); }
.form-privacy { margin: .5rem 0 .9rem; font-size: .9rem; }
.launch .button { background: #f1d8b8; color: var(--olive-dark); }
.launch .button:hover { background: var(--cream); }
.form-status { min-height: 1.6em; margin-top: .65rem; color: #f3dbc0; font-size: .95rem; }
.legal-note { margin-top: 1rem; color: var(--muted); }
.expansion { border-top: 1px solid var(--line); padding-block: 1.75rem 2.45rem; }
.expansion h2, .footer h2 { font-size: 1.45rem; letter-spacing: -.025em; }
.expansion p { color: var(--muted); margin-top: .45rem; }
.footer { padding-block: 1.75rem 2.5rem; border-top: 1px solid var(--line); background: #eee8d8; }
.footer-top { display: flex; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; font-weight: 700; }
.footer section { margin-top: 1.15rem; }
.footer section p { color: var(--muted); margin-top: .3rem; max-width: 72ch; }
.legal-page { max-width: 76ch; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.045em; margin: 0 0 1.75rem; }
.legal-page p + p { margin-top: 1.1rem; }

@media (max-width: 800px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-inner { flex-wrap: wrap; padding-block: .8rem; }
  .hero, .launch, .principles-list { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(100%, 30rem); }
}
@media (max-width: 470px) {
  .services { grid-template-columns: minmax(0, 1fr); }
}
