/* Oddball Outpost: site styles, in the same design format as Homework Turtle
   (Lexend, cream background, heavy headings, pill labels, top-bordered cards,
   deep gradient sections). Colours are Oddball's: teal, rust and gold.
   Fonts are self-hosted. Motion only runs when JS adds .motion to <html>. */

@font-face {
  font-family: "Lexend";
  src: url("/assets/fonts/lexend-latin-var.woff2") 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  /* ---- colour tokens: change these to re-theme the whole site ---- */
  --cream: #fbf8f1;
  --mist: #f2f5f0;
  --card: #ffffff;
  --text: #14231f;
  --text2: #3e4c48;
  --text3: #59675f;
  --line: #e3ddd0;
  --teal: #0f6e66;
  --teal-dim: #0a5049;
  --teal-2: #138a7e;
  --teal-soft: #e1f2ee;
  --rust: #b4441c;
  --gold: #ffc94d;
  --gold-ink: #7a4f00;
  --gold-soft: #fff3d1;
  --sky: #1e6fd9;
  --grape: #7b3fe4;
  --deep: #0e2224;
  --deep2: #0a1718;
  --focus: #0f6e66;
  --shadow: 0 10px 30px rgba(20, 35, 26, .08);
  --shadow-lg: 0 30px 70px rgba(20, 35, 26, .16);
  --radius: 22px;
  --font: "Lexend", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* waveform demo */
  --wave-cam: #6aa8ff;
  --wave-rec: #62d6a0;
  --wave-mark: #f5c842;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0f1719;
    --mist: #121c1e;
    --card: #172225;
    --text: #eef2ef;
    --text2: #c3cec9;
    --text3: #9caba4;
    --line: #2a3a3d;
    --teal: #5cc8bc;
    --teal-dim: #8fdcd3;
    --teal-2: #9fe8de;
    --teal-soft: #173431;
    --rust: #f39566;
    --gold-ink: #f2cf7d;
    --gold-soft: #3a2f14;
    --sky: #7fb2ff;
    --grape: #b794ff;
    --deep: #0a1819;
    --deep2: #071112;
    --focus: #ffc94d;
    --shadow: 0 10px 30px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--font); }
