:root {
  color-scheme: light;
  --ink: #101413;
  --ink-soft: #303735;
  --paper: #f3f0e9;
  --paper-warm: #e6ddd0;
  --paper-bright: #faf8f3;
  --cyan: #a8edff;
  --cyan-strong: #5fc8e3;
  --green: #8eb597;
  --muted: #6c746f;
  --line: rgba(16, 20, 19, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --container: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper-bright);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--container);
  height: 82px;
  align-items: center;
  justify-content: space-between;
  color: #f7f6f1;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 740;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mark {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.language-switch {
  display: grid;
  width: 40px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: min(960px, 100svh);
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 38%, rgba(76, 164, 186, 0.19), transparent 28%),
    #101413;
  color: #f7f6f1;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: min(960px, 100svh);
  padding: 126px 0 70px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  color: var(--cyan);
  gap: 10px;
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(142, 181, 151, 0.12);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 6.8vw, 7rem);
  font-weight: 510;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--cyan);
  font-weight: 410;
}

.hero-lead {
  max-width: 620px;
  margin: 38px 0 0;
  color: #b9c1bd;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-bottom {
  display: grid;
  margin-top: 44px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.hero-bottom p {
  max-width: 340px;
  margin: 0;
  color: #7f8984;
  font-size: 0.8rem;
}

.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-bottom a span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  margin: 0;
}

.hero-visual > img {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 2%;
  width: min(440px, 87%);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.36);
  transform: translateY(-47%);
}

.hero-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 8%;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 690px;
  max-width: none;
  fill: none;
  opacity: 0.32;
  stroke: var(--cyan);
  stroke-width: 1.1;
  transform: translate(-50%, -50%);
}

.hero-mark {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 13%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(16, 20, 19, 0.9);
  color: var(--cyan);
}

.hero-mark .mark {
  width: 42px;
  height: 42px;
}

.section {
  padding: clamp(88px, 11vw, 154px) 0;
}

.target {
  background: var(--paper);
}

.target-grid {
  display: grid;
  grid-template-columns: 0.38fr 1.35fr 0.42fr;
  align-items: start;
  gap: clamp(30px, 6vw, 86px);
}

.target h2,
.section-heading h2,
.system h2,
.inductive h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.target-grid > div > p,
.system-copy > p:last-of-type,
.inductive-copy > p:last-child {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
}

