/* Tessera — the deck is drawn in the design system it introduces. */
:root {
  --deck-backdrop: #181615;
  --clay-50: #FFF2ED; --clay-100: #FFDFD3; --clay-200: #FFBDA6; --clay-300: #FF9572; --clay-400: #F7713F; --clay-500: #E4502A; --clay-600: #C23E1D; --clay-700: #9A3117; --clay-800: #702412; --clay-900: #48180C;
  --lagoon-100: #C4EAE3; --lagoon-200: #8DD6CA; --lagoon-500: #11877B; --lagoon-600: #0D6C63; --lagoon-700: #0B554E;
  --saffron-200: #FFE3A3; --saffron-400: #F2B01E; --saffron-700: #8A5A00;
  --iris-500: #5B5BD6; --iris-100: #E3E3FA; --ruby-600: #C8323A;
  --stone-0: #FFFFFF; --stone-50: #F7F6F3; --stone-100: #EEECE7; --stone-200: #DEDAD2; --stone-300: #C5C0B6; --stone-400: #A09A8E; --stone-500: #7B756C; --stone-600: #5D5851; --stone-700: #433F3A; --stone-800: #2B2825; --stone-900: #181615;
  --sans: var(--kit-sans); --mono: var(--kit-mono);
  --shadow-1: 0 1px 2px rgb(24 22 21 / 0.08), 0 1px 1px rgb(24 22 21 / 0.04);
  --shadow-2: 0 4px 12px rgb(24 22 21 / 0.10), 0 1px 3px rgb(24 22 21 / 0.06);
  --shadow-3: 0 16px 40px rgb(24 22 21 / 0.16), 0 4px 10px rgb(24 22 21 / 0.06);
}
.slide { font-family: var(--sans); color: var(--stone-900); background: var(--stone-50); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.slide code, .slide [class*="mono"], .slide svg text { font-variant-ligatures: none; }
code { font-family: var(--mono); font-variant-ligatures: none; }
.dots, .slide.page::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgb(24 22 21 / 0.10) 1.4px, transparent 1.6px); background-size: 32px 32px; background-position: 16px 16px; pointer-events: none; }
.slide.page::before { opacity: 0.55; }

/* furniture */
.chrome { position: absolute; left: 120px; right: 120px; top: 56px; display: flex; align-items: center; gap: 16px; }
.chrome .mark { width: 30px; height: 30px; gap: 3px; }
.chrome .word { font: 700 25px/1 var(--sans); letter-spacing: -0.03em; }
.chrome .sec { margin-left: 8px; padding: 7px 12px 6px; border-radius: 8px; background: var(--stone-100); font: 500 15px/1 var(--mono); color: var(--stone-600); }
.chrome .deck-sample { margin-left: auto; height: 32px; font-size: 13px; color: var(--stone-600); }
.deck-folio { font-family: var(--mono); color: var(--stone-600); opacity: 1; }
.deck-source { left: 120px; color: var(--stone-600); opacity: 1; font-size: 17px; }
.sample-low { position: absolute; right: 120px; top: 812px; color: var(--clay-600); }
.mark { display: inline-grid; grid-template-columns: 1fr 1fr; width: 44px; height: 44px; gap: 4px; }
.mark i { border-radius: 4px; background: var(--clay-500); }
.mark i:nth-child(2) { background: var(--saffron-400); border-radius: 4px 4px 4px 50%; }
.mark i:nth-child(3) { background: var(--lagoon-500); }
.mark i:nth-child(4) { background: var(--stone-900); border-radius: 50% 4px 4px 4px; }
.kicker { position: absolute; left: 120px; top: 170px; margin: 0; display: flex; align-items: center; gap: 12px; font: 500 18px/1 var(--mono); letter-spacing: 0.08em; color: var(--clay-600); }
.kicker::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: currentColor; }
.title { position: absolute; left: 120px; top: 206px; margin: 0; max-width: 1560px; font: 700 62px/1.06 var(--sans); letter-spacing: -0.035em; text-wrap: balance; }
h3 { margin: 0; font: 500 15px/1.2 var(--mono); letter-spacing: 0.06em; color: var(--stone-600); }