p { margin: 0; }
p + p { margin-top: .9em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow { max-width: 780px; }
@media (min-width: 600px) { .wrap { padding-left: 28px; padding-right: 28px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--cream); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Announcement bar + header ---------- */
.announce { background: #161d22; color: #e8eeeb; font-size: .82rem; text-align: center; padding: 8px 16px; }
.announce a { color: var(--gold); font-weight: 600; }
.announce :focus-visible { outline-color: var(--gold); }

.site-head { position: sticky; top: 0; z-index: 30; background: var(--deep); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.head-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav a { display: inline-block; color: #dfe8e5; text-decoration: none; font-weight: 500; font-size: .92rem; padding: 10px 11px; border-radius: 999px; min-height: 44px; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.site-head :focus-visible { outline-color: var(--gold); }
.btn.head-cta { display: none; }
@media (min-width: 720px) { .btn.head-cta { display: inline-flex; } }
@media (max-width: 420px) {
  .main-nav { width: 100%; }
  .main-nav li:first-child a { padding-left: 0; }
}

/* ---------- Buttons, labels, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(15, 110, 102, .28); }
.btn-primary:hover { background: var(--teal-dim); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #06201d; box-shadow: none; } }
.btn-white { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-white:hover { border-color: var(--text3); }
.btn-gold { background: var(--gold); color: #1b1404; box-shadow: 0 8px 22px rgba(255, 201, 77, .3); }
.btn-gold:hover { background: #ffd673; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }

.label { display: inline-block; background: var(--teal); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .label { color: #06201d; } }
.label-gold { background: var(--gold); color: #1b1404; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--text2); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.status { display: inline-flex; align-items: center; gap: 7px; background: var(--gold-soft); color: var(--gold-ink); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Section rhythm ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--mist); }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-top: 14px; font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.sec-head p { margin-top: 14px; color: var(--text2); font-size: 1.08rem; font-weight: 300; max-width: 36em; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.hl { background: linear-gradient(90deg, var(--teal), var(--teal-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; text-align: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 168, 143, .16), transparent 38%),
    radial-gradient(circle at 12% 78%, rgba(255, 201, 77, .2), transparent 40%),
    var(--cream); }
.hero-mark { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 20px; box-shadow: var(--shadow); }
.hero h1 { margin: 20px auto 0; max-width: 11.5em; font-size: clamp(2.6rem, 8.4vw, 6rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; }
.hero-lede { margin: 22px auto 0; max-width: 34em; color: var(--text2); font-size: clamp(1.05rem, 2.2vw, 1.22rem); font-weight: 300; }
.hero-strong { margin-top: 16px; font-weight: 700; font-size: .98rem; }
.hero .actions { justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; color: var(--text3); font-size: .85rem; }

/* ---------- Window mockup ---------- */
.window { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); text-align: left; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; color: var(--text3); font-size: .78rem; font-weight: 600; }
.window-caption { margin-top: 12px; text-align: center; color: var(--text3); font-size: .8rem; }
.hero-window { max-width: 980px; margin: 56px auto 0; }

/* ---------- Sync demo ---------- */
.demo-wrap { max-width: 900px; margin: 0 auto; }
.demo-body { padding: 22px; }
.sync-demo { display: none; }
.js .sync-demo { display: block; }
.demo-fallback { display: flex; justify-content: center; padding: 40px 20px; }
.demo-fallback img { width: 160px; height: 160px; }
.js .demo-fallback { display: none; }
.demo-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.demo-top h3 { font-size: 1.15rem; font-weight: 700; }
.demo-top p { color: var(--text3); font-size: .92rem; }
.readout { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .92rem; color: var(--gold-ink); background: var(--gold-soft); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.readout.synced { color: #155c36; background: #dcf3e6; }
@media (prefers-color-scheme: dark) { .readout.synced { color: #a6f0c9; background: #173a2a; } }
.tracks { position: relative; margin-top: 16px; }
.tracks canvas { display: block; width: 100%; height: 190px; border-radius: 14px; background: #0c1122; touch-action: pan-y; cursor: grab; }
.tracks canvas:active { cursor: grabbing; }
.track-label { position: absolute; left: 12px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.track-label.cam { top: 8px; color: var(--wave-cam); }
.track-label.rec { top: 103px; color: var(--wave-rec); }
.slider { margin-top: 16px; }
.slider label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.slider input { width: 100%; accent-color: var(--teal); min-height: 32px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.demo-note { margin-top: 16px; color: var(--text2); font-size: .95rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }
.card { --c: var(--teal); background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.card.c-rust { --c: var(--rust); } .card.c-gold { --c: var(--gold); } .card.c-sky { --c: var(--sky); } .card.c-grape { --c: var(--grape); }
.card .icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 1.25rem; background: var(--teal-soft); margin-bottom: 14px; }
.card .tag { color: var(--text3); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin-top: 4px; font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.card p { margin-top: 8px; color: var(--text2); font-size: .93rem; font-weight: 300; }

/* ---------- Deep sections ---------- */
.deep { color: #d6e2de;
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 168, 143, .28), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(255, 201, 77, .1), transparent 38%),
    linear-gradient(160deg, var(--deep), var(--deep2)); }
.deep h2, .deep h3 { color: #fff; }
.deep .sec-head p { color: #c7d5d0; }
.deep a { color: #9fe3db; }
.deep :focus-visible { outline-color: var(--gold); }
.deep .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.deep .card p { color: #c7d5d0; }
.deep .card .tag { color: #a9bbb5; }
.deep .card .icon { background: rgba(255, 255, 255, .08); }
.deep .card.c-teal { --c: #5cc8bc; } .deep .card.c-rust { --c: #f39566; } .deep .card.c-sky { --c: #7fb2ff; }
.deep .status { background: #3a2f14; color: #f2cf7d; }
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 14px; }
.product-head img { width: 72px; height: 72px; border-radius: 18px; }
.product-head h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.prod-type { margin-top: 14px; color: #9fe3db; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-lede { margin-top: 12px; max-width: 38em; color: #e3ece9; font-size: 1.12rem; font-weight: 300; }
.deep .cards { margin-top: 36px; }

/* ---------- CTA banner ---------- */
.cta { text-align: center; color: #e3ece9; padding: 88px 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 168, 143, .35), transparent 40%),
    radial-gradient(circle at 15% 90%, rgba(255, 201, 77, .16), transparent 40%),
    linear-gradient(135deg, #0f6e66 0%, #0e2224 70%); }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.cta h2 span { color: var(--gold); }
.cta p { margin-top: 14px; font-weight: 300; font-size: 1.08rem; }
.cta .actions { justify-content: center; }
.cta :focus-visible { outline-color: var(--gold); }

/* ---------- Inner pages ---------- */
.page-hero { padding: 64px 0 30px;
  background: radial-gradient(circle at 85% 10%, rgba(0, 168, 143, .13), transparent 40%), radial-gradient(circle at 5% 100%, rgba(255, 201, 77, .14), transparent 40%), var(--cream); }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.04; }
.page-hero .lede { margin-top: 14px; color: var(--text2); font-size: 1.15rem; font-weight: 300; max-width: 36em; }
.page { padding: 20px 0 40px; }
.page h2 { font-size: 1.35rem; font-weight: 700; margin: 34px 0 10px; letter-spacing: -.01em; }
.prose { max-width: 44em; }
.prose p, .prose li { color: var(--text2); font-size: 1.05rem; font-weight: 300; }
.prose ul { padding-left: 1.2em; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 700; }
.panel { margin-top: 28px; max-width: 44em; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 18px; padding: 6px 22px; box-shadow: var(--shadow); }
.panel dl { margin: 0; }
.panel .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.panel .row:last-child { border-bottom: 0; }
.panel dt { color: var(--text3); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.panel dd { margin: 0; font-weight: 600; }
.contact-card { margin-top: 26px; max-width: 44em; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow); }
.contact-card .email { font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 800; overflow-wrap: break-word; }
.draft { display: inline-block; margin-bottom: 8px; background: var(--gold-soft); color: var(--gold-ink); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .85rem; }
.notice-card { margin-top: 30px; max-width: 44em; border: 1px solid var(--line); border-left: 4px solid var(--text3); border-radius: 14px; padding: 16px 20px; background: var(--card); color: var(--text2); }
.notice-card h2 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }

/* ---------- Footer ---------- */
footer { padding: 36px 0 44px; color: var(--text3); font-size: .88rem; background: var(--cream); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 800; text-decoration: none; }
.foot-brand img { width: 24px; height: 24px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 20px; }
.foot-top a:not(.foot-brand) { color: var(--text2); text-decoration: none; display: inline-block; padding: 6px 0; }
.foot-top a:not(.foot-brand):hover { text-decoration: underline; }
.foot-legal { margin-top: 16px; }

/* ---------- Reveal on scroll (motion only) ---------- */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.motion .reveal.in { opacity: 1; transform: none; }

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

/* =====================================================================
   Home: the signal network. The home page is a dark stage in both
   colour schemes; inner pages follow light/dark as usual.
   ===================================================================== */
.home { background: #060c0e; color: #d6e2de; }
.home footer { background: #060c0e; color: #93a5a0; }
.home .foot-brand { color: #9fe3db; }
.home .foot-top a:not(.foot-brand) { color: #c7d5d0; }
.home :focus-visible { outline-color: var(--gold); }
.home h1, .home h2, .home h3 { color: #fff; }
.home a { color: #9fe3db; }
.home .hl { background-image: linear-gradient(90deg, #5cc8bc, #b8f2ea); }
.home .label { background: var(--gold); color: #1b1404; }
.home .status { background: #3a2f14; color: #f2cf7d; }
.home .btn-white { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.home .btn-white:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.home a.btn-gold, .home .btn-gold { color: #1b1404; }
.home a.btn-white { color: #fff; }
.home a.btn-primary, .home .btn-primary { color: #06201d; }
.home .btn-primary { background: #5cc8bc; color: #06201d; box-shadow: 0 8px 26px rgba(92, 200, 188, .3); }
.home .btn-primary:hover { background: #8fdcd3; }

#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(0, 168, 143, .16), transparent 45%), radial-gradient(circle at 15% 85%, rgba(255, 201, 77, .08), transparent 40%), #060c0e; }
.home main, .home footer { position: relative; z-index: 1; }
.home .site-head { z-index: 30; }

/* Hero over the network */
.net-hero { display: grid; place-items: center; text-align: center; padding: 64px 0 80px; position: relative; }
.net-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(6, 12, 14, .92), rgba(6, 12, 14, .55) 55%, rgba(6, 12, 14, 0) 80%); }
.net-hero .wrap { position: relative; }
.net-hero h1 { margin: 18px auto 0; max-width: 11em; font-size: clamp(2.6rem, 8.6vw, 6.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.net-hero .hero-lede { margin: 22px auto 0; max-width: 36em; color: #d6e2de; font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 300; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.net-hero .actions { justify-content: center; }
.hero-products { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-products a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #e3ece9; font-size: .85rem; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-products a:hover { background: rgba(255, 255, 255, .12); }
.hero-products i { --dot: #8cc0ff; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 10px var(--dot); }
.hero-products a:nth-child(2) i { --dot: #f6a57b; }
.hero-products a:nth-child(3) i { --dot: #ffd36b; }
.net-on .net-hero { min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); }
.scroll-hint { display: none; }
.net-on .scroll-hint { display: block; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #a9bbb5; font-weight: 700; }
.scroll-hint::after { content: ""; display: block; width: 2px; height: 28px; margin: 8px auto 0; background: linear-gradient(#a9bbb5, transparent); }

/* Chapters: the network camera flies to each product while its panel scrolls by */
.chapter { display: flex; align-items: center; padding: 40px 0; }
.chapter .wrap { width: 100%; }
.net-on .chapter { min-height: 100vh; min-height: 100svh; padding: 40vh 0 12vh; }
@media (min-width: 900px) { .net-on .chapter { padding: 14vh 0; } .chapter.right .wrap { display: flex; justify-content: flex-end; } }
.panel-glass { width: 100%; max-width: 620px; background: rgba(8, 18, 20, .78); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 28px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (min-width: 600px) { .panel-glass { padding: 34px 34px; } }
.chapter-no { display: inline-flex; align-items: center; gap: 10px; }
.chapter-no b { color: #a9bbb5; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.chapter .product-head { margin-top: 16px; }
.chapter .product-head h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.chapter .prod-type { color: var(--accent, #9fe3db); }
.chapter p.body { margin-top: 12px; color: #e3ece9; font-size: 1.08rem; font-weight: 300; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff; background: color-mix(in srgb, var(--accent, #5cc8bc) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent, #5cc8bc) 45%, transparent); }
.fn-grid { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; }
.fn { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--accent, #5cc8bc); border-radius: 14px; padding: 14px 16px; }
.fn h3 { font-size: .98rem; font-weight: 700; }
.fn p { margin-top: 4px; color: #c7d5d0; font-size: .88rem; font-weight: 300; }
.ch-sync { --accent: #8cc0ff; }
.ch-play { --accent: #f6a57b; }
.ch-ptz { --accent: #ffd36b; }
.chapter .panel-glass.wide { max-width: 760px; }

/* Sync demo inside the dark panel */
.home .window { background: #0d1a1c; border-color: rgba(255, 255, 255, .12); box-shadow: none; margin-top: 22px; }
.home .window-bar { background: #10201f; border-bottom-color: rgba(255, 255, 255, .08); }
.home .window-bar span { color: #a9bbb5; }
.home .demo-top p, .home .demo-note { color: #c7d5d0; }
.home .readout { background: #3a2f14; color: #f2cf7d; }
.home .readout.synced { color: #a6f0c9; background: #173a2a; }
.home .slider input { accent-color: #62d6a0; }
.home .window-caption { color: #93a5a0; }

/* Endless */
.endless { text-align: center; padding: 70px 0; }
.net-on .endless { min-height: 110vh; padding: 20vh 0; }
.endless { position: relative; }
.endless::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(6, 12, 14, .85), rgba(6, 12, 14, 0) 75%); }
.endless .wrap { display: grid; place-items: center; position: relative; }
.endless h2 { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.02; text-shadow: 0 4px 40px rgba(0, 0, 0, .7); }
.endless p { margin: 18px auto 0; max-width: 34em; color: #e3ece9; font-size: 1.15rem; font-weight: 300; text-shadow: 0 2px 18px rgba(0, 0, 0, .9); }
.endless .actions { justify-content: center; }

/* Principles on the dark stage */
.home .principles-sec { padding: 40px 0 90px; }
.home .card { background: rgba(8, 18, 20, .82); border-color: rgba(255, 255, 255, .12); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.home .card p { color: #c7d5d0; }
.home .card .tag { color: #a9bbb5; }
.home .card .icon { background: rgba(255, 255, 255, .08); }
.home .card.c-teal { --c: #5cc8bc; } .home .card.c-rust { --c: #f39566; }
.home .sec-head p { color: #c7d5d0; }

/* About page: the outpost, framed */
.about-window { max-width: 760px; margin-top: 32px; }
.about-window img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
