:root {
  color-scheme: light;
  --paper: #f3f0e6;
  --paper-raised: #fbf8ef;
  --ink: #10211c;
  --ink-soft: #31453e;
  --muted: #596a63;
  --line: #cbd0c5;
  --line-dark: #789087;
  --signal: #ef4d3c;
  --signal-dark: #d84232;
  --sun: #f4c646;
  --sea: #19a989;
  --night: #122b25;
  --night-raised: #193831;
  --white: #fffdf7;
  --shadow: 0 26px 70px rgba(25, 48, 40, .12);
  --radius: 22px;
  --page: min(1380px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 3%, rgba(244, 198, 70, .18), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: "Pivot Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(16, 33, 28, .13) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

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

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

code,
pre {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

code {
  padding: .12em .35em;
  border: 1px solid rgba(16, 33, 28, .12);
  border-radius: .35em;
  background: rgba(255, 255, 255, .55);
  font-size: .83em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: var(--page);
  min-height: 88px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.1;
}

.brand-mark circle:last-child {
  fill: var(--signal);
  stroke: var(--signal);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  font-size: 15px;
  font-weight: 530;
}

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

.primary-nav a:not(.nav-download) {
  position: relative;
}

.primary-nav a:not(.nav-download)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1.5px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  content: "";
  transition: transform .2s ease;
}

.primary-nav a:not(.nav-download):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-download {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

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

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  width: var(--page);
  min-height: min(820px, calc(100svh - 88px));
  margin-inline: auto;
  padding: clamp(62px, 8vw, 124px) 0 clamp(74px, 9vw, 130px);
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 0 5px rgba(25, 169, 137, .12);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(68px, 8.3vw, 138px);
  font-weight: 540;
  letter-spacing: -.075em;
  line-height: .82;
}

.hero h1 em {
  color: var(--signal);
  font-weight: 400;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 14px 21px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 25px rgba(16, 33, 28, .14);
}

.button-primary {
  border-color: var(--signal);
  background: var(--signal);
  color: #21120f;
}

.button-primary:hover {
  border-color: #ff7663;
  background: #ff7663;
}

.button-quiet {
  border-color: transparent;
}

.button-quiet:hover {
  border-color: var(--ink);
  box-shadow: none;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-poster {
  position: relative;
  aspect-ratio: 1.02;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 52% 48% 46% 54% / 45% 52% 48% 55%;
  background: var(--sun);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-poster::before,
.hero-poster::after {
  position: absolute;
  border: 1px solid rgba(16, 33, 28, .28);
  border-radius: 50%;
  content: "";
}

.hero-poster::before {
  width: 76%;
  aspect-ratio: 1;
  top: -24%;
  right: -20%;
}

.hero-poster::after {
  width: 48%;
  aspect-ratio: 1;
  bottom: -21%;
  left: -15%;
}

.poster-coordinate {
  position: absolute;
  z-index: 3;
  top: 13%;
  left: 20%;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.poster-word {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  transform: translate(-50%, -54%);
  font-size: clamp(102px, 14vw, 225px);
  font-weight: 400;
  letter-spacing: -.11em;
  line-height: .8;
  white-space: nowrap;
}

.poster-word span:nth-child(1) { font-weight: 300; }
.poster-word span:nth-child(2) { font-weight: 390; }
.poster-word span:nth-child(3) { font-weight: 480; }
.poster-word span:nth-child(4) { font-weight: 590; }
.poster-word span:nth-child(5) { font-weight: 700; }

.poster-baseline {
  position: absolute;
  z-index: 1;
  top: 58%;
  right: 9%;
  left: 9%;
  border-top: 1px dashed rgba(16, 33, 28, .52);
}

.poster-caption {
  position: absolute;
  z-index: 3;
  right: 18%;
  bottom: 14%;
  left: 18%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pivot-orbit {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: 15%;
  width: 60px;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.pivot-orbit::before,
.pivot-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  content: "";
}

.pivot-orbit::before {
  width: 1px;
  height: 78px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pivot-orbit::after {
  width: 78px;
  height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pivot-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--signal);
}

.signal-strip {
  display: grid;
  width: 100%;
  min-height: 78px;
  padding: 15px max(32px, calc((100vw - 1380px) / 2));
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.signal-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 540;
}

.signal-symbols {
  color: var(--sun);
  font-size: 24px !important;
  letter-spacing: .2em;
}

.ticker {
  display: flex;
  align-items: center;
  color: #adc0b9;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.ticker i {
  height: 1px;
  margin: 0 8px;
  flex: 1;
  background: #496059;
}

.section {
  width: var(--page);
  margin: clamp(90px, 11vw, 170px) auto;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(36px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(36px, 7vw, 110px);
}

.section-heading .eyebrow {
  margin-bottom: 15px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .96;
}

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

.playground-shell {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow);
}

.type-controls {
  display: grid;
  padding: 24px;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, .7fr));
  gap: 22px;
  align-items: start;
}

.text-control {
  grid-row: span 2;
}

.text-control > span,
.control-label label,
.segmented-control legend,
.feature-toggles legend {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-control textarea {
  width: 100%;
  min-height: 145px;
  padding: 15px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

.control-label {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  justify-content: space-between;
}

.control-label label {
  margin: 0;
}

.control-label output {
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: var(--line-dark);
}

input[type="range"]::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: var(--line-dark);
}

input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  appearance: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--signal);
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--signal);
}

.range-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.segmented-control,
.feature-toggles {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.segmented-control legend {
  grid-column: 1 / -1;
}

.segmented-control label {
  cursor: pointer;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
}

.segmented-control span {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
}

.segmented-control label:first-of-type span {
  border-radius: 8px 0 0 8px;
}

.segmented-control label:last-of-type span {
  margin-left: -1px;
  border-radius: 0 8px 8px 0;
}

.segmented-control input:checked + span {
  position: relative;
  z-index: 1;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.segmented-control input:focus-visible + span {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
}

.feature-toggles {
  display: flex;
  gap: 24px;
  grid-column: span 2;
}

.feature-toggles legend {
  width: 100%;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch-track {
  position: relative;
  width: 40px;
  height: 22px;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  transition: background .2s ease;
}

.switch-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
  transition: transform .2s ease, background .2s ease;
}

.switch input:checked + .switch-track {
  background: var(--sea);
}

.switch input:checked + .switch-track::after {
  transform: translateX(18px);
}

.switch input:focus-visible + .switch-track {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
}

.switch strong,
.switch small {
  display: block;
  line-height: 1.2;
}

.switch strong {
  font-size: 13px;
  font-weight: 580;
}

.switch small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.sample-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  grid-column: 2 / -1;
  align-items: center;
}

.sample-presets > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sample-presets button {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.sample-presets button:hover {
  border-color: var(--ink);
  background: var(--white);
}

.preview-stage {
  position: relative;
  display: grid;
  min-height: 480px;
  padding: clamp(28px, 5vw, 70px);
  overflow: hidden;
  background:
    linear-gradient(rgba(16, 33, 28, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 28, .075) 1px, transparent 1px),
    var(--sun);
  background-size: 44px 44px;
  align-items: center;
}

.preview-stage::after {
  position: absolute;
  width: min(27vw, 390px);
  aspect-ratio: 1;
  right: -7%;
  bottom: -32%;
  border: 1px solid rgba(16, 33, 28, .3);
  border-radius: 50%;
  content: "";
}

.preview-meta {
  position: absolute;
  top: 18px;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
}

#playground-preview {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 76px;
  font-style: normal;
  font-weight: 450;
  letter-spacing: -.02em;
  line-height: 1.02;
  white-space: pre-wrap;
}

.stage-ruler {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.stage-ruler span {
  width: 1px;
  height: 7px;
  background: var(--ink);
}

.weights-section {
  padding: clamp(85px, 11vw, 160px) max(32px, calc((100vw - 1380px) / 2));
  background: var(--night);
  color: var(--paper);
}

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

.section-heading-light .eyebrow,
.section-heading-light > p {
  color: #a5b7b0;
}

.section-heading-light code {
  border-color: #6f867e;
  background: var(--night-raised);
  color: var(--paper);
}

.weight-list {
  border-top: 1px solid #496059;
}

.weight-row {
  display: grid;
  min-height: 114px;
  border-bottom: 1px solid #496059;
  grid-template-columns: 170px 1fr 1fr;
  align-items: center;
  gap: 32px;
  font-weight: var(--weight);
}

.weight-300 { --weight: 300; }
.weight-400 { --weight: 400; }
.weight-450 { --weight: 450; }
.weight-500 { --weight: 500; }
.weight-550 { --weight: 550; }
.weight-600 { --weight: 600; }
.weight-700 { --weight: 700; }

.weight-row > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.weight-row > div span {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.weight-row small {
  color: #93a8a0;
  font-size: 11px;
  font-weight: 450;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.weight-row p {
  margin: 0;
  overflow: hidden;
  font-size: clamp(29px, 4vw, 57px);
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}

.weight-row .italic {
  font-style: italic;
}

.pin-row {
  position: relative;
}

.pin-row::before {
  position: absolute;
  width: 6px;
  height: 6px;
  left: -18px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.feature-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(48px, 8vw, 140px);
}

.feature-intro h2 {
  margin: 0;
  font-size: clamp(52px, 7.3vw, 106px);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .94;
}

.feature-intro-lede {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: clamp(21px, 2.1vw, 31px);
  line-height: 1.4;
}

.feature-panel {
  display: grid;
  width: var(--page);
  margin: 0 auto 30px;
  min-height: 650px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
}

.feature-copy {
  padding: clamp(40px, 6vw, 86px);
}

.feature-number {
  margin-bottom: clamp(60px, 8vw, 125px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feature-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 540;
  letter-spacing: -.055em;
  line-height: .96;
}

.feature-copy > p:not(.feature-number) {
  max-width: 610px;
  color: var(--ink-soft);
}

.feature-switch {
  margin-top: 22px;
}

.ledger-card {
  display: flex;
  padding: clamp(28px, 5vw, 70px);
  background: var(--signal);
  flex-direction: column;
  justify-content: center;
}

.ledger-header {
  display: flex;
  padding-bottom: 14px;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ledger > div {
  display: grid;
  padding: 14px 0 10px;
  border-bottom: 1px solid rgba(16, 33, 28, .35);
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
}

.ledger span {
  font-size: 13px;
}

.ledger strong {
  font-size: clamp(27px, 3.7vw, 53px);
  font-weight: 470;
  letter-spacing: -.025em;
}

.ledger .ledger-total {
  margin-top: 14px;
  padding: 18px 14px 11px;
  border: 1px solid var(--ink);
  background: var(--sun);
}

.ledger .ledger-total strong {
  font-weight: 700;
}

.ledger-note {
  margin: 20px 0 0;
  font-size: 12px;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.ss01 {
  font-feature-settings: "ss01";
}

.symbol-panel {
  background: var(--night);
  color: var(--paper);
  grid-template-columns: 1.25fr 1fr;
}

.symbol-panel .feature-copy {
  background: var(--night);
}

.symbol-panel .feature-number,
.symbol-panel .feature-copy > p:not(.feature-number) {
  color: #a5b7b0;
}

.symbol-field {
  display: grid;
  padding: 30px;
  border-right: 1px solid #496059;
  background:
    radial-gradient(circle at 50% 50%, rgba(25, 169, 137, .21), transparent 40%),
    var(--night-raised);
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 12px;
}

.symbol-field span {
  display: grid;
  min-height: 120px;
  border: 1px solid #496059;
  border-radius: 50%;
  background: var(--night);
  place-items: center;
  font-size: clamp(70px, 9vw, 132px);
  font-weight: 430;
  line-height: 1;
}

.symbol-field span:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 4;
}

.symbol-field span:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 1 / 4;
}

.symbol-field span:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 4 / 7;
  color: var(--sun);
}

.symbol-field span:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 4 / 7;
  color: var(--signal);
}

.symbol-field span:nth-child(5) {
  grid-column: 5 / 7;
  grid-row: 4 / 7;
  color: #5edfc5;
}

.unicode-list {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(5, 1fr);
}

.unicode-list > div {
  padding: 10px 12px;
  border: 1px solid #496059;
  border-left: 0;
}

.unicode-list > div:first-child {
  border-left: 1px solid #496059;
}

.unicode-list dt {
  font-size: 30px;
}

.unicode-list dd {
  margin: 4px 0 0;
  color: #a5b7b0;
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.alternates-panel {
  grid-template-columns: .9fr 1.4fr;
}

.alternate-demo {
  display: grid;
  padding: clamp(30px, 5vw, 70px);
  background: var(--sun);
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.alternate-demo > div {
  display: flex;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: 999px 999px 18px 18px;
  background: var(--paper);
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.alternate-demo > div > span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.alternate-demo p {
  margin: auto 0;
  font-size: clamp(120px, 16vw, 245px);
  font-weight: 420;
  letter-spacing: -.08em;
  line-height: .8;
}

.alternate-demo small {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
}

.locale-stack {
  border-top: 1px solid var(--ink);
}

.locale-stack article {
  display: grid;
  min-height: 170px;
  padding: 30px 0;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 50px;
}

.slice-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slice-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
}

.slice-meta strong {
  font-size: 17px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.locale-stack article > p {
  margin: 0;
  font-size: clamp(32px, 5vw, 67px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.locale-stack article:nth-child(2) > p {
  font-style: italic;
}

.locale-note {
  max-width: 660px;
  margin: 22px 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

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

.code-card {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--night);
  color: var(--paper);
}

.code-title {
  display: flex;
  min-height: 74px;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #496059;
}

.code-title > div {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.code-title span {
  color: #8ca39a;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.code-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
}

.copy-button {
  padding: 6px 11px;
  border: 1px solid #6f867e;
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 11px;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--paper);
}

.copy-button[data-state="copied"] {
  border-color: #5edfc5;
  color: #5edfc5;
}

.code-card pre {
  min-height: 180px;
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  color: #e9e6dc;
  font-size: 14px;
  line-height: 1.7;
}

.code-card code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
}

.install-notes {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.install-notes article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-raised);
}

.note-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.install-notes h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 570;
}

.install-notes p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.install-warning {
  margin: 22px 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--signal);
  background: rgba(255, 96, 74, .1);
  font-size: 14px;
}

.qa-section {
  display: grid;
  width: 100%;
  padding: clamp(90px, 11vw, 160px) max(32px, calc((100vw - 1380px) / 2));
  background: var(--sun);
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 10vw, 170px);
}

.qa-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 530;
  letter-spacing: -.065em;
  line-height: .92;
}

.qa-copy .eyebrow {
  color: var(--ink-soft);
}

.qa-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 20px;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

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

.qa-list li {
  display: grid;
  min-height: 120px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 24px;
}

.qa-list span {
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 560;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.qa-list p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
}

.story-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.story-mark {
  display: grid;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
  place-items: center;
}

.story-mark svg {
  width: 70%;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 2;
}

.story-mark svg circle:last-of-type {
  fill: var(--sun);
}

.story-copy h2 {
  margin-bottom: 35px;
  font-size: clamp(51px, 7vw, 99px);
  font-weight: 520;
  letter-spacing: -.06em;
  line-height: .94;
}

.story-lede {
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 33px);
  line-height: 1.4;
}

.story-copy > p:not(.eyebrow, .story-lede) {
  max-width: 800px;
  color: var(--ink-soft);
}

.download-section {
  position: relative;
  display: flex;
  min-height: 670px;
  padding: clamp(70px, 9vw, 120px) 32px;
  overflow: hidden;
  background: var(--signal);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.download-section .eyebrow {
  color: var(--ink);
}

.download-section h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  font-size: clamp(63px, 10vw, 156px);
  font-weight: 550;
  letter-spacing: -.075em;
  line-height: .87;
}

.download-section > p:not(.eyebrow, .download-license) {
  position: relative;
  z-index: 2;
  max-width: 700px;
  font-size: 20px;
}

.download-actions {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 25px;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

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

.checksum-link {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em;
}

.download-license {
  position: relative;
  z-index: 2;
  margin: 27px 0 0;
  font-size: 12px;
}

.download-orbit {
  position: absolute;
  width: min(76vw, 950px);
  aspect-ratio: 1;
  border: 1px solid rgba(16, 33, 28, .25);
  border-radius: 50%;
}

.download-orbit::before,
.download-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(16, 33, 28, .25);
  content: "";
}

.download-orbit::before {
  width: 120%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-23deg);
}

.download-orbit::after {
  width: 1px;
  height: 120%;
  transform: translate(-50%, -50%) rotate(-23deg);
}

.download-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
}

.site-footer {
  display: grid;
  width: 100%;
  min-height: 320px;
  padding: 65px max(32px, calc((100vw - 1380px) / 2));
  background: var(--night);
  color: var(--paper);
  grid-template-columns: 1fr 1.2fr auto;
  gap: 60px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .brand-mark {
  color: var(--paper);
}

.site-footer > div > p {
  max-width: 310px;
  color: #a5b7b0;
  font-size: 13px;
}

.footer-meta p {
  margin-bottom: 7px;
  color: #a5b7b0;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

@media (max-width: 1120px) {
  :root {
    --page: min(100% - 42px, 1380px);
  }

  .hero {
    grid-template-columns: .92fr 1.08fr;
    gap: 40px;
  }

  .type-controls {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .text-control {
    grid-row: span 3;
  }

  .slider-control:nth-of-type(3) {
    grid-column: 2;
  }

  .feature-toggles {
    grid-column: 2 / -1;
  }

  .sample-presets {
    grid-column: 2 / -1;
  }

  .feature-panel {
    min-height: 590px;
  }

  .feature-copy {
    padding: 48px;
  }

  .feature-number {
    margin-bottom: 70px;
  }
}

@media (max-width: 860px) {
  :root {
    --page: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 17px;
  }

  .site-header {
    min-height: 74px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 43px;
    height: 43px;
    padding: 11px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    align-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform .2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .primary-nav {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 14px;
  }

  .js-enabled .nav-toggle {
    display: grid;
  }

  .js-enabled .primary-nav {
    position: absolute;
    top: 66px;
    right: 0;
    display: none;
    width: min(310px, calc(100vw - 32px));
    margin-left: 0;
    padding: 20px;
    border: 1px solid var(--ink);
    border-radius: 14px;
    background: var(--paper-raised);
    box-shadow: var(--shadow);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .js-enabled .primary-nav[data-open="true"] {
    display: flex;
  }

  .primary-nav a {
    padding: 10px;
  }

  .nav-download {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 65px 0 85px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-poster {
    width: min(100%, 690px);
    min-height: 0;
    justify-self: end;
  }

  .poster-word {
    font-size: clamp(120px, 29vw, 210px);
  }

  .signal-strip {
    padding-inline: 20px;
    grid-template-columns: 1fr auto;
  }

  .ticker {
    display: none;
  }

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

  .section-heading > p {
    max-width: 650px;
  }

  .type-controls {
    grid-template-columns: 1fr 1fr;
  }

  .text-control {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .slider-control:nth-of-type(3) {
    grid-column: auto;
  }

  .feature-toggles,
  .sample-presets {
    grid-column: 1 / -1;
  }

  .preview-stage {
    min-height: 410px;
  }

  .weight-row {
    min-height: 105px;
    grid-template-columns: 115px 1fr;
  }

  .weight-row .italic {
    display: none;
  }

  .feature-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature-intro-lede {
    max-width: 720px;
  }

  .feature-panel,
  .symbol-panel,
  .alternates-panel {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .ledger-card {
    min-height: 590px;
  }

  .symbol-field {
    min-height: 600px;
    border-right: 0;
    border-bottom: 1px solid #496059;
  }

  .symbol-panel .feature-copy {
    order: -1;
  }

  .alternate-demo {
    min-height: 550px;
  }

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

  .install-notes {
    grid-template-columns: 1fr;
  }

  .install-notes article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 18px;
  }

  .note-icon {
    margin: 0;
    grid-row: span 2;
  }

  .install-notes h3 {
    margin-top: 1px;
  }

  .qa-section {
    grid-template-columns: 1fr;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story-mark {
    width: min(72vw, 480px);
  }

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

  .site-footer nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 25px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 34px;
  }

  .hero h1 {
    font-size: clamp(64px, 21vw, 96px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-poster {
    border-radius: 40px;
  }

  .poster-caption {
    gap: 20px;
  }

  .signal-strip p:first-child {
    font-size: 12px;
  }

  .signal-symbols {
    font-size: 19px !important;
  }

  .section {
    margin-block: 85px;
  }

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

  .type-controls {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .feature-toggles,
  .sample-presets,
  .text-control {
    grid-column: auto;
  }

  .feature-toggles {
    flex-direction: column;
  }

  .preview-stage {
    min-height: 350px;
    padding: 60px 24px;
  }

  .weight-row {
    min-height: 93px;
    grid-template-columns: 78px 1fr;
    gap: 15px;
  }

  .weight-row > div {
    flex-direction: column;
    gap: 0;
  }

  .weight-row p {
    font-size: 31px;
  }

  .pin-row::before {
    left: -10px;
  }

  .feature-copy {
    padding: 32px 24px 45px;
  }

  .feature-number {
    margin-bottom: 50px;
  }

  .ledger-card {
    min-height: 520px;
    padding: 28px 20px;
  }

  .ledger > div {
    gap: 10px;
  }

  .ledger span {
    font-size: 11px;
  }

  .ledger strong {
    font-size: 28px;
  }

  .symbol-field {
    min-height: 420px;
    padding: 13px;
    gap: 7px;
  }

  .symbol-field span {
    min-height: 80px;
    font-size: 66px;
  }

  .unicode-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .unicode-list > div:nth-child(4) {
    border-left: 1px solid #496059;
  }

  .alternate-demo {
    min-height: 390px;
    padding: 18px;
    gap: 8px;
  }

  .alternate-demo p {
    font-size: 100px;
  }

  .alternate-demo small {
    display: none;
  }

  .locale-stack article {
    padding: 28px 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .locale-stack article > p {
    font-size: 37px;
  }

  .code-card pre {
    padding: 22px;
    font-size: 12px;
  }

  .qa-list li {
    grid-template-columns: 80px 1fr;
  }

  .story-mark {
    width: 100%;
  }

  .download-section {
    min-height: 640px;
  }

  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .site-footer nav {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .type-controls,
  .copy-button,
  .download-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  body::before {
    display: none;
  }

  .hero,
  .section,
  .feature-panel {
    width: 100%;
    margin: 30px 0;
    break-inside: avoid;
  }
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  margin: 0;
  padding: 28px;
  overflow: hidden;
  background: var(--sun);
  color: var(--ink);
  place-items: center;
}

.not-found-page::before {
  display: none;
}

.not-found-page main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.not-found-page .code {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Pivot Sans", system-ui, sans-serif;
  font-size: clamp(150px, 38vw, 420px);
  font-weight: 600;
  letter-spacing: -.12em;
  line-height: .7;
  font-variant-numeric: tabular-nums;
}

.not-found-page h1 {
  margin: 45px 0 12px;
  font-size: clamp(37px, 6vw, 70px);
  font-weight: 520;
  letter-spacing: -.055em;
}

.not-found-page main > p:not(.code) {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.5;
}

.not-found-page main > a {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: var(--white);
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.not-found-page .orbit {
  position: fixed;
  width: min(82vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(16, 33, 28, .3);
  border-radius: 50%;
}

.not-found-page .orbit::before,
.not-found-page .orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(16, 33, 28, .3);
  content: "";
}

.not-found-page .orbit::before {
  width: 120vw;
  height: 1px;
  transform: translate(-50%, -50%) rotate(38deg);
}

.not-found-page .orbit::after {
  width: 1px;
  height: 120vh;
  transform: translate(-50%, -50%) rotate(38deg);
}

.not-found-page .orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--signal);
}