.target-note {
  margin: 10px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.system {
  overflow: hidden;
  background: var(--ink);
  color: #f4f2ed;
}

.system-grid {
  display: block;
}

.system-copy {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  column-gap: clamp(30px, 6vw, 86px);
}

.system-copy .kicker {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.system-copy h2,
.system-copy > p:last-of-type,
.system-counts {
  grid-column: 2;
}

.system h2 span {
  display: block;
}

.system .kicker {
  color: #8d9692;
}

.system-copy > p:last-of-type {
  color: #969f9b;
}

.system-counts {
  display: grid;
  margin-top: 60px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  grid-template-columns: repeat(3, 1fr);
}

.system-counts div {
  display: grid;
  min-height: 120px;
  padding: 22px;
  align-content: center;
  border-right: 1px solid var(--line-light);
}

.system-counts div:first-child {
  padding-left: 0;
}

.system-counts div:last-child {
  border-right: 0;
}

.system-counts strong {
  color: var(--cyan);
  font-size: 3.6rem;
  font-weight: 430;
  letter-spacing: -0.05em;
  line-height: 1;
}

.system-counts span {
  color: #858e8a;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.questions {
  background: var(--paper-bright);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 50px;
}

.answer-grid {
  display: grid;
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.answer {
  min-height: 270px;
  padding: 30px clamp(20px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.answer:nth-child(3n + 1) {
  padding-left: 0;
}

.answer:nth-child(3n) {
  border-right: 0;
}

.answer > span {
  color: #969c98;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
}

.answer h3 {
  margin: 48px 0 12px;
  font-size: 1.45rem;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.inductive {
  background: var(--paper-warm);
}

.inductive-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 10vw, 150px);
}

.inductive-field {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  color: var(--ink);
}

.inductive-field > svg:first-child {
  width: 100%;
  overflow: visible;
  fill: none;
  opacity: 0.52;
  stroke: var(--cyan-strong);
  stroke-dasharray: 2 8;
  stroke-linecap: round;
  stroke-width: 1.3;
  transform: none;
}

.inductive-field > .mark {
  position: absolute;
  width: 72px;
  height: 72px;
  padding: 15px;
  border: 1px solid rgba(16, 20, 19, 0.18);
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--ink);
}

.closing {
  background: var(--ink);
  color: #f5f3ee;
  text-align: center;
}

.closing .container {
  display: grid;
  justify-items: center;
}

.closing-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--cyan);
}

.closing-mark .mark {
  width: 40px;
  height: 40px;
}

.closing h2 span {
  color: var(--cyan);
}

.closing p {
  max-width: 560px;
  margin: 32px 0 0;
  color: #89928e;
}

.site-footer {
  padding: 36px 0;
  background: var(--ink);
  color: #f3f2ed;
  border-top: 1px solid var(--line-light);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-footer p,
.site-footer > .container > a:last-child {
  color: #7f8884;
  font-size: 0.67rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > .container > a:last-child {
  justify-self: end;
  text-decoration: none;
}

.site-footer .mark {
  width: 25px;
  height: 25px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.language-fallback {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper-bright);
}

.language-fallback a {
  padding: 12px 18px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  text-decoration: none;
}

@media (max-width: 920px) {
  :root {
    --container: min(100% - 36px, 760px);
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }

  .menu-toggle span {
    position: absolute;
    width: 15px;
    border-top: 1px solid currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle span:first-child {
    transform: translateY(-3px);
  }

  .menu-toggle span:last-child {
    transform: translateY(3px);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    padding: 110px 24px 40px;
    align-items: flex-start;
    flex-direction: column;
    background: rgba(16, 20, 19, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .language-switch {
    margin-top: auto;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 126px;
    padding-bottom: 80px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 11vw, 6rem);
  }

  .hero-visual {
    min-height: 670px;
  }

  .hero-visual > img {
    right: 10%;
    width: min(470px, 78%);
  }

  .target-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .target-note {
    max-width: 280px;
    margin-top: 26px;
  }

  .system-grid,
  .inductive-grid {
    grid-template-columns: 1fr;
  }

  .system-copy {
    display: block;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .answer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .answer:nth-child(3n + 1) {
    padding-left: clamp(20px, 3vw, 38px);
  }

  .answer:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .answer:nth-child(2n + 1) {
    padding-left: 0;
  }

  .answer:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 28px);
  }

  .site-header {
    height: 70px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand .mark {
    width: 27px;
    height: 27px;
  }

  .hero-grid {
    padding-top: 118px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
    line-height: 0.93;
  }

  .hero-lead {
    max-width: 100%;
    margin-top: 30px;
    font-size: 0.96rem;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 122vw;
    max-height: 560px;
  }

  .hero-visual > img {
    top: 0;
    right: 3%;
    width: 86%;
    transform: none;
  }

  .hero-visual figcaption {
    right: 0;
    bottom: 5%;
  }

  .hero-mark {
    right: 0;
    bottom: 12%;
    width: 68px;
    height: 68px;
  }

  .hero-mark .mark {
    width: 36px;
    height: 36px;
  }

  .section {
    padding: 84px 0;
  }

  .target h2,
  .section-heading h2,
  .system h2,
  .inductive h2,
  .closing h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .system-counts {
    margin-top: 42px;
  }

  .system-counts div {
    padding-inline: 12px;
  }

  .system-counts strong {
    font-size: 2.8rem;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .answer,
  .answer:nth-child(3n + 1),
  .answer:nth-child(2n + 1) {
    min-height: 0;
    padding: 28px 0 36px;
    border-right: 0;
  }

  .answer h3 {
    margin-top: 28px;
  }

  .inductive-field {
    min-height: 320px;
  }

  .site-footer .container {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
