/* babylonbot.org. No scripts: the phone menu is a <details>. */
/* Both fonts are served from here (fonts/, see fonts/README.txt), so visitors never contact Google. */
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-display.woff2?v=1") format("woff2");
             font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2?v=1") format("woff2");
             font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #0b0c10; --ink-2: #13151b; --ink-3: #1b1e26; --line: #272b35; --line-2: #343946;
  --paper: #f3f3f5; --text: #d6d8de; --muted: #949aa8;
  --blurple: #5865f2; --blurple-2: #7984f5; --ice: #dfe3ff; --gold: #e8b23a; --green: #23a55a; --red: #f23f43;
  --display: "Big Shoulders Display", "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blurple-2); }
::selection { background: rgba(88, 101, 242, .5); color: #fff; }
:focus-visible { outline: 2px solid var(--blurple-2); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* ── shared ── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tone { position: absolute; inset: 0; pointer-events: none;
        background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px); background-size: 7px 7px;
        -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 55%); mask-image: linear-gradient(115deg, #000 0%, transparent 55%); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 4px; font-weight: 600; font-size: 15px;
       text-decoration: none; color: #fff; background: var(--blurple); border: 2px solid var(--blurple);
       transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; box-shadow: 4px 4px 0 #000; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn.ghost { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.btn svg { width: 18px; height: 18px; }
.label { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.label span { font: 800 13px/1 var(--display); letter-spacing: .18em; color: var(--blurple-2); }
.label i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line-2), transparent); }
h2 { font: 900 clamp(34px, 5vw, 54px)/1 var(--display); color: var(--paper); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 14px; }
.sub { color: var(--muted); max-width: 620px; margin: 0 0 34px; font-size: 17px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ── top bar ── */
.top { position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font: 900 26px/1 var(--display);
         letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; }
.links a { color: var(--muted); text-decoration: none; position: relative; }
.links a:hover { color: var(--paper); }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blurple);
                  transform: scaleX(0); transition: transform .2s var(--ease); }