/* ---------- shared components ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 8px; border: 0; box-sizing: border-box; font: 600 16px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; transition: background 120ms, box-shadow 120ms; }
.btn.primary { background: var(--clay-600); color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.12); }
.btn.primary:hover { background: var(--clay-700); }
.btn.secondary { background: #fff; color: var(--stone-900); box-shadow: inset 0 0 0 1.5px var(--stone-300); }
.btn.ghost { background: transparent; color: var(--stone-700); }
.btn.ghost:hover { background: var(--stone-100); }
.btn.danger { background: var(--ruby-600); color: #fff; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 14px; border-radius: 6px; }
.btn.lg { height: 56px; padding: 0 26px; font-size: 20px; border-radius: 10px; }
.btn.xl { height: 72px; padding: 0 34px; font-size: 24px; border-radius: 12px; }
.btn:focus-visible { outline: 3px solid var(--clay-300); outline-offset: 2px; }
.field { display: flex; align-items: center; height: 48px; padding: 0 16px; box-sizing: border-box; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--stone-300); font: 400 18px/1 var(--sans); color: var(--stone-900); }
.field.focus { box-shadow: inset 0 0 0 2px var(--clay-500), 0 0 0 4px rgb(228 80 42 / 0.18); }
.caret { width: 2px; height: 24px; margin-left: 2px; background: var(--clay-600); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 999px; background: var(--stone-300); transition: background 160ms; }
.switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform 180ms cubic-bezier(.3,.7,.3,1); }
.switch.on { background: var(--lagoon-500); }
.switch.on i { transform: translateX(22px); }
.box { flex: none; width: 28px; height: 28px; border-radius: 7px; box-sizing: border-box; background: #fff; box-shadow: inset 0 0 0 2px var(--stone-400); display: grid; place-items: center; transition: background 120ms; }
.box svg { width: 20px; height: 20px; opacity: 0; }
.box.on { background: var(--clay-600); box-shadow: none; }
.box.on svg { opacity: 1; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font: 600 16px/1 var(--sans); }
.chip.c1 { background: var(--clay-100); color: var(--clay-800); }
.chip.c2 { background: var(--lagoon-100); color: var(--lagoon-700); }
.chip.c3 { background: var(--saffron-200); color: var(--saffron-700); }
.chip.c4 { background: var(--iris-100); color: #3A3AA8; }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; font: 700 13px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }
.badge.new { background: var(--clay-600); color: #fff; }
.badge.beta { background: var(--iris-100); color: #3A3AA8; }
.badge.ok { background: var(--lagoon-100); color: var(--lagoon-700); text-transform: none; letter-spacing: 0; font-size: 15px; height: 30px; }

/* ---------- 1 · Cover ---------- */
.cover { background: var(--stone-50); }
.cv-top { position: absolute; left: 120px; right: 120px; top: 64px; display: flex; align-items: center; gap: 16px; }
.cv-top .word { font: 700 36px/1 var(--sans); letter-spacing: -0.035em; }
.cv-top .deck-sample { margin-left: auto; color: var(--stone-600); }
.cv-copy { position: absolute; left: 120px; top: 310px; width: 720px; }
.cv-kicker { margin: 0; font: 500 19px/1.3 var(--mono); color: var(--clay-600); }
.cv-title { margin: 22px 0 0 -8px; font: 750 200px/0.9 var(--sans); letter-spacing: -0.065em; }
.cv-sub { margin: 34px 0 0; font: 400 32px/1.3 var(--sans); color: var(--stone-700); letter-spacing: -0.01em; }
.cv-meta { margin: 46px 0 0; padding-top: 22px; border-top: 1.5px solid var(--stone-200); font: 500 17px/1.4 var(--mono); color: var(--stone-600); }
.mosaic { position: absolute; left: 892px; top: 190px; display: grid; grid-template-columns: repeat(6, 138px); grid-template-rows: repeat(5, 138px); gap: 16px; }
.tile { position: relative; box-sizing: border-box; border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.slide.is-active .tile { animation: pop 520ms cubic-bezier(.2,.9,.25,1.15) both; animation-delay: calc(var(--i) * 26ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.86); } to { opacity: 1; transform: none; } }
.tile.sw { background: var(--bg); color: var(--fg); padding: 14px 15px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: none; }
.tile.sw code { font-size: 15px; font-weight: 600; }
.tile.sw small { margin-top: 3px; font: 500 12px/1 var(--mono); opacity: 0.75; }
.t-btn { display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--clay-50)); }
.t-btn .cursor { position: absolute; left: 196px; top: 82px; width: 22px; height: 30px; background: var(--stone-900); clip-path: polygon(0 0, 0 80%, 25% 62%, 42% 100%, 56% 94%, 40% 58%, 72% 58%); }
.t-aa { background: var(--stone-900); color: var(--stone-50); display: flex; flex-direction: column; justify-content: space-between; padding: 12px 16px 14px; box-shadow: none; }
.t-aa b { font: 650 66px/1 var(--sans); letter-spacing: -0.05em; }
.t-aa code { font-size: 13px; opacity: 0.7; }
.t-input { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.t-input label { font: 600 16px/1 var(--sans); color: var(--stone-700); }
.t-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.t-toggle .switch { transform: scale(1.25); }
.t-toggle .lbl { font: 500 15px/1 var(--sans); color: var(--stone-600); }
.t-card { padding: 24px 24px; display: flex; flex-direction: column; gap: 18px; }
.pc-head { display: flex; align-items: center; gap: 14px; }
.av { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 700 20px/1 var(--sans); color: #fff; background: linear-gradient(140deg, var(--clay-400), var(--clay-600)); }
.pc-head b { display: block; font: 700 22px/1.2 var(--sans); letter-spacing: -0.02em; }
.pc-head div span { display: block; margin-top: 3px; font: 400 16px/1.2 var(--sans); color: var(--stone-600); }
.pc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-chips .chip { height: 30px; font-size: 14px; padding: 0 12px; }
.pc-prog { margin-top: auto; }
.pc-prog span { font: 500 14px/1 var(--sans); color: var(--stone-600); }
.bar { margin-top: 10px; height: 10px; border-radius: 99px; background: var(--stone-100); overflow: hidden; }
.bar i { display: block; width: 72%; height: 100%; border-radius: 99px; background: var(--lagoon-500); }
.t-check { display: flex; align-items: center; justify-content: center; gap: 14px; }
.t-check .box { width: 40px; height: 40px; border-radius: 10px; }
.t-check .box svg { width: 28px; height: 28px; }
.t-space { padding: 18px 16px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.t-space i { display: block; height: 12px; border-radius: 3px; background: var(--clay-400); }
.t-space code { margin-top: 4px; font-size: 13px; color: var(--stone-600); }
.t-radius { background: var(--stone-100); box-shadow: none; padding: 16px; }
.t-radius span { position: absolute; left: 40px; top: 40px; right: -4px; bottom: -4px; border-top-left-radius: 48px; border: 4px solid var(--iris-500); background: var(--iris-100); }
.t-radius code { position: absolute; left: 14px; top: 12px; font-size: 13px; color: var(--stone-600); }
.t-slider { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.t-slider .lbl { font: 600 16px/1 var(--sans); color: var(--stone-700); }
.track { position: relative; height: 8px; border-radius: 99px; background: var(--stone-200); }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; border-radius: 99px; background: var(--clay-500); }
.track b { position: absolute; left: 64%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-2), inset 0 0 0 2px var(--clay-500); }
.t-empty { background: transparent; box-shadow: none; border: 2.5px dashed var(--stone-300); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--stone-500); }
.t-empty span { font: 300 46px/1 var(--sans); }
.t-empty small { font: 500 12px/1.25 var(--mono); text-align: center; padding: 0 10px; }
.t-chips { display: flex; align-items: center; justify-content: center; gap: 10px; }
.t-icon { background: var(--lagoon-100); color: var(--lagoon-700); display: grid; place-items: center; box-shadow: none; }
.t-icon svg { width: 60px; height: 60px; }
.t-toast { background: var(--stone-900); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 22px; font: 500 18px/1.2 var(--sans); }
.ok { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lagoon-200); }
.ok svg { width: 20px; height: 20px; }
.t-radio { display: flex; align-items: center; justify-content: center; gap: 14px; }
.rd { width: 36px; height: 36px; border-radius: 50%; box-sizing: border-box; border: 2.5px solid var(--stone-400); background: #fff; }
.rd.on { border: 11px solid var(--lagoon-500); }
.t-avatars { display: flex; align-items: center; justify-content: center; }
.t-avatars span, .avs span { width: 46px; height: 46px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--sans); color: #fff; background: var(--c); box-shadow: 0 0 0 3px #fff; }
.t-avatars span:first-child, .avs span:first-child { margin-left: 0; }

/* ---------- 2 · Why ---------- */
.panel { position: absolute; top: 380px; height: 420px; box-sizing: border-box; padding: 30px 34px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-2); }
.panel.before { left: 120px; width: 900px; }
.panel.after { left: 1060px; width: 740px; }
.greys { margin-top: 22px; display: grid; grid-template-columns: repeat(21, 1fr); gap: 6px; }
.greys i { height: 50px; }
.mess { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mess span { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.ramp { margin-top: 22px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 0; border-radius: 12px; overflow: hidden; }
.ramp i { height: 162px; display: flex; align-items: flex-end; padding: 10px 8px; box-sizing: border-box; font: 600 13px/1 var(--mono); font-style: normal; }
.clean { margin-top: 28px; display: flex; gap: 12px; align-items: center; }
.stats { position: absolute; left: 120px; right: 120px; top: 846px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { display: flex; align-items: baseline; gap: 14px; padding-top: 18px; border-top: 2px solid var(--stone-900); }
.stat s { font: 600 34px/1 var(--sans); color: var(--stone-400); text-decoration-thickness: 3px; text-decoration-color: var(--clay-500); }
.stat b { font: 750 58px/1 var(--sans); letter-spacing: -0.04em; color: var(--clay-600); }
.stat span { font: 500 19px/1.2 var(--sans); color: var(--stone-700); }

/* ---------- 3 · Principles ---------- */
.pcards { position: absolute; left: 120px; right: 120px; top: 390px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pcard { height: 560px; box-sizing: border-box; border-radius: 24px; background: #fff; box-shadow: var(--shadow-2); overflow: hidden; display: flex; flex-direction: column; }
.pcard .art { height: 250px; background: var(--c); position: relative; }
.pcard .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcard .n { position: absolute; left: 24px; top: 20px; font: 600 16px/1 var(--mono); color: var(--fg); opacity: 0.85; }
.pcard h4 { margin: 28px 28px 0; font: 700 32px/1.1 var(--sans); letter-spacing: -0.03em; }
.pcard p { margin: 14px 28px 0; font: 400 21px/1.45 var(--sans); color: var(--stone-600); }

/* ---------- 4 · Tokens ---------- */
.layers { position: absolute; left: 120px; top: 380px; width: 1240px; }
.lhead, .lrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.lhead { padding-bottom: 16px; border-bottom: 2px solid var(--stone-900); }
.lhead div b { display: block; font: 700 28px/1 var(--sans); letter-spacing: -0.02em; }
.lhead div span { display: block; margin-top: 8px; font: 400 18px/1 var(--sans); color: var(--stone-600); }
.lrow { padding: 22px 0; border-bottom: 1.5px solid var(--stone-200); }
.tok { position: relative; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--stone-200); }
.tok code { font-size: 19px; font-weight: 600; white-space: nowrap; }
.tok small { margin-left: auto; font: 500 15px/1 var(--mono); color: var(--stone-600); white-space: nowrap; }
.tok .chipc { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--c); }
.tok + .tok { margin: 0; }
.lrow .tok::after { content: ''; position: absolute; right: -50px; top: 50%; width: 44px; height: 2px; background: var(--stone-400); }
.lrow .tok::before { content: ''; position: absolute; right: -52px; top: calc(50% - 6px); border: 7px solid transparent; border-left: 9px solid var(--stone-400); border-right: 0; }
.lrow .tok:last-child::after, .lrow .tok:last-child::before { display: none; }
.lrow .tok.sem { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--lagoon-500); }
.lrow .tok.cmp { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--clay-500); }
.result { position: absolute; left: 1420px; right: 120px; top: 380px; height: 540px; box-sizing: border-box; padding: 30px; border-radius: 24px; background: var(--stone-900); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.result h3 { color: var(--stone-300); }
.result .btn { margin-top: 60px; align-self: center; }
.result p { margin: auto 0 0; font: 400 19px/1.45 var(--sans); color: var(--stone-300); }

/* ---------- 5 · Colour ---------- */
.ramps { position: absolute; left: 120px; right: 120px; top: 392px; display: flex; flex-direction: column; gap: 40px; }
.rrow { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: stretch; }
.rname b { display: block; font: 700 26px/1 var(--sans); letter-spacing: -0.02em; }
.rname code { display: block; margin-top: 8px; font-size: 14px; color: var(--stone-600); }
.rsw { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); border-radius: 14px; overflow: visible; }
.rsw i { position: relative; height: 104px; padding: 10px 10px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; font-style: normal; }
.rsw i:first-child { border-radius: 14px 0 0 14px; }
.rsw i:last-child { border-radius: 0 14px 14px 0; }
.rsw .st { font: 700 15px/1 var(--mono); }
.rsw .hx { font: 500 12px/1 var(--mono); opacity: 0.8; }
.rsw .cr { display: flex; align-items: center; gap: 6px; font: 600 14px/1 var(--mono); }
.rsw .cr em { font-style: normal; padding: 3px 5px 2px; border-radius: 4px; font: 700 11px/1 var(--mono); background: rgb(255 255 255 / 0.9); color: var(--stone-900); }
.rsw .safe { position: absolute; top: -16px; left: 0; height: 12px; border-left: 2px solid var(--stone-900); }
.rsw .safe span { position: absolute; left: 8px; top: -6px; white-space: nowrap; font: 500 13px/1 var(--mono); color: var(--stone-900); }
.extras { position: absolute; left: 120px; right: 120px; top: 880px; display: flex; gap: 36px; align-items: center; }
.extras h3 { margin-right: 4px; }
.xg { display: flex; align-items: center; gap: 12px; }
.xs { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--stone-200); }
.xs i { width: 32px; height: 32px; border-radius: 8px; background: var(--c); }
.xs b { font: 600 17px/1 var(--sans); }
.xs code { font-size: 13px; color: var(--stone-600); }

