/* =========================================================================
   coffeylabs.org -- the company template (brand book, section 8).

   Navy blueprint bands with white sections between them. Every page opens on
   a band (.band) with the top bar floating over it; product cards are lit in
   each product's own color; the blueprint grid and the mark belong to the
   company and nothing else uses them.

   Light only, on purpose: half of every page is already navy, and the white
   sections are where the reading happens. All motion stops for visitors who
   ask for reduced motion.
   ========================================================================= */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2');
  font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2');
  font-weight: 100 800; font-display: swap;
}

:root {
  --ink: #0F1822;
  --soft: #56677C;
  --faint: #64748B;
  --line: #E2E8F0;
  --tint: #F3F7FC;
  --blue: #4EA8FF;
  --blue-hot: #7DC0FF;
  --blue-deep: #1F6FC0;
  --navy: #0E2340;
  --navy-deep: #081629;
  --card-a: #13294A;
  --card-b: #0B1A30;
  --pale: #DCEBFF;
  --on-navy: #B9CCE3;
  --on-navy-soft: #8FA9C8;
  --live: #3DDC97;
  --warn: #F5B84A;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; font-size: 17px; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
code { font-family: var(--mono); font-size: .88em; background: var(--tint); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- top bar ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; color: #fff; transition: background .2s, box-shadow .2s; }
.top.scrolled { background: rgba(8, 22, 41, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(220, 235, 255, .08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 19px; color: inherit; }
.top-nav { display: flex; gap: 4px; align-items: center; font-size: 15px; }
.top-nav a { text-decoration: none; color: var(--pale); padding: 8px 12px; border-radius: 8px; opacity: .85; }
.top-nav a:hover, .top-nav a[aria-current] { opacity: 1; background: rgba(255, 255, 255, .07); }
.top-nav a.cta { border: 1px solid rgba(125, 192, 255, .4); opacity: 1; margin-left: 8px; }
/* Sponsor: the same outline as Get in touch, quieter, with the heart in GitHub
   Sponsors' pink as its only color. */
.top-nav a.sponsor { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(220, 235, 255, .18); margin-left: 8px; }
.top-nav a.sponsor .heart { width: 15px; height: 15px; fill: none; stroke: #db61a2; stroke-width: 2; stroke-linejoin: round; }
.top-nav a.sponsor:hover .heart { fill: #db61a2; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(220, 235, 255, .25); display: grid; place-content: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--navy-deep); border: 1px solid rgba(220, 235, 255, .15); border-radius: 14px; padding: 8px; box-shadow: 0 20px 50px -20px #000; }
.menu-panel a { display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; color: var(--pale); }
.menu-panel a:hover, .menu-panel a[aria-current] { background: rgba(255, 255, 255, .07); color: #fff; }
/* The bar needs ~852px with Forum in it; below 880px the menu takes over. */
@media (max-width: 880px) { .top-nav { display: none; } .menu { display: block; } }

/* ---------- navy bands ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(1200px 600px at 78% 30%, #163a6b 0%, transparent 60%),
              radial-gradient(900px 500px at 10% 110%, #10305a 0%, transparent 60%), var(--navy-deep); }
.band .grid { position: absolute; inset: -64px; z-index: -1;
  background-image: linear-gradient(rgba(78, 168, 255, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 168, 255, .11) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
  animation: drift 30s linear infinite; }
@keyframes drift { to { transform: translate(32px, 32px); } }
.band a:not(.btn) { color: var(--blue-hot); }
.kicker { display: inline-block; font: 12px var(--mono); color: var(--blue-deep); letter-spacing: .12em; text-transform: uppercase; }
.band .kicker { color: var(--blue-hot); }

/* home hero */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-top: 170px; padding-bottom: 120px; }
.pill { display: inline-flex; align-items: center; gap: 10px; font: 13px var(--mono); color: var(--blue-hot); letter-spacing: .02em; padding: 6px 12px 6px 8px; border: 1px solid rgba(125, 192, 255, .28); border-radius: 999px; background: rgba(78, 168, 255, .08); text-decoration: none; }
.band a.pill { color: var(--blue-hot); }
.pill b { background: var(--blue); color: #06101C; border-radius: 999px; padding: 2px 8px; font-weight: 700; font-size: 11px; }
.hero > div:first-child { container-type: inline-size; min-width: 0; }
/* Two lines, broken after the comma: each line stays whole and the size follows the column ("Built to be run," is ~6.6em wide). */
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 { font-size: min(92px, 14.5cqi); line-height: .98; letter-spacing: -.035em; margin: 24px 0; font-weight: 750; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #7DC0FF 0%, #4EA8FF 40%, #C08552 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--pale); font-size: clamp(18px, 1.8vw, 21px); max-width: 620px; opacity: .92; margin: 0; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; text-decoration: none; font: 650 16px var(--font); border: 1px solid rgba(220, 235, 255, .25); color: #fff; background: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .06); }
.btn.pri { background: linear-gradient(180deg, #6CB8FF, #3E98F0); border-color: transparent; color: #04101E; box-shadow: 0 10px 30px -10px rgba(78, 168, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.prod { background: var(--button); border-color: transparent; color: #fff; box-shadow: 0 12px 30px -12px var(--accent); }
.chips { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; font: 13px var(--mono); color: #9FB8D6; }
.chips span::before { content: '✓'; color: var(--blue); margin-right: 7px; }
.stage { position: relative; justify-self: center; width: min(380px, 80vw); aspect-ratio: 1; }
.stage::before { content: ''; position: absolute; inset: -18%; background: radial-gradient(circle, rgba(78, 168, 255, .35), transparent 62%); filter: blur(10px); }
.stage img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .55)); animation: float 7s ease-in-out infinite; }
.stage .ring { position: absolute; inset: -7%; border: 1px dashed rgba(125, 192, 255, .28); border-radius: 50%; animation: spin 60s linear infinite; }
.stage .dim { position: absolute; left: 0; right: 0; bottom: -34px; display: flex; align-items: center; gap: 8px; font: 11px var(--mono); color: var(--blue-hot); opacity: .7; }
.stage .dim::before, .stage .dim::after { content: ''; flex: 1; border-top: 1px solid currentColor; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 80px; } .stage { width: 200px; justify-self: start; order: -1; } .stage .dim { display: none; } }

/* inner-page hero */
.page-hero { padding-top: 150px; padding-bottom: 72px; }
.page-hero > * { max-width: 820px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.035em; line-height: 1.02; margin: 14px 0 18px; font-weight: 750; }
.page-hero .lede { color: var(--pale); font-size: 20px; margin: 0; opacity: .92; }
.crumb { font: 13px var(--mono); color: #9FB8D6; margin: 0 0 18px; }
.crumb a { text-decoration: none; }
@media (max-width: 640px) { .page-hero { padding-top: 120px; padding-bottom: 56px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band .grid, .stage img, .stage .ring { animation: none; }
  .btn, .card, .card .go b { transition: none; }
}

/* ---------- sections ---------- */
.sec { padding: 96px 0; position: relative; }
.sec h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; margin: 12px 0 14px; line-height: 1.02; font-weight: 750; }
.sub { color: var(--soft); font-size: 19px; max-width: 640px; margin: 0 0 48px; }
.headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.textlink { font-weight: 650; color: var(--blue-deep); text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.headrow .textlink { margin-bottom: 52px; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sub { margin-bottom: 32px; } }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { position: relative; border-radius: 22px; padding: 30px 30px 26px; text-decoration: none; color: #fff; background: linear-gradient(160deg, var(--card-a) 0%, var(--card-b) 100%); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 260px; transition: transform .2s, box-shadow .2s; box-shadow: 0 20px 50px -30px rgba(8, 22, 41, .8); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); opacity: .75; transition: opacity .2s; }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 70%, transparent), rgba(255, 255, 255, .06) 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--accent) 60%, #000); }
.card:hover::before { opacity: 1; }
.card .row { display: flex; align-items: center; justify-content: space-between; }
.card .row img { width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .95); padding: 5px; }
.status { font: 12px var(--mono); color: var(--on-navy); display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(220, 235, 255, .18); padding: 5px 10px; border-radius: 999px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }
.status i.dev { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.card h3 { font-size: 34px; letter-spacing: -.02em; margin: 22px 0 2px; }
.card .tag { font-weight: 600; color: color-mix(in srgb, var(--accent) 55%, #fff); margin: 0 0 10px; }
.card p { margin: 0; color: var(--on-navy); }
.card .go { margin-top: auto; padding-top: 22px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card .go span { font: 12px var(--mono); color: var(--on-navy-soft); font-weight: 400; }
.card .go b { transition: transform .2s; }
.card:hover .go b { transform: translateX(5px); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } .card h3 { font-size: 28px; } }
.tools { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tools .lbl { font: 12px var(--mono); color: var(--soft); letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.tools a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; background: #fff; text-decoration: none; transition: border-color .15s; }
.tools a:hover { border-color: var(--blue); }
.tools b { font-family: var(--mono); font-size: 13px; margin-right: 8px; }

/* tool rows (products page) */
.toollist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toollist li { display: grid; grid-template-columns: 240px 1fr 190px; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.toollist a { font: 600 16px var(--mono); color: var(--ink); text-decoration: none; }
.toollist a:hover { color: var(--blue-deep); }
.toollist .line { display: block; color: var(--soft); font-size: 15px; margin-top: 4px; font-family: var(--font); font-weight: 400; }
.toollist p { margin: 0; color: var(--soft); }
.toollist .meta { font: 12px var(--mono); color: var(--soft); text-align: right; }
@media (max-width: 820px) { .toollist li { grid-template-columns: 1fr; gap: 8px; } .toollist .meta { text-align: left; } }

/* dark band: what we won't compromise on */
.dark { background: radial-gradient(900px 500px at 85% 0%, #163a6b, transparent 60%), var(--navy-deep); color: #fff; overflow: hidden; }
.dark .kicker { color: var(--blue-hot); }
.dark .sub { color: #A9BFD9; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(220, 235, 255, .14); }
.rules > div { padding: 30px 26px 6px 0; }
.rules > div + div { padding-left: 26px; border-left: 1px solid rgba(220, 235, 255, .14); }
.rules .n { font: 700 64px/1 var(--font); color: transparent; -webkit-text-stroke: 1px rgba(125, 192, 255, .55); letter-spacing: -.04em; }
.rules h3 { font-size: 23px; margin: 18px 0 10px; letter-spacing: -.01em; }
.rules p { margin: 0; color: #A9BFD9; font-size: 16px; }
.dark .textlink { color: var(--blue-hot); display: inline-block; margin-top: 36px; }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr 1fr; } .rules > div:nth-child(3) { padding-left: 0; border-left: none; } .rules > div { border-top: 1px solid rgba(220, 235, 255, .14); } }
@media (max-width: 520px) { .rules { grid-template-columns: 1fr; } .rules > div + div { padding-left: 0; border-left: none; } }

/* panels */
.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.two.even { grid-template-columns: 1fr 1fr; }
.panel { border-radius: 22px; padding: 38px; background: var(--tint); border: 1px solid var(--line); }
.panel h2 { font-size: 36px; }
.panel p { color: var(--soft); }
.chiprow { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.chiprow span { font: 12px var(--mono); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }
.founder { border-radius: 22px; padding: 42px; color: #fff; background: linear-gradient(150deg, var(--card-a), var(--card-b)); position: relative; overflow: hidden; }
.founder::before { content: '“'; position: absolute; right: 24px; top: -30px; font: 800 220px/1 var(--font); color: rgba(78, 168, 255, .12); }
.founder .kicker { color: var(--blue-hot); }
.founder p { color: var(--on-navy); position: relative; }
.founder blockquote { margin: 22px 0; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -.01em; color: #fff; position: relative; }
.founder blockquote p { color: #fff; margin: 0; }
.who { display: flex; align-items: center; gap: 12px; font-size: 15px; position: relative; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.who small { display: block; color: var(--on-navy-soft); }
.founder a { color: var(--blue-hot); }
@media (max-width: 900px) { .two, .two.even { grid-template-columns: 1fr; } .panel, .founder { padding: 28px 24px; } }

/* timeline (company page) */
.timeline-sec { padding-top: 0; }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.timeline li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; }
.timeline li:last-child { border-bottom: none; }
.timeline time { font: 600 14px var(--mono); color: var(--blue-deep); padding-top: 3px; }
.timeline b { display: block; font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--soft); }
.timeline p a { color: var(--blue-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }
.timeline p a:hover { text-decoration: underline; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* contact block */
.hello { border-radius: 28px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: radial-gradient(600px 300px at 90% 10%, rgba(78, 168, 255, .45), transparent 60%), linear-gradient(135deg, #123764, #0B1A30); }
.hello .kicker { color: var(--blue-hot); }
.hello h2 { margin: 6px 0 10px; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.03em; line-height: 1.02; }
.hello p { color: var(--on-navy); margin: 0; }
.hello .big { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; text-decoration: none; display: inline-block; margin-top: 20px; border-bottom: 2px solid var(--blue); color: #fff; }
.hello ul { list-style: none; margin: 0; padding: 0; }
.hello li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(220, 235, 255, .14); font-size: 15px; flex-wrap: wrap; }
.hello li span { color: var(--on-navy-soft); }
.hello li a { text-decoration: none; font-weight: 600; color: #fff; }
.follow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.follow > span { flex-basis: 100%; font: 12px var(--mono); color: var(--on-navy-soft); letter-spacing: .08em; text-transform: uppercase; }
.follow a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(220, 235, 255, .2); text-decoration: none; font-size: 14px; font-weight: 600; color: #fff; transition: background .15s; }
.follow a:hover { background: rgba(255, 255, 255, .08); }
.route-mark { width: 16px; height: 16px; flex: none; fill: currentColor; }
@media (max-width: 860px) { .hello { grid-template-columns: 1fr; padding: 34px 24px; } }

/* footer */
.foot { background: var(--navy-deep); color: #A9BFD9; margin-top: 96px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 56px 24px 28px; }
.foot .brand { color: #fff; }
.foot a { color: #C9D9EC; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-brand p { max-width: 340px; }
.foot-h { font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hot); margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 8px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.soc { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(220, 235, 255, .16); }
.soc:hover { border-color: var(--blue); background: rgba(78, 168, 255, .12); }
.soc .route-mark { width: 18px; height: 18px; }
.foot-legal { border-top: 1px solid rgba(220, 235, 255, .1); padding: 18px 24px 26px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-legal .sep { margin: 0 4px; }
@media (min-width: 861px) { .foot-legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; } .foot-legal > span:last-child { justify-self: end; text-align: right; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #C9D9EC; cursor: pointer; }
.linklike:hover { color: #fff; }
.linklike[hidden] { display: none; }
#consent-reopen::before { content: '·'; margin: 0 8px 0 4px; color: #A9BFD9; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- product overview pages ---------- */
.phero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; padding-top: 150px; padding-bottom: 90px; }
.phero h1 { display: flex; align-items: center; gap: 20px; font-size: clamp(50px, 7vw, 88px); margin: 0 0 10px; letter-spacing: -.035em; line-height: 1; }
.phero h1 img { width: 84px; height: 84px; border-radius: 20px; background: #fff; padding: 6px; box-shadow: 0 20px 50px -20px var(--accent); }
.phero .motto { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: color-mix(in srgb, var(--accent) 60%, #fff); margin: 0 0 18px; letter-spacing: -.01em; }
.facts { background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); border: 1px solid rgba(220, 235, 255, .16); border-radius: 20px; padding: 10px 24px; margin: 0; }
.facts div { padding: 13px 0; border-bottom: 1px solid rgba(220, 235, 255, .12); font-size: 15px; }
.facts div:last-child { border-bottom: none; }
.facts dt { color: var(--blue-hot); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.facts dd { margin: 0; }
@media (max-width: 900px) { .phero { grid-template-columns: 1fr; padding-top: 120px; } .phero h1 { font-size: 48px; } .phero h1 img { width: 64px; height: 64px; } }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; padding: 0; margin: 0; }
.inc li { border-radius: 18px; padding: 22px 24px 22px 60px; background: var(--tint); border: 1px solid var(--line); position: relative; font-size: 18px; }
.inc li::before { content: '✓'; position: absolute; left: 22px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--button); color: #fff; display: grid; place-items: center; font-size: 13px; }
@media (max-width: 640px) { .inc { grid-template-columns: 1fr; } }
.endorse { color: var(--soft); margin-top: 30px; display: flex; align-items: center; gap: 10px; }
.endorse img { width: 28px; height: 28px; }
.endorse a { color: var(--blue-deep); }

/* ---------- prose pages (approach, licensing, privacy, AI, contact) ---------- */
.page-body { padding-top: 72px; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; letter-spacing: -.02em; line-height: 1.15; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue-deep); }
.prose.panel { max-width: none; }
.principles { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: p; }
.principles > li { position: relative; padding: 0 0 26px 64px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.principles > li:last-child { border-bottom: none; }
.principles .n { position: absolute; left: 0; top: -6px; font: 700 40px/1 var(--font); color: transparent; -webkit-text-stroke: 1px var(--blue-deep); }
.principles h2 { margin-top: 0; }
.licenses-wrap { border-radius: 18px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 40px; }
.licenses { border-collapse: collapse; width: 100%; font-size: 15px; }
.licenses th, .licenses td { text-align: left; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.licenses thead th { background: var(--tint); font: 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.licenses tbody th { font: 600 15px var(--mono); }
.licenses tbody td { font: 14px var(--mono); color: var(--soft); }
.licenses tbody tr:last-child th, .licenses tbody tr:last-child td { border-bottom: none; }
@media (max-width: 560px) { .licenses th, .licenses td { padding: 10px 12px; } }
/* The support page reuses the license table for its costs; the middle column is a
   figure that must not wrap, and the last is a sentence, not an identifier. */
.costs tbody td:nth-child(2) { white-space: nowrap; }
.costs tbody td:nth-child(3) { font-family: var(--font); font-size: 15px; }
.sponsors { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.sponsors a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 600 14px var(--mono); color: var(--ink); text-decoration: none; }
.sponsors a:hover { border-color: var(--blue); color: var(--blue-deep); }
.routes { list-style: none; padding: 0; margin: 0 0 18px; }
.routes li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.routes li > a { font-weight: 650; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; align-self: start; word-break: break-word; }
.routes li > a:hover { color: var(--blue-deep); }
.routes li > span { color: var(--soft); }
@media (max-width: 700px) { .routes li { grid-template-columns: 1fr; gap: 6px; } }
.routes-note { color: var(--faint); font-size: 16px; }
.asked { font: 13px var(--mono); color: var(--pale); background: rgba(255, 255, 255, .06); border: 1px solid rgba(220, 235, 255, .16); border-radius: 10px; padding: 10px 14px; margin-top: 26px; overflow-wrap: anywhere; display: inline-block; }

/* ---------- press ---------- */
.pgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }
.copybox { border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; background: var(--tint); position: relative; margin-bottom: 18px; }
.copybox h3 { margin: 0 0 8px; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.copybox p { margin: 0; font-size: 18px; }
.copybtn { position: absolute; top: 16px; right: 16px; font: 12px var(--mono); border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 10px; cursor: pointer; color: var(--ink); }
.copybtn[hidden] { display: none; }
.factcard { border-radius: 22px; padding: 10px 28px; color: #fff; background: linear-gradient(150deg, var(--card-a), var(--card-b)); margin: 0; }
.factcard div { padding: 13px 0; border-bottom: 1px solid rgba(220, 235, 255, .12); font-size: 15px; }
.factcard div:last-child { border-bottom: none; }
.factcard dt { color: var(--blue-hot); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.factcard dd { margin: 0; }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; border-radius: 28px; padding: 44px; color: #fff;
  background: radial-gradient(600px 300px at 0% 0%, rgba(78, 168, 255, .35), transparent 60%), linear-gradient(135deg, #123764, #0B1A30); }
.kit h2 { margin: 6px 0 10px; font-size: 36px; letter-spacing: -.02em; }
.kit p { color: var(--on-navy); }
.kit .kicker { color: var(--blue-hot); }
.kit .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kit .tiles div { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(220, 235, 255, .14); }
.kit .tiles div.light { background: #fff; }
.kit .tiles img { width: 62%; }
.kitrules { margin: 16px 0 0; padding-left: 18px; color: var(--on-navy); font-size: 15px; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; padding: 30px 22px; } }
.person { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-top: 28px; }
.person img { width: 220px; height: 220px; border-radius: 22px; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(8, 22, 41, .6); }
.person h3 { font-size: 30px; margin: 0 0 4px; }
.person .role { color: var(--blue-deep); font-weight: 600; margin: 0 0 14px; }
.person p { color: var(--soft); }
.person .dl { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; } .person img { width: 160px; height: 160px; } }

/* ---------- news ---------- */
.newslist { list-style: none; margin: 0; padding: 0; }
.newslist a { display: grid; grid-template-columns: 170px 1fr 30px; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.newslist li:first-child a { border-top: 1px solid var(--line); }
.newslist time { font: 13px var(--mono); color: var(--soft); padding-top: 8px; }
.newslist .tag { display: inline-block; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }
.newslist h3 { font-size: 26px; letter-spacing: -.015em; margin: 0 0 6px; line-height: 1.2; }
.newslist p { margin: 0; color: var(--soft); }
.newslist b { font-size: 22px; color: var(--blue-deep); padding-top: 6px; transition: transform .2s; }
.newslist a:hover b { transform: translateX(5px); }
.newslist a:hover h3 { color: var(--blue-deep); }
@media (max-width: 700px) { .newslist a { grid-template-columns: 1fr; gap: 6px; } .newslist b { display: none; } }
.article-meta { font: 13px var(--mono); color: #9FB8D6; margin: 0; }
.sharerow { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.sharerow a, .sharerow button { border: 1px solid rgba(220, 235, 255, .25); border-radius: 10px; padding: 8px 14px; text-decoration: none; font: 14px var(--font); color: #fff; background: none; cursor: pointer; }
.band .sharerow a { color: #fff; }
.sharerow a:hover, .sharerow button:hover { background: rgba(255, 255, 255, .08); }
.article-body { max-width: 740px; font-size: 19px; line-height: 1.7; }
.article-body p { margin: 0 0 22px; }
.article-body .dateline { font-weight: 700; }
.pull { margin: 34px 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--blue); font-size: 24px; line-height: 1.45; letter-spacing: -.01em; font-weight: 600; }
.pull p { margin: 0; }
.about-box { margin-top: 44px; border-radius: 20px; padding: 28px 30px; background: var(--tint); border: 1px solid var(--line); font-size: 16px; }
.about-box h2 { margin: 0 0 8px; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.about-box h2 + p { margin-top: 0; }
.about-box p { margin: 0 0 14px; color: var(--soft); }
.about-box p:last-child { margin-bottom: 0; }
.about-box a { color: var(--blue-deep); }

/* ---------- white papers: news articles written as Markdown, with tables ---------- */
.paper-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 34px 0 0; max-width: 860px; border: 1px solid rgba(220, 235, 255, .16); border-radius: 16px; overflow: hidden; background: rgba(220, 235, 255, .16); }
.paper-stats div { background: var(--navy-deep); padding: 16px 18px; }
.paper-stats dt { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9FB8D6; }
.paper-stats dd { margin: 6px 0 0; font: 700 30px/1.1 var(--font); color: #fff; letter-spacing: -.02em; }
@media (max-width: 760px) { .paper-stats { grid-template-columns: repeat(2, 1fr); } .paper-stats dd { font-size: 24px; } }
.paper h2 { font-size: 30px; letter-spacing: -.02em; line-height: 1.15; margin: 52px 0 14px; }
.paper h3 { font-size: 21px; margin: 32px 0 10px; }
.paper ul, .paper ol { margin: 0 0 22px; padding-left: 24px; }
.paper li { margin-bottom: 8px; }
.paper a { color: var(--blue-deep); }
.paper table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 0 0 26px; font-size: 15px; line-height: 1.45; border: 1px solid var(--line); border-radius: 14px; }
.paper th, .paper td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.paper thead th { background: var(--tint); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); white-space: nowrap; }
.paper tbody tr:last-child td { border-bottom: none; }
.paper td:first-child { font-weight: 600; }
.paper .note { font-size: 16px; color: var(--soft); }
@media (max-width: 760px) { .paper table { display: block; overflow-x: auto; width: auto; } }
@media (max-width: 560px) { .paper th, .paper td { padding: 8px 10px; } }

/* ---------- consent banner ----------
   Fixed to the bottom rather than a modal: a visitor who never answers can
   still read every word, and consent conditioned on access would not be
   consent at all. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-deep); color: #fff; border-top: 1px solid var(--blue); box-shadow: 0 -8px 28px rgba(0, 0, 0, .35); padding: 18px 0; }
.consent[hidden] { display: none; }
.consent-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; gap: 26px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-text { flex: 1 1 460px; min-width: 0; }
.consent-title { font-size: 17px; margin: 0 0 6px; }
.consent p { margin: 0 0 6px; color: var(--on-navy); font-size: 14px; line-height: 1.55; }
.consent p:last-child { margin-bottom: 0; }
.consent-current { font-style: italic; }
.consent-more a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--blue); }
/* Both buttons identical, Decline first: equal prominence is the requirement
   under GDPR Article 7, not a styling preference. */
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-actions .btn { padding: 10px 22px; min-width: 118px; justify-content: center; }
@media (max-width: 560px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }
