/* Fiber: fiber optics and liquid glass (owner's pick, 2026-11-21). A dark room with light carried in glass: thin
   strands, lit ends, soft out-of-focus discs of light. Panels are clear glass, edge-lit along the top. Buttons are
   capsules of glass; the main one is full of light, like the lit end of a strand.
   Outfit throughout, hairline-light at display sizes; JB Mono for code and ledger columns.
   Layout: the live map fills the hero, then chapters on the dark ground, each headed by a glass lens with its number. */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url("/fonts/jbmono-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #04060c;
  --ink: #f0f6ff;
  --ink-2: #c1d0e6;
  --muted: #8395b2;
  --light: #7fe3ff;        /* light in the glass */
  --light-hi: #d9f7ff;
  --green: #7dffb0;        /* answers */
  --gold: #ffcf66;         /* featured */
  --bad: #ff8f73;
  --ok: #7dffb0;
  --edge: rgba(255, 255, 255, 0.13);
  --rule: rgba(255, 255, 255, 0.09);
  --rule-hi: rgba(255, 255, 255, 0.2);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.095) 0%, rgba(255, 255, 255, 0.03) 100%);
  --rim: inset 1px 1px 0 rgba(255, 255, 255, 0.26), inset -1px -1px 0 rgba(150, 220, 255, 0.07), inset 0 0 34px rgba(140, 210, 255, 0.035);
  --r: 3px;                /* corners are square, with just enough of a break to look cut rather than drawn (owner, 2026-11-21) */
  --r-lg: 4px;
  --sans: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --code: "JB Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --inset: 50px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 350; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(900px 560px at 88% 16%, rgba(70, 190, 255, 0.11), rgba(70, 190, 255, 0) 70%),
    radial-gradient(1000px 680px at 4% 44%, rgba(110, 120, 255, 0.09), rgba(110, 120, 255, 0) 70%),
    radial-gradient(900px 600px at 70% 78%, rgba(70, 255, 180, 0.05), rgba(70, 255, 180, 0) 70%),
    linear-gradient(180deg, #05080f 0%, #04060c 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(127, 227, 255, 0.35); color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--light-hi); color: #03121f; padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.in { padding-inline: var(--inset); }
@media (max-width: 900px) { :root { --inset: 0px; } }

/* ---- Type ---------------------------------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--sans); margin: 0; text-wrap: balance; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 6vw, 5.3rem); font-weight: 200; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 250; letter-spacing: -0.015em; }
h3 { font-size: 1.24rem; font-weight: 500; line-height: 1.25; }
p { margin: 0; }
b, strong { font-weight: 600; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); font-weight: 300; line-height: 1.5; color: var(--ink-2); max-width: 42ch; }
.muted { color: var(--muted); }
code, .mono { font-family: var(--code); font-size: 0.86em; }
.kicker { color: var(--light); font-weight: 500; font-size: .98rem; }
.arr::after { content: "›"; display: inline-block; margin-left: 0.35em; font-weight: 600; transition: transform .18s var(--ease); }
a:hover > .arr::after, button:hover > .arr::after { transform: translateX(3px); }
.link { color: var(--light); text-decoration: underline; text-decoration-color: rgba(127, 227, 255, .35); text-underline-offset: 4px; font-weight: 500; }
.link:hover { text-decoration-color: var(--light); }

/* ---- Glass --------------------------------------------------------------------------------------------------- */
.glass, .way, .cell, .tile, .send .box, .faq, .logwrap, .note, .hire, .res, .phone, .speed button, .token .in {
  background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--rim), var(--shadow);
}
/* glass that floats over the live map takes the map into itself */
.fig, .card, .chip, .tick, .toast, .viz-tip, .nav.solid, .nav.plain, .hero .kicker {
  -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7);
}