/* ---------- 6 · Type ---------- */
.scale { position: absolute; left: 120px; top: 356px; width: 1180px; }
.trow { display: grid; grid-template-columns: 230px 110px 1fr; gap: 20px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--stone-200); }
.trow code { font-size: 16px; font-weight: 600; color: var(--clay-600); }
.trow small { font: 500 15px/1 var(--mono); color: var(--stone-600); }
.trow span { white-space: nowrap; overflow: hidden; text-overflow: clip; letter-spacing: -0.02em; }
.aa { position: absolute; left: 1420px; right: 120px; top: 372px; }
.big-aa { display: block; font: 700 250px/0.9 var(--sans); letter-spacing: -0.07em; color: var(--clay-600); }
.aa h3 { margin-top: 26px; }
.wts { list-style: none; margin: 14px 0 0; padding: 0; }
.wts li { display: flex; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--stone-200); }
.wts span { width: 50px; font: 500 15px/1 var(--mono); color: var(--stone-500); }
.wts b { font-weight: inherit; font-size: 28px; letter-spacing: -0.02em; }
.tnum { margin: 24px 0 0; font: 600 44px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.tnum-l { margin: 8px 0 0; font: 400 17px/1.3 var(--sans); color: var(--stone-600); }

/* ---------- 7 · Space and shape ---------- */
.spacing { position: absolute; left: 120px; top: 380px; width: 720px; }
.sprow { display: grid; grid-template-columns: 110px 70px 1fr; gap: 14px; align-items: center; height: 54px; border-bottom: 1px solid var(--stone-200); }
.sprow code { font-size: 17px; font-weight: 600; }
.sprow small { font: 500 15px/1 var(--mono); color: var(--stone-600); }
.sprow i { display: block; height: 24px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--clay-400) 0 10px, var(--clay-300) 10px 12px); }
.radii { position: absolute; left: 940px; right: 120px; top: 380px; }
#radii { margin-top: 16px; display: flex; gap: 22px; }
.rad { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rad i { width: 120px; height: 104px; background: var(--iris-100); box-shadow: inset 0 0 0 3px var(--iris-500); }
.rad code { font-size: 15px; font-weight: 600; }
.rad small { font: 500 13px/1 var(--mono); color: var(--stone-600); }
.elev { position: absolute; left: 940px; right: 120px; top: 620px; }
#elev { margin-top: 16px; display: flex; gap: 26px; }
.el { flex: 1; height: 110px; border-radius: 16px; background: #fff; padding: 16px 18px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.el code { font-size: 16px; font-weight: 600; }
.el span { font: 400 16px/1 var(--sans); color: var(--stone-600); }
.gridbox { position: absolute; left: 940px; right: 120px; top: 812px; }
.cols12 { margin-top: 14px; height: 80px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--stone-200); }
.cols12 i { background: rgb(228 80 42 / 0.14); border-left: 1.5px solid rgb(228 80 42 / 0.4); border-right: 1.5px solid rgb(228 80 42 / 0.4); }
.gridbox p { margin: 10px 0 0; font: 500 15px/1.3 var(--mono); color: var(--stone-600); }

/* ---------- 8 · Components ---------- */
.try { position: absolute; right: 120px; top: 172px; margin: 0; display: flex; align-items: center; gap: 10px; font: 500 16px/1 var(--mono); color: var(--lagoon-600); }
.try::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--lagoon-500); box-shadow: 0 0 0 5px rgb(17 135 123 / 0.18); }
.cgrid { position: absolute; left: 120px; right: 120px; top: 360px; bottom: 96px; display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
.cpanel { box-sizing: border-box; padding: 24px 26px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 16px; }
.cpanel:nth-child(1) { grid-area: 1 / 1; }
.cpanel:nth-child(2) { grid-area: 1 / 2 / 3 / 3; }
.cpanel:nth-child(3) { grid-area: 1 / 3; }
.cpanel:nth-child(4) { grid-area: 2 / 3; }
.cpanel:nth-child(5) { grid-area: 2 / 1; }
.cpanel .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cpanel .row.sizes { margin-top: auto; padding-top: 12px; border-top: 1.5px solid var(--stone-100); }
.cpanel:nth-child(1) .row .btn:not(.sm):not(.lg) { flex: 1; height: 50px; font-size: 18px; }
.fld { display: flex; flex-direction: column; gap: 9px; }
.fld > span:first-child { font: 600 17px/1 var(--sans); color: var(--stone-700); }
.fld small { font: 400 15px/1.2 var(--sans); color: var(--stone-600); }
.fld.err .field { box-shadow: inset 0 0 0 2px var(--ruby-600); }
.fld.err small { color: var(--ruby-600); font-weight: 500; }
.fld + .fld { margin-top: 8px; }
.field.select { justify-content: space-between; }
.chev { width: 12px; height: 12px; margin-top: -6px; border-right: 2.5px solid var(--stone-600); border-bottom: 2.5px solid var(--stone-600); transform: rotate(45deg); }
.field.search { gap: 12px; color: var(--stone-500); border-radius: 999px; background: var(--stone-100); box-shadow: none; }
.field.search svg { width: 22px; height: 22px; }
.sw-row, .cb-row { display: flex; align-items: center; gap: 14px; padding: 4px 0; border: 0; background: none; font: 500 18px/1.2 var(--sans); color: var(--stone-900); cursor: pointer; text-align: left; }
.cbs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 4px; }
.tabs { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--stone-100); }
.tabs button { position: relative; z-index: 1; flex: 1; height: 44px; border: 0; border-radius: 8px; background: none; font: 600 17px/1 var(--sans); color: var(--stone-600); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--stone-900); }
.tabs .ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 18px) / 3); border-radius: 8px; background: #fff; box-shadow: var(--shadow-1); transition: transform 220ms cubic-bezier(.3,.7,.3,1); }
.pager { display: flex; gap: 6px; }
.pager span { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font: 500 17px/1 var(--sans); color: var(--stone-600); box-shadow: inset 0 0 0 1.5px var(--stone-200); }
.pager span.on { background: var(--stone-900); color: #fff; box-shadow: none; }
.toast { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border-radius: 12px; background: var(--stone-900); color: #fff; font: 500 17px/1 var(--sans); box-shadow: var(--shadow-3); }
.avs { display: flex; margin-left: auto; }
.avs span { width: 38px; height: 38px; font-size: 12px; margin-left: -10px; }
.prog { height: 10px; border-radius: 99px; background: var(--stone-100); overflow: hidden; }
.prog i { display: block; width: 45%; height: 100%; background: var(--clay-500); border-radius: 99px; }

/* ---------- 9 · Anatomy ---------- */
.spec { position: absolute; left: 120px; top: 370px; width: 1100px; height: 520px; }
.btn.giant { position: absolute; left: 270px; top: 186px; height: 132px; padding: 0 48px; gap: 24px; border-radius: 24px; font-size: 48px; font-weight: 600; letter-spacing: -0.01em; }
.btn.giant .ico { display: block; width: 60px; height: 60px; }
.btn.giant .ico svg { display: block; width: 60px; height: 60px; }
.dims { position: absolute; inset: 0; width: 1100px; height: 520px; overflow: visible; }
svg .dim { font: 600 18px var(--mono); fill: var(--stone-900); }
svg .dimv { font: 500 15px var(--mono); fill: var(--stone-600); }
.states { position: absolute; left: 1300px; right: 120px; top: 380px; }
#states { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.strow { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--stone-200); }
.strow span { font: 500 15px/1.2 var(--mono); color: var(--stone-600); }
.strow .btn { justify-self: start; height: 52px; font-size: 18px; padding: 0 22px; }
.strow .btn.hover { background: var(--clay-700); }
.strow .btn.pressed { background: var(--clay-800); transform: translateY(1px); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.25); }
.strow .btn.focus { outline: 3px solid var(--clay-300); outline-offset: 3px; }
.strow .btn.disabled { background: var(--stone-200); color: var(--stone-500); box-shadow: none; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgb(255 255 255 / 0.35); border-top-color: #fff; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 10 · Accessibility ---------- */
.pairs { position: absolute; left: 120px; top: 372px; width: 1060px; }
.prow { display: grid; grid-template-columns: 96px 1fr 120px 96px 120px 110px; gap: 16px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--stone-200); }
.prow.head { padding: 0 0 12px; border-bottom: 2px solid var(--stone-900); font: 500 14px/1.2 var(--mono); color: var(--stone-600); }
.prow .pv { width: 96px; height: 56px; border-radius: 10px; display: grid; place-items: center; font: 700 26px/1 var(--sans); box-shadow: inset 0 0 0 1px rgb(24 22 21 / 0.08); }
.prow code { font-size: 16px; font-weight: 600; }
.prow code span { color: var(--stone-500); font-weight: 400; }
.prow .r { font: 700 26px/1 var(--sans); letter-spacing: -0.02em; }
.pass, .fail { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--mono); }
.pass::before, .fail::before { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--sans); color: #fff; }
.pass::before { content: '✓'; background: var(--lagoon-600); }
.fail::before { content: '×'; background: var(--ruby-600); }
.rules { position: absolute; left: 1240px; right: 120px; top: 372px; display: flex; flex-direction: column; gap: 20px; }
.rule { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); }
.rule svg { width: 110px; height: 90px; }
.rule b { display: block; font: 700 23px/1.15 var(--sans); letter-spacing: -0.02em; }
.rule p { margin: 6px 0 0; font: 400 17px/1.4 var(--sans); color: var(--stone-600); }
.a11y .deck-source { font-size: 15px; max-width: 1560px; }

