/* Cadabra site. Tokens follow the TV app (apps/tv/src/styles.css). */
@font-face { font-family: Figtree; font-weight: 300; font-display: swap; src: url(fonts/figtree-300.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(fonts/figtree-400.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(fonts/figtree-600.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --void: #05060c;
  --deep: #0b0d16;
  --panel: #151827;
  --panel-2: #1b1e2c;
  --ink: #ffffff;
  --mute: #aab0c6;
  --faint: #8a90a8;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --cyan: #6fd6ff;
  --pink: #ff6bd5;
  --gold: #f0cd78;
  --mint: #9be7b4;
  --glass: linear-gradient(180deg, rgba(36, 40, 60, 0.78), rgba(16, 18, 30, 0.82));
  --focus-ring: 0 0 0 3px #fff, 0 0 0 8px rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ui: Figtree, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 96px);
  --max: 1320px;
}
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--cyan); color: var(--void); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter);
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.bar.solid { background: rgba(5, 6, 12, 0.86); padding-block: 12px; border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .bar.solid { background: rgba(5, 6, 12, 0.62); backdrop-filter: blur(18px) saturate(140%); } }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 300; font-size: 24px; letter-spacing: -0.01em; }
.mark svg { width: 20px; height: 20px; }
.bar nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.bar nav a { text-decoration: none; color: var(--mute); font-size: 15px; transition: color .2s; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--ink); }
.bar .gh { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.bar .gh svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .bar nav a.opt { display: none; } }

