:root {
  --paper: #f7f0e4;
  --paper-strong: #efe3d0;
  --ink: #201711;
  --ink-muted: #6b5a4c;
  --line: #d9c7ae;
  --gold: #bd8525;
  --burgundy: #9e4549;
  --pine: #3d6659;
  --deep: #211914;
  --deep-muted: #c7b9a6;
  --white: #fffdfa;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  background: linear-gradient(90deg, transparent 0 49.75%, rgb(100 77 53 / 5%) 49.8% 50%, transparent 50.05% 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a { color: inherit; }

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img { display: block; max-width: 100%; }

.shell { margin: 0 auto; width: var(--shell); }

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 10;
}

.skip-link:focus { top: 16px; }

.site-header {
  border-top: 3px solid var(--burgundy);
  padding: 24px 0;
  position: relative;
}

.header-inner, .footer-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.brand { color: var(--ink); display: inline-flex; }
.brand img { height: auto; width: 104px; }

.site-nav { align-items: center; display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav a { color: var(--ink-muted); font-size: 0.78rem; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-product { border-bottom: 1px solid var(--ink); color: var(--ink); padding-bottom: 3px; }

.section { padding: clamp(84px, 10vw, 150px) 0; }
.section-grid { position: relative; }
.section-grid::before { border-left: 1px solid rgb(159 124 72 / 15%); content: ""; inset: 0 auto 0 calc(50% - 1px); pointer-events: none; position: absolute; }

.hero { overflow: clip; padding: clamp(44px, 8vw, 100px) 0 clamp(104px, 13vw, 182px); }
.hero-grid { align-items: center; display: grid; gap: clamp(52px, 8vw, 116px); grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr); }
.hero-grid > *, .split-layout > *, .ai-layout > *, .trust-layout > *, .domains-layout > * { min-width: 0; }
.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.25;
  margin: 0 0 20px;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.04em; }
h1 { font-size: clamp(3.25rem, 6.6vw, 6.4rem); line-height: 0.94; margin-bottom: 30px; max-width: 850px; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.8rem); line-height: 0.99; margin-bottom: 0; }
h3 { font-size: 1.7rem; line-height: 1; }
em { color: var(--gold); font-style: italic; }

.hero-lede { color: var(--ink-muted); font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.45; margin-bottom: 32px; max-width: 600px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; }
.cta { align-items: center; display: inline-flex; font-size: 0.75rem; font-weight: 700; gap: 18px; letter-spacing: 0.12em; padding: 14px 18px; text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.cta:hover { transform: translateY(-2px); }
.cta-primary { background: var(--ink); color: var(--white); }
.cta-primary:hover { background: var(--burgundy); }
.cta-quiet { border-bottom: 1px solid var(--line); color: var(--ink); padding-inline: 4px; }
.cta-quiet:hover { border-color: var(--ink); }

.hero-figure { aspect-ratio: 1 / 0.86; min-height: 405px; position: relative; }
.hero-figure::before { background: var(--white); border: 1px solid var(--line); content: ""; inset: 8% 0 6% 8%; position: absolute; }
.orbit { border: 1px dashed rgb(189 133 37 / 50%); border-radius: 50%; position: absolute; }
.orbit-one { height: 58%; right: 2%; top: 16%; width: 58%; }
.orbit-two { height: 77%; left: 3%; top: 6%; width: 77%; }
.axis { background: linear-gradient(90deg, transparent, var(--gold), transparent); height: 1px; left: 9%; position: absolute; top: 48%; width: 84%; }
.figure-core { align-items: center; background: var(--ink); border: 7px solid var(--paper); border-radius: 50%; color: var(--paper); display: flex; flex-direction: column; height: clamp(126px, 16vw, 184px); justify-content: center; left: 47%; position: absolute; top: 46%; transform: translate(-50%, -50%); width: clamp(126px, 16vw, 184px); z-index: 2; }
.figure-core span { font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.5rem); font-style: italic; line-height: 0.8; }
.figure-core small { font-size: 0.6rem; letter-spacing: 0.15em; margin-top: 14px; text-transform: uppercase; }
.figure-card { background: var(--white); border: 1px solid var(--line); box-shadow: 12px 12px 0 rgb(115 79 38 / 7%); max-width: 202px; padding: 18px; position: absolute; z-index: 2; }
.figure-card strong { display: block; font-family: var(--serif); font-size: 1.42rem; font-weight: 400; line-height: 1.05; margin: 7px 0; }
.figure-card small { color: var(--ink-muted); display: block; font-family: var(--serif); font-size: 0.86rem; line-height: 1.35; }
.figure-number { color: var(--burgundy); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; }
.figure-card-top { left: 11%; top: 10%; }
.figure-card-left { bottom: 11%; left: 3%; }
.figure-card-right { bottom: 8%; right: 0; }
.figure-caption { bottom: -1%; color: var(--ink-muted); font-family: var(--serif); font-size: 1.1rem; left: 18%; position: absolute; z-index: 3; }

