:root {
  --paper: #f1ede3;
  --paper-light: #faf8f2;
  --ink: #18211d;
  --ink-soft: #4f5752;
  --line: rgba(24, 33, 29, 0.18);
  --accent: #d4543b;
  --sage: #74897d;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper-light);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 56px), var(--max-width));
  height: 88px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 700; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-width: 1.8; }
.brand-mark path + path { stroke: var(--accent); }
nav { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
nav a { transition: color 180ms ease; }
nav a:hover { color: var(--accent); }
.nav-cta { padding: 10px 0 7px; border-bottom: 1px solid var(--ink); }

.hero {
  position: relative;
  display: grid;
  min-height: 790px;
  padding: 154px max(28px, calc((100vw - var(--max-width)) / 2)) 80px;
  grid-template-columns: minmax(380px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 70px;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 79% 42%, rgba(193, 181, 149, 0.33), transparent 26%), repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(24, 33, 29, 0.035) 25%);
  content: "";
}
.eyebrow, .section-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: var(--accent); }
.hero h1, .section-heading h2, .workflow h2, .final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}
.hero h1 { max-width: 600px; font-size: clamp(64px, 7vw, 106px); }
.hero h1 em, .section-heading h2 em, .final-cta h2 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 570px; margin: 34px 0 0; color: var(--ink-soft); font-family: var(--display); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.045em; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper-light); }
.button-primary:hover { background: var(--accent); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.availability { margin: 24px 0 0; color: var(--ink-soft); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }

.workspace-visual { position: relative; align-self: stretch; min-height: 550px; padding-top: 30px; }
.visual-caption { display: flex; justify-content: space-between; margin: 0 40px 12px; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; }
.app-window { position: absolute; top: 58px; right: -7vw; left: 0; overflow: hidden; border: 1px solid rgba(24,33,29,.38); background: #e9e6de; box-shadow: 0 32px 70px rgba(36, 36, 28, 0.16); transform: rotate(-0.7deg); }
.window-bar { display: grid; height: 42px; padding: 0 14px; grid-template-columns: 1fr 2fr 1fr; align-items: center; border-bottom: 1px solid #c8c5bd; background: #f8f6f0; font-size: 9px; }
.window-bar > span { text-align: center; }
.page-count { justify-self: end; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border: 1px solid #8d8c86; border-radius: 50%; }
.window-body { display: grid; min-height: 440px; grid-template-columns: 46px minmax(300px, 1.5fr) minmax(180px, .75fr); }
.library-rail { display: flex; padding: 15px 0; align-items: center; flex-direction: column; gap: 22px; border-right: 1px solid #c8c5bd; background: #23302a; }
.rail-logo { color: #fff; font-family: var(--display); font-size: 17px; }
.library-rail i { width: 15px; height: 15px; border: 1px solid rgba(255,255,255,.34); border-radius: 3px; }
.library-rail i.active { background: var(--accent); border-color: var(--accent); }
.paper-sheet { margin: 18px 14px 18px 18px; padding: 36px 46px; background: #fffefa; box-shadow: 0 6px 18px rgba(20, 27, 23, .08); font-family: Georgia, serif; }
.paper-sheet .paper-kicker { margin: 0 0 24px; color: #777; font-family: var(--body); font-size: 6px; letter-spacing: .11em; }
.paper-sheet h2 { max-width: 370px; margin: 0; font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -.025em; line-height: 1.04; }
.paper-authors { margin: 8px 0 20px; color: #6e726f; font-size: 9px; }
.paper-rule { width: 100%; height: 1px; margin: 0 0 20px; background: #262d29; }
.paper-sheet h3 { margin: 0 0 7px; font-size: 11px; }
.paper-sheet p:not([class]) { color: #4e5451; font-size: 8px; line-height: 1.62; }
.paper-sheet .highlight { margin: 13px -6px; padding: 7px 6px; background: rgba(239, 185, 83, .32); color: #353b38; font-size: 8px; line-height: 1.62; }
.note-panel { padding: 17px 14px; border-left: 1px solid #c8c5bd; background: #eeece6; }
.note-heading { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 9px; }
.note-heading b { color: #777; font-weight: 500; }
.note-card { margin-bottom: 10px; padding: 14px; border: 1px solid #c4c2bb; background: #f8f6f0; }
.note-card.coral { border-top: 3px solid var(--accent); }
.note-card span { color: #777; font-size: 6px; font-weight: 700; letter-spacing: .12em; }
.note-card p { margin: 7px 0 0; font-family: var(--display); font-size: 11px; line-height: 1.4; }
.ask-box { display: flex; margin-top: 28px; padding: 10px 0; justify-content: space-between; border-bottom: 1px solid #777; color: #666; font-size: 8px; }
.margin-note { position: absolute; right: 5px; bottom: 6px; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--ink-soft); font-family: var(--display); font-size: 13px; font-style: italic; line-height: 1.45; }

.proof-strip { display: flex; min-height: 70px; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .18); }
.proof-strip p { margin: 0; font-family: var(--display); font-size: 13px; font-style: italic; }
.proof-strip span { width: 5px; height: 5px; transform: rotate(45deg); background: var(--accent); }
.section-shell { width: min(calc(100% - 56px), var(--max-width)); margin: 0 auto; }
.principles { padding-top: 138px; padding-bottom: 140px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.4fr .8fr; align-items: end; gap: 70px; }
.section-heading .section-number { align-self: start; }
.section-heading h2 { font-size: clamp(50px, 5.2vw, 76px); }
.section-heading > p:last-child { margin: 0 0 6px; color: var(--ink-soft); font-family: var(--display); font-size: 17px; line-height: 1.55; }
.principle-grid { display: grid; margin-top: 100px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article { position: relative; min-height: 310px; padding: 44px 42px 44px 0; }
.principle-grid article + article { padding-left: 42px; border-left: 1px solid var(--line); }
.feature-index { position: absolute; top: 18px; right: 18px; color: var(--accent); font-family: var(--display); font-size: 11px; font-style: italic; }
.principle-grid svg { width: 42px; height: 42px; margin-bottom: 58px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.2; }
.principle-grid h3 { margin: 0 0 16px; font-family: var(--display); font-size: 24px; font-weight: 500; }
.principle-grid p { max-width: 300px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

.workflow { position: relative; overflow: hidden; background: #1e2b25; color: var(--paper-light); }
.workflow::after { position: absolute; top: -40%; right: -10%; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); content: ""; }
.workflow-inner { position: relative; z-index: 1; display: grid; min-height: 660px; padding-top: 130px; padding-bottom: 130px; grid-template-columns: 1fr 1fr; gap: 120px; }
.workflow .section-number { color: #c3cdc7; }
.workflow h2 { font-size: clamp(58px, 6vw, 86px); }
.workflow-copy > p:last-child { max-width: 470px; margin: 34px 0 0; color: #b8c2bd; font-family: var(--display); font-size: 18px; line-height: 1.6; }
.workflow-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.workflow-steps li { display: grid; min-height: 135px; padding: 28px 0; grid-template-columns: 80px 1fr; align-items: start; border-bottom: 1px solid rgba(255,255,255,.22); }
.workflow-steps li > span { color: #9baba2; font-family: var(--display); font-size: 12px; font-style: italic; }
.workflow-steps h3 { margin: 0 0 9px; font-family: var(--display); font-size: 27px; font-weight: 400; }
.workflow-steps p { margin: 0; color: #9baba2; font-size: 12px; }

.final-cta { position: relative; min-height: 610px; padding: 135px max(28px, calc((100vw - var(--max-width)) / 2)); overflow: hidden; background: var(--accent); color: #fff8ef; }
.final-cta > div { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(58px, 7vw, 96px); }
.final-cta h2 em { color: #2a302d; }
.final-cta > div > p:not(.section-number) { margin: 28px 0; font-family: var(--display); font-size: 18px; }
.button-light { background: #fff8ef; color: var(--ink); }
.button-light:hover { background: var(--ink); color: #fff8ef; }
.orbit-mark { position: absolute; right: max(20px, calc((100vw - var(--max-width)) / 2)); bottom: -30px; width: min(35vw, 390px); fill: none; stroke: rgba(255,248,239,.32); stroke-width: 1; }
.orbit-dot { fill: #fff8ef; stroke: none; }
footer { display: grid; min-height: 120px; padding: 0 max(28px, calc((100vw - var(--max-width)) / 2)); grid-template-columns: 1fr 1fr 1fr; align-items: center; background: #151c19; color: #d9ddd8; font-size: 11px; }
footer > p:nth-child(2) { justify-self: center; font-family: var(--display); font-size: 13px; font-style: italic; }
footer > p:last-child { justify-self: end; color: #8d9791; }
.footer-brand { font-size: 18px; }
.footer-brand .brand-mark { width: 26px; }

[data-reveal] { animation: reveal-in 700ms ease both; }
.workspace-visual[data-reveal] { animation-delay: 100ms; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 1040px) {
  .hero { min-height: auto; padding-top: 140px; grid-template-columns: 1fr; gap: 70px; }
  .workspace-visual { min-height: 580px; }
  .app-window { right: 0; }
  .section-heading { grid-template-columns: 1fr 1.4fr; }
  .section-heading > p:last-child { grid-column: 2; }
}
@media (max-width: 760px) {
  .site-header { width: calc(100% - 36px); height: 72px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: 10px; }
  .hero { padding: 120px 18px 60px; }
  .hero h1 { font-size: clamp(58px, 19vw, 80px); }
  .hero-intro { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .workspace-visual { min-height: 500px; }
  .visual-caption { margin-right: 0; margin-left: 0; }
  .app-window { right: -180px; min-width: 690px; transform: scale(.78) rotate(-.7deg); transform-origin: top left; }
  .margin-note { bottom: -4px; }
  .proof-strip { min-height: 88px; padding: 0 14px; gap: 12px; }
  .proof-strip p { text-align: center; font-size: 11px; }
  .section-shell { width: calc(100% - 36px); }
  .principles { padding-top: 90px; padding-bottom: 90px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 52px; }
  .section-heading > p:last-child { margin-top: 30px; }
  .principle-grid { margin-top: 60px; grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { min-height: 260px; padding: 36px 20px 36px 0; border-left: 0; }
  .principle-grid article + article { border-top: 1px solid var(--line); }
  .principle-grid svg { margin-bottom: 36px; }
  .workflow-inner { padding-top: 90px; padding-bottom: 90px; grid-template-columns: 1fr; gap: 70px; }
  .workflow h2 { font-size: 60px; }
  .final-cta { min-height: 620px; padding-top: 100px; }
  .final-cta h2 { font-size: 57px; }
  .orbit-mark { right: -60px; width: 290px; }
  footer { padding: 32px 18px; grid-template-columns: 1fr 1fr; gap: 20px; }
  footer > p:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