.links a:hover::after, .links a[aria-current]::after { transform: scaleX(1); }
.links a[aria-current] { color: var(--paper); }
.top .btn { padding: 9px 16px; font-size: 14px; box-shadow: 3px 3px 0 #000; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; border: 2px solid var(--line-2); border-radius: 4px; width: 44px; height: 40px; padding: 7px 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { display: block; height: 2px; background: var(--paper); margin: 4px 0; }
.menu nav { position: absolute; right: 0; top: 50px; min-width: 220px; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px;
            box-shadow: 6px 6px 0 #000; padding: 8px; display: grid; }
.menu nav a { color: var(--text); text-decoration: none; padding: 9px 12px; border-radius: 3px; }
.menu nav a:hover { background: var(--line); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 36px 0 90px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero .tone { -webkit-mask-image: radial-gradient(circle at 78% 40%, #000 0%, transparent 60%); mask-image: radial-gradient(circle at 78% 40%, #000 0%, transparent 60%); }
.slash { position: absolute; top: -20%; bottom: -20%; right: 18%; width: 46%; background: linear-gradient(180deg, #16182080, #101116);
         transform: skewX(-14deg); border-left: 2px solid #1f222b; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ice);
          background: rgba(88, 101, 242, .14); border: 1px solid rgba(88, 101, 242, .4); padding: 6px 12px; border-radius: 99px; margin-bottom: 22px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(35, 165, 90, .2); }
.hero h1 { font: 900 clamp(64px, 10.5vw, 146px)/.84 var(--display); color: var(--paper); margin: 0 0 22px; text-transform: uppercase; letter-spacing: -.01em;
           animation: rise .6s var(--ease) both; }
.hero h1 span { display: block; -webkit-text-stroke: 2px var(--paper); color: transparent; }
.hero .lead { font-size: 19px; color: var(--text); max-width: 500px; margin: 0 0 30px; animation: rise .6s .08s var(--ease) both; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; animation: rise .6s .16s var(--ease) both; }
.stats { display: flex; gap: 34px; margin: 42px 0 0; padding: 0; list-style: none; animation: rise .6s .24s var(--ease) both; }
.stats b { display: block; font: 900 34px/1 var(--display); color: var(--paper); }
.stats span { font-size: 13px; color: var(--muted); }

.art { position: relative; aspect-ratio: 1 / 1.02; animation: rise .7s .1s var(--ease) both; }
.art .back { position: absolute; inset: 7% -4% -4% 9%; background: var(--blurple); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.art .back::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 0, 0, .35) 1.3px, transparent 1.6px); background-size: 8px 8px; }
.art .frame { position: absolute; inset: 0 6% 6% 0; background: var(--paper); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.art .inner { position: absolute; inset: 7px; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); overflow: hidden;
              background: radial-gradient(circle at 50% 48%, #1d2040 0%, #0d0e14 62%); display: grid; place-items: center; }
.art .inner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px); background-size: 7px 7px; }
.art .rings { position: absolute; width: 92%; height: 92%; color: rgba(223, 227, 255, .08); }
.art .mark { position: relative; width: 52%; height: 52%; filter: drop-shadow(0 0 34px rgba(88, 101, 242, .55)); transition: transform .8s var(--ease); }
.art:hover .mark { transform: scale(1.04) rotate(-2deg); }

/* ── features ── */
section.band { position: relative; padding: 96px 0; }
section.band.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.feat { position: relative; background: var(--ink-3); border: 1px solid var(--line); padding: 26px 24px 24px; border-radius: 4px;
        transition: transform .2s var(--ease), border-color .2s, box-shadow .2s var(--ease); overflow: hidden; }
.feat:hover { transform: translate(-3px, -3px); border-color: var(--line-2); box-shadow: 6px 6px 0 var(--blurple); }
.feat .ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); color: #000; border-radius: 3px; margin-bottom: 18px;
            box-shadow: 3px 3px 0 var(--blurple); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { margin: 0 0 6px; color: var(--paper); font: 800 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── websites ── */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.place { position: relative; display: flex; flex-direction: column; background: var(--ink); border: 2px solid var(--line-2); border-radius: 4px; padding: 26px;
         text-decoration: none; color: var(--text); overflow: hidden; transition: transform .2s var(--ease), border-color .2s; min-height: 240px; }
.place::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.place:hover { transform: translateY(-4px); border-color: var(--c); }
.place.panel { --c: var(--blurple-2); } .place.play { --c: var(--gold); } .place.appeal { --c: var(--ice); }
.place .dom { font: 600 13px/1 var(--mono); color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
              padding: 6px 9px; border-radius: 3px; align-self: flex-start; margin-bottom: 18px; }
.place h3 { margin: 0 0 6px; font: 900 34px/1 var(--display); text-transform: uppercase; color: var(--paper); }
.place p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.place .go { margin-top: auto; font-weight: 600; color: var(--paper); display: flex; align-items: center; gap: 8px; }
.place .go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.place:hover .go svg { transform: translateX(4px); }
.place .who { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: auto; }
.place .big { position: absolute; right: -18px; bottom: -26px; width: 130px; height: 130px; color: rgba(255, 255, 255, .04); }

/* ── data ── */
.promise { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center;
           background: var(--paper); color: #16181d; padding: 40px; border-radius: 4px; box-shadow: 10px 10px 0 var(--blurple); overflow: hidden; }
.promise .tone { background-image: radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1.5px); }
.promise .seal { position: relative; width: 180px; height: 180px; display: grid; place-items: center; background: #0b0c10; border-radius: 50%;
                 box-shadow: 6px 6px 0 var(--blurple); color: var(--ice); }
.promise .seal svg { width: 84px; height: 84px; }
.promise .body { position: relative; }
.promise h2 { color: #0b0c10; }
.promise .label i { background: linear-gradient(90deg, #c9ccd6, transparent); }
.promise .label span { color: var(--blurple); }
.promise ul { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.promise li { display: flex; gap: 10px; font-size: 15px; color: #2b2f38; }
.promise li svg { flex: none; width: 20px; height: 20px; color: var(--blurple); margin-top: 2px; }

/* ── footer ── */
footer { position: relative; border-top: 1px solid var(--line); padding: 50px 0 40px; margin-top: 30px; overflow: hidden; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
footer p { color: var(--muted); font-size: 14px; max-width: 340px; }
footer h4 { font: 800 14px/1 var(--display); color: var(--paper); text-transform: uppercase; letter-spacing: .14em; margin: 6px 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
footer ul a { color: var(--muted); text-decoration: none; } footer ul a:hover { color: var(--paper); }
.fine { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line);
        padding-top: 22px; margin-top: 10px; font-size: 13px; color: #6d7381; }
.fine a { color: inherit; text-decoration: none; }
.huge { position: absolute; right: -10px; bottom: -48px; font: 900 190px/1 var(--display); color: rgba(255, 255, 255, .025); text-transform: uppercase;
        pointer-events: none; user-select: none; }

/* ── legal pages ── */
.doc-head { position: relative; overflow: hidden; padding: 54px 0 46px; border-bottom: 1px solid var(--line); }
.doc-head .wrap { position: relative; display: flex; align-items: flex-end; gap: 30px; }
.doc-head h1 { font: 900 clamp(56px, 9vw, 100px)/.85 var(--display); color: var(--paper); text-transform: uppercase; margin: 10px 0 14px; }
.doc-head .meta { color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.doc-head .meta b { color: var(--text); font-weight: 600; }
.doc-head .mini { margin-left: auto; width: 120px; height: 120px; flex: none; filter: drop-shadow(0 0 22px rgba(88, 101, 242, .45)); }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding-top: 50px; padding-bottom: 80px; }
.toc { position: sticky; top: 20px; align-self: start; font-size: 14px; }
.toc b { display: block; font: 800 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: flex; gap: 10px; color: var(--muted); text-decoration: none; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); }
.toc a span { color: #5b6170; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--paper); border-left-color: var(--blurple); }
.doc article { max-width: 760px; min-width: 0; }
.doc h2 { font-size: 34px; margin: 46px 0 12px; scroll-margin-top: 20px; display: flex; gap: 14px; align-items: baseline; }
.doc h2 span { font-size: 20px; color: var(--blurple-2); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--blurple-2); }
.doc b { color: var(--paper); }
.summary { background: var(--ink-3); border: 1px solid var(--line-2); border-left: 5px solid var(--blurple); border-radius: 4px; padding: 20px 24px; }
.summary h3 { margin: 0 0 6px; font: 800 22px/1.1 var(--display); text-transform: uppercase; color: var(--paper); }
.summary ul { margin: 0; padding-left: 18px; }
.table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.table th { text-align: left; font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
            padding: 10px 12px; border-bottom: 2px solid var(--line-2); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:first-child { color: var(--paper); font-weight: 600; width: 26%; }
.table td:last-child { width: 24%; color: var(--ice); }
.table.basis td:first-child { width: 42%; }
.table.basis td:last-child { width: auto; color: var(--text); }
.table small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.lock { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--gold); background: rgba(232, 178, 58, .12);
        border-radius: 3px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.callout { background: rgba(88, 101, 242, .1); border: 1px solid rgba(88, 101, 242, .35); border-radius: 4px; padding: 14px 18px; margin: 14px 0; }
.cookies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.cookies div { background: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 14px; font-size: 14px; }
.cookies b { display: block; margin-bottom: 2px; }
.cookies code { color: var(--ice); font-size: 12.5px; }
.no { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; padding: 0; list-style: none; }
.no li { font-size: 13.5px; font-weight: 600; color: var(--paper); border: 2px solid var(--line-2); padding: 6px 12px; border-radius: 99px; margin: 0; }
.no li::before { content: "✕ "; color: var(--red); }
.owner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
         border-radius: 4px; overflow: hidden; margin: 14px 0; }
.owner > div { background: var(--ink-3); padding: 14px 18px; }
.owner span { display: block; font: 800 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.owner b { display: block; font-size: 18px; }
.owner small { color: var(--muted); font-size: 13px; }
.owner a { font-weight: 600; overflow-wrap: anywhere; }
.rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 16px; padding: 0; list-style: none; }
.rights li { background: var(--ink-3); border: 1px solid var(--line); border-top: 3px solid var(--blurple); border-radius: 4px; padding: 12px 14px;
             font-size: 14px; color: var(--muted); margin: 0; }
.rights b { display: block; font: 800 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }

/* ── 404 ── */
.lost { position: relative; overflow: hidden; padding: 90px 0 120px; text-align: center; }
.lost img { width: 110px; height: 110px; margin: 0 auto 18px; display: block; filter: drop-shadow(0 0 26px rgba(88, 101, 242, .5)); }
.lost h1 { font: 900 clamp(80px, 16vw, 160px)/.85 var(--display); color: var(--paper); margin: 0 0 10px; }
.lost p { color: var(--muted); margin: 0 0 28px; }

/* ── phones ── */
@media (max-width: 900px) {
  .links, .top .btn { display: none; } .menu { display: block; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .art { max-width: 420px; margin: 20px auto 0; width: 88%; }
  .grid, .places { grid-template-columns: minmax(0, 1fr); }
  .promise { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; justify-items: start; }
  .promise .seal { width: 110px; height: 110px; } .promise .seal svg { width: 52px; height: 52px; }
  .promise ul { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .wrap > div:first-child { grid-column: 1 / -1; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 30px; }
  .toc { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .toc b { display: none; } .toc a { border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 12px; white-space: nowrap; }
  .doc-head .mini { display: none; }
  .cookies, .owner, .rights { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 22px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .table thead { display: none; } .table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table td { display: block; border: 0; padding: 3px 0; width: auto !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.sprite { position: absolute; }
#data { padding-top: 20px; }