.split-layout, .ai-layout, .domains-layout { display: grid; gap: clamp(40px, 10vw, 150px); grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.body-copy { border-top: 1px solid var(--line); color: var(--ink-muted); font-family: var(--serif); font-size: clamp(1.26rem, 1.8vw, 1.6rem); line-height: 1.52; padding-top: 24px; }
.body-copy p + p { margin-top: 1.1em; }

.section-soft { background: var(--paper-strong); }
.section-heading { max-width: 770px; }
.section-heading > p:last-child { color: var(--ink-muted); font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; margin: 22px 0 0; }
.layers { counter-reset: layer; list-style: none; margin: clamp(46px, 8vw, 92px) 0 0; padding: 0; }
.layer { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 56px minmax(0, 1fr) minmax(180px, 0.55fr); padding: clamp(20px, 3vw, 34px) 0; }
.layer:last-child { border-bottom: 1px solid var(--line); }
.layer-index { color: var(--gold); font-family: var(--serif); font-size: 2rem; }
.layer strong { font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.55rem); font-weight: 400; letter-spacing: -0.035em; }
.layer p, .layer-note { color: var(--ink-muted); font-family: var(--serif); margin: 4px 0 0; }
.layer-note { font-size: 0.98rem; font-style: italic; }
.layer-human { border-left: 3px solid var(--burgundy); padding-left: 20px; }
.layer-context { border-left: 3px solid var(--gold); padding-left: 20px; }
.layer-foundation { border-left: 3px solid var(--pine); padding-left: 20px; }

.ai-statement { align-self: start; }
.ai-story { border-left: 1px solid var(--line); padding-left: clamp(25px, 4vw, 60px); position: relative; }
.quote-mark { color: var(--gold); font-family: var(--serif); font-size: 7rem; height: 60px; line-height: 1; margin: -10px 0 0; }
blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.18; margin: 0 0 26px; }
.ai-story > p:last-child { color: var(--ink-muted); font-family: var(--serif); font-size: 1.14rem; line-height: 1.55; }

.section-deep { background: var(--deep); color: var(--paper); }
.trust-layout { display: grid; gap: clamp(50px, 10vw, 160px); grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.eyebrow-light { color: #e7b55d; }
.section-deep h2 { color: var(--white); }
.section-deep h2 + p { color: var(--deep-muted); font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; margin: 20px 0 0; max-width: 440px; }
.trust-list { border-top: 1px solid rgb(255 253 250 / 25%); margin: 0; }
.trust-list div { border-bottom: 1px solid rgb(255 253 250 / 25%); display: grid; gap: 20px; grid-template-columns: minmax(120px, 0.35fr) 1fr; padding: 22px 0; }
.trust-list dt { color: #e7b55d; font-family: var(--serif); font-size: 1.45rem; }
.trust-list dd { color: var(--deep-muted); font-family: var(--serif); line-height: 1.48; margin: 0; }

.domains { display: grid; gap: 16px; }
.domain { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.domain-url { color: var(--burgundy); display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.domain h3 { margin: 12px 0 8px; }
.domain p { color: var(--ink-muted); font-family: var(--serif); font-size: 1.08rem; line-height: 1.48; margin-bottom: 0; }
.domain-product { border-color: var(--gold); }
.domain-product a { color: var(--ink); display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.11em; margin-top: 24px; text-decoration: none; text-transform: uppercase; }
.domain-product a:hover { color: var(--burgundy); }

.closing { background: linear-gradient(135deg, #efe3d0 0%, #f8f2e8 56%, #eadcc3 100%); padding: clamp(90px, 13vw, 176px) 0; }
.closing-inner { max-width: 840px; }
.closing h2 { font-size: clamp(3rem, 5.6vw, 6rem); margin-bottom: 36px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-brand img { height: 30px; }
.footer-inner { color: var(--ink-muted); font-family: var(--serif); font-size: 0.92rem; }
.footer-inner p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(20px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="top"] { transform: translateY(-10px); }
.is-visible { opacity: 1; transform: translate3d(0, 0, 0); transition: opacity 640ms ease, transform 640ms cubic-bezier(.2, .75, .25, 1); }

@media (max-width: 860px) {
  :root { --shell: min(100% - 36px, 680px); }
  .section-grid::before { display: none; }
  .site-header { padding: 18px 0; }
  .site-nav a:not(.nav-product) { display: none; }
  .hero { padding-bottom: 88px; }
  .hero-grid, .split-layout, .ai-layout, .trust-layout, .domains-layout { grid-template-columns: 1fr; }
  .hero-figure { margin-top: 16px; min-height: 350px; }
  .hero-figure::before { inset: 5% 0 5% 4%; }
  .figure-card { max-width: 180px; padding: 14px; }
  .figure-card-right { bottom: 2%; }
  .figure-card-left { bottom: 5%; left: 1%; }
  .figure-caption { bottom: -4%; left: 8%; }
  .ai-story { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .layer { grid-template-columns: 40px 1fr; }
  .layer-note { grid-column: 2; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 520px) {
  :root { --shell: min(100% - 28px, 580px); }
  .brand img { width: 86px; }
  .nav-product { font-size: 0.64rem !important; }
  h1 { font-size: clamp(2.85rem, 12.35vw, 3.95rem); }
  h2 { font-size: clamp(2.45rem, 12vw, 3.55rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .cta { justify-content: space-between; width: 100%; }
  .hero-figure { min-height: 335px; }
  .figure-card { max-width: 148px; }
  .figure-card strong { font-size: 1.2rem; }
  .figure-card small { font-size: 0.72rem; }
  .figure-card-top { left: 4%; top: 4%; }
  .figure-card-left { left: -1%; }
  .figure-card-right { right: -1%; }
  .figure-core { left: 50%; top: 46%; }
  .figure-caption { font-size: 0.88rem; }
  .layer { display: block; padding-left: 14px; }
  .layer-index { display: block; margin-bottom: 8px; }
  .layer-note { display: block; margin-top: 9px; }
  .trust-list div { display: block; }
  .trust-list dd { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