/* ---- Nav ----------------------------------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background .25s, box-shadow .25s; }
.nav .wrap { display: flex; align-items: center; gap: 26px; min-height: 64px; }
.nav.solid, .nav.plain { background: linear-gradient(180deg, rgba(8, 13, 26, .78), rgba(6, 10, 20, .58)); box-shadow: inset 0 -1px 0 var(--rule), 0 10px 30px rgba(0, 0, 0, .35); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.22rem; letter-spacing: 0.01em; color: var(--ink); }
/* the mark: three strands fanning out of one cable, each with a lit end */
.mark .orb { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 0 5px rgba(127, 227, 255, .55));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke-linecap='round'%3E%3Cpath d='M13 25v-6' stroke='%237fe3ff' stroke-width='2.4'/%3E%3Cpath d='M13 19C13 12 8 9 4 6M13 19V3M13 19c0-7 5-10 9-13' stroke='%23e6f8ff' stroke-width='1.3'/%3E%3Cpath d='M2.4 4.4h3.2v3.2H2.4z' fill='%237dffb0'/%3E%3Cpath d='M11.4.9h3.2v3.2h-3.2z' fill='%23fff'/%3E%3Cpath d='M20.4 4.4h3.2v3.2h-3.2z' fill='%237fe3ff'/%3E%3C/svg%3E") center / contain no-repeat; }
.nav .links { display: flex; gap: 22px; font-size: .98rem; font-weight: 400; }
.nav .links a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav .links a:hover, .nav .links a[aria-current] { color: #fff; border-bottom-color: var(--light); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 1px; background: #55627a; }
.status.live .dot { background: var(--green); box-shadow: 0 0 0 3px rgba(125, 255, 176, .16), 0 0 12px rgba(125, 255, 176, .8); animation: breathe 2.4s ease-in-out infinite; }
.status.down .dot { background: var(--bad); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(127, 227, 255, 0), var(--light) 70%, #fff); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 8px rgba(127, 227, 255, .8); }
@keyframes breathe { 50% { opacity: .45; } }
@media (max-width: 820px) { .nav .links, .status span { display: none; } .nav .wrap { min-height: 58px; } }

/* ---- Buttons: flat, square-cut. The main one is a block of the light colour; the others are clear glass with a fine rim.
   No gradient and no glow. ------------------------------------------------------------------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: var(--r); cursor: pointer; font: 600 1rem/1 var(--sans); text-decoration: none; color: #03131f; white-space: nowrap;
  border: 1px solid var(--light); background: var(--light);
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--light-hi); border-color: var(--light-hi); }
.btn:active { transform: translateY(1px); }
.btn.plate, .btn.blue { color: var(--ink); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .055); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); }
.btn.blue { border-color: rgba(127, 227, 255, .65); background: rgba(127, 227, 255, .12); }
.btn.plate:hover, .btn.blue:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .11); }
.btn.small { min-height: 34px; padding: 0 16px; font-size: 0.88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- Hero: the live map --------------------------------------------------------------------------------------- */
.hero { position: relative; margin-top: -65px; padding: 0; min-height: min(100vh, 900px); display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }
.hero canvas.board { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }
.hero .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 6, 12, .9) 0%, rgba(4, 6, 12, .62) 32%, rgba(4, 6, 12, 0) 60%), linear-gradient(0deg, #05070e 0%, rgba(5, 7, 14, 0) 15%); }
.dateline { position: relative; z-index: 3; margin-top: 65px; border-block: 1px solid var(--rule); font-size: .88rem; color: var(--ink-2); pointer-events: none; }
.dateline .wrap { display: flex; justify-content: space-between; gap: 20px; min-height: 40px; align-items: center; }
.dateline a { pointer-events: auto; color: var(--ink); text-underline-offset: 4px; font-weight: 500; }
.hero .copy { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; pointer-events: none; padding-block: 48px 120px; }
.hero .copy .wrap { width: 100%; }
.hero .copy .in > * { pointer-events: auto; }
.hero .kicker { display: inline-block; color: var(--light-hi); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r); padding: 5px 14px; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .22); }
/* a little smaller than the base h1: "Bringing agentic" is a long first line, and the map's labels sit beside it */
.hero h1 { margin-top: 20px; max-width: 13ch; color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
.hero h1 em { font-style: normal; color: var(--light-hi); text-shadow: 0 0 28px rgba(127, 227, 255, .65), 0 0 2px rgba(127, 227, 255, .8); }
.hero .lede { margin-top: 24px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero .actions .link { color: var(--ink); text-decoration-color: rgba(255, 255, 255, .4); }
.lookup { margin-top: 30px; display: grid; gap: 8px; max-width: 470px; }
.lookup label { font-size: .95rem; color: var(--ink-2); }
.lookup .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.fig { position: absolute; z-index: 3; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 54px; left: 50%; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .92rem; color: var(--ink); pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 12px 16px; box-shadow: var(--rim), 0 16px 44px rgba(0, 0, 0, .45); }
.fig b { color: var(--light); font-weight: 600; font-variant-numeric: tabular-nums; }
.fig #fig-now { font-family: var(--code); font-size: .8rem; color: var(--ink-2); }
.fig #fig-now:empty { display: none; }
.fig #fig-note { flex-basis: 100%; color: var(--ink-2); font-size: .86rem; }
.fig .btn { pointer-events: auto; margin-left: auto; }
.viz-tip { position: absolute; z-index: 6; pointer-events: none; transform: translate(-50%, -100%); background: rgba(8, 13, 26, .72); color: var(--ink-2); border: 1px solid rgba(255, 255, 255, .2); padding: 7px 12px; border-radius: var(--r); font-size: .85rem; line-height: 1.3; white-space: nowrap; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .2), 0 10px 26px rgba(0, 0, 0, .5); }
.viz-tip b { display: block; color: #fff; font-weight: 600; }
/* names on the map: small glass tags that follow the lit ends */
.viz-labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.viz-label { position: absolute; left: 0; top: 0; white-space: nowrap; font: 500 .74rem/1 var(--sans); letter-spacing: .03em; font-variant-numeric: tabular-nums; padding: 5px 9px; border-radius: var(--r); color: var(--ink-2);
  background: rgba(8, 13, 26, .6); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .16); transition: opacity .3s ease, color .2s, border-color .2s; will-change: transform, opacity; }
.viz-label.on { color: #fff; border-color: rgba(127, 227, 255, .65); }
.viz-label.feat { color: var(--gold); border-color: rgba(255, 207, 102, .5); }
.viz-label.hub { color: var(--muted); background: none; border-color: transparent; box-shadow: none; letter-spacing: .06em; }
.no-gl canvas { visibility: hidden; }
@media (max-width: 720px) {
  .hero { min-height: auto; display: block; }
  .hero canvas.board { position: relative; height: 430px; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .hero .shade { display: none; }
  .dateline { display: none; }
  .hero .copy { padding-block: 26px 22px; display: block; }
  .fig { position: static; margin: 0 max(16px, env(safe-area-inset-left, 0px)) 30px; }
}

/* ---- Fields --------------------------------------------------------------------------------------------------- */
input[type="text"], input[type="search"], input:not([type]), textarea {
  min-width: 0; height: 46px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .055); color: var(--ink);
  padding: 0 16px; font: 400 1rem var(--sans); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35);
}
textarea { height: auto; min-height: 92px; padding: 12px 16px; resize: vertical; line-height: 1.45; }
input:focus, textarea:focus { border-color: var(--light); outline: none; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35), 0 0 0 3px rgba(127, 227, 255, .2), 0 0 22px rgba(127, 227, 255, .2); }
input::placeholder, textarea::placeholder { color: #6f809c; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--light); }

/* ---- Send your agent ----------------------------------------------------------------------------------------- */
.send { padding: 56px 0 20px; }
.send .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.send h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.send p.say { color: var(--ink-2); margin-top: 14px; max-width: 52ch; }
.send .box { border-radius: var(--r-lg); padding: 22px; }
.oneline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: rgba(0, 0, 0, .45); border: 1px solid var(--rule); border-radius: var(--r); padding: 8px 8px 8px 0; box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6); }
.oneline code { padding: 10px 16px; font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; color: var(--light-hi); }
.send .more { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 16px; }
@media (max-width: 900px) { .send .in { grid-template-columns: 1fr; } }