/* ---------- buttons: glass at rest, solid white when focused (like the TV) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--ui); text-decoration: none; color: var(--ink);
  background: var(--glass); border: 1px solid var(--line-2);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover, .btn:focus-visible { background: #fff; color: #05060c; border-color: #fff; transform: scale(1.04); }
.btn:focus-visible { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 20px 40px rgba(0, 0, 0, .5); border-radius: 999px; }
.btn.primary { background: #fff; color: #05060c; border-color: #fff; }
.btn.primary:hover, .btn.primary:focus-visible { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 20px 40px rgba(0, 0, 0, .5); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero video, .hero .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 12, .95) 0%, rgba(5, 6, 12, .8) 40%, rgba(5, 6, 12, .25) 72%, rgba(5, 6, 12, .35) 100%),
    linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 12, 0) 36%);
}
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) clamp(56px, 11vh, 120px); }
.hero h1 {
  margin: 0; max-width: 11ch;
  font-weight: 300; font-size: clamp(46px, 8.4vw, 124px); line-height: .96; letter-spacing: -0.035em;
}
.hero h1 .ln { display: block; opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero p.lede { margin: 28px 0 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 21px); color: #d5d9e8; line-height: 1.55; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .fine { margin-top: 18px; color: var(--faint); font-size: 14px; }
.hero .motion-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(5, 6, 12, .55); border: 1px solid var(--line-2); color: var(--mute); font: 400 13px var(--ui); cursor: pointer;
}
.hero .motion-toggle:hover { color: var(--ink); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.wrap { max-width: var(--max); margin: 0 auto; }
.sec h2 { margin: 0; font-weight: 300; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; }
.sec .intro { margin: 22px 0 0; max-width: 38em; color: var(--mute); font-size: clamp(17px, 1.4vw, 19px); }
.ambient { background: radial-gradient(1200px 600px at 85% 0%, rgba(86, 58, 196, .28), transparent 60%), radial-gradient(900px 520px at 0% 100%, rgba(40, 90, 200, .22), transparent 60%), var(--void); }

/* how it works */
.flow { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.screen { margin: 0; position: sticky; top: 92px; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); aspect-ratio: 16 / 9; }
.screen > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.screen > img.contain { object-fit: contain; background: #0c0e19; }
.screen figcaption { position: absolute; left: 18px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 6, 12, .72); font-size: 13px; color: var(--mute); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li { border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 36px 1fr auto; gap: 4px 14px; padding: 18px 12px; border-radius: 12px;
  transition: background .2s var(--ease);
}
.steps button::before { counter-increment: s; content: counter(s); grid-row: 1 / 3; font-size: 15px; color: var(--faint); padding-top: 4px; font-variant-numeric: tabular-nums; }
.steps .t { font-size: 21px; font-weight: 400; letter-spacing: -0.01em; }
.steps .d { grid-column: 2 / 4; color: var(--mute); font-size: 15px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .3s; }
.steps .time { font-size: 13px; color: var(--cyan); align-self: center; white-space: nowrap; }
.steps button[aria-selected="true"] { background: rgba(255, 255, 255, .06); }
.steps button[aria-selected="true"] .d { max-height: 140px; opacity: 1; }
.steps button[aria-selected="true"]::before { color: var(--ink); }
.steps button:hover .t { color: #fff; }
.steps button:focus-visible { box-shadow: inset 0 0 0 2px #fff; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .screen { position: relative; top: 0; }
}

/* games: a copy of the TV home */
.home {
  position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: 26px; overflow: hidden; isolation: isolate;
  min-height: clamp(460px, 56vw, 720px); display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); box-shadow: 0 50px 120px rgba(0, 0, 0, .6);
}
.home .bg { position: absolute; inset: 0; z-index: -2; }
.home .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; transition: opacity .5s var(--ease); }
.home .bg img.on { opacity: 1; }
.home::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 6, 12, .92), rgba(5, 6, 12, .5) 45%, rgba(5, 6, 12, 0) 75%), linear-gradient(0deg, rgba(5, 6, 12, .85), rgba(5, 6, 12, 0) 40%); }
.home .info { padding: clamp(24px, 4vw, 56px); max-width: 560px; }
.home .info h3 { margin: 0; font-weight: 300; font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.03em; line-height: 1; }
.home .info p { margin: 14px 0 0; color: #d5d9e8; font-size: 17px; }
.home .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 6, 12, .45); font-size: 13px; color: var(--mute); }
.chip > i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--cyan)); }
.tiles { display: flex; gap: 14px; padding: 0 clamp(24px, 4vw, 56px) clamp(24px, 3.5vw, 44px); overflow-x: auto; scrollbar-width: none; scroll-padding: 0 56px; }
.tiles::-webkit-scrollbar { display: none; }
.tile {
  all: unset; box-sizing: border-box; cursor: pointer; flex: none; position: relative;
  width: clamp(92px, 9vw, 128px); aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tile > img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.tile > span { position: absolute; inset: auto 0 0 0; padding: 18px 8px 7px; font-size: 12px; font-weight: 600; text-align: center; background: linear-gradient(0deg, rgba(5, 6, 12, .9), transparent); }
.tile[aria-selected="true"] { transform: scale(1.1); box-shadow: 0 0 0 3px #fff, 0 18px 40px rgba(0, 0, 0, .6); z-index: 1; margin-inline: 6px; }
.tile:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(255, 255, 255, .2); }
.tiles-wrap { padding-top: 10px; }
.hint { margin-top: 14px; color: var(--faint); font-size: 14px; }

.looks { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.looks figure { margin: 0; }
.looks img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.looks figcaption { margin-top: 12px; }
.looks figcaption > b { display: block; font-weight: 400; font-size: 20px; }
.looks figcaption > span { color: var(--mute); font-size: 14px; }
.looks-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; margin-top: clamp(56px, 7vw, 96px); }
.looks-head h3 { margin: 0; font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.02em; }
.looks-head p { margin: 0; color: var(--mute); max-width: 36em; }
.looks-head + .looks { margin-top: 28px; }
@media (max-width: 860px) { .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* tweak */
.tweak { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tweak-media { position: relative; }
.tweak-media video, .tweak-media .poster { width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); }
.tweak-media .phone { position: absolute; right: -14px; bottom: -36px; width: 22%; max-width: 160px; aspect-ratio: 468 / 600; object-fit: cover; border-radius: 22px; border: 6px solid #1b1e2c; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.ask { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.ask li { padding: 9px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); font-size: 15px; }
.ask li.typed { border-style: dashed; color: var(--mute); }
.loop { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.loop li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.loop li > b { font-weight: 300; font-size: 26px; color: var(--cyan); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.loop li > div > strong { display: block; font-weight: 600; font-size: 16px; }
.loop li > div > span { color: var(--mute); font-size: 15px; }
@media (max-width: 900px) { .tweak { grid-template-columns: 1fr; } .tweak-media .phone { right: 8px; bottom: -28px; } .tweak-copy { margin-top: 24px; } }

/* tech */
.arch-scroll { margin-top: clamp(40px, 6vw, 64px); overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21, 24, 39, .7), rgba(11, 13, 22, .9)); padding: clamp(12px, 2vw, 28px); }
.arch { min-width: 860px; width: 100%; height: auto; font-family: var(--ui); }
.a-region { fill: rgba(111, 214, 255, .035); stroke: rgba(111, 214, 255, .28); stroke-dasharray: 6 6; }
.a-region-label { fill: var(--cyan); font-size: 14px; }
.a-node rect { fill: #161a2b; stroke: rgba(255, 255, 255, .16); }
.a-node .a-t { fill: #fff; font-size: 16px; font-weight: 600; }
.a-node .a-s { fill: var(--mute); font-size: 13px; }
.a-node .a-s-c { fill: var(--cyan); }
.a-tv rect, .a-client rect { fill: #1d2140; stroke: rgba(255, 255, 255, .28); }
.a-hot rect { stroke: var(--pink); }
.a-ai rect { stroke: rgba(255, 107, 213, .45); }
.a-ext rect { fill: transparent; stroke: rgba(255, 255, 255, .3); stroke-dasharray: 5 5; }
.a-edges path { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.4; }
.a-edges path.a-dash { stroke-dasharray: 5 5; }
.a-head { fill: rgba(255, 255, 255, .55); }
.a-head-c { fill: var(--cyan); }
.a-rtc { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.a-lbl { fill: var(--mute); font-size: 12.5px; }
.a-lbl-c { fill: var(--cyan); font-weight: 600; }
.rules { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rules h3 { margin: 0 0 8px; font-weight: 600; font-size: 17px; }
.rules p { margin: 0; color: var(--mute); font-size: 15px; }
.rules code, .sec code { font-family: var(--mono); font-size: .88em; color: #e6e9f5; background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 960px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

/* numbers */
.numbers { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.num { padding: 28px 24px 8px 0; }
.num + .num { padding-left: 24px; border-left: 1px solid var(--line); }
.num > b { display: block; font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num > b > small { font-size: .42em; letter-spacing: 0; margin-left: 4px; color: var(--mute); }
.num > span { display: block; margin-top: 12px; color: var(--mute); font-size: 15px; line-height: 1.45; }
@media (max-width: 1000px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num, .num + .num { padding: 24px 16px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .num:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .num:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
.fps { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.fps h3 { margin: 0; font-weight: 300; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; }
.fps p { color: var(--mute); }
.bars { list-style: none; margin: 0; padding: 0; }
.bars > li { display: grid; grid-template-columns: 112px 1fr 52px; gap: 14px; align-items: center; padding: 9px 0; font-size: 15px; }
.bars .track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.bars .track i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, rgba(111, 214, 255, .5), var(--cyan)); }
.bars .track::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(100% * 58 / 60); width: 1px; background: rgba(255, 255, 255, .35); }
.bars li > em { font-style: normal; font-variant-numeric: tabular-nums; text-align: right; }
.bars-note { margin-top: 10px; color: var(--faint); font-size: 13px; }

/* open source */
.oss { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.oss img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.oss ul { margin: 24px 0 0; padding: 0; list-style: none; }
.oss li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--mute); }
.oss li > b { color: var(--ink); font-weight: 600; }
.oss .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 900px) { .oss { grid-template-columns: 1fr; } }

/* closing + footer */
.closing { text-align: left; }
.closing h2 { max-width: 14ch; }
.closing .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
footer.foot { padding: 48px var(--gutter) 56px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .wrap > div > p { margin: 6px 0 0; max-width: 46em; }
@media (max-width: 560px) { .screen figcaption { display: none; } }
.swipe-hint { display: none; margin: 10px 0 0; color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .swipe-hint { display: block; } }
@media (max-width: 760px) { .fps { grid-template-columns: 1fr; } .bars > li { grid-template-columns: 100px 1fr 44px; } }
@media (max-width: 700px) {
  .home::after { background: linear-gradient(180deg, rgba(5, 6, 12, .9) 0%, rgba(5, 6, 12, .7) 42%, rgba(5, 6, 12, .2) 65%, rgba(5, 6, 12, .85) 100%); }
  .home .info p { text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
}

/* ---------- mobile pass ---------- */
.nav-btn { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; position: relative; }
.nav-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-btn span:first-child { top: 16px; } .nav-btn span:last-child { top: 25px; }
.bar.open .nav-btn span:first-child { top: 21px; transform: rotate(45deg); }
.bar.open .nav-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.only-m { display: none; }
.arch-m { display: none; }
@media (max-width: 860px) {
  .nav-btn { display: block; }
  .bar nav { position: fixed; left: 0; right: 0; top: 0; padding: 76px var(--gutter) 24px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(8, 9, 18, .98); border-bottom: 1px solid var(--line-2); transform: translateY(-105%); transition: transform .32s var(--ease); z-index: -1; visibility: hidden; }
  .bar.open nav { transform: none; visibility: visible; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
  .bar nav a, .bar nav a.opt { display: flex; align-items: center; min-height: 52px; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .bar nav a.only-m { color: var(--cyan); }
  .bar nav .gh { border-bottom: 0; }
  .bar.open { background: rgba(5, 6, 12, .98); }
  .tiles { scroll-snap-type: x mandatory; scroll-padding: 0 24px; }
  .tile { scroll-snap-align: start; }
  .foot nav a { display: inline-flex; min-height: 44px; align-items: center; }
}
@media (max-width: 700px) {
  .arch-scroll, .swipe-hint { display: none; }
  .arch-m { display: block; margin-top: 32px; }
}
.am-node { padding: 14px 16px; border-radius: 14px; background: #161a2b; border: 1px solid rgba(255, 255, 255, .16); }
.am-node b { display: block; font-size: 16px; font-weight: 600; }
.am-node span { display: block; margin-top: 2px; color: var(--mute); font-size: 14px; line-height: 1.45; }
.am-dev { background: #1d2140; border-color: rgba(255, 255, 255, .28); }
.am-hot { border-color: var(--pink); }
.am-ai { border-color: rgba(255, 107, 213, .45); }
.am-ext { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .3); }
.am-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.am-row .am-node span { font-size: 13px; }
.am-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; padding-left: 26px; color: var(--mute); font-size: 13.5px; }
.am-link i { position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.am-link i::after { content: ""; position: absolute; left: -2px; width: 6px; height: 10px; border-radius: 3px; background: #fff; box-shadow: 0 0 8px var(--cyan); animation: am-pk 1.6s linear infinite; }
@keyframes am-pk { from { top: -12px; } to { top: 100%; } }
.am-link b { color: var(--ink); font-weight: 600; }
.am-rtc i { background: var(--cyan); width: 3px; }
.am-rtc span b { color: var(--cyan); }
.am-dash i { background: repeating-linear-gradient(transparent 0 4px, rgba(255, 255, 255, .4) 4px 8px); }
.am-aws { padding: 14px; border-radius: 18px; border: 1px dashed rgba(111, 214, 255, .35); background: rgba(111, 214, 255, .035); }
.am-region { margin: 0 0 10px; color: var(--cyan); font-size: 13.5px; }
.am-side { margin-top: 12px; color: var(--mute); font-size: 13.5px; line-height: 1.5; }
.am-side b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .am-link i::after { display: none; } }
.hero .motion-toggle { min-height: 44px; padding: 0 16px; }
@media (max-width: 860px) { .bar nav .gh { gap: 12px; } .bar nav .gh .gh-t { display: inline; font-size: 19px; } }
