:root {
  --white: #ffffff;
  --ink: #17182a;
  --ink-soft: #55586e;
  --ink-faint: #898ca0;
  --pink: #ee4774;
  --pink-dark: #cf2858;
  --pink-soft: #fff0f5;
  --blue: #596fc0;
  --blue-soft: #eef1ff;
  --green: #3f8c67;
  --line: #e7e7ef;
  --line-strong: #cfd0dd;
  --shadow: 0 20px 60px rgba(50, 39, 78, 0.1);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", "Songti SC", "STSong", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  cursor: default;
}

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

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

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

img,
svg {
  display: block;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

:focus-visible {
  outline: 3px solid rgba(238, 71, 116, 0.36);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: #ffd6e2;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

noscript {
  display: block;
  padding: 20px;
  text-align: center;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(32, 29, 54, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: none;
  object-fit: contain;
  transform: rotate(-6deg);
  transform-origin: center;
}

.brand-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-kana {
  margin-left: 2px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav > a:not(.nav-repo) {
  position: relative;
  padding: 8px 0;
}

.site-nav > a:not(.nav-repo)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-repo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-repo:hover {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  font-size: 23px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  min-height: min(920px, 100svh);
  padding-top: 96px;
  overflow: clip;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 670px;
  padding: 74px 0 60px;
}

.hero-eyebrow,
.section-eyebrow {
  margin: 0 0 25px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.5vw, 78px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  color: var(--pink);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: 2px;
  bottom: -9px;
  left: 2px;
  height: 7px;
  background-image: radial-gradient(circle, var(--blue) 1.4px, transparent 1.6px);
  background-size: 7px 7px;
  content: "";
}

.hero-description {
  max-width: 550px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--white);
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-primary:hover {
  background: var(--pink-dark);
  box-shadow: 7px 7px 0 var(--ink);
}

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

.hero-facts {
  display: flex;
  gap: 0;
  margin: 54px 0 0;
}

.hero-facts div {
  min-width: 125px;
  padding: 2px 26px;
  border-left: 1px solid var(--line-strong);
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts dt {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-facts dd {
  margin: 7px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-art {
  position: relative;
  align-self: end;
  height: min(830px, calc(100svh - 76px));
  min-height: 630px;
}

.hero-art::before {
  position: absolute;
  z-index: 0;
  top: 11%;
  left: 10%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.hero-art::after {
  position: absolute;
  z-index: 0;
  top: 16%;
  left: 16%;
  width: 69%;
  aspect-ratio: 1;
  border: 1px dashed rgba(89, 111, 192, 0.35);
  border-radius: 50%;
  content: "";
}

.hero-art img {
  --character-x: 0px;
  --character-y: 0px;
  position: absolute;
  z-index: 2;
  right: -4%;
  bottom: -4%;
  width: min(710px, 115%);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(18px 16px 0 rgba(238, 71, 116, 0.06));
  transform: translate(var(--character-x), var(--character-y));
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-dots {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background-image: radial-gradient(circle, currentColor 2.5px, transparent 2.8px);
  background-size: 13px 13px;
}

.dots-pink {
  top: 10%;
  right: 0;
  width: 255px;
  height: 255px;
  color: rgba(238, 71, 116, 0.33);
}

.dots-blue {
  bottom: 7%;
  left: 0;
  width: 170px;
  height: 170px;
  color: rgba(89, 111, 192, 0.24);
}

.art-label {
  position: absolute;
  z-index: 3;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.art-label-top {
  top: 10%;
  left: 4%;
  padding: 7px 12px;
  border: 1px solid var(--blue);
  background: var(--white);
  transform: rotate(-4deg);
}

.art-label-side {
  right: -5px;
  bottom: 21%;
  writing-mode: vertical-rl;
}

.character-note {
  position: absolute;
  z-index: 5;
  right: 3%;
  bottom: 4%;
  max-width: 245px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.character-note::after {
  position: absolute;
  right: 24px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
  content: "";
  transform: rotate(45deg);
}

.version-sticker {
  position: absolute;
  z-index: 5;
  top: 22%;
  left: -1%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  align-content: center;
  border: 2px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
  background: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(8deg);
}

.version-sticker small {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
}

/* Shared section */
.section {
  padding-top: clamp(100px, 13vw, 180px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.18;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.title-dots {
  width: 72px;
  height: 32px;
  flex: none;
  background-image: radial-gradient(circle, var(--pink) 2px, transparent 2.3px);
  background-size: 10px 10px;
  opacity: 0.45;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 386px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card::after {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-image: radial-gradient(circle, var(--pink) 2px, transparent 2.3px);
  background-size: 10px 10px;
  content: "";
  opacity: 0;
  transition: opacity 200ms ease;
}

.feature-card:hover {
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--pink-soft);
  transform: translateY(-6px);
}

.feature-card:hover::after {
  opacity: 0.26;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.feature-top > span {
  color: var(--pink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-top .icon {
  width: 31px;
  height: 31px;
  color: var(--blue);
}

.feature-card h3 {
  margin: 33px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
}

.feature-card > p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.feature-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
}

/* Code tabs */
.code-case {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--pink-soft);
  background: var(--white);
}

.code-tabs {
  display: flex;
  gap: 0;
  padding: 0 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--ink);
  scrollbar-width: none;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tabs button {
  position: relative;
  padding: 17px 20px;
  border: 0;
  color: var(--ink-faint);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.code-tabs button[aria-selected="true"] {
  color: var(--pink);
}

.code-tabs button[aria-selected="true"]::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: var(--pink);
  content: "";
}

.code-panel[hidden] {
  display: none;
}

.code-toolbar {
  display: flex;
  align-items: center;
  min-height: 49px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.code-toolbar > span {
  display: flex;
  gap: 5px;
}

.code-toolbar i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.code-toolbar i:first-child {
  background: var(--pink);
}

.code-toolbar i:nth-child(2) {
  background: #f3b954;
}

.code-toolbar i:nth-child(3) {
  background: var(--green);
}

.code-toolbar b {
  margin-left: 18px;
  letter-spacing: 0.12em;
}

.code-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 10px;
  transition: border-color 160ms ease, color 160ms ease;
}

.code-toolbar button:hover,
.code-toolbar button.copied {
  color: var(--pink);
  border-color: var(--pink);
}

.code-panel pre {
  min-height: 235px;
  margin: 0;
  padding: 28px 30px;
  overflow-x: auto;
  background-image: radial-gradient(circle, rgba(89, 111, 192, 0.13) 1px, transparent 1.2px);
  background-size: 16px 16px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  tab-size: 2;
}

.code-panel code {
  display: block;
  width: max-content;
  min-width: 100%;
  color: #393b59;
}

.code-note {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.code-note span {
  color: var(--pink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* Platforms */
.platform-list {
  border-top: 2px solid var(--ink);
}

.platform-row {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr 1.25fr 0.65fr;
  align-items: center;
  min-height: 65px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease;
}

.platform-row:not(.platform-head):hover {
  background-image: radial-gradient(circle, rgba(238, 71, 116, 0.15) 1px, transparent 1.2px);
  background-size: 13px 13px;
}

.platform-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
}

.platform-row > span,
.platform-row code {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
}

.platform-head {
  min-height: 43px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-row .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status.ready {
  color: var(--green);
}

.status.planned {
  color: var(--ink-faint);
}

/* Docs */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.doc-card {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
}

.doc-card > header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.doc-card > header > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border: 1px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
}

.doc-card header p {
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.doc-card h3 {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.doc-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.doc-card li + li {
  border-top: 1px solid var(--line);
}

.doc-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 4px;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 150ms ease, padding 150ms ease;
}

.doc-card a .icon {
  color: var(--pink);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform 150ms ease, opacity 150ms ease;
}

.doc-card a:hover {
  padding-left: 9px;
  color: var(--pink);
}

.doc-card a:hover .icon {
  transform: translateX(0);
  opacity: 1;
}

/* Closing */
.closing {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  margin-top: clamp(100px, 14vw, 190px);
  padding-top: 78px;
  padding-bottom: 78px;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.closing-label {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
}

.closing blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.34;
}

.closing blockquote footer {
  margin-top: 24px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.closing-note {
  position: relative;
  z-index: 2;
  align-self: end;
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid var(--pink);
  color: var(--ink-soft);
  font-size: 13px;
}

.closing-dots {
  position: absolute;
  right: 2%;
  bottom: -55px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background-image: radial-gradient(circle, var(--pink) 2.2px, transparent 2.4px);
  background-size: 12px 12px;
  opacity: 0.17;
}

.site-footer {
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-brand .brand-kana {
  display: none;
}

.footer-inner p {
  margin: 0 auto;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.feature-card:nth-child(2),
.doc-card:nth-child(2) {
  transition-delay: 90ms;
}

.feature-card:nth-child(3),
.doc-card:nth-child(3) {
  transition-delay: 180ms;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  }

  .hero-art img {
    right: -9%;
    width: 120%;
  }

  .feature-card {
    min-height: 420px;
  }

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

  .doc-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 36px, 680px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-kana {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 22px;
    border-bottom: 1px solid var(--ink);
    background: var(--white);
    transform: translateY(-130%);
    visibility: hidden;
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav > a:not(.nav-repo) {
    padding: 13px 7px;
    border-bottom: 1px solid var(--line);
  }

  .nav-repo {
    width: max-content;
    margin-top: 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
  }

  .hero-copy {
    max-width: 650px;
    padding: 70px 0 28px;
  }

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

  .hero-art {
    width: min(100%, 600px);
    height: min(760px, 118vw);
    min-height: 550px;
    justify-self: center;
  }

  .hero-art img {
    right: 0;
    bottom: -1%;
    width: 100%;
  }

  .art-label-side {
    right: 0;
  }

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

  .feature-card {
    min-height: 0;
  }

  .platform-row {
    grid-template-columns: 1.3fr 0.75fr 1fr 0.75fr;
  }

  .platform-row > *:nth-child(4) {
    display: none;
  }

  .platform-head span:nth-child(4) {
    display: none;
  }

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

  .doc-card:last-child {
    grid-column: auto;
  }

  .closing {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .closing-note {
    max-width: 500px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 500px);
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero-eyebrow {
    max-width: 290px;
    line-height: 1.7;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: -0.08em;
  }

  .hero-description {
    margin-top: 32px;
    font-size: 15px;
  }

  .button {
    min-height: 49px;
    padding: 0 18px;
    font-size: 12px;
  }

  .hero-facts {
    margin-top: 44px;
  }

  .hero-facts div {
    min-width: 0;
    flex: 1;
    padding: 2px 14px;
  }

  .hero-facts dt {
    font-size: 24px;
  }

  .hero-facts dd {
    font-size: 8px;
  }

  .hero-art {
    height: 135vw;
    min-height: 490px;
    max-height: 680px;
  }

  .dots-pink {
    width: 170px;
    height: 170px;
  }

  .dots-blue {
    width: 120px;
    height: 120px;
  }

  .version-sticker {
    top: 20%;
    left: 0;
    width: 70px;
    height: 70px;
    font-size: 15px;
  }

  .character-note {
    right: 2%;
    bottom: 2%;
    font-size: 11px;
  }

  .section {
    padding-top: 105px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .section-title-row {
    gap: 14px;
  }

  .title-dots {
    width: 45px;
  }

  .feature-card,
  .doc-card {
    padding: 22px;
  }

  .code-tabs {
    padding: 0 6px;
  }

  .code-tabs button {
    padding: 15px 12px;
  }

  .code-panel pre {
    min-height: 220px;
    padding: 24px 18px;
    font-size: 11px;
  }

  .code-note {
    align-items: flex-start;
    padding: 14px;
  }

  .platform-row {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    min-height: 61px;
    padding: 0 8px;
  }

  .platform-row > *:nth-child(3),
  .platform-head span:nth-child(3) {
    display: none;
  }

  .platform-row h3 {
    font-size: 17px;
  }

  .closing {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .closing blockquote p {
    font-size: 34px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-inner p {
    order: 3;
    width: 100%;
  }

  .footer-inner > a:last-child {
    margin-left: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