/* ---- Figures ------------------------------------------------------------------------------------------------- */
.account { padding: 26px 0 0; }
.account .in, .record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cell { padding: 22px 22px 24px; border-radius: var(--r-lg); min-width: 0; }
.cell .k { color: var(--muted); font-size: .92rem; font-weight: 400; }
.cell .v { font-weight: 200; font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; color: #fff; }
.cell .v.lamp { color: var(--green); text-shadow: 0 0 26px rgba(125, 255, 176, .4); }
.cell .s { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.source { padding-block: 16px 0; color: var(--muted); font-size: .88rem; }
.source a { color: var(--light); text-underline-offset: 4px; }
.record { margin-top: 34px; }
.record .cell .v { font-size: clamp(1.8rem, 3vw, 2.6rem); }
@media (max-width: 900px) { .account .in, .record { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell { padding: 18px 16px 20px; } }

/* ---- Chapters ------------------------------------------------------------------------------------------------- */
.chapter { padding: clamp(64px, 8vw, 110px) 0; }
.chead { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 22px; align-items: start; }
.chead p { color: var(--ink-2); font-size: 1.14rem; font-weight: 300; margin-top: 12px; max-width: 56ch; }
.cbody { margin-top: 40px; }
/* the chapter marker: a square plate of glass with the number in it, lit along its lower edge */
.key { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r); color: var(--light-hi); font: 250 1.6rem/1 var(--sans);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .2); border-bottom-color: var(--light); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .28); }
.key small { display: none; }
.key b { font-weight: 250; }
@media (max-width: 640px) { .chead { grid-template-columns: 1fr; row-gap: 14px; } }