/* ---------- 11 · Contributing ---------- */
.flow { position: absolute; left: 120px; right: 120px; top: 390px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.flow li { position: relative; padding-top: 104px; }
.flow li::before { content: ''; position: absolute; left: 76px; right: -24px; top: 36px; height: 3px; background: repeating-linear-gradient(90deg, var(--stone-400) 0 10px, transparent 10px 18px); }
.flow li:last-child::before { display: none; }
.flow .num { position: absolute; left: 0; top: 0; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font: 700 32px/1 var(--sans); color: #fff; background: var(--c); box-shadow: var(--shadow-2); }
.flow b { display: block; font: 700 32px/1.1 var(--sans); letter-spacing: -0.03em; }
.flow p { margin: 12px 0 0; font: 400 20px/1.45 var(--sans); color: var(--stone-600); padding-right: 12px; }
.releases { position: absolute; left: 120px; right: 120px; top: 770px; }
#rel { display: block; width: 1680px; height: 150px; margin-top: 18px; overflow: visible; }
svg .rv { font: 700 30px var(--sans); fill: var(--stone-900); letter-spacing: -0.02em; }
svg .rd { font: 500 15px var(--mono); fill: var(--stone-600); }
svg .rl { font: 400 18px var(--sans); fill: var(--stone-700); }

/* ---------- 12 · Exercise ---------- */
.ex-title { max-width: 900px; }
.ex-steps { position: absolute; left: 120px; top: 420px; width: 820px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ex-steps li { counter-increment: s; position: relative; padding: 24px 0 24px 76px; border-top: 1.5px solid var(--stone-200); font: 400 28px/1.35 var(--sans); letter-spacing: -0.01em; }
.ex-steps li::before { content: counter(s); position: absolute; left: 0; top: 20px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 700 22px/1 var(--sans); color: #fff; background: var(--clay-600); }
.ex-stage { position: absolute; left: 1180px; top: 250px; width: 560px; }
.order { box-sizing: border-box; padding: 36px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-3); }
.order header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order header .badge { flex: none; white-space: nowrap; }
.order header b { font: 700 34px/1 var(--sans); letter-spacing: -0.03em; }
.order p { margin: 12px 0 0; font: 400 21px/1.3 var(--sans); color: var(--stone-600); }
.meals { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meals i { height: 120px; border-radius: 16px; background: radial-gradient(circle at 50% 55%, #fff 0 30%, transparent 31%), var(--c); }
.order footer { margin-top: 26px; padding-top: 22px; border-top: 1.5px dashed var(--stone-200); display: flex; align-items: baseline; justify-content: space-between; font: 500 21px/1 var(--sans); color: var(--stone-600); }
.order .price { font: 700 40px/1 var(--sans); letter-spacing: -0.03em; color: var(--stone-900); }
.btn.block { display: flex; width: 100%; margin-top: 26px; height: 64px; font-size: 21px; border-radius: 12px; }
.pin { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 700 24px/1 var(--sans); color: var(--stone-900); background: var(--saffron-400); box-shadow: var(--shadow-2), 0 0 0 6px rgb(242 176 30 / 0.25); }
.thanks { position: absolute; left: 120px; bottom: 96px; margin: 0; font: 500 21px/1 var(--mono); color: var(--stone-600); }
