:root {
  --paper: #f8f2e7;
  --paper-deep: #eee3d2;
  --ink: #17233b;
  --ink-soft: #4f5a6d;
  --blue: #7895b2;
  --blue-deep: #4d6c8b;
  --amber: #d7a84e;
  --amber-light: #f0d89b;
  --white: #fffdf8;
  --line: rgba(23, 35, 59, 0.16);
  --shadow: 0 24px 80px rgba(23, 35, 59, 0.12);
  --shell: 72rem;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  background-image: radial-gradient(rgba(23, 35, 59, 0.1) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  background: var(--white);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus { top: 1rem; }

.shell {
  margin-inline: auto;
  max-width: var(--shell);
  padding-inline: 1.5rem;
  width: 100%;
}

.site-header {
  background: rgba(248, 242, 231, 0.9);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 5.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  gap: 0.7rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  height: 1.8rem;
  place-items: center;
  position: relative;
  width: 1.8rem;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  background: var(--amber);
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.brand-mark::before { height: 1px; width: 2.1rem; }
.brand-mark::after { height: 2.1rem; width: 1px; }
.brand-mark span::before { height: 0.34rem; transform: translate(-50%, -50%) rotate(45deg); width: 0.34rem; }
.brand-mark span::after { background: var(--ink); border-radius: 50%; height: 0.26rem; width: 0.26rem; }

nav { align-items: center; display: flex; gap: 1.7rem; }
nav a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }
.nav-contact { border-bottom: 1px solid var(--ink); color: var(--ink); padding-bottom: 0.12rem; }

.hero {
  isolation: isolate;
  min-height: 46rem;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.25rem) 0 clamp(4.5rem, 7vw, 6rem);
  position: relative;
}

.hero-grid {
  position: static;
}

.hero-copy {
  max-width: 39rem;
  position: relative;
  z-index: 2;
}

.hero-visual {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero-visual::after {
  background: linear-gradient(90deg, rgba(248, 242, 231, 1) 0%, rgba(248, 242, 231, 0.98) 34%, rgba(248, 242, 231, 0.82) 46%, rgba(248, 242, 231, 0) 64%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-visual > img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.eyebrow {
  align-items: center;
  color: var(--blue-deep);
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.75rem;
  letter-spacing: 0.16em;
  margin: 0 0 1.3rem;
  text-transform: uppercase;
}

.eyebrow::before { background: var(--amber); content: ""; height: 1px; width: 2.4rem; }
.eyebrow-light { color: var(--amber-light); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; }

h1 {
  font-size: clamp(3.3rem, 7vw, 6.65rem);
  letter-spacing: -0.055em;
  margin-bottom: 1.8rem;
  max-width: 12ch;
}

.hero h1 {
  font-size: clamp(3.3rem, 5.8vw, 5.35rem);
  margin-bottom: 1.2rem;
  max-width: 13ch;
}

.hero .hero-actions { margin-top: 1.5rem; }

h2 { font-size: clamp(2.25rem, 4.7vw, 4.2rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -0.025em; }

.hero-lede {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  max-width: 38rem;
}

.hero-actions, .closing-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; }

.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  gap: 1rem;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.75rem 1.35rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { background: #263654; transform: translateY(-2px); }
.button-small { min-height: 2.75rem; padding: 0.55rem 1rem; }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-light:hover { background: var(--amber-light); }
.button-outline { background: transparent; border-color: rgba(255,255,255,0.48); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--paper-deep); }

.text-link { font-size: 0.94rem; font-weight: 750; text-underline-offset: 0.28rem; }
.fine-print { color: var(--ink-soft); font-size: 0.83rem; margin-top: 1.1rem; }

.pilot-card {
  backdrop-filter: blur(8px);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(23, 35, 59, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transform: rotate(1.5deg);
}

.hero-visual .pilot-card {
  bottom: 2.5rem;
  left: auto;
  padding: 1.3rem 1.5rem;
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--shell)) / 2 + 1.5rem));
  transform: rotate(-1.5deg);
  width: min(22rem, calc(100% - 3rem));
  z-index: 2;
}

.hero-visual .card-number { font-size: 2.75rem; margin: 1rem 0 0; }
.hero-visual .pilot-card h2 { font-size: 1.45rem; margin-bottom: 1.2rem; }
.hero-visual .pilot-card dl div { font-size: 0.86rem; padding: 0.55rem 0; }

.card-kicker { align-items: center; display: flex; font-size: 0.75rem; font-weight: 800; gap: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; }
.card-kicker span { background: #50765c; border-radius: 50%; height: 0.55rem; width: 0.55rem; }
.card-number { color: var(--amber); font-family: Georgia, serif; font-size: 5rem; line-height: 1; margin: 2.2rem 0 0.25rem; }
.pilot-card h2 { font-size: 2rem; margin-bottom: 2.5rem; }
.pilot-card dl { border-top: 1px solid var(--line); margin: 0; }
.pilot-card dl div { display: flex; gap: 1rem; justify-content: space-between; padding: 0.8rem 0; }
.pilot-card dt { color: var(--ink-soft); }
.pilot-card dd { font-weight: 700; margin: 0; text-align: right; }

.section-pad { padding-block: clamp(5rem, 9vw, 8.5rem); }
.two-column { display: grid; gap: clamp(2rem, 8vw, 8rem); grid-template-columns: 0.9fr 1.1fr; }
.two-column h2 { max-width: 11ch; }
.prose { color: var(--ink-soft); font-size: 1.05rem; max-width: 42rem; }
.prose p:last-child { margin-bottom: 0; }
.lead-prose { font-size: clamp(1.05rem, 2vw, 1.3rem); }

.offer { background: var(--paper-deep); }
.section-heading { margin-bottom: 3rem; max-width: 50rem; }
.section-heading h2 { margin-bottom: 0; }
.offer-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 26rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.feature-card-dark { background: var(--ink); color: var(--white); }
.feature-card h3 { font-size: 2.15rem; max-width: 15ch; }
.feature-index { color: var(--blue-deep); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-card-dark .feature-index { color: var(--amber-light); }
.check-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.check-list li { border-top: 1px solid currentColor; padding: 0.85rem 0 0.85rem 1.8rem; position: relative; }
.check-list li::before { color: var(--amber); content: "✦"; left: 0; position: absolute; }
.feature-card-dark .check-list li { border-color: rgba(255,255,255,0.17); }
.feature-card:not(.feature-card-dark) .check-list li { border-color: var(--line); }

.heading-row { align-items: end; display: flex; justify-content: space-between; max-width: none; }
.heading-row > p { color: var(--ink-soft); max-width: 23rem; }
.steps { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.steps li { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 5rem 1fr; padding: 2rem 0; }
.step-number { color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.3rem; }
.steps h3 { margin-bottom: 0.55rem; }
.steps p { color: var(--ink-soft); margin: 0; max-width: 44rem; }

.responsibilities { background: var(--white); }
.section-summary { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; }
.line-list { list-style: none; margin: 0; padding: 0; }
.line-list li { align-items: baseline; border-top: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 2rem 1fr; padding: 1.15rem 0; }
.line-list li:last-child { border-bottom: 1px solid var(--line); }
.line-list span { color: var(--amber); font-family: Georgia, serif; }

.boundaries { padding-block: clamp(3rem, 6vw, 5rem); }
.boundary-panel { background: var(--blue-deep); border-radius: var(--radius); color: var(--white); display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; padding: clamp(2.25rem, 6vw, 5rem); }
.boundary-panel h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0; }
.boundary-panel .prose { color: rgba(255,255,255,0.82); }

.founder-grid { align-items: start; display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1.2fr 0.8fr; }
blockquote { margin: 0; }
blockquote > p { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.15; }
blockquote footer { display: flex; flex-direction: column; }
blockquote footer span { color: var(--ink-soft); }
.founder-note { border-left: 1px solid var(--amber); padding-left: 2rem; }

.faq { background: var(--paper-deep); }
.faq-grid { display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 0.65fr 1.35fr; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
summary { cursor: pointer; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 600; padding-right: 2.5rem; position: relative; }
summary::marker { color: var(--amber); }
details p { color: var(--ink-soft); margin: 1rem 0 0; max-width: 44rem; }

.closing { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.closing-orbit { border: 1px solid rgba(240,216,155,0.24); border-radius: 50%; height: 34rem; position: absolute; right: -8rem; top: -12rem; width: 34rem; }
.closing-orbit::after { border: 1px solid rgba(120,149,178,0.32); border-radius: 50%; content: ""; inset: 20%; position: absolute; }
.closing-inner { position: relative; }
.closing h2 { max-width: 16ch; }
.closing p:not(.eyebrow) { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 42rem; }

.site-footer { background: #101a2d; color: var(--white); padding: 3rem 0; }
.footer-inner { align-items: end; display: flex; justify-content: space-between; }
.footer-brand { margin-bottom: 0.8rem; }
.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.86rem; margin-bottom: 0; }
.footer-meta { text-align: right; }
.footer-meta a { text-underline-offset: 0.2rem; }
.footer-meta span { margin-inline: 0.4rem; }

.consent {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  bottom: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 50%;
  max-width: 58rem;
  padding: 1rem 1.2rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 50;
}

.consent[hidden] { display: none; }
.consent p { color: var(--ink-soft); font-size: 0.85rem; margin: 0; }
.consent .consent-title { color: var(--ink); font-weight: 800; }
.consent-actions { display: flex; flex-shrink: 0; gap: 0.6rem; }

.legal-shell { max-width: 52rem; }
.legal h1, .not-found h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 13ch; }
.legal-updated { color: var(--ink-soft); margin-bottom: 4rem; }
.legal section { border-top: 1px solid var(--line); padding: 2.2rem 0; }
.legal section h2 { font-size: 1.8rem; }
.legal section p { color: var(--ink-soft); }
.legal-button { margin-top: 0.6rem; }
.not-found { min-height: 65vh; }
.not-found p { color: var(--ink-soft); font-size: 1.15rem; }

@media (max-width: 800px) {
  nav a:not(.nav-contact) { display: none; }
  .hero { min-height: 0; }
  .hero-grid, .two-column, .offer-grid, .boundary-panel, .founder-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { display: flex; flex-direction: column; gap: 3rem; position: relative; }
  .hero-visual { margin-bottom: 2rem; }
  .hero-visual { inset: auto; position: relative; width: 100%; }
  .hero-visual::after { display: none; }
  .hero-visual > img { aspect-ratio: 4 / 3; border-radius: var(--radius); height: min(25rem, 75vw); object-position: 70% center; }
  .hero-visual .pilot-card { bottom: -2rem; left: 1rem; transform: none; width: calc(100% - 2rem); }
  .heading-row, .footer-inner { align-items: start; flex-direction: column; gap: 1.4rem; }
  .footer-meta { text-align: left; }
  .boundary-panel { gap: 2rem; }
  .consent { align-items: stretch; flex-direction: column; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .header-inner { min-height: 4.6rem; }
  .brand { font-size: 0.98rem; }
  .hero { padding-top: 4rem; }
  .hero-actions, .closing-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .closing-actions .button { width: 100%; }
  .consent { bottom: 0.5rem; gap: 0.7rem; padding: 0.8rem; width: calc(100% - 1rem); }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions .button { min-height: 2.7rem; padding-inline: 0.7rem; width: 100%; }
  .steps li { gap: 0.75rem; grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
}

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