:root {
  --paper: #f0ede6;
  --paper-bright: #faf8f2;
  --ink: #121319;
  --muted: #5b5b5f;
  --line: rgba(18, 19, 25, 0.2);
  --cobalt: #244bd6;
  --cobalt-dark: #1736a7;
  --white: #fffefa;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

a {
  color: inherit;
}

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

::selection {
  background: var(--cobalt);
  color: var(--white);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 57fr) minmax(390px, 43fr);
  grid-template-rows: auto 1fr auto;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.site-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--ink);
  background: rgba(240, 237, 230, 0.92);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 10;
}

.wordmark,
.header-meta,
.site-header nav,
.eyebrow,
.agenda-time,
.system-kicker,
.system-output,
footer {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  text-decoration: none;
  width: fit-content;
}

.site-header nav {
  display: flex;
  gap: 26px;
}

.site-header nav a {
  text-decoration: none;
  position: relative;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  right: 0;
}

.header-meta {
  justify-self: end;
}

.hero-copy {
  padding: clamp(56px, 8vh, 104px) clamp(28px, 6vw, 96px) 56px 32px;
  align-self: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--cobalt);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 6.6vw, 116px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.87;
}

.hero h1 span {
  display: block;
  color: var(--cobalt);
  font-style: italic;
}

.hero-intro {
  max-width: 600px;
  margin: 34px 0 0;
  font-size: clamp(18px, 1.65vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.hero-actions,
.prepare-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--cobalt);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.text-link {
  font-size: 13px;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.hero-system {
  grid-column: 2;
  grid-row: 2;
  min-height: 610px;
  padding: 42px 34px 34px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.system-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 88%);
}

.system-kicker,
.system-stack,
.system-output {
  position: relative;
  z-index: 1;
}

.system-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.system-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-layer {
  min-height: clamp(112px, 16vh, 160px);
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: end;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(18, 19, 25, 0.8);
  transform-origin: left center;
  animation: system-in 700ms cubic-bezier(0.2, 0.85, 0.3, 1) both;
}

.layer-orchestration {
  margin-left: 8%;
  background: var(--cobalt);
  border-color: var(--cobalt);
  animation-delay: 180ms;
}

.layer-execution {
  margin-left: 16%;
  animation-delay: 360ms;
}

.system-layer > span,
.check-number,
.agenda-number,
.model-letter,
.workflow-ideas li span,
.outcomes li span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.system-layer strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.system-layer small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.system-output {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2s infinite;
}

.output-arrow {
  font-size: 20px;
  transition: transform 180ms ease;
}

.hero-system:hover .output-arrow {
  transform: translateX(8px);
}

.hero-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 640ms cubic-bezier(0.2, 0.85, 0.3, 1) forwards;
}

.hero h1.hero-reveal {
  animation-delay: 100ms;
}

.hero-intro.hero-reveal {
  animation-delay: 200ms;
}

.hero-actions.hero-reveal {
  animation-delay: 300ms;
}

.statement,
.agenda,
.model,
.workflow-ideas,
.outcomes,
.faq {
  padding: clamp(80px, 11vw, 176px) 32px;
}

.statement {
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-content: center;
  column-gap: 40px;
  border-bottom: 1px solid var(--line);
}

.statement h2 {
  max-width: 1150px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 9vw, 160px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.84;
}

.statement > p:last-child {
  grid-column: 2;
  max-width: 680px;
  margin: 44px 0 0;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 74px;
}

.section-heading h2,
.prepare-intro h2,
.privacy h2,
.outcomes h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.4vw, 108px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.agenda-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.agenda-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, color 180ms ease;
}

.agenda-list li:hover {
  padding-left: 12px;
  color: var(--cobalt);
}

.agenda-list h3,
.checklist h3,
.model-rows h3 {
  margin: 0;
  font-size: clamp(23px, 2.4vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.agenda-list p,
.checklist p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.agenda-time {
  color: var(--muted);
}

.model {
  background: var(--paper-bright);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.model-rows {
  border-top: 1px solid var(--ink);
}

.model-rows article {
  display: grid;
  grid-template-columns: 100px 1fr 1.5fr;
  gap: 24px;
  align-items: baseline;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.model-letter {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
}

.model-rows article:nth-child(2) .model-letter {
  background: var(--cobalt);
}

.model-rows p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(18px, 1.7vw, 25px);
  letter-spacing: -0.02em;
}

.preparation {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 100vh;
  background: var(--cobalt);
  color: var(--white);
}

.prepare-intro {
  padding: clamp(80px, 9vw, 144px) clamp(32px, 6vw, 96px) clamp(80px, 9vw, 144px) 32px;
  align-self: center;
}

.prepare-intro .eyebrow,
.privacy .eyebrow,
.final-cta .eyebrow {
  color: currentColor;
  opacity: 0.7;
}

.prepare-intro > p:not(.eyebrow) {
  max-width: 600px;
  margin: 30px 0 0;
  font-size: clamp(18px, 1.65vw, 24px);
  color: rgba(255, 255, 255, 0.78);
}

.light-link {
  color: var(--white);
}

.checklist {
  margin: 0;
  padding: 0 32px;
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checklist li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.checklist li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.checklist p {
  color: rgba(255, 255, 255, 0.7);
}

.privacy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  padding: clamp(80px, 10vw, 160px) 32px;
  background: var(--ink);
  color: var(--white);
}

.privacy p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: clamp(18px, 1.8vw, 26px);
  color: rgba(255, 255, 255, 0.72);
}

.workflow-ideas ul {
  margin: 0 0 0 25%;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.workflow-ideas li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 2.3vw, 38px);
  letter-spacing: -0.035em;
  transition: color 180ms ease, transform 180ms ease;
}

.workflow-ideas li:hover {
  color: var(--cobalt);
  transform: translateX(10px);
}

.outcomes {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  background: var(--paper-bright);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.outcomes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.outcomes li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.outcomes li p {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 27px);
  letter-spacing: -0.02em;
}

.faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
}

