/*
 * manicmedialabs.com - the public site.
 *
 * One hand-written stylesheet, no build step. The look is a control room
 * after dark: near-black glass, a hot "on air" magenta, an electric cyan,
 * and a signal yellow used sparingly. Its devices are borrowed from the
 * creator's own tools, and only these, so it stays a look and not a
 * costume:
 *
 *   - the co-host panel: the app's round co-host bubbles (the hero, 6);
 *   - the on-air light: a pulsing dot beside anything live or coming (4);
 *   - the tally frame: a thin coloured edge on whatever is "selected" (8).
 *
 * Every colour is a light-dark() pair. The page follows the device until
 * the visitor presses the sun/moon toggle (site.js stores it, theme.js
 * applies it before first paint by setting data-theme on <html>).
 *
 * Contents
 *   1. Fonts and tokens
 *   2. Base
 *   3. Layout helpers
 *   4. Buttons, badges, fields
 *   5. Nav
 *   6. Hero and the co-host panel
 *   7. Stats strip
 *   8. Product cards
 *   9. Rules
 *  10. Product pages and pictures
 *  11. Forms: signup and contact
 *  12. Prose pages, single pages, notices
 *  13. Footer
 *  14. Consent banner
 *  15. Motion
 */

/* ------------------------------------------------------------------ 1 -- */

/* Self-hosted on purpose. A font fetched from somebody else's server tells
   them every visitor's IP address, and the privacy page says nobody else
   learns you were here. Both are SIL Open Font License - see the LICENSE
   files beside them. */