/* one lit band, for the ledger */
.room { position: relative; border-block: 1px solid var(--rule); background: radial-gradient(1100px 420px at 50% 0%, rgba(127, 227, 255, .07), rgba(127, 227, 255, 0) 70%), rgba(255, 255, 255, .012); }
.room .wrap { position: relative; }

/* ---- How a call connects ------------------------------------------------------------------------------------- */
.howto { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; align-items: start; }
.diagram svg { width: 100%; max-width: 300px; height: auto; display: block; }
.diagram .box { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .22); }
.diagram .t1 { font: 500 17px var(--sans); fill: var(--ink); stroke: none; }
.diagram .t2 { font: 350 11.5px var(--sans); fill: var(--muted); stroke: none; }
.diagram .lb { font: 500 12px var(--sans); fill: var(--muted); stroke: none; }
.diagram .ar, .diagram .hd { stroke: rgba(255, 255, 255, .3); fill: none; }
.diagram g { transition: opacity .4s var(--ease); }
.diagram .on .box { stroke: var(--light); fill: rgba(127, 227, 255, .1); stroke-width: 1.6; filter: drop-shadow(0 0 10px rgba(127, 227, 255, .45)); }
.diagram .on .ar, .diagram .on .hd { stroke: var(--light); stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(127, 227, 255, .8)); }
.diagram .on .lb { fill: var(--light); }
.howto.playing .diagram g:not(.on) { opacity: .5; }
.stepl { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); transition: opacity .4s var(--ease); }
.stepl:last-child { border-bottom: 1px solid var(--rule); }
.stepl .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); font-weight: 400; font-size: 1.1rem; color: var(--light-hi);
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .22); transition: background .3s, color .3s, border-color .3s; }
.stepl.on .n { color: #03131f; font-weight: 600; background: var(--light); border-color: var(--light); }
.stepl p { color: var(--ink-2); margin-top: 6px; max-width: 58ch; }
.howto.playing .stepl:not(.on) { opacity: .55; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr; row-gap: 30px; } .diagram svg { max-width: 260px; } }

