*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--foreground);
  background: var(--background);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--ambient-mesh);
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 15ch;
  font-size: clamp(38px, 5.2vw, 76px);
  text-wrap: balance;
}

h2 {
  font-size: clamp(27px, 3vw, 42px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

p {
  max-width: 62ch;
  color: var(--muted-foreground);
}

small {
  font-size: 13px;
  color: var(--muted-foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

.muted {
  color: var(--muted-foreground);
}

.system-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-foreground);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: max(var(--page-top), env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(var(--page-bottom), env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-foreground);
  background: var(--eyebrow-fill);
  border-radius: var(--radius-pill);
  box-shadow: var(--eyebrow-shadow);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-foreground);
}

.island {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 30px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 72px;
  padding: 10px 12px 10px 22px;
  background: var(--island-fill);
  border-radius: var(--radius-pill);
  box-shadow: var(--island-shadow);
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 570px;
  padding-bottom: 100px;
}

.hero > div {
  min-width: 0;
}

.lead {
  max-width: 43ch;
  margin-top: 26px;
  font-size: 18px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-glow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 35px;
}

.section-head p {
  max-width: 36ch;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid-asym {
  grid-template-columns: 1.45fr 1fr;
}

.grid-start {
  align-items: start;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--row-border);
}

.row:last-child {
  border-bottom: 0;
}

.row strong {
  font-weight: 600;
}

.row p {
  margin-top: 5px;
  font-size: 13px;
}

.line,
.bezel-core > hr {
  height: 1px;
  margin: 24px 0;
  background: var(--border);
  border: 0;
}

.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin: 12px 0 38px;
}

.pagehead h1 {
  max-width: 24ch;
  font-size: clamp(34px, 4vw, 52px);
}

.pagehead p {
  margin-top: 14px;
}

.pagehead a:not(.btn) {
  color: var(--accent-foreground);
  text-decoration: underline;
}

.intro {
  margin-top: 24px;
}

.diagram {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 34px 0;
}

.node {
  padding: 18px 23px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-foreground);
  background: var(--accent);
  border-radius: 20px;
}

.dial {
  width: 180px;
  height: 180px;
  max-width: 100%;
  margin: 32px auto;
  padding: 9px;
  background: var(--dial-ring);
  border-radius: 50%;
  box-shadow: var(--dial-shadow);
}

.dial-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 100%;
  background: var(--dial-face);
  border-radius: 50%;
  box-shadow: var(--dial-face-shadow);
}

.metric {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.timeline {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid var(--border);
}

.timeline p {
  margin-top: 10px;
}

.portrait {
  display: flex;
  align-items: end;
  min-height: 240px;
  padding: 28px;
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: -0.05em;
  background: var(--portrait-fill);
  border-radius: 26px;
}

.article {
  max-width: 780px;
  margin: 0 auto;
}

.article > p,
.article .prose > p {
  margin-bottom: 30px;
}

.article .lead {
  max-width: none;
  margin-top: 30px;
  font-size: 16px;
}

.article p {
  max-width: none;
}

.article h2 {
  margin: 50px 0 22px;
}

.prose {
  color: var(--muted-foreground);
}

.prose strong {
  color: var(--foreground);
}

.prose a {
  color: var(--accent-foreground);
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin-bottom: 30px;
  padding-inline-start: 1.25em;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose blockquote {
  margin: 0 0 30px;
  padding-inline-start: 18px;
  border-inline-start: 2px solid var(--accent-foreground);
}

.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 330px;
  text-align: center;
}

.empty p {
  max-width: 36ch;
}

.orb {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--accent-foreground);
  background: var(--accent);
  border-radius: 28px;
  box-shadow: var(--eyebrow-shadow);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
}

.form-row {
  display: flex;
  align-items: end;
  gap: 10px;
}

.form-row .form-field {
  flex: 1;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 90px;
  padding: 30px 0;
  font-size: 12px;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

.follows {
  margin-top: 22px;
}

.eyebrow-plain::before {
  display: none;
}

.bezel-core > .breakdown-title {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.figure {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.bar-row:last-child {
  border-bottom: 0;
}

.bar-label {
  overflow-wrap: anywhere;
}

.bar {
  grid-column: 1 / -1;
  width: 100%;
  height: var(--bar-height);
  overflow: hidden;
  background: var(--muted);
  border: 0;
  border-radius: var(--radius-pill);
  appearance: none;
}

.bar::-webkit-progress-bar {
  background: var(--muted);
  border-radius: var(--radius-pill);
}

.bar::-webkit-progress-value {
  background: var(--accent-foreground);
  border-radius: var(--radius-pill);
}

.bar::-moz-progress-bar {
  background: var(--accent-foreground);
  border-radius: var(--radius-pill);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.skeleton {
  display: block;
  height: 1rem;
  background: var(--muted);
  border-radius: var(--radius-field);
}

.skeleton-label {
  width: 40%;
  height: 1.75rem;
}

.skeleton-figure {
  width: 55%;
  height: var(--control-height);
}

.skeleton-note {
  width: 70%;
}

.skeleton-row {
  height: 1.25rem;
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .island {
    justify-content: space-between;
    width: 100%;
  }

  .has-menu .site-nav {
    display: none;
  }

  .has-menu .site-nav.is-open {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 22px;
    background: var(--menu-fill);
    border-radius: var(--radius-menu);
    box-shadow: var(--menu-shadow);
  }
}

@media (max-width: 1050px) {
  .island {
    gap: 20px;
  }

  .site-nav {
    gap: 15px;
  }

  .hero {
    gap: 35px;
  }
}

@media (max-width: 767px) {
  h1 {
    max-width: 15ch;
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .island {
    gap: 10px;
    margin-bottom: 46px;
    padding: 8px 10px 8px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
    padding: 16px 0 40px;
  }

  .lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .grid-two,
  .grid-asym,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .row {
    gap: 10px;
  }

  .actions {
    gap: 10px;
  }

  .pagehead {
    flex-direction: column;
    align-items: start;
    margin-bottom: 28px;
  }

  .pagehead h1 {
    font-size: 37px;
  }

  .metric {
    font-size: 55px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
    margin-top: 50px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .reveal {
    animation: enter var(--duration-enter) var(--ease-spring) both;
  }

  .reveal:nth-child(2) {
    animation-delay: var(--stagger);
  }

  .reveal:nth-child(3) {
    animation-delay: calc(var(--stagger) * 2);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(var(--enter-rise));
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
}

.step-done {
  color: var(--accent-foreground);
  background-color: var(--accent);
}

.step-current {
  color: var(--foreground);
  background-color: var(--card);
  border-color: var(--border);
}

.step-next {
  color: var(--muted-foreground);
  border-color: var(--border);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.callout svg {
  flex: none;
  margin-top: 2px;
  color: var(--muted-foreground);
}

.newsletter-invitation {
  margin-top: var(--cta-gap);
}