@font-face {
  font-family: "Oxanium";
  src: url("/assets/fonts/oxanium-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* surfaces */
  --bg: light-dark(#f7f6fb, #0a0910);
  --bg-2: light-dark(#efedf6, #110f1a);
  --card: light-dark(#ffffff, #15131f);
  --card-2: light-dark(#f4f2fa, #1c1929);
  --line: light-dark(#dcd8e8, #2a2640);
  --line-2: light-dark(#c6c0d9, #3a3554);

  /* text */
  --ink: light-dark(#14111d, #f3f1fb);
  --ink-2: light-dark(#3f3b52, #c4c0d6);
  --ink-3: light-dark(#5a566d, #9894ad);

  /* brand: "on air" magenta, electric cyan, signal yellow. The light
     values are darker so text in them passes 4.5:1 on white. */
  --hot: light-dark(#c8105a, #ff3d86);
  --hot-soft: light-dark(#fde3ee, #3a1027);
  --cyan: light-dark(#0b6f86, #3fd8f2);
  --cyan-soft: light-dark(#dcf4f9, #0b2a33);
  --volt: light-dark(#8a6400, #ffd23f);
  --volt-soft: light-dark(#fbf0c9, #2e2709);

  /* the button's own fill, the same in both themes so its text never moves */
  --on-hot: #ffffff;
  --hot-fill: #d3135f;

  /* per-product pairs: Social Co-host keeps its own site's red-to-violet,
     the clipper is cyan-to-yellow */
  --live-a: #fe2c55;
  --live-b: #6d28d9;
  --clip-a: #12b5d6;
  --clip-b: #f5b700;

  --radius: 12px;
  --radius-lg: 20px;
  /* light-dark() takes colours only, so the shadow's colours are the pair
     and its geometry is shared. */
  --shadow-near: light-dark(rgb(20 17 29 / 6%), rgb(255 255 255 / 4%));
  --shadow-far: light-dark(rgb(20 17 29 / 24%), rgb(0 0 0 / 75%));
  --shadow: 0 1px 2px var(--shadow-near), 0 24px 56px -28px var(--shadow-far);

  --font-display: "Oxanium", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 64ch;
  --focus: var(--cyan);
}

:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}

/* ------------------------------------------------------------------ 2 -- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--hot);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-2);
}

code {
  font-size: 0.9em;
  background: var(--card-2);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}

::selection {
  background: var(--hot);
  color: #fff;
}

/* ------------------------------------------------------------------ 3 -- */

.shell {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.kicker,
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hot);
  margin: 0 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 40rem;
}

.muted {
  color: var(--ink-3);
}
.small {
  font-size: 0.9rem;
}

.cols {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
@media (min-width: 860px) {
  .cols {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.sr-only,
.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--hot-fill);
  color: var(--on-hot);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
}

/* ------------------------------------------------------------------ 4 -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  border-color: var(--ink-3);
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.btn--primary {
  background: var(--hot-fill);
  border-color: var(--hot-fill);
  color: var(--on-hot);
  box-shadow: 0 10px 30px -12px rgb(211 19 95 / 70%);
}
.btn--primary:hover {
  background: #b80f51;
  border-color: #b80f51;
}

.btn--sm {
  min-height: 38px;
  padding: 0.4rem 0.95rem;
  font-size: 0.92rem;
}
.btn--lg {
  min-height: 54px;
  padding: 0.85rem 1.6rem;
  font-size: 1.08rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* The badge says what stage a product is at. The dot pulses only for one
   that is coming - something about to go on air. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ink-3);
}
.badge--soon {
  color: var(--hot);
  border-color: color-mix(in srgb, var(--hot) 40%, transparent);
  background: var(--hot-soft);
}
.badge--soon::before {
  background: var(--hot);
  animation: on-air 1.6s ease-in-out infinite;
}
.badge--dev {
  color: var(--cyan);
  border-color: color-mix(in srgb, var(--cyan) 40%, transparent);
  background: var(--cyan-soft);
}
.badge--dev::before {
  background: var(--cyan);
}
.badge--out {
  color: var(--volt);
  border-color: color-mix(in srgb, var(--volt) 40%, transparent);
  background: var(--volt-soft);
}
.badge--out::before {
  background: var(--volt);
}

.on-air {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 60%, transparent);
  animation: on-air 1.6s ease-in-out infinite;
  flex: none;
}

.label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}
.field::placeholder {
  color: var(--ink-3);
}
.field:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 35%, transparent);
}
.field[aria-invalid="true"] {
  border-color: var(--hot);
}
textarea.field {
  min-height: 9rem;
  resize: vertical;
}

.hint {
  font-size: 0.9rem;
  color: var(--ink-3);
  margin: 0.35rem 0 0;
}

.error {
  color: var(--hot);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.4rem 0 0;
}

/* The honeypot: off-screen, never display:none, which bots look for. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ 5 -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.brand .logo {
  width: 36px;
  height: 36px;
  flex: none;
}
.brand:hover .logo-wave,
.brand:focus-visible .logo-wave {
  animation: redraw 0.9s ease-out;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  color: var(--ink-2);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--card-2);
}
.nav-link[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--hot);
  border-radius: 0;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-toggle,
.nav-burger {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle svg,
.nav-burger svg {
  width: 20px;
  height: 20px;
}
.theme-toggle[hidden] {
  display: none;
}

/* The moon shows in light (press for dark), the sun in dark. */
.theme-icon--sun {
  display: none;
}
:root[data-theme="dark"] .theme-icon--sun {
  display: block;
}
:root[data-theme="dark"] .theme-icon--moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon--sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme-icon--moon {
    display: none;
  }
}

.nav-burger {
  display: none;
}

@media (max-width: 820px) {
  .nav-burger {
    display: inline-grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-link {
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
  }
  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--hot);
    border-radius: 0;
  }
  .nav-links .btn {
    margin-top: 0.5rem;
  }
}

/* ------------------------------------------------------------------ 6 -- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

/* Two soft studio lights behind the headline. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(40rem 26rem at 12% 20%, color-mix(in srgb, var(--hot) 22%, transparent), transparent 70%),
    radial-gradient(36rem 24rem at 88% 30%, color-mix(in srgb, var(--cyan) 18%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--hot), color-mix(in srgb, var(--hot) 45%, var(--cyan)) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-bottom: 1.8rem;
}

/* The deck: a live show on air - the co-host panel, then its chat. */
.deck {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: var(--shadow);
  padding: 1rem;
  margin: 0;
}

.deck-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.15rem 0.25rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.deck-bar .deck-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--hot);
}
.deck-bar .deck-time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.deck-screen {
  border-radius: 12px;
  background: light-dark(#14111d, #07060b);
  padding: 1rem 1rem 0.75rem;
  overflow: hidden;
}

/* The co-host panel: Social Co-host's round bubbles, as the app draws
   them. The one on air glows in the product's accent; its level bars
   bounce. */
.cohost-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 3vw, 1.25rem);
  justify-items: center;
  padding: 0.6rem 0 0.4rem;
}
.cohost {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 8.5rem;
}
.cohost-bubble {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.2rem;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #34303f, #1b1924 70%);
  border: 1px solid rgb(255 255 255 / 10%);
  box-shadow: 0 6px 18px rgb(0 0 0 / 45%), inset 0 1px 0 rgb(255 255 255 / 8%);
  text-align: center;
}
.cohost-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  color: #f1eff8;
}
.cohost-state {
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 1.7vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a96ad;
}
.cohost-on {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: #3ddc97;
}
.cohost-on::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.cohost.is-talking .cohost-bubble {
  background: radial-gradient(circle at 50% 35%, #4a1f44, #1f1328 70%);
  border-color: transparent;
  box-shadow:
    0 0 0 2px var(--live-a),
    0 0 0 5px color-mix(in srgb, var(--live-b) 55%, transparent),
    0 0 28px color-mix(in srgb, var(--live-a) 55%, transparent);
  animation: talking 1.8s ease-in-out infinite;
}
.cohost.is-talking .cohost-state {
  color: #ff6b8e;
}
.cohost-level {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.cohost-level i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(var(--live-a), var(--live-b));
  transform-origin: bottom;
  animation: level 0.9s ease-in-out infinite;
}
.cohost-level i:nth-child(2) { animation-delay: -0.3s; }
.cohost-level i:nth-child(3) { animation-delay: -0.6s; }
.cohost-level i:nth-child(4) { animation-delay: -0.15s; }
.cohost-level i:nth-child(5) { animation-delay: -0.45s; }
.cohost-volume {
  position: relative;
  width: 80%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2ee6e6 var(--v), #4a4566 var(--v));
}
.cohost-volume::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--v);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2ee6e6;
  transform: translate(-50%, -50%);
}

.deck-chat {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.deck-chat li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.deck-chat b {
  font-family: var(--font-display);
  color: var(--ink);
  white-space: nowrap;
}
.deck-chat .deck-who.deck-who--chat {
  background: var(--cyan-soft);
  color: var(--cyan);
}
.deck-chat .deck-who {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: var(--hot-soft);
  color: var(--hot);
  white-space: nowrap;
}

.deck figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ 7 -- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin: 0;
}
.stats-grid > div {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  border-left: 1px solid var(--line);
}
.stats-grid > div:first-child {
  border-left: 0;
}
.stats-grid dt {
  order: 2;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.stats-grid .stat-n {
  order: 1;
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--hot);
}
.stats-grid > div:nth-child(2n) .stat-n {
  color: var(--cyan);
}
.stats-grid .stat-note {
  order: 3;
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-3);
}
@media (max-width: 520px) {
  .stats-grid > div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stats-grid > div:first-child {
    border-top: 0;
  }
}

/* ------------------------------------------------------------------ 8 -- */

.cards {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* A product card. Its accent pair (--a, --b) comes from the product's
   `accent` in config/site.php. The tally frame is the top edge. */
.product-card {
  --a: var(--live-a);
  --b: var(--live-b);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--a), var(--b));
}
.product-card::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -9rem;
  top: -11rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 22%, transparent), transparent);
  pointer-events: none;
}
.accent-clip {
  --a: var(--clip-a);
  --b: var(--clip-b);
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.product-card-head .badge {
  margin-left: auto;
}

.product-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: #fff;
  flex: none;
  box-shadow: 0 10px 24px -12px var(--a);
}
.product-mark svg {
  width: 28px;
  height: 28px;
}
.product-mark--lg {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}
.product-mark--lg svg {
  width: 40px;
  height: 40px;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}
.product-card h3 a {
  color: inherit;
  text-decoration: none;
}
.product-card h3 a:hover {
  text-decoration: underline;
}

.product-card-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.product-card-shot figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-3);
  background: var(--card-2);
}

.facts {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.15rem;
}
.facts dd {
  margin: 0;
  color: var(--ink-2);
}
@media (max-width: 480px) {
  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 620px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--card-2);
  border: 1px solid var(--line);
}
.steps .step-n {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--a);
  margin-bottom: 0.25rem;
}
.steps h4 {
  margin: 0 0 0.25rem;
}
.steps p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.product-card .btn-row {
  margin-top: auto;
}

