/* Homepage only. Everything is scoped to body.home so other pages keep style.css as is. */
.home {
  --h-ink: #0b0c0f;
  --h-soft: #5d6470;
  --h-line: rgb(11 12 15 / 9%);
  --h-blue: #1f5fe0;
  --h-card: #ffffff;
  --h-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --h-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  background: #fbfbfd;
  color: var(--h-ink);
  overflow-x: hidden;
}

.home main {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui,
    sans-serif;
  letter-spacing: -0.011em;
  overflow-x: clip;
}

.home main h1,
.home main h2,
.home main h3,
.home main p {
  margin: 0;
}

/* ---------- Motion primitives ---------- */
.home .h-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 900ms var(--h-ease),
    transform 900ms var(--h-ease);
  transition-delay: var(--h-delay, 0ms);
}

.home .h-reveal.is-in {
  opacity: 1;
  transform: none;
}

.home .h-rise {
  opacity: 0;
  transform: translateY(22px);
  animation: h-rise 900ms var(--h-ease) forwards;
}

.home .h-rise:nth-child(2) {
  animation-delay: 90ms;
}

.home .h-rise:nth-child(3) {
  animation-delay: 180ms;
}

.home .h-rise:nth-child(4) {
  animation-delay: 270ms;
}

@keyframes h-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */
.home .h-hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 20px 0;
  text-align: center;
}

.home .h-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1200px;
  gap: 22px;
  margin: 0 auto;
  justify-items: center;
}

.home .h-kicker {
  color: var(--h-soft);
  font-size: 14px;
  font-weight: 600;
}

.home .h-hero h1 {
  max-width: none;
  font-size: clamp(40px, 5.3vw, 76px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.home .h-gradient {
  color: var(--h-blue);
}

.home .h-lede {
  max-width: 640px;
  color: var(--h-soft);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.4;
}

.home .h-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 6px;
}

.home .h-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--h-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 220ms var(--h-ease),
    box-shadow 220ms var(--h-ease);
}

.home .h-button:hover {
  background: #1a4fc0;
  transform: scale(1.02);
}