.faq .section-heading {
  display: block;
  margin: 0;
}

.faq .section-heading h2 {
  font-size: clamp(48px, 6vw, 94px);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 26px 40px 26px 0;
  font-size: clamp(19px, 1.8vw, 27px);
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 24px;
  font-family: var(--mono);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 680px;
  margin: 0;
  padding: 0 44px 30px 0;
  color: var(--muted);
}

.final-cta {
  min-height: 84vh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(90px, 12vw, 190px) 32px;
  background: var(--cobalt);
  color: var(--white);
}

.final-cta h2 {
  max-width: 1250px;
  font-size: clamp(58px, 9vw, 150px);
}

.final-cta .button {
  margin-top: 44px;
  background: var(--white);
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 32px;
  background: var(--ink);
  color: var(--white);
}

@supports (animation-timeline: view()) {
  .section-reveal {
    animation: section-rise linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes system-in {
  from {
    opacity: 0;
    transform: translateX(46px) scaleX(0.88);
  }
  to {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes section-rise {
  from {
    opacity: 0.2;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-right: 34px;
  }

  .hero h1 {
    font-size: clamp(48px, 7.5vw, 78px);
  }

  .system-layer strong {
    font-size: clamp(27px, 3.6vw, 40px);
  }

  .preparation,
  .privacy,
  .outcomes,
  .faq {
    grid-template-columns: 1fr;
  }

  .prepare-intro {
    padding-right: 32px;
  }

  .checklist {
    padding: 0 32px 80px;
    border-left: 0;
  }

  .privacy {
    gap: 40px;
  }

  .workflow-ideas ul {
    margin-left: 0;
  }

  .faq {
    gap: 55px;
  }
}

@media (max-width: 760px) {
  .hero {
    display: block;
    min-height: auto;
  }

  .site-header {
    min-height: 62px;
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .site-header nav {
    display: none;
  }

  .header-meta {
    font-size: 9px;
  }

  .hero-copy {
    min-height: calc(100svh - 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 66px 20px 48px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .hero-intro {
    margin-top: 28px;
    font-size: 18px;
  }

  .hero-actions,
  .prepare-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-system {
    min-height: 620px;
    padding: 30px 20px;
  }

  .system-layer {
    min-height: 132px;
    padding: 20px;
  }

  .system-layer strong {
    font-size: 34px;
  }

  .hero-foot {
    padding: 14px 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .statement,
  .agenda,
  .model,
  .workflow-ideas,
  .outcomes,
  .faq,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .statement {
    min-height: 78vh;
    grid-template-columns: 1fr;
  }

  .statement h2 {
    font-size: clamp(58px, 20vw, 98px);
  }

  .statement > p:last-child {
    grid-column: 1;
    margin-top: 34px;
    font-size: 19px;
  }

  .section-heading {
    display: block;
    margin-bottom: 50px;
  }

  .section-heading h2,
  .prepare-intro h2,
  .privacy h2,
  .outcomes h2,
  .faq .section-heading h2 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .agenda-list li {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .agenda-time {
    grid-column: 2;
    margin-top: 6px;
  }

  .model-rows article {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .model-rows p {
    grid-column: 2;
    font-size: 17px;
  }

  .prepare-intro {
    padding: 84px 20px 54px;
  }

  .checklist {
    padding: 0 20px 84px;
  }

  .checklist li {
    grid-template-columns: 38px 1fr;
    padding: 26px 0;
  }

  .privacy {
    padding: 90px 20px;
  }

  .workflow-ideas li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    font-size: 21px;
  }

  .outcomes {
    gap: 50px;
  }

  .final-cta {
    min-height: 90vh;
  }

  .final-cta h2 {
    font-size: clamp(58px, 18vw, 94px);
  }

  footer {
    padding: 24px 20px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