/* ---- The ledger ----------------------------------------------------------------------------------------------- */
.logwrap { border-radius: var(--r-lg); overflow: hidden; }
.logwrap header, .logrow { display: grid; grid-template-columns: 96px 100px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) 100px; gap: 14px; align-items: baseline; padding: 13px 20px; border-bottom: 1px solid var(--rule); }
.logwrap header { color: var(--muted); font-size: .84rem; font-weight: 400; white-space: nowrap; background: rgba(255, 255, 255, .03); }
.logrow:last-child { border-bottom: 0; }
.logrow { font-size: .97rem; }
.logrow .t, .logrow .took { font-family: var(--code); font-size: .8rem; color: var(--muted); }
.logrow .took { text-align: right; }
.logrow .st { font-weight: 500; }
.logrow .st.answered { color: var(--green); }
.logrow .st.ringing { color: var(--gold); animation: breathe 1.1s steps(2) infinite; }
.logrow .st.failed, .logrow .st.missed { color: var(--bad); }
.logrow a { text-decoration: none; font-weight: 500; color: var(--light-hi); }
.logrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.logrow .d { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logrow .paid { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: var(--r); font-size: .78rem; font-weight: 500; color: var(--gold); background: rgba(255, 207, 102, .13); border: 1px solid rgba(255, 207, 102, .35); text-decoration: none; }
.logrow.new { animation: lit 1.6s var(--ease); }
@keyframes lit { from { background: rgba(127, 227, 255, .22); } to { background: transparent; } }
.after { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
@media (max-width: 820px) {
  .logwrap header { display: none; }
  .logrow { grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1fr); row-gap: 4px; padding: 12px 14px; }
  .logrow .t { grid-row: 1; grid-column: 1; } .logrow .st { grid-row: 2; grid-column: 1; }
  .logrow .from { grid-row: 1; grid-column: 2; } .logrow .to { grid-row: 1; grid-column: 3; }
  .logrow .d { grid-row: 2; grid-column: 2 / 4; } .logrow .took { display: none; }
}

/* ---- Try a call: a small glass terminal -------------------------------------------------------------------------- */
.booth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .booth { grid-template-columns: 1fr; } }
.speed { display: grid; gap: 10px; }
.speed button { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 14px; text-align: left; cursor: pointer; color: var(--ink); border-radius: var(--r-lg); padding: 16px 18px; font: inherit; transition: border-color .2s, box-shadow .2s; }
.speed button span:first-child { font-weight: 500; font-size: 1.08rem; color: var(--light); font-variant-numeric: tabular-nums; }
.speed button small { display: block; color: var(--muted); font-size: .94rem; margin-top: 2px; }
.speed button[aria-pressed="true"] { border-color: rgba(127, 227, 255, .7); box-shadow: var(--rim), 0 0 0 1px rgba(127, 227, 255, .25), 0 0 34px rgba(127, 227, 255, .22), var(--shadow); }
.phone { position: relative; border-radius: var(--r-lg); padding: 24px 22px 22px; color: var(--ink); }
.phone .sign { display: flex; justify-content: space-between; align-items: center; font-weight: 500; letter-spacing: .16em; font-size: .74rem; color: var(--ink-2); }
.phone .sign i { font-style: normal; color: var(--muted); }
.lcd { margin-top: 12px; min-height: 172px; max-height: 250px; overflow: auto; border-radius: var(--r); padding: 14px 16px; color: var(--light-hi); font-family: var(--code); font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere;
  background: rgba(0, 0, 0, .5); border: 1px solid var(--rule); box-shadow: inset 0 3px 14px rgba(0, 0, 0, .7), inset 0 0 40px rgba(127, 227, 255, .05); text-shadow: 0 0 12px rgba(127, 227, 255, .35); }
