/* Banana Bytes LLC — site styles.
   Dark, typographic, one accent (brand yellow). No third-party requests:
   the fonts are served from assets/fonts/. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-var-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d10;
  --bg-raised: #131317;
  --line: #27272d;
  --line-soft: #1b1b20;
  --text: #edece7;
  --muted: #a5a49d;
  --faint: #77766f;
  --accent: #ffe135;        /* brand yellow */
  --accent-hover: #fff07a;
  --accent-ink: #15130a;    /* text on yellow */

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 11vw, 144px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}
.skip:focus { top: 16px; }

/* ---------- type ---------- */

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.04;
  font-variation-settings: "opsz" 72;
}
h1 em { font-style: italic; font-weight: 350; }
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  font-variation-settings: "opsz" 60;
}
h3 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 28;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.lede {
  max-width: 34em;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.section-intro {
  max-width: 32em;
  margin-top: 20px;
  color: var(--muted);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 16, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; fill: var(--accent); flex: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.text-link::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}
.text-link:hover::after { transform: translateX(4px); }

/* ---------- hero ---------- */

.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: 40px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 34em;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.credential svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }

.hero-visual { justify-self: end; width: 100%; max-width: 420px; }
.matrix { width: 100%; height: auto; }
.matrix .off-a { fill: #ffffff; opacity: 0.05; }
.matrix .off-b { fill: #ffffff; opacity: 0.11; }
.matrix .on-a  { fill: var(--accent); }
.matrix .on-b  { fill: var(--accent); opacity: 0.72; }
.matrix .on-c  { fill: var(--accent); opacity: 0.42; }

/* ---------- sections ---------- */

.section { padding: var(--section-y) 0; border-bottom: 1px solid var(--line-soft); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split .section-head { margin-bottom: 0; position: sticky; top: 112px; }

/* services */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.service { padding-top: 28px; border-top: 1px solid var(--line); }
.index {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.service h3 + p { margin-top: 12px; color: var(--muted); }
.service ul { margin-top: 28px; }
.service li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

/* approach */

.principles { counter-reset: principle; border-top: 1px solid var(--line); }
.principles li {
  counter-increment: principle;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.principles li::before {
  content: counter(principle, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 7px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.principles p { max-width: 34em; margin-top: 8px; color: var(--muted); }

/* contact */

.contact { background: var(--bg-raised); }
.contact-inner { max-width: 760px; }
.contact-email {
  display: inline-block;
  margin-top: 40px;
  padding-bottom: 6px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 2px no-repeat;
  transition: color 0.25s var(--ease), background-size 0.35s var(--ease);
}
.contact-email:hover {
  color: var(--accent-ink);
  background-size: 100% 100%;
}

/* ---------- footer ---------- */

.site-footer { padding: clamp(48px, 6vw, 80px) 0 32px; background: #09090b; border-top: 1px solid var(--line-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.footer-about .brand-mark { width: 24px; height: 24px; }
.footer-about .brand-name { font-size: 1.2rem; }
.footer-about p { max-width: 24em; margin-top: 16px; color: var(--muted); font-size: 0.93rem; }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  font-size: 0.74rem !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-badge svg { width: 13px; height: 13px; fill: var(--accent); flex: none; }
.footer-col h2 {
  margin-bottom: 16px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--muted); font-size: 0.93rem; text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-base { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 0.84rem; }

/* ---------- motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes settle {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes bit {
  0%, 100% { opacity: 0.42; }
  50%      { opacity: 1; }
}

.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-visual { animation: settle 1.2s var(--ease) 0.15s both; }
.matrix .on-c { animation: bit 5s ease-in-out 1.4s infinite; }
.matrix .on-b { animation: bit 7s ease-in-out 3s infinite reverse; }

/* Scroll reveal: only when the script has run, so the page reads fine without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .services .reveal:nth-child(2), .js .principles .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .services .reveal:nth-child(3), .js .principles .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .principles .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-self: start; max-width: 300px; order: -1; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .section-head { margin-bottom: clamp(32px, 6vw, 48px); position: static; }
  .services { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { flex-wrap: wrap; justify-content: space-between; gap: 0 16px; height: auto; padding-top: 11px; }
  .site-nav {
    order: 3;
    width: 100%;
    gap: 26px;
    margin: 11px 0 0;
    padding: 4px 0;
    border-top: 1px solid var(--line-soft);
  }
  .site-nav a { padding: 8px 0; font-size: 0.9rem; }
  html { scroll-padding-top: 118px; }
  .hero-visual { max-width: 200px; }
  .principles li { grid-template-columns: 44px minmax(0, 1fr); }
}

/* =====================================================================
   Product pages
   ===================================================================== */

:root {
  --surface: #121216;
  --surface-2: #17171c;
  --radius: 14px;
  --glow: rgba(255, 225, 53, 0.14);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.button-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px #3a3a42;
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--accent); }

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 225, 53, 0.16), rgba(255, 225, 53, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 225, 53, 0.28);
  color: var(--accent);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 225, 53, 0.35);
  border-radius: 999px;
  background: rgba(255, 225, 53, 0.07);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; color: var(--faint); font-size: 0.86rem; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--text); border-color: var(--accent); }
.crumbs span[aria-hidden] { color: #3a3a42; }

/* ----- product hero ----- */

.p-hero {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 120px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  isolation: isolate;
}
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 70% at 78% 38%, rgba(255, 225, 53, 0.13), transparent 62%),
    radial-gradient(40% 55% at 8% 0%, rgba(120, 140, 255, 0.07), transparent 70%);
}
.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 85% at 70% 35%, #000, transparent 78%);
  mask-image: radial-gradient(75% 85% at 70% 35%, #000, transparent 78%);
}
.p-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.p-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.p-hero .lede { color: #b9b8b1; }
.p-hero-center { max-width: 820px; margin: 0 auto; text-align: center; }
.p-hero-center .eyebrow { justify-content: center; }
.p-hero-center .lede { margin-left: auto; margin-right: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.86rem;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ----- console illustration ----- */

.console {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1b1b21, #111115);
  box-shadow: var(--shadow), 0 0 120px -20px var(--glow);
  animation: settle 1.2s var(--ease) 0.15s both;
}
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 225, 53, 0.55), rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: #34343b; }
.console-url {
  flex: 1;
  min-width: 0;
  padding: 6px 12px;
  border-radius: 7px;
  background: #0c0c0f;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-flag {
  flex: none;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.console-body { padding: 18px; }
.console figcaption, .art figcaption {
  position: absolute;
  right: 14px;
  bottom: -26px;
  color: var(--faint);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.peel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 7px; background: #0e0e12; overflow: hidden; }
.tile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--faint);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.tile-bar i { width: 5px; height: 5px; border-radius: 50%; background: #34343b; }
.tile-body { display: grid; gap: 5px; padding: 10px 9px 13px; }
.tile-body b { display: block; height: 5px; border-radius: 2px; background: #26262d; }
.tile-body b:nth-child(1) { width: 62%; height: 8px; background: #34343c; }
.tile-body b:nth-child(2) { width: 100%; }
.tile-body b:nth-child(3) { width: 84%; }
.tile-body b:nth-child(4) { width: 44%; }
.tile.is-different { border-color: var(--accent); background: rgba(255, 225, 53, 0.07); box-shadow: 0 0 24px -6px rgba(255, 225, 53, 0.45); }
.tile.is-different .tile-bar { border-color: rgba(255, 225, 53, 0.3); color: var(--accent); }
.tile.is-different .tile-bar i { background: var(--accent); animation: bit 2.4s ease-in-out infinite; }
.tile.is-different .tile-body b { background: rgba(255, 225, 53, 0.5); }
.tile.is-different .tile-body b:nth-child(1) { width: 40%; margin: 0 auto; background: var(--accent); }
.tile.is-different .tile-body b:nth-child(2),
.tile.is-different .tile-body b:nth-child(3) { width: 78%; height: 9px; margin: 0 auto; background: transparent; border: 1px solid rgba(255, 225, 53, 0.6); }
.tile.is-different .tile-body b:nth-child(4) { width: 46%; height: 8px; margin: 2px auto 0; }

/* ----- sub navigation ----- */

.subnav {
  position: sticky;
  top: 68px;
  z-index: 9;
  background: rgba(13, 13, 16, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.subnav-row { display: flex; align-items: center; gap: 28px; height: 54px; }
.subnav-name { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
.subnav-links { display: flex; gap: 26px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { padding: 16px 0; color: var(--muted); font-size: 0.88rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.subnav-links a:hover { color: var(--text); }
.subnav-links a.is-current { color: var(--text); border-color: var(--accent); }
.has-subnav { scroll-padding-top: 140px; }

/* ----- fact band ----- */

.facts { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-soft); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 400; line-height: 1; color: var(--accent); font-variation-settings: "opsz" 72; }
.fact span { display: block; max-width: 16em; margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* ----- section heads on product pages ----- */

.head-center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.head-center .eyebrow { justify-content: center; }
.head-center .section-intro { margin-left: auto; margin-right: auto; max-width: 38em; }

.prose p { max-width: 36em; color: var(--muted); font-size: 1.06rem; }
.prose p + p { margin-top: 20px; }
.prose p:first-child { color: var(--text); font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.35; font-variation-settings: "opsz" 32; }

/* ----- steps ----- */

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.step {
  position: relative;
  padding: 32px 28px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  left: 84px;
  right: -40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 225, 53, 0.6), rgba(255, 225, 53, 0));
}
.step p { margin-top: 10px; color: var(--muted); }

/* ----- spotlights ----- */

.spotlights { display: grid; gap: clamp(56px, 8vw, 112px); }
.spotlight { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.spotlight.is-reversed .spot-copy { order: 2; }
.spot-copy h3 { margin-top: 22px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.12; font-weight: 400; font-variation-settings: "opsz" 48; }
.spot-copy > p { max-width: 30em; margin-top: 14px; color: var(--muted); font-size: 1.04rem; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: 0.98rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 225, 53, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23ffe135' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.art {
  position: relative;
  margin: 0;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(255, 225, 53, 0.09), transparent 70%),
    linear-gradient(180deg, var(--surface-2), #0f0f13);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.art figcaption { right: 16px; bottom: 12px; }
.art svg { width: 100%; height: auto; max-width: 440px; }

/* globe */
.globe .grid-line { fill: none; stroke: #33333b; stroke-width: 1; }
.globe .rim { fill: #101014; stroke: #44444d; stroke-width: 1.2; }
.globe .link { fill: none; stroke: rgba(255, 225, 53, 0.5); stroke-width: 1.2; stroke-dasharray: 3 5; }
.globe .pt { fill: var(--accent); }
.globe .ring { fill: none; stroke: var(--accent); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 3.2s ease-out infinite; }
.globe .ring.d2 { animation-delay: 0.8s; }
.globe .ring.d3 { animation-delay: 1.6s; }
.globe .ring.d4 { animation-delay: 2.4s; }
.globe .tag rect { fill: #0c0c0f; stroke: #3a3a42; }
.globe .tag text { fill: var(--text); font-family: var(--sans); font-size: 12px; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }

/* devices */
.devices { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2vw, 20px); width: 100%; }
.device { border: 1.5px solid #4a4a54; background: #0e0e12; display: grid; align-content: start; gap: 6px; padding: 12px 10px; }
.device b { display: block; height: 5px; border-radius: 2px; background: #2a2a31; }
.device b:first-child { width: 60%; height: 8px; background: #3a3a42; }
.device b:nth-child(3) { width: 80%; }
.device b:nth-child(4) { width: 50%; }
.device.desktop { width: 46%; aspect-ratio: 16 / 10; border-radius: 8px 8px 3px 3px; position: relative; margin-bottom: 18px; }
.device.desktop::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -18px; height: 16px; border: 1.5px solid #4a4a54; border-top: 0; border-radius: 0 0 6px 6px; }
.device.tablet { width: 24%; aspect-ratio: 3 / 4; border-radius: 10px; }
.device.phone { width: 13%; aspect-ratio: 9 / 19; border-radius: 12px; padding: 14px 7px; }
.device.is-different { border-color: var(--accent); background: rgba(255, 225, 53, 0.07); box-shadow: 0 0 28px -6px rgba(255, 225, 53, 0.5); }
.device.is-different b { background: rgba(255, 225, 53, 0.5); margin: 0 auto; }
.device.is-different b:first-child { background: var(--accent); }
.device.is-different b:nth-child(2), .device.is-different b:nth-child(3) { width: 84%; height: 9px; background: transparent; border: 1px solid rgba(255, 225, 53, 0.6); }
.device-labels { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.device-labels span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.76rem; }
.art-stack { width: 100%; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; width: 100%; max-width: 460px; }
.compare-card { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: #0e0e12; overflow: hidden; }
.compare-card header { padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-card div { display: grid; gap: 7px; padding: 16px 14px 20px; }
.compare-card b { display: block; height: 6px; border-radius: 3px; background: #2a2a31; }
.compare-card b:first-child { width: 58%; height: 10px; background: #3a3a42; }
.compare-card b:nth-child(3) { width: 82%; }
.compare-card b:nth-child(4) { width: 46%; }
.compare-card.is-different { border-color: var(--accent); background: rgba(255, 225, 53, 0.06); box-shadow: 0 0 30px -8px rgba(255, 225, 53, 0.5); }
.compare-card.is-different header { color: var(--accent); border-color: rgba(255, 225, 53, 0.3); }
.compare-card.is-different b { margin: 0 auto; background: rgba(255, 225, 53, 0.5); }
.compare-card.is-different b:first-child { background: var(--accent); width: 44%; }
.compare-card.is-different b:nth-child(2), .compare-card.is-different b:nth-child(3) { width: 82%; height: 12px; background: transparent; border: 1px solid rgba(255, 225, 53, 0.6); }
.compare-vs { color: var(--accent); font-size: 1.3rem; }
.compare-note { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }

/* graph */
.graph .edge { stroke: #3d3d46; stroke-width: 1.2; fill: none; }
.graph .edge.hot { stroke: rgba(255, 225, 53, 0.6); stroke-dasharray: 3 5; }
.graph .node rect { fill: #0e0e12; stroke: #44444d; }
.graph .node text { fill: var(--muted); font-family: var(--sans); font-size: 11.5px; }
.graph .node.root rect { fill: var(--accent); stroke: var(--accent); }
.graph .node.root text { fill: var(--accent-ink); font-weight: 600; }
.graph .node.hot rect { stroke: var(--accent); fill: rgba(255, 225, 53, 0.08); }
.graph .node.hot text { fill: var(--accent); }

/* record list */
.record { width: 100%; max-width: 440px; display: grid; gap: 10px; }
.record-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: #0e0e12; }
.record-thumb { height: 36px; border-radius: 5px; background: linear-gradient(135deg, #2c2c34, #1b1b20); border: 1px solid rgba(255, 255, 255, 0.07); }
.record-lines { display: grid; gap: 6px; }
.record-lines b { display: block; height: 6px; border-radius: 3px; background: #2a2a31; }
.record-lines b:first-child { width: 62%; background: #3d3d46; }
.record-lines b:last-child { width: 38%; }
.record-tag { padding: 4px 9px; border-radius: 999px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; color: var(--muted); border: 1px solid var(--line); }
.record-row.is-shared { border-color: rgba(255, 225, 53, 0.45); }
.record-row.is-shared .record-tag { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* ----- cards ----- */

.cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 30px 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 225, 53, 0.45); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -30px var(--glow); }
.card h3 { margin-top: 22px; font-size: 1.4rem; }
.card p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
.card-note { margin-top: 28px; color: var(--faint); font-size: 0.88rem; text-align: center; }
.band { background: var(--surface); }

/* ----- featured product (products index) ----- */

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 225, 53, 0.1), transparent 65%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
}
.showcase h2 { margin-top: 20px; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.showcase-copy > p { max-width: 30em; margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.showcase .console { animation: none; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; }

/* ----- closing call to action ----- */

.cta-band { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; isolation: isolate; text-align: center; border-bottom: 1px solid var(--line-soft); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 50% 100%, rgba(255, 225, 53, 0.16), transparent 70%), var(--surface); }
.cta-band h2 { max-width: 16em; margin: 0 auto; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.cta-band p { max-width: 34em; margin: 20px auto 0; color: var(--muted); font-size: 1.06rem; }
.cta-band .cta-actions { justify-content: center; }
.cta-mail { margin-top: 22px !important; font-size: 0.92rem !important; color: var(--faint) !important; }
.cta-mail a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 4px; }

.js .cards .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: 0.07s; }
.js .cards .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: 0.14s; }
.js .cards .reveal:nth-child(4) { transition-delay: 0.21s; }

@media (max-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .p-hero-grid, .spotlight, .showcase { grid-template-columns: minmax(0, 1fr); }
  .spotlight.is-reversed .spot-copy { order: 0; }
  .steps, .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .subnav-name { display: none; }
  .subnav-links { margin-left: 0; }
}
@media (max-width: 640px) {
  .subnav { top: 104px; }
  .has-subnav { scroll-padding-top: 176px; }
  .facts-row { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: 0; border-top: 1px solid var(--line-soft); padding-left: 0; }
  .fact:first-child { border-top: 0; }
  .cards-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .peel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .console-flag { display: none; }
  .art { min-height: 280px; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { justify-self: center; transform: rotate(90deg); }
}

.pill + h1 { margin-top: 22px; }

/* product page refinements */
.p-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.p-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); }
.art { padding-bottom: clamp(44px, 5vw, 56px); }
.graph .node text { font-size: 12.5px; }
@media (max-width: 640px) {
  .compare-vs { transform: none; }
}

.p-hero-center h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.p-hero-center { max-width: 900px; }

.ext-link { margin-top: 20px; font-size: 0.95rem; }
.ext-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; transition: color 0.2s var(--ease); }
.ext-link a:hover { color: var(--accent); }
.ext-link span[aria-hidden] { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.p-hero .ext-link + .chips { margin-top: 28px; }