/* The "more coming" slot: the same frame, empty, waiting for a signal. */
.product-card--next {
  --a: var(--volt);
  --b: var(--hot);
  border-style: dashed;
  box-shadow: none;
  background: transparent;
  justify-content: center;
}
@media (min-width: 900px) {
  .product-card--next {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .product-card--next > div {
    flex: 1 1 24rem;
  }
}
.product-card--next p {
  margin: 0;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ 9 -- */

.rules {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .rules {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .rules {
    grid-template-columns: repeat(4, 1fr);
  }
}
.rule {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.rule-n {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--hot);
  margin-bottom: 0.6rem;
}
.rule:nth-child(2n) .rule-n {
  color: var(--cyan);
}
.rule h3 {
  font-size: 1.15rem;
}
.rule p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.cta {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(30rem 16rem at 0% 0%, color-mix(in srgb, var(--hot) 16%, transparent), transparent 70%),
    radial-gradient(30rem 16rem at 100% 100%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 70%),
    var(--card);
}
@media (min-width: 820px) {
  .cta {
    grid-template-columns: 1fr auto;
  }
}
.cta h2 {
  margin-bottom: 0.35rem;
}
.cta p {
  margin: 0;
  color: var(--ink-2);
}

/* ----------------------------------------------------------------- 10 -- */

.page-head {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.page-head .lede {
  margin-bottom: 0;
}

.product-hero {
  --a: var(--live-a);
  --b: var(--live-b);
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(36rem 22rem at 10% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%),
    radial-gradient(36rem 22rem at 90% 100%, color-mix(in srgb, var(--b) 18%, transparent), transparent 70%);
}
.product-hero.accent-clip {
  --a: var(--clip-a);
  --b: var(--clip-b);
}
.product-hero-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-body {
  --a: var(--live-a);
}
.product-body.accent-clip {
  --a: var(--clip-a);
}
.product-body-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
.product-body .panels {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.product-body .panels .panel + .panel {
  margin-top: 0;
}

.crumbs {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: var(--ink-3);
}
.crumbs a {
  color: var(--ink-2);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1rem;
  height: 0.55rem;
  border-left: 2.5px solid var(--a, var(--hot));
  border-bottom: 2.5px solid var(--a, var(--hot));
  transform: rotate(-45deg);
}
.feature-list--planned li::before {
  border: 2px dashed var(--ink-3);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  transform: none;
  top: 1.1rem;
}

.panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
}
.panel h2 {
  font-size: 1.35rem;
}
.panel + .panel {
  margin-top: 1.25rem;
}

.gallery {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gallery figure,
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.gallery figcaption,
.shot figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.callout {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
  background: var(--cyan-soft);
  color: var(--ink);
}
.callout p:last-child {
  margin: 0;
}

/* ----------------------------------------------------------------- 11 -- */

.signup h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 0.35rem;
}
.signup-blurb {
  color: var(--ink-2);
}
.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 34rem;
}
.signup-row .field {
  flex: 1 1 15rem;
  border-radius: 999px;
  padding-inline: 1.1rem;
}
.signup-fine {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0.7rem 0 0;
  max-width: 40rem;
}
.signup-status {
  margin: 0.6rem 0 0;
  font-weight: 600;
  color: var(--cyan);
}
.signup-status:empty {
  display: none;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
}

/* ----------------------------------------------------------------- 12 -- */

.prose {
  max-width: var(--measure);
}
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-top: 2.25rem;
}
.prose h3 {
  margin-top: 1.75rem;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose li::marker {
  color: var(--hot);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.table-wrap th,
.table-wrap td {
  border-bottom-color: var(--line);
}
.table-wrap tr:last-child td {
  border-bottom: 0;
}

/* A page with one job: sign in, confirm, unsubscribe, an error. */
.single {
  width: min(34rem, 100% - 2rem);
  margin: clamp(3rem, 10vw, 6rem) auto;
}
.single h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.notice {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent);
  background: var(--cyan-soft);
  color: var(--ink);
}
.notice--warn {
  border-color: color-mix(in srgb, var(--volt) 50%, transparent);
  background: var(--volt-soft);
}

/* ----------------------------------------------------------------- 13 -- */

.footer {
  margin-top: clamp(2rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-signup {
  padding-block: clamp(2.5rem, 6vw, 4rem) 0;
}
.footer-signup .cta {
  grid-template-columns: 1fr;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand .logo {
  width: 28px;
  height: 28px;
}
.footer-copy {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--hot);
  text-decoration: underline;
}

/* ----------------------------------------------------------------- 14 -- */

.consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent[hidden] {
  display: none;
}
.consent-inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 52rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: var(--shadow);
}
.consent-copy {
  flex: 1 1 22rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.consent-actions {
  display: flex;
  gap: 0.6rem;
}
/* Refusing must be as easy as accepting: the two buttons are identical. */
.consent-actions .btn {
  min-width: 7rem;
}

/* ----------------------------------------------------------------- 15 -- */

@keyframes on-air {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 55%, transparent);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 6px transparent;
  }
}

@keyframes redraw {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes talking {
  50% {
    box-shadow:
      0 0 0 2px var(--live-a),
      0 0 0 8px color-mix(in srgb, var(--live-b) 30%, transparent),
      0 0 40px color-mix(in srgb, var(--live-a) 70%, transparent);
  }
}

@keyframes level {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

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