.lcd .dim { color: #6fb3cc; }
.lcd .blink { animation: breathe 1s steps(2) infinite; }
.phone form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.keys button { height: 40px; border-radius: var(--r); cursor: pointer; font: 400 1.02rem var(--sans); color: var(--ink-2); border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .2); }
.keys button:hover { color: #fff; border-color: rgba(255, 255, 255, .32); }
.keys button:active { transform: translateY(1px); }
.coin { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* ---- Three ways ------------------------------------------------------------------------------------------------ */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { padding: 28px 26px 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.way .who { color: var(--light); font-size: .9rem; font-weight: 500; }
.way h3 { font-size: 1.6rem; font-weight: 300; }
.way p { color: var(--ink-2); }
.way ul { list-style: none; margin: 4px 0 10px; padding: 0; }
.way li { padding: 9px 0 9px 24px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .97rem; position: relative; }
.way li::before { content: ""; position: absolute; left: 0; top: 20px; width: 13px; height: 2px; background: linear-gradient(90deg, rgba(127, 227, 255, .15), var(--light-hi)); box-shadow: 0 0 8px rgba(127, 227, 255, .6); }   /* a short lit strand */
.way li b { color: var(--ink); }
.way .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

/* ---- The flywheel: a loop of fiber with light going round it ----------------------------------------------------- */
.fly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 70px); align-items: center; }
.fly-wheel { aspect-ratio: 1; max-width: 470px; width: 100%; margin: 0 auto; padding: 0; position: relative; }
.fly-wheel svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fly-wheel .ring { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; }
.fly-wheel .arc { fill: none; stroke: url(#flyg); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(127, 227, 255, .9)); }
.fly-wheel .spin { transform-origin: 250px 250px; }
.fly-wheel .st rect { fill: #0a1120; stroke: rgba(255, 255, 255, .3); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.fly-wheel .st.on rect { fill: var(--light); stroke: var(--light); }
.fly-wheel .st.on text { fill: #03131f; }
.fly-wheel .st text { font: 500 15px var(--sans); fill: var(--ink); text-anchor: middle; }
.fly-wheel .hubn { font: 200 46px var(--sans); fill: #fff; text-anchor: middle; }
.fly-wheel .hubl { font: 400 13px var(--sans); fill: var(--muted); text-anchor: middle; }
.fly-steps .stepl b.fig-live { display: block; margin-top: 6px; font-weight: 500; color: var(--light); font-variant-numeric: tabular-nums; }
.fly-steps .stepl.on { opacity: 1; }
@media (max-width: 900px) { .fly { grid-template-columns: 1fr; } }

/* ---- The book -------------------------------------------------------------------------------------------------- */
.search { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 680px; position: relative; }
.search kbd { position: absolute; right: 124px; top: 11px; font: 400 .8rem var(--code); color: var(--muted); border: 1px solid rgba(255, 255, 255, .2); border-radius: 2px; padding: 2px 7px; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips button, .tabs button { border-radius: var(--r); padding: 7px 15px; cursor: pointer; font: 500 .9rem var(--sans); color: var(--ink-2); border: 1px solid rgba(255, 255, 255, .18); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .2); }
.chips button:hover, .tabs button:hover { color: #fff; border-color: rgba(255, 255, 255, .34); }
.chips button[aria-pressed="true"], .tabs button[aria-selected="true"] { color: #03131f; font-weight: 600; border-color: var(--light); background: var(--light); box-shadow: none; }
.subhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin: 40px 0 14px; }
.subhead h3 { font-size: 1.45rem; font-weight: 300; }
.subhead span { color: var(--muted); font-size: .9rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tile { display: grid; gap: 2px; padding: 13px 16px; border-radius: var(--r); text-decoration: none; min-width: 0; box-shadow: var(--rim); transition: transform .15s var(--ease), border-color .2s; }
.tile:hover { transform: translateY(-2px); border-color: rgba(127, 227, 255, .45); }
.tile b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile span { font-size: .82rem; color: var(--muted); }
.tile span i { font-style: normal; color: var(--green); font-weight: 500; }
.results { margin-top: 22px; display: grid; gap: 10px; }
.res { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 18px; border-radius: var(--r-lg); box-shadow: var(--rim); }
.res > * { min-width: 0; }
.res .who { font-weight: 500; font-size: 1.05rem; color: var(--light); font-variant-numeric: tabular-nums; text-decoration: none; overflow-wrap: anywhere; }
.res .who.agent { color: var(--ink-2); }
a.who:hover { text-decoration: underline; text-underline-offset: 4px; }
.res h3 { font-size: 1.08rem; }
.res h3 a { text-decoration: none; }
.res h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.res p { color: var(--ink-2); font-size: .96rem; margin-top: 4px; overflow-wrap: anywhere; }
.res .side { display: grid; gap: 8px; justify-items: end; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tag { font-size: .78rem; font-weight: 400; padding: 2px 10px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink-2); }
.tag.on, .tag.ok { background: rgba(125, 255, 176, .11); border-color: rgba(125, 255, 176, .3); color: #a9ffcb; }
.tag.no { background: rgba(255, 143, 115, .12); border-color: rgba(255, 143, 115, .3); color: #ffb9a6; }
.tag.price { background: rgba(127, 227, 255, .12); border-color: rgba(127, 227, 255, .32); color: #b9f0ff; }
.tag.feat { background: rgba(255, 207, 102, .14); border-color: rgba(255, 207, 102, .4); color: #ffe09c; }
/* a tick box with its explanation, used for the featured tier */
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 207, 102, .13), rgba(255, 207, 102, .04)); border: 1px solid rgba(255, 207, 102, .38); box-shadow: inset 1px 1px 0 rgba(255, 240, 200, .2); color: #ffe9bb; max-width: 60ch; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--gold); }
.check b { display: block; color: #fff3d6; }
.check div > span { display: block; font-size: .92rem; margin-top: 2px; }
@media (max-width: 640px) { .res { grid-template-columns: 1fr; gap: 6px; } .res .side { justify-items: start; grid-auto-flow: column; justify-content: start; } .search kbd { display: none; } }

/* ---- Questions -------------------------------------------------------------------------------------------------- */
.faq { display: grid; border-radius: var(--r-lg); padding: 6px 24px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 40px 19px 0; position: relative; font-weight: 450; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.6rem; color: var(--light); font-weight: 250; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
.split { display: block; }
.split > :first-child { display: none; }

/* ---- Token + footer ------------------------------------------------------------------------------------------- */
.token { padding: 34px 0; }
.token .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; border-radius: var(--r-lg); padding-block: 24px; padding-inline: 28px; }
.token h2 { font-size: 1.8rem; font-weight: 300; letter-spacing: .02em; }
.ca { display: grid; gap: 6px; }
.ca .addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ca code { font-size: .88rem; overflow-wrap: anywhere; color: var(--light-hi); border: 1px solid var(--rule-hi); border-radius: var(--r); padding: 9px 12px; background: rgba(0, 0, 0, .4); }
footer { padding: 56px 0 calc(48px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; color: var(--ink-2); border-top: 1px solid var(--rule); background: radial-gradient(900px 300px at 50% 0%, rgba(127, 227, 255, .06), rgba(127, 227, 255, 0) 70%); position: relative; }
footer .wrap { position: relative; }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
footer .blurb { color: var(--muted); max-width: 44ch; margin-top: 14px; }
footer .reg { color: var(--muted); font-size: .86rem; margin-top: 14px; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
footer h4 { margin: 0 0 12px; font: 500 .95rem var(--sans); color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer li a { color: var(--ink-2); text-decoration: none; }
footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > :first-child { grid-column: 1 / -1; } }

/* ---- Inner pages ----------------------------------------------------------------------------------------------- */
.page { padding: 56px 0 96px; min-height: 60vh; }
.page h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-top: 12px; }
.page .lede { margin-top: 16px; max-width: 58ch; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 16px; color: var(--ink-2); }
.meta .sep { color: var(--rule-hi); }
.lampdot { display: inline-block; width: 9px; height: 9px; border-radius: 1px; background: #55627a; margin-right: 8px; vertical-align: 1px; }
.lampdot.on, .lampdot.ok { background: var(--green); box-shadow: 0 0 0 3px rgba(125, 255, 176, .15), 0 0 12px rgba(125, 255, 176, .8); }
.lampdot.no { background: var(--bad); }
.sect { margin-top: 48px; }
.sect > h2 { font-size: 1.7rem; font-weight: 300; padding-bottom: 12px; border-bottom: 1px solid var(--rule-hi); }
.rowkv { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.rowkv .k { color: var(--muted); font-size: .94rem; }
.rowkv .v { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.rowkv .v code { overflow-wrap: anywhere; }
.fine { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 70ch; }
@media (max-width: 640px) { .rowkv { grid-template-columns: 1fr; gap: 4px; } }
.form { display: grid; gap: 18px; max-width: 560px; margin-top: 30px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 500; }
.field small { color: var(--muted); }
.note { padding: 14px 18px; border-radius: var(--r); font-size: .95rem; color: #ffe9bb; background: linear-gradient(180deg, rgba(255, 207, 102, .12), rgba(255, 207, 102, .04)); border-color: rgba(255, 207, 102, .34); box-shadow: inset 1px 1px 0 rgba(255, 240, 200, .18); }
.err { color: var(--bad); min-height: 1.4em; font-weight: 500; }
.ticket { margin-top: 30px; display: grid; gap: 22px; max-width: 760px; }
.ticket > *, .snippet, .kv, .booth > *, .fly > * { min-width: 0; }
.bignum { font-weight: 200; font-size: clamp(2.8rem, 9vw, 4.8rem); line-height: 1; color: var(--light-hi); letter-spacing: 0; font-variant-numeric: tabular-nums; text-shadow: 0 0 34px rgba(127, 227, 255, .45); }
.kv { display: grid; gap: 6px; }
.kv .k { color: var(--muted); font-size: .9rem; }
.kv code, .doc code, .lede code { overflow-wrap: anywhere; }
.doc code, .lede code, .kv code, .rowkv code, .fine code, .res code { color: var(--light-hi); }
.snippet { position: relative; }
pre { margin: 0; padding: 14px 16px; border-radius: var(--r); overflow-x: auto; font-family: var(--code); font-size: .82rem; line-height: 1.6; color: var(--light-hi); background: rgba(0, 0, 0, .45); border: 1px solid var(--rule); box-shadow: inset 0 2px 12px rgba(0, 0, 0, .55); }
.copy-btn { position: absolute; top: 8px; right: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tabs button { padding: 6px 14px; font-size: .88rem; }
.doc h2 { font-size: 1.7rem; font-weight: 300; margin: 50px 0 14px; padding-top: 20px; border-top: 1px solid var(--rule-hi); }
.doc h3 { margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink-2); max-width: 70ch; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.doc .tablewrap { overflow-x: auto; }
.doc td, .doc th { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--muted); font-weight: 500; }
.doc td:first-child { white-space: nowrap; padding-right: 22px; }
.doc .kicker { color: var(--light); }
.doc .snippet { margin-top: 14px; }
.wallets { display: flex; flex-wrap: wrap; gap: 10px; }
.hire { border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; max-width: 640px; }
.hire .state { font-weight: 500; color: var(--ink-2); min-height: 1.5em; }
.hire .answer { white-space: pre-wrap; overflow-wrap: anywhere; background: rgba(0, 0, 0, .4); border: 1px solid var(--rule-hi); border-radius: var(--r); padding: 14px 16px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: rgba(10, 16, 30, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .22); padding: 10px 18px; border-radius: var(--r); font-weight: 500; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 80; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .25), 0 12px 30px rgba(0, 0, 0, .5); }
.toast.show { opacity: 1; }

/* ---- The live map on its own (/live) ----------------------------------------------------------------------------- */
body.live { overflow: hidden; height: 100%; background: var(--bg); }
html:has(body.live) { height: 100%; }
.stage { position: fixed; inset: 0; }
.stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.hud { position: fixed; z-index: 10; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hud.tl { left: max(14px, env(safe-area-inset-left, 0px)); top: calc(14px + env(safe-area-inset-top, 0px)); }
.hud.tr { right: max(14px, env(safe-area-inset-right, 0px)); top: calc(14px + env(safe-area-inset-top, 0px)); justify-content: flex-end; max-width: 62vw; }
.hud.bl { left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 6px; max-width: min(430px, 70vw); }
.hud.br { right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: var(--r); font-size: .88rem; color: var(--ink-2); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .24), 0 8px 22px rgba(0, 0, 0, .4); }
.chip b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.tick { font-family: var(--code); font-size: .78rem; color: var(--ink-2); padding: 6px 12px; border-radius: var(--r); background: rgba(8, 13, 26, .55); border: 1px solid rgba(255, 255, 255, .13); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick.new { animation: lit2 1.4s var(--ease); }
@keyframes lit2 { from { background: rgba(127, 227, 255, .32); color: #fff; } to { background: rgba(8, 13, 26, .55); } }
.card { position: fixed; z-index: 12; right: max(14px, env(safe-area-inset-right, 0px)); top: calc(70px + env(safe-area-inset-top, 0px)); width: min(360px, calc(100vw - 28px)); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px;
  background: linear-gradient(180deg, rgba(20, 30, 52, .62), rgba(8, 13, 26, .6)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: var(--rim), 0 24px 60px rgba(0, 0, 0, .6); }
.card h2 { font-size: 1.5rem; font-weight: 300; overflow-wrap: anywhere; }
.card .id { font-weight: 500; color: var(--light); }
.card p { color: var(--ink-2); font-size: .95rem; overflow-wrap: anywhere; }
.card .row { display: flex; flex-wrap: wrap; gap: 8px; }
.card .x { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); }
.card .x:hover { color: #fff; }
@media (max-width: 640px) { .hud.tr .chip.hide-sm { display: none; } .card { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } .hud.bl { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