.home .h-link {
  color: var(--h-blue);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.home .h-link span {
  display: inline-block;
  transition: transform 220ms var(--h-ease);
}

.home .h-link:hover span {
  transform: translate(3px, 0);
}

.home .h-link[href^="#"]:hover span {
  transform: translate(0, 3px);
}

/* ---------- App window ---------- */
.home .h-stage {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: clamp(44px, 6vw, 80px) auto 0;
  perspective: 1800px;
}

.home .h-window {
  border-radius: 13px;
  box-shadow:
    0 60px 120px -30px rgb(20 30 70 / 32%),
    0 24px 50px -24px rgb(20 30 70 / 22%);
  transform: rotateX(calc(var(--h-tilt, 1) * 14deg)) scale(calc(0.9 + (1 - var(--h-tilt, 1)) * 0.1));
  transform-origin: 50% 0;
  transition: transform 120ms linear;
  will-change: transform;
}

/* The hero source types itself; the PDF catches up at each compile. */
.home [data-typed] .h-char {
  opacity: 0;
}

.home [data-typed] .h-char.on {
  opacity: 1;
}

.home .h-caret {
  display: inline-block;
  width: 2px;
  height: 15px;
  margin: 0 -1px;
  background: var(--lx-accent);
  vertical-align: -3px;
  animation: lx-blink 1s steps(1) infinite;
}

.home .h-paper > * {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 500ms var(--h-ease),
    transform 500ms var(--h-ease);
}

.home .h-paper.s1 .p1,
.home .h-paper.s2 .p2,
.home .h-paper.s3 .p3,
.home .h-paper.s4 .p4 {
  opacity: 1;
  transform: none;
}

.home [data-hero-shot] .h-msg-busy,
.home .is-compiling [data-hero-shot] .h-msg-done {
  display: none;
}

.home .is-compiling [data-hero-shot] .h-msg-busy {
  display: inline;
}

.home .h-appearance {
  display: flex;
  width: max-content;
  gap: 2px;
  margin: 34px auto 0;
  padding: 3px;
  border-radius: 999px;
  background: rgb(11 12 15 / 6%);
}

.home .h-appearance button {
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--h-soft);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.home .h-appearance button.on {
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
  color: var(--h-ink);
}

/* ---------- Statement ---------- */
.home .h-statement {
  padding: clamp(90px, 14vw, 190px) 24px;
}

.home .h-statement p {
  max-width: 940px;
  margin: 0 auto;
  color: #a3a8b3;
  font-size: clamp(26px, 4.2vw, 50px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-align: center;
}

.home .h-statement strong {
  color: var(--h-ink);
  font-weight: inherit;
}

/* ---------- Chapters ---------- */
.home .h-chapter {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.home .h-chapter.flip .h-chapter-copy {
  order: 2;
}

/* Product chapters: headline and copy on top, the full-size app window below. */
.home .h-chapter.h-shot {
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
}

.home .h-shot .h-chapter-copy {
  align-items: end;
  column-gap: clamp(32px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.home .h-shot .h-chapter-copy > p:not(.h-eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.home .h-shot .h-visual {
  padding: clamp(14px, 4vw, 56px) clamp(10px, 4vw, 56px);
}

.home .lx-fit {
  margin-inline: auto;
}

.home .h-chapter-copy {
  display: grid;
  gap: 18px;
}

.home .h-eyebrow {
  color: var(--h-soft);
  font-size: 15px;
  font-weight: 650;
}

.home .h-chapter h2,
.home .h-dark h2,
.home .h-bento-section h2,
.home .h-final h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.03;
}

.home .h-chapter-copy > p:not(.h-eyebrow),
.home .h-dark-copy > p:not(.h-eyebrow) {
  color: var(--h-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}

/* One key phrase per paragraph carries the section; the rest stays quiet. */
.home .h-chapter-copy > p strong {
  color: var(--h-ink);
  font-weight: 600;
}

.home .h-dark-copy > p strong {
  font-weight: 600;
}

.home .h-visual {
  --h-delay: 120ms;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 28px;
  background: #f0f1f4;
}

/* ---------- Dark AI band ---------- */
.home .h-dark {
  position: relative;
  margin: clamp(30px, 5vw, 70px) 0;
  padding: clamp(80px, 11vw, 160px) 20px;
  overflow: hidden;
  background: #060709;
  color: #f5f5f7;
}

.home .h-dark-inner {
  position: relative;
  display: grid;
  width: min(1080px, 100%);
  gap: clamp(36px, 5vw, 64px);
  margin: 0 auto;
}

.home .h-dark-copy {
  display: grid;
  max-width: 780px;
  gap: 18px;
  margin: 0 auto;
  text-align: center;
}

.home .h-dark .h-eyebrow {
  color: #8b93a3;
}

.home .h-dark-copy > p:not(.h-eyebrow) {
  color: #a1a6b2;
}

.home .h-ai {
  --h-delay: 120ms;
  display: grid;
  gap: 18px;
}

.home .h-ai .lx-fit {
  margin-bottom: 12px;
}

.home .h-ai .lx {
  box-shadow: 0 40px 100px rgb(0 0 0 / 60%);
}

/* AI scene: idle, then a proposed edit, then the edit approved. */
.home .h-ai:not(.is-proposed) :is(.lx-diff-new, .lx-inline-acts, .h-ai-reply, .h-ai-tool),
.home .h-ai.is-approved :is(.lx-diff-old, .lx-inline-acts),
.home .h-ai:not(.is-approved) .h-ai-done,
.home .h-ai.is-approved .h-ai-wait {
  display: none;
}

.home .h-ai:not(.is-proposed) .lx-diff-old,
.home .h-ai.is-approved .lx-diff-new {
  background: none;
}

.home .h-ai:not(.is-proposed) .lx-diff-old .t {
  color: inherit;
  text-decoration: none;
}

.home .h-ai:not(.is-proposed) .lx-diff-old .n::after,
.home .h-ai.is-approved .lx-diff-new .n::after {
  visibility: hidden;
}

.home .h-ai.is-proposed :is(.lx-diff-new, .lx-inline-acts, .h-ai-reply, .h-ai-tool) {
  animation: h-pop 420ms var(--h-ease);
}

.home .h-ai .h-ai-done {
  color: var(--lx-ok);
}

@keyframes h-pop {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.home .h-ai-facts {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home .h-ai-facts div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  background: rgb(255 255 255 / 4%);
}

.home .h-ai-facts strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.home .h-ai-facts span {
  color: #a1a6b2;
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- Bento ---------- */
.home .h-bento-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) 0;
}

.home .h-bento-section h2 {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 64px);
  text-align: center;
}

.home .h-bento {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home .h-card {
  position: relative;
  display: grid;
  overflow: hidden;
  align-content: end;
  gap: 8px;
  min-height: 320px;
  padding: 26px;
  border: 1px solid var(--h-line);
  border-radius: 26px;
  background: var(--h-card);
  transition:
    opacity 900ms var(--h-ease),
    transform 500ms var(--h-ease),
    box-shadow 500ms var(--h-ease);
}

.home .h-card.is-in:hover {
  box-shadow: 0 30px 70px -20px rgb(20 30 70 / 26%);
  transform: translateY(-6px);
}

.home .h-card.wide {
  grid-column: span 2;
}

.home .h-card h3 {
  position: relative;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.home .h-card p {
  position: relative;
  color: var(--h-soft);
  font-size: 15.5px;
  line-height: 1.45;
}

.home .h-card-art {
  position: relative;
  display: flex;
  min-height: 130px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.home .h-import span,
.home .h-import b,
.home .h-local b,
.home .h-local span {
  padding: 8px 13px;
  border-radius: 10px;
  background: #eef1f6;
  color: #4a505b;
  font-family: var(--h-mono);
  font-size: 13px;
  font-weight: 600;
}

.home .h-import span {
  animation: h-drift 3.2s ease-in-out infinite;
}

.home .h-import span:nth-child(2) {
  animation-delay: 300ms;
}

.home .h-import span:nth-child(3) {
  animation-delay: 600ms;
}

.home .h-import span:nth-child(4) {
  animation-delay: 900ms;
}

@keyframes h-drift {
  50% {
    transform: translateY(-7px);
  }
}

.home .h-import i {
  width: 34px;
  height: 2.5px;
  background: linear-gradient(90deg, #b9c3da, var(--h-blue));
}

.home .h-import b {
  background: var(--h-blue);
  color: #fff;
}

.home .h-git {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-left: 26px;
}

.home .h-git i {
  position: relative;
  width: 2.5px;
  height: 30px;
  background: #cdd5e6;
}

.home .h-git i::after {
  position: absolute;
  top: 8px;
  left: -5.5px;
  width: 13px;
  height: 13px;
  border: 2.5px solid var(--h-blue);
  border-radius: 50%;
  background: #fff;
  content: "";
}

.home .h-git i::before {
  position: absolute;
  top: 10px;
  left: 22px;
  width: 110px;
  height: 9px;
  border-radius: 5px;
  background: #e6e9f0;
  content: "";
}

.home .h-git i:nth-child(2)::before {
  width: 74px;
}

.home .h-git i:nth-child(1)::after {
  background: var(--h-blue);
  animation: h-ping 2.4s ease-out infinite;
}

@keyframes h-ping {
  0% {
    box-shadow: 0 0 0 0 rgb(47 107 255 / 50%);
  }

  100% {
    box-shadow: 0 0 0 14px rgb(47 107 255 / 0%);
  }
}

.home .h-tikz svg {
  width: 150px;
  fill: rgb(47 107 255 / 10%);
  stroke: var(--h-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.home .h-tikz path {
  fill: none;
  stroke-dasharray: 60;
  animation: h-draw 3s var(--h-ease) -1.5s infinite;
}

@keyframes h-draw {
  0% {
    stroke-dashoffset: 60;
  }

  45%,
  100% {
    stroke-dashoffset: 0;
  }
}

.home .h-voice {
  gap: 6px;
}

.home .h-voice i {
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--h-ink);
  animation: h-wave 1.1s ease-in-out infinite;
}

.home .h-voice i:nth-child(2) {
  animation-delay: -120ms;
}

.home .h-voice i:nth-child(3) {
  animation-delay: -240ms;
}

.home .h-voice i:nth-child(4) {
  animation-delay: -360ms;
}

.home .h-voice i:nth-child(5) {
  animation-delay: -480ms;
}

.home .h-voice i:nth-child(6) {
  animation-delay: -600ms;
}

.home .h-voice i:nth-child(7) {
  animation-delay: -720ms;
}

@keyframes h-wave {
  50% {
    transform: scaleY(3.2);
  }
}

.home .h-templates {
  gap: 0;
}

.home .h-templates i {
  width: 74px;
  height: 98px;
  margin-left: -22px;
  border: 1px solid var(--h-line);
  border-radius: 8px;
  background:
    linear-gradient(#dfe4ee, #dfe4ee) 12px 16px / 50px 6px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 12px 32px / 40px 4px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 12px 44px / 46px 4px no-repeat,
    #fff;
  box-shadow: 0 10px 24px rgb(20 30 70 / 12%);
  transition: transform 500ms var(--h-ease);
}

.home .h-templates i:first-child {
  margin-left: 0;
  transform: rotate(-8deg);
}

.home .h-templates i:last-child {
  transform: rotate(8deg);
}

.home .h-card:hover .h-templates i:first-child {
  transform: rotate(-14deg) translateX(-10px);
}

.home .h-card:hover .h-templates i:last-child {
  transform: rotate(14deg) translateX(10px);
}

.home .h-local {
  flex-wrap: wrap;
  align-content: center;
}

.home .h-local span {
  flex-basis: 100%;
  background: none;
  color: var(--h-soft);
  text-align: center;
}

/* ---------- Proof ---------- */
.home .h-proof {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
}

.home .h-proof-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.home .h-proof-grid div {
  display: grid;
  gap: 8px;
}

.home .h-proof-grid strong {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home .h-proof-grid span {
  color: var(--h-soft);
  font-size: 15px;
}

/* ---------- Final ---------- */
.home .h-final {
  display: grid;
  gap: 20px;
  padding: clamp(90px, 13vw, 180px) 20px;
  justify-items: center;
  text-align: center;
}

.home .h-final img {
  border-radius: 22px;
  filter: drop-shadow(0 16px 30px rgb(11 12 15 / 18%));
}

.home .h-final h2 {
  font-size: clamp(40px, 6.6vw, 84px);
}

.home .h-final > p {
  color: var(--h-soft);
  font-size: clamp(18px, 2vw, 22px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .home .h-chapter {
    grid-template-columns: 1fr;
  }

  .home .h-chapter.flip .h-chapter-copy {
    order: 0;
  }

  .home .h-shot .h-chapter-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .h-shot .h-chapter-copy > p:not(.h-eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .home .h-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .h-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .h-ai-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home .h-bento {
    grid-template-columns: 1fr;
  }

  .home .h-card.wide {
    grid-column: auto;
  }

  .home .h-card {
    min-height: 260px;
  }

  .home .h-import {
    flex-wrap: wrap;
  }

  /* A screenshot needs less frame on a phone. */
  .home .h-visual {
    padding: 10px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .h-reveal,
  .home .h-rise,
  .home .h-paper > *,
  .home [data-typed] .h-char {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .home .h-window {
    transform: none;
  }

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

/* style.css gives headings an explicit ink colour; restore light text on the dark band. */
.home .h-dark h2,
.home .h-dark strong {
  color: #f5f5f7;
}

/* ---------- Questions ---------- */
.home .h-faq {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) 0 0;
}

.home .h-faq h2 {
  margin-bottom: clamp(26px, 4vw, 44px);
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.03;
  text-align: center;
}

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

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

.home .h-faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
}

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

.home .h-faq summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 11px;
  height: 11px;
  border: solid var(--h-soft);
  border-width: 0 2px 2px 0;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 260ms var(--h-ease);
}

.home .h-faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.home .h-faq details p {
  max-width: 720px;
  padding: 0 0 24px;
  color: var(--h-soft);
  font-size: 17px;
  line-height: 1.6;
}

/* Small Research entry point, using the existing homepage chapter layout. */
.home .h-research .h-link { display: inline-flex; margin-top: 22px; }
.home .h-research-map { display: grid; justify-items: center; padding: 38px 22px; border: 1px solid var(--h-line); border-radius: 24px; background: #f0f3f8; color: var(--h-ink); text-decoration: none; }
.home .h-research-file { display: grid; gap: 7px; min-width: 170px; padding: 18px 26px; border: 1px solid #d6deec; border-radius: 10px; background: white; color: var(--h-blue); font: 14px var(--h-mono); text-align: center; }
.home .h-research-file small { font-size: 10px; color: var(--h-soft); }
.home .h-research-connector { padding: 10px 0; font-size: 24px; color: #8397b8; }
.home .h-research-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home .h-research-tools > span { padding: 12px; border: 1px solid #d6deec; background: white; border-radius: 8px; font-size: 12px; }
.home .h-research-tools > span:nth-child(2) { background: var(--h-blue); border-color: var(--h-blue); color: white; }
.home .h-research-result { font-size: 13px; color: var(--h-soft); }
.home .h-research-map:hover { border-color: #91ade3; }
.home .h-research-map:focus-visible { outline: 3px solid var(--h-blue); outline-offset: 5px; }

/* Research teaser plays when it is in view. */
.home .h-research-map.is-running .h-research-connector { animation: h-research-signal 3s ease-in-out infinite; }
.home .h-research-map.is-running .h-research-tools > span { animation: h-research-tool 6s ease-in-out infinite; }
.home .h-research-map.is-running .h-research-tools > span:nth-child(2) { animation-delay: 2s; }
.home .h-research-map.is-running .h-research-tools > span:nth-child(3) { animation-delay: 4s; }
@keyframes h-research-signal { 0%,100% { opacity: .4; transform: translateY(-3px); } 50% { opacity: 1; transform: translateY(3px); } }
@keyframes h-research-tool { 0%,45%,100% { transform: translateY(0); box-shadow: none; } 20% { transform: translateY(-4px); box-shadow: 0 7px 20px #1f5fe016; } }
@media (prefers-reduced-motion: reduce) { .home .h-research-map * { animation: none !important; } }

/* Card art rests until the card is hovered, so the grid is calm while reading. */
.home .h-card .h-card-art,
.home .h-card .h-card-art * {
  animation-play-state: paused;
}

.home .h-card:hover .h-card-art,
.home .h-card:hover .h-card-art * {
  animation-play-state: running;
}

/* ---------- Mission ---------- */
.home .h-mission {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  gap: clamp(30px, 4vw, 48px);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) 0;
  justify-items: center;
}

.home .h-mission-copy {
  display: grid;
  max-width: 800px;
  gap: 18px;
  text-align: center;
}

.home .h-mission h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.03;
}

.home .h-mission-copy > p:not(.h-eyebrow) {
  color: var(--h-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}

.home .h-mission-copy > p strong {
  color: var(--h-ink);
  font-weight: 600;
}

.home .h-mission-grid {
  display: grid;
  width: 100%;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home .h-mission-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--h-line);
  border-radius: 26px;
  background: var(--h-card);
  color: var(--h-ink);
  text-decoration: none;
}

.home .h-mission-card strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.home .h-mission-card span {
  color: var(--h-soft);
  font-size: 15.5px;
  line-height: 1.45;
}

.home .h-mission-card em {
  margin-top: 6px;
  color: var(--h-blue);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.home .h-mission-card i {
  display: inline-block;
  font-style: normal;
  transition: transform 220ms var(--h-ease);
}

.home .h-mission-card:hover i {
  transform: translateX(3px);
}

.home .h-mission-card:focus-visible {
  outline: 3px solid var(--h-blue);
  outline-offset: 4px;
}

.home button.h-button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.home .h-release {
  font-size: 15px;
}

.home .h-release a {
  color: var(--h-soft);
}

@media (max-width: 900px) {
  .home .h-mission-grid {
    grid-template-columns: 1fr;
  }
}
