/* MCJ.LAND — main stylesheet.
 * Every colour and font goes through var(--token) from tokens.css.
 *
 * Sections: base · nav · buttons · hero · mockup · sections · services ·
 *           build · steps · contact · footer · cookie · legal ·
 *           reduced-motion · responsive.
 * ========================================================================= */

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

html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  background: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.6;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Faint grid + top glow behind the whole page. */
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 70rem; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 70% -8%, var(--color-accent-glow), transparent 65%),
    radial-gradient(48rem 30rem at 0% 10%, var(--color-accent-2-glow), transparent 70%),
    linear-gradient(var(--color-rule) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--color-rule) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(to bottom, black 0, black 40rem, transparent 70rem);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: -100%; left: var(--space-sm); z-index: 400;
  background: var(--color-accent); color: var(--color-accent-ink);
  font-family: var(--font-mono); font-size: var(--text-sm);
  padding: var(--space-2xs) var(--space-sm); text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus-visible { top: var(--space-2xs); }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; }

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ── NAV ───────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: var(--space-sm); left: 50%; z-index: 300;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 2 * var(--space-lg)));
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  height: 60px; padding: 0 var(--space-2xs) 0 var(--space-md);
  background: oklch(13.5% 0.008 250 / 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-short) var(--ease-out), background var(--dur-short) var(--ease-out);
}
.nav.scrolled { border-color: var(--color-rule-2); background: oklch(13.5% 0.008 250 / 0.82); }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-decoration: none;
  padding: var(--space-2xs) 0;
}
.brand img { width: 28px; height: 28px; }
.brand-dot { color: var(--color-accent); }

.nav-links { display: flex; align-items: center; gap: var(--space-3xs); list-style: none; }
.nav-links a {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-ink-2); text-decoration: none; white-space: nowrap;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-sm);
  transition: color var(--dur-short) var(--ease-out), background var(--dur-short) var(--ease-out);
}
.nav-links a:hover { color: var(--color-ink); background: var(--color-card-2); }
.nav-links .nav-cta { margin-left: var(--space-2xs); }
.nav-links .nav-cta a {
  background: var(--color-ink); color: var(--color-paper); font-weight: 500;
}
.nav-links .nav-cta a:hover { background: var(--color-accent); color: var(--color-accent-ink); }

.nav-mob {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none; color: var(--color-ink); cursor: pointer;
}
.nav-mob svg { width: 22px; height: 22px; }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn-solid, .btn-line {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out),
              transform var(--dur-short) var(--ease-out);
}
.btn-solid {
  background: var(--color-accent); color: var(--color-accent-ink);
  box-shadow: 0 0 0 1px var(--color-accent), 0 8px 30px var(--color-accent-glow);
}
.btn-solid:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--color-accent), 0 10px 40px var(--color-accent-glow); }
.btn-line {
  background: var(--color-card); color: var(--color-ink);
  border-color: var(--color-rule-2);
}
.btn-line:hover { border-color: var(--color-ink-3); background: var(--color-card-2); }
.btn-solid .arr, .btn-line .arr { transition: transform var(--dur-short) var(--ease-out); }
.btn-solid:hover .arr, .btn-line:hover .arr { transform: translateX(3px); }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  padding: calc(60px + var(--space-3xl)) var(--space-lg) var(--space-2xl);
  max-width: calc(1180px + 2 * var(--space-lg)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-xl); align-items: center;
}
.hero-copy > * { animation: rise var(--dur-long) var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 80ms; }
.hero-copy > :nth-child(3) { animation-delay: 160ms; }
.hero-copy > :nth-child(4) { animation-delay: 240ms; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-lg);
}
.hero-title .serif { color: var(--color-accent); font-size: 1.06em; }
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-ink-2);
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: var(--space-lg);
}
.hero-actions { display: flex; gap: var(--space-xs); flex-wrap: wrap; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ── MOCKUP (hero app window) ──────────────────────────────────────────── */
.status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: var(--text-xs);
  padding: 0.2rem 0.55rem; border-radius: var(--radius-pill);
  background: var(--color-card-2); color: var(--color-ink-2);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.watch { color: var(--color-accent-3); background: var(--color-accent-3-faint); }
.status.stock { color: var(--color-accent-4); background: var(--color-accent-4-faint); }
.status.done  { color: var(--color-accent);   background: var(--color-accent-faint); }
.status.watch::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* Automatic Checkout demo — main.js steps data-step 0→3 and loops. */
.status.cart { color: var(--color-accent-2); background: var(--color-accent-2-faint); }

/* ── SECTIONS ──────────────────────────────────────────────────────────── */
.section { padding: var(--space-3xl) var(--space-lg); }
.section.alt {
  background: linear-gradient(180deg, transparent, var(--color-paper-2) 18%, var(--color-paper-2) 82%, transparent);
}

.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl);
  align-items: end; margin-bottom: var(--space-xl);
}
.sec-label {
  display: inline-flex; gap: var(--space-2xs);
  color: var(--color-accent); margin-bottom: var(--space-sm);
}
.sec-label .idx { color: var(--color-ink-3); }
.sec-head h2, .sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.sec-head h2 .serif, .sec-title .serif { color: var(--color-ink-2); }
.sub-block { margin-top: var(--space-2xl); }
.sub-block > .sec-head { margin-bottom: var(--space-lg); }
.sub-block .sec-title { font-size: var(--text-2xl); }
.intro { color: var(--color-ink-2); max-width: 32rem; justify-self: end; }

/* ── SERVICES (home) ──────────────────────────────────────────────────── */

/* The package: pitch on the left, what's included on the right. */
.svc-parts { list-style: none; display: grid; gap: var(--space-2xs); }

/* Proxies on their own: one slim row under the package. */

/* ── CUSTOM DEVELOPMENT (home) ─────────────────────────────────────────── */
.lead { color: var(--color-ink-2); font-size: var(--text-lg); max-width: 36rem; margin-top: var(--space-sm); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.chips li {
  font-size: var(--text-sm); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  background: var(--color-accent-3-faint); color: var(--color-accent-3);
}
.feat-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.feat-group h4 { font-weight: 400; color: var(--color-ink-3); margin-bottom: var(--space-xs); }
.feat-group ul { list-style: none; display: grid; gap: var(--space-2xs); }
.feat {
  padding: 0.8rem var(--space-sm);
  background: var(--color-card-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 600;
}

/* ── BUILD (custom development) ────────────────────────────────────────── */
.build-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm);
}
.panel {
  --tone: var(--color-accent-2); --tone-faint: var(--color-accent-2-faint);
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.panel.checkout { --tone: var(--color-accent); --tone-faint: var(--color-accent-faint); }
.panel::before {
  content: ""; position: absolute; inset: -30% -30% auto auto; width: 60%; height: 50%;
  background: radial-gradient(closest-side, var(--tone-faint), transparent);
  pointer-events: none;
}
.panel .icon { margin-bottom: var(--space-md); }
.panel h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-2xl); line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: var(--space-2xs);
}
.panel > p { color: var(--color-ink-2); margin-bottom: var(--space-md); }
.spec { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs); }
.spec li {
  padding: var(--space-sm);
  background: var(--color-card);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.spec strong { display: block; font-weight: 600; color: var(--color-ink); margin-bottom: 0.2rem; }
.spec strong::before { content: "→ "; font-family: var(--font-mono); color: var(--tone); }
.spec li div { color: var(--color-ink-2); line-height: 1.55; }
.spec .wide { grid-column: 1 / -1; }

.badge {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--color-accent-4);
  background: var(--color-accent-4-faint);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
}
.fineprint {
  margin-top: var(--space-md);
  font-size: var(--text-sm); color: var(--color-ink-3);
}

/* ── STEPS (how it works) ──────────────────────────────────────────────── */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm);
  counter-reset: step;
}
.steps li { padding-top: var(--space-md); border-top: 2px solid var(--color-rule-2); }
.steps li:first-child { border-top-color: var(--color-accent); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: var(--space-sm);
  font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-ink-3);
}
.steps li:first-child::before { color: var(--color-accent); }
.steps h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-xl); letter-spacing: -0.02em; margin-bottom: var(--space-3xs);
}
.steps p { color: var(--color-ink-2); }

/* ── CONTACT ───────────────────────────────────────────────────────────── */
.section.contact { padding-top: var(--space-xl); }
.cta {
  position: relative; overflow: hidden;
  padding: var(--space-2xl) var(--space-xl);
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(40rem 22rem at 0% 120%, var(--color-accent-glow), transparent 70%),
    radial-gradient(30rem 20rem at 100% -20%, var(--color-accent-2-glow), transparent 70%),
    var(--color-paper-2);
}
.contact-big {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.03em;
}
.contact-big .serif { color: var(--color-accent); }

/* Home page: full-colour closing block. */
.cta.mint {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-md);
  text-align: center;
  background: var(--color-accent); color: var(--color-accent-ink);
  border-color: transparent;
  padding: var(--space-3xl) var(--space-lg);
}
.cta.mint .contact-big { font-size: var(--text-display); line-height: 0.95; }
.cta.mint .contact-big .serif { color: inherit; }
.btn-dark {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  min-height: 48px; padding: 0.8rem 1.4rem;
  background: var(--color-paper); color: var(--color-ink);
  font-weight: 600; text-decoration: none;
  border-radius: var(--radius-pill);
}
.btn-dark .arr { transition: transform var(--dur-short) var(--ease-out); }
.btn-dark:hover .arr { transform: translateX(3px); }

/* ── PROXIES & CARDS PAGE ─────────────────────────────────────────────── */
.page-hero {
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: calc(60px + var(--space-3xl)) var(--space-lg) var(--space-xl);
}
.page-hero .hero-title { margin: var(--space-md) 0; }
.page-sub { color: var(--color-ink-2); font-size: var(--text-lg); margin: 0 auto var(--space-lg); max-width: 34rem; }
.page-hero .hero-actions { justify-content: center; }
.panel.issue { --tone: var(--color-danger); --tone-faint: var(--color-danger-faint); }
.status.fail { color: var(--color-danger); background: var(--color-danger-faint); }

/* Smaller side-by-side use-case panels. */
.build-grid.compare { max-width: 860px; margin-inline: auto; }
.compare .panel { padding: var(--space-md); }
.compare .panel .icon { width: 36px; height: 36px; margin-bottom: var(--space-sm); }
.compare .panel .icon svg { width: 18px; height: 18px; }
.compare .panel h3 { font-size: var(--text-xl); }
.compare .panel > p { font-size: var(--text-sm); margin-bottom: var(--space-sm); }
.compare .spec { grid-template-columns: 1fr; }
.compare .spec li { padding: var(--space-xs) var(--space-sm); }

/* Proxy types. */
.chips.geo { justify-self: end; }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.type-card {
  display: flex; flex-direction: column; gap: var(--space-2xs);
  padding: var(--space-md);
  background: var(--color-card);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
}
.type-card h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.02em; }
.type-card p { color: var(--color-ink-2); font-size: var(--text-sm); }

.type-uses {
  display: grid; gap: var(--space-2xs);
  margin-top: auto; padding-top: var(--space-sm);
  border-top: 1px solid var(--color-rule);
}
.type-uses .mono { color: var(--color-ink-3); }
/* Only shown once at least one site is listed. */
.type-uses:not(:has(li)) { display: none; }
.sites { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3xs); }
.sites li {
  font-size: var(--text-xs); padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  background: var(--color-accent-3-faint); color: var(--color-accent-3);
}
.type-card > p { margin-bottom: var(--space-sm); }
.feat code { font-family: var(--font-mono); font-weight: 500; }

/* FAQ. */
.faq { display: grid; gap: var(--space-2xs); max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--color-card);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--color-ink-3); }
.faq details[open] summary::after { content: "−"; color: var(--color-accent); }
.faq details p { padding: 0 var(--space-md) var(--space-sm); color: var(--color-ink-2); max-width: 44rem; }

.cta.notify { text-align: center; }
.cta.notify .sec-label { justify-content: center; }
.cta.notify .hero-actions { justify-content: center; margin-top: var(--space-lg); }

/* Split hero: text left, product graphic right. */
.page-hero.split {
  max-width: calc(1180px + 2 * var(--space-lg)); text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl); align-items: center;
}
.page-hero.split .page-sub { margin-left: 0; }
.page-hero.split .hero-actions { justify-content: flex-start; }

/* ── PRODUCT GRAPHICS (decorative mock-ups, aria-hidden) ──────────────── */
.g-window {
  background: var(--color-paper-2);
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px oklch(0% 0 0 / 0.45);
}
.g-bar {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--color-rule);
  font-size: var(--text-sm);
}
.g-tag, .g-label, .g-num, .g-timer, .g-amber { font-family: var(--font-mono); }
.g-tag {
  font-size: var(--text-xs); color: var(--color-ink-2);
  background: var(--color-card-2); border-radius: 6px; padding: 0.15rem 0.45rem; margin-left: var(--space-3xs);
}
.g-label { display: block; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.g-muted { color: var(--color-ink-3); font-size: var(--text-xs); }
.g-live { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; color: var(--color-accent); }
.g-live::before, .g-dot { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.g-dots { display: inline-flex; gap: 5px; }
.g-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-rule-2); }
.g-lines { padding: var(--space-sm); font-family: var(--font-mono); font-size: var(--text-sm); line-height: 2; white-space: nowrap; overflow: hidden; }
.g-lines .dim, .g-code .dim { color: var(--color-ink-3); }
.g-btns { display: flex; flex-wrap: wrap; gap: var(--space-2xs); padding: 0 var(--space-sm) var(--space-sm); }
.g-btns.flat { padding: var(--space-xs) 0 0; }
.g-btn {
  display: inline-block; font-size: var(--text-xs); padding: 0.45rem 0.8rem;
  border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm);
}
.g-btn.on { background: var(--color-accent); color: var(--color-accent-ink); border-color: transparent; font-weight: 600; }
.g-btn.big { justify-self: start; font-size: var(--text-sm); padding: 0.7rem 1.1rem; }
.g-btn.danger { color: var(--color-danger); border-color: var(--color-danger-faint); }
.g-float {
  position: absolute; display: flex; align-items: center; gap: var(--space-2xs);
  padding: 0.6rem 0.9rem; border-radius: var(--radius-md);
  background: var(--color-paper-3); border: 1px solid var(--color-rule-2);
  font-size: var(--text-sm); white-space: nowrap;
  box-shadow: 0 14px 34px oklch(0% 0 0 / 0.4);
}
.g-float svg { width: 16px; height: 16px; color: var(--color-accent); }
.g-float.tr { top: 0; right: 0; }
.g-float.bl { bottom: 0; left: 0; }
.g-float.br { bottom: 0; right: 0; }

/* Virtual cards. */
.g-card {
  aspect-ratio: 1.6; border-radius: 18px; padding: var(--space-md);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--color-accent-2); color: var(--color-accent-2-ink);
}
.g-card-top, .g-card-foot { display: flex; justify-content: space-between; gap: var(--space-xs); }
.g-card-top { justify-content: flex-end; font-weight: 700; letter-spacing: 0.02em; }
.g-card-top em { font-style: italic; }
.g-card-num { font-family: var(--font-mono); font-size: clamp(0.8rem, 2.4vw, 1.15rem); letter-spacing: 0.06em; white-space: nowrap; }
.g-card-foot { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; }
.g-card.sm { width: 190px; padding: var(--space-sm); }
.g-card.sm .g-card-top { font-size: var(--text-xs); }
.g-card.sm .g-card-num { font-size: var(--text-sm); }

/* Proxy type cards. */
.type-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-2xs);
  border-radius: var(--radius-md); background: var(--color-accent-faint); color: var(--color-accent);
}
.type-icon svg { width: 22px; height: 22px; }
.seg {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px;
  padding: 3px; margin-bottom: var(--space-sm);
  background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-sm);
  font-size: var(--text-xs); text-align: center;
}
.seg li { padding: 0.45rem 0.2rem; border-radius: 6px; background: var(--color-card-2); }
.type-unit { margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); color: var(--color-accent); }

/* Shared vs private IP picture. */
.ipviz {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm); margin-bottom: var(--space-md);
  background: var(--color-paper); border-radius: var(--radius-md);
}
.ipviz .users { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ipviz .users span { width: 24px; height: 24px; border-radius: 50%; background: var(--color-paper-3); }
.ipviz .users .you { background: var(--color-accent); }
.ipviz .link { width: 2px; height: 18px; background: var(--color-rule-2); }
.ipviz .ip {
  display: flex; gap: var(--space-xs); font-family: var(--font-mono); font-size: var(--text-sm);
  padding: 0.45rem 0.8rem; border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm); background: var(--color-card);
}
.ok { color: var(--color-accent); }
.bad, .no { color: var(--color-danger); }

/* Mock-up beside a feature list. */
.g-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.g-split .feat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-lead { color: var(--color-ink-2); margin-top: var(--space-sm); max-width: 32rem; }
.cta.notify .g-lead { margin-inline: auto; }
.g-body { padding: var(--space-md); display: grid; gap: var(--space-sm); }
.g-meter { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); }
.g-meter > div:first-child { display: flex; justify-content: space-between; gap: var(--space-xs); }
.g-track { height: 8px; border-radius: var(--radius-pill); background: var(--color-rule-2); }
.g-track span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--color-accent); }
.g-track.violet span { background: var(--color-accent-2); }
.g-track.amber span { background: var(--color-accent-4); }
.g-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.g-fields .g-label { margin-bottom: 0.3rem; }
.g-input { display: block; padding: 0.55rem 0.7rem; border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm); font-size: var(--text-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bot + proxy + card band. */
.together {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center;
  padding: var(--space-xl);
  background: var(--color-card); border: 1px solid var(--color-rule-2); border-radius: var(--radius-lg);
}
.together > div > p { color: var(--color-ink-2); margin: var(--space-sm) 0 var(--space-md); max-width: 30rem; }

/* Orders on one card vs many. */
.orders {
  list-style: none; display: grid; gap: 3px; padding: var(--space-xs); margin-bottom: var(--space-md);
  background: var(--color-paper); border-radius: var(--radius-md); font-size: var(--text-sm);
}
.orders li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs); padding: 0.5rem 0.7rem; border-radius: var(--radius-sm); }
.orders li.bad { color: var(--color-ink); background: var(--color-danger-faint); }
.orders .g-num { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.chipcard { width: 22px; height: 14px; border-radius: 3px; background: var(--color-accent-2); }
.chipcard.alt { background: var(--color-accent-2-deep); }
.g-code { padding: var(--space-sm); font-family: var(--font-mono); font-size: var(--text-sm); line-height: 1.9; color: var(--color-ink-2); overflow-x: auto; }

/* Card controls. */
.g-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md); align-items: start; }
.g-rows { display: grid; }
.g-rows .g-meter { padding-bottom: var(--space-xs); border-bottom: 1px solid var(--color-rule); }
.g-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs); padding: 0.6rem 0; border-bottom: 1px solid var(--color-rule); font-size: var(--text-sm); }
.g-amber { font-size: var(--text-xs); color: var(--color-accent-4); margin-left: var(--space-3xs); }
.g-switch { display: flex; width: 36px; height: 20px; padding: 2px; border-radius: var(--radius-pill); background: var(--color-rule-2); flex-shrink: 0; }
.g-switch::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--color-ink-3); }
.g-switch.on { justify-content: flex-end; background: var(--color-accent-2); }
.g-switch.on::after { background: var(--color-accent-2-ink); }
.g-switch.amber { background: var(--color-accent-4); }
.g-alert {
  grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-md);
  background: var(--color-paper); font-size: var(--text-sm);
}
.g-alert span:nth-child(2) { flex: 1; }

/* Drop Mode band. */
.together.drop { border-color: var(--color-accent-4-faint); }
.together.drop .sec-label { color: var(--color-accent-4); }
.g-drop { padding: var(--space-md); display: grid; gap: var(--space-sm); }
.g-drop .g-row { border: 0; padding: 0; }
.g-drop-mid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.g-drop-mid strong { color: var(--color-ink); }
.g-timer { font-size: var(--text-2xl); color: var(--color-accent-4); }
.g-pills { display: flex; gap: 6px; }
.g-pills span { font-size: var(--text-xs); padding: 0.3rem 0.65rem; border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm); color: var(--color-ink-2); }
.g-pills .on { color: var(--color-accent-4); background: var(--color-accent-4-faint); border-color: transparent; }

/* Steps with a small picture each. */
.steps.art li { border-top: 0; padding-top: 0; }
@media (min-width: 901px) { .steps.art { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step-art {
  height: 7.5rem; margin-bottom: var(--space-sm); border-radius: var(--radius-md);
  background: var(--color-card); border: 1px solid var(--color-rule);
  position: relative; overflow: hidden;
}
.step-art.balance { display: flex; flex-direction: column; justify-content: center; gap: 0.2rem; padding: 0 var(--space-md); }
.step-art.balance strong { font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.g-up { font-size: var(--text-xs); color: var(--color-accent); }
.step-art.stack i {
  position: absolute; left: 50%; top: 50%; width: 7.5rem; height: 4.7rem; margin: -2.35rem 0 0 -4.5rem; border-radius: 10px;
  font-style: normal; font-family: var(--font-mono); font-size: 10px; display: flex; align-items: flex-end; padding: 0.6rem;
}
.step-art.stack i:nth-child(1) { background: var(--color-paper-3); transform: translateX(-1.6rem) rotate(-10deg); }
.step-art.stack i:nth-child(2) { background: var(--color-accent-2-deep); transform: translateX(-0.7rem) rotate(-4deg); }
.step-art.stack i:nth-child(3) { background: var(--color-accent-2); color: var(--color-accent-2-ink); transform: translateX(0.4rem); }
.step-art.stack .g-num { position: absolute; right: var(--space-sm); top: var(--space-xs); font-size: var(--text-sm); color: var(--color-accent-2); }
.step-art.assign { display: flex; flex-direction: column; justify-content: center; gap: var(--space-2xs); padding: 0 var(--space-sm); font-family: var(--font-mono); font-size: var(--text-xs); }
.step-art.assign div { display: flex; align-items: center; gap: var(--space-2xs); }
.step-art.assign span { padding: 0.35rem 0.5rem; border-radius: 6px; background: var(--color-card-2); }
.step-art.assign .c { background: var(--color-accent-2-faint); color: var(--color-accent-2); }
.step-art.assign b { color: var(--color-ink-3); font-weight: 400; }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.footer {
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  font-size: var(--text-sm);
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-rule);
}
.footer-top p, .footer-top address { color: var(--color-ink-3); font-style: normal; max-width: 22rem; margin-top: var(--space-2xs); }
.footer ul { list-style: none; }
.footer-links { margin-left: auto; }
.footer ul a { text-decoration: none; color: var(--color-ink-2); line-height: 2.1; }
.footer ul a:hover { color: var(--color-ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm);
  padding-top: var(--space-md);
  color: var(--color-ink-3);
  letter-spacing: 0.06em;
}

/* ── COOKIE BANNER ─────────────────────────────────────────────────────── */
.cookie {
  position: fixed; z-index: 350;
  left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm);
  max-width: 520px;
  background: oklch(17% 0.010 250 / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px oklch(0% 0 0 / 0.5);
  padding: var(--space-md);
  font-size: var(--text-sm);
}
.cookie[hidden] { display: none; }
.cookie p { color: var(--color-ink-2); margin-bottom: var(--space-sm); }
.cookie-actions { display: flex; gap: var(--space-2xs); flex-wrap: wrap; }
.cookie-actions button { cursor: pointer; font-size: var(--text-xs); padding: var(--space-2xs) var(--space-sm); }

/* ── LEGAL / SIMPLE PAGES ──────────────────────────────────────────────── */
.prose {
  max-width: 720px; margin: 0 auto;
  padding: calc(60px + var(--space-3xl)) var(--space-lg) var(--space-3xl);
}
.prose h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}
.prose h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-xl); letter-spacing: -0.02em;
  margin: var(--space-lg) 0 var(--space-2xs);
}
.prose p, .prose li { color: var(--color-ink-2); margin-bottom: var(--space-sm); }
.prose a:not(.btn-solid) { color: var(--color-accent); }
.prose ul { padding-left: var(--space-md); }
.prose .mono { color: var(--color-ink-3); }
.prose .updated { margin: calc(-1 * var(--space-2xs)) 0 var(--space-lg); }

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

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-xl); }
  .build-grid { grid-template-columns: 1fr; }
  .feat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: var(--space-md); }
  .intro { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips.geo { justify-self: start; }
  .page-hero.split, .g-split, .together { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { width: calc(100% - 2 * var(--space-sm)); top: var(--space-2xs); padding-left: var(--space-sm); }
  .nav-mob { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: calc(100% + var(--space-2xs)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: oklch(17% 0.010 250 / 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--color-rule-2);
    border-radius: var(--radius-md);
    padding: var(--space-2xs);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: var(--space-xs) var(--space-sm); }
  .nav-links .nav-cta { margin: var(--space-2xs) 0 0; }
  .nav-links .nav-cta a { text-align: center; }

  .hero, .section, .footer { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .hero { padding-top: calc(60px + var(--space-2xl)); }
  .section { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
  .panel { padding: var(--space-md); }
  .spec { grid-template-columns: 1fr; }
  .cta.mint { padding: var(--space-2xl) var(--space-md); }
  .cta { padding: var(--space-xl) var(--space-md); }
  .page-hero { padding-left: var(--space-sm); padding-right: var(--space-sm); }

  .prose { padding-left: var(--space-sm); padding-right: var(--space-sm); }
}

@media (max-width: 520px) {
  .type-grid { grid-template-columns: 1fr; }
  .hero-actions > a { flex: 1 1 auto; justify-content: center; }
  .together { padding: var(--space-md); }
  .g-controls { grid-template-columns: 1fr; }
  .g-split .feat-groups, .g-fields { grid-template-columns: 1fr; }
  .g-float { font-size: var(--text-xs); }
  .g-lines { font-size: var(--text-xs); }
}

/* Device fingerprint profile (proxy page). */
.sec-sub { color: var(--color-ink-2); max-width: 30rem; justify-self: end; }
.tech .spec { --tone: var(--color-accent); }
.fp-tabs {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px;
  margin: var(--space-sm) var(--space-sm) var(--space-2xs); padding: 3px;
  background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-sm);
  font-size: var(--text-xs); text-align: center;
}
.fp-tabs li { padding: 0.45rem 0.2rem; border-radius: 6px; color: var(--color-ink-3); transition: background var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.fp-tabs li.on { background: var(--color-card-2); color: var(--color-ink); }
.fp-rows { padding: 0 var(--space-sm); }
.fp-rows .g-num { font-size: var(--text-sm); text-align: right; }
.fp-rows .g-num.flash { animation: fp-flash 0.8s var(--ease-out); }
.fp-check { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs); padding: var(--space-sm); font-size: var(--text-sm); }
.fp-check .ok { color: var(--color-accent); font-family: var(--font-mono); font-size: var(--text-xs); }
.fp-user { background: var(--color-paper) !important; }
.fp-user code { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-accent); overflow-wrap: anywhere; }
@keyframes fp-flash { from { color: var(--color-accent); } }
@media (max-width: 900px) { .sec-sub { justify-self: start; } }
@media (max-width: 520px) { .fp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── MOTION (proxy page) ───────────────────────────────────────────────── */
/* Hero proxy list: rows come in one by one, then one row at a time lights up as if copied. */
.g-live::before { animation: g-pulse 2s var(--ease-out) infinite; }

/* Proxy type cards: lift and a mint glow that follows the cursor. */
[data-spot] .type-card {
  position: relative; overflow: hidden;
  transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
[data-spot] .type-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 0%), var(--color-accent-faint), transparent 70%);
  transition: opacity var(--dur-short) var(--ease-out);
}
[data-spot] .type-card:hover { transform: translateY(-3px); border-color: var(--color-accent-glow); }
[data-spot] .type-card:hover::before { opacity: 1; }

/* Fade-up on scroll; only hidden once JS has marked the page. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@keyframes g-float { 50% { transform: translateY(-6px); } }
@keyframes g-row { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes g-pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes g-pulse { 0% { box-shadow: 0 0 0 0 var(--color-accent-glow); } 100% { box-shadow: 0 0 0 7px transparent; } }

.cta-note { color: var(--color-ink-2); max-width: 32rem; margin: var(--space-sm) auto 0; }

/* All-In-One Automatic Checkouts page. */
/* Hero graphic: one app window holding the checkout, a card and a proxy console. */
/* Layered: the checkout window is the base; the card and console overlap it. */
/* Proxy list inside the layered window, and the "only used by you" tag. */
a.type-card { color: inherit; text-decoration: none; }
.bot-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .bot-groups { grid-template-columns: 1fr; } }

/* ── PRODUCT IDENTITIES ────────────────────────────────────────────────── */
/* Each product page keeps the site's layout and type but gets its own accent and hero motif. */
.product-pack {
  --color-accent:       oklch(78% 0.15 292);
  --color-accent-faint: oklch(78% 0.15 292 / 0.13);
  --color-accent-glow:  oklch(60% 0.19 292 / 0.32);
  --color-accent-ink:   oklch(20% 0.05 292);
  --color-accent-2-glow: oklch(72% 0.14 340 / 0.20);
}

/* Hero motifs, drawn behind the hero only. */
.product-pack .page-hero { position: relative; isolation: isolate; }
.product-pack .page-hero::before {
  content: ""; position: absolute; inset: 0 -20vw; z-index: -1; pointer-events: none;
}
/* Pack: diagonal light beams. */
.product-pack .page-hero::before {
  background: repeating-linear-gradient(118deg, transparent 0 90px, var(--color-accent-glow) 90px 91px, transparent 91px 180px);
  mask-image: radial-gradient(48rem 30rem at 70% 40%, black, transparent 75%);
}

/* ── PRODUCT LANDING PAGES (body.lp) ───────────────────────────────────── */
/* Standalone feel: the product is the brand, full-width top bar, centred hero,
   no /01 numbering, an offer box to close and a slim "a product by" footer. */
.lp .nav {
  top: 0; width: 100%; height: 64px; border-radius: 0;
  border-width: 0 0 1px; padding: 0 max(var(--space-lg), calc((100% - 1180px) / 2));
}
.lp .nav-cta a { background: var(--color-accent); color: var(--color-accent-ink); }
.lp .nav-cta a:hover { background: var(--color-accent); color: var(--color-accent-ink); filter: brightness(1.08); }
.lp-brandbar { display: inline-flex; align-items: center; gap: var(--space-sm); min-width: 0; }
.lp-brand { display: inline-flex; align-items: center; gap: var(--space-2xs); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.lp-mark {
  display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 9px; background: var(--color-accent); color: var(--color-accent-ink);
  box-shadow: 0 0 24px var(--color-accent-glow);
}
.lp-mark svg { width: 21px; height: 21px; }
.lp .lp-mark {
  background: linear-gradient(150deg, color-mix(in oklch, var(--color-accent), white 45%), var(--color-accent) 45%, color-mix(in oklch, var(--color-accent), black 32%));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.45), 0 0 24px var(--color-accent-glow);
}
.lp-by { font-size: var(--text-xs); color: var(--color-ink-3); text-decoration: none; white-space: nowrap; padding-left: var(--space-sm); border-left: 1px solid var(--color-rule-2); }
.lp-by:hover { color: var(--color-ink); }

/* Centred hero with the product visual underneath. */
.lp .page-hero.split {
  grid-template-columns: 1fr; justify-items: center; text-align: center;
  max-width: 980px; gap: var(--space-lg); padding-top: calc(64px + var(--space-2xl));
}
.lp .page-hero.split .page-sub { margin-inline: auto; max-width: 38rem; }
.lp .page-hero.split .hero-actions { justify-content: center; }
.lp .page-hero .hero-title { font-size: clamp(2.8rem, 7.4vw, 6.2rem); }

/* Section heads: centred, eyebrow pill instead of /01 numbering. */
.lp .sec-label .idx { display: none; }
.lp .sec-label {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
  background: var(--color-accent-faint); border: 1px solid var(--color-accent-glow);
}
.lp .sec-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--space-sm); }
.lp .sec-head .sec-sub, .lp .sec-head .chips.geo { justify-self: center; text-align: center; }
.lp .sec-head .sec-label { margin-inline: auto; }

/* Closing offer box. */
.lp-offer {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center;
  padding: var(--space-xl); border-radius: var(--radius-lg);
  border: 1px solid var(--color-accent-glow);
  background: radial-gradient(40rem 24rem at 0% 0%, var(--color-accent-faint), transparent 70%), var(--color-paper-2);
}
.lp-offer-note { color: var(--color-ink-2); margin-top: var(--space-sm); max-width: 30rem; }
.lp-offer-box {
  display: grid; gap: var(--space-md); padding: var(--space-lg);
  background: var(--color-paper); border: 1px solid var(--color-rule-2); border-radius: var(--radius-md);
}
.lp-offer-box .btn-solid { justify-content: center; }
.lp-checks { list-style: none; display: grid; gap: var(--space-xs); }
.lp-checks li { display: flex; gap: var(--space-xs); align-items: baseline; font-weight: 600; }
.lp-checks li::before { content: "✓"; color: var(--color-accent); font-family: var(--font-mono); }

/* Slim footer. */
.lp-foot-brand { display: flex; align-items: center; gap: var(--space-sm); }
.lp-foot-brand > span:last-child { display: grid; }
.lp-foot-by { color: var(--color-ink-3); }
.lp-foot-by a { color: var(--color-ink-2); }
.lp-footer .footer-links { display: flex; gap: var(--space-md); }

@media (max-width: 900px) {
  .lp-offer { grid-template-columns: 1fr; padding: var(--space-lg); }
}
@media (max-width: 520px) {
  .lp .nav { padding: 0 var(--space-sm); }
  .product-pack .lp-by { display: none; }
}

/* Product graphics on the landing pages: floating tags sit on the window edges. */
.g-sync {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-xs) var(--space-sm); border-top: 1px solid var(--color-rule);
  background: var(--color-accent-faint);
}

/* Application form dialog on the product pages. */
.apply-dialog {
  width: min(32rem, calc(100% - 2 * var(--space-sm))); max-height: calc(100dvh - 2 * var(--space-sm));
  margin: auto; padding: 0; color: var(--color-ink);
  background: var(--color-paper-2); border: 1px solid var(--color-accent-glow); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px oklch(0% 0 0 / 0.5);
}
.apply-dialog::backdrop { background: oklch(0% 0 0 / 0.6); backdrop-filter: blur(4px); }
.apply-form { display: grid; gap: var(--space-sm); padding: var(--space-lg); }
.apply-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); }
.apply-head h2 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.apply-close {
  width: 36px; height: 36px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--color-card); border: 1px solid var(--color-rule-2); color: var(--color-ink-2); font-size: 1.3rem; line-height: 1;
}
.apply-close:hover { color: var(--color-ink); background: var(--color-card-2); }
.apply-note { color: var(--color-ink-2); font-size: var(--text-sm); margin-top: calc(-1 * var(--space-2xs)); }
.field { display: grid; gap: var(--space-3xs); border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: var(--text-sm); font-weight: 600; padding: 0; margin-bottom: var(--space-3xs); }
.field em { font-style: normal; font-weight: 400; color: var(--color-ink-3); margin-left: var(--space-3xs); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--text-sm); color: var(--color-ink);
  padding: 0.65rem 0.75rem; border-radius: var(--radius-sm);
  background: var(--color-paper); border: 1px solid var(--color-rule-2);
  transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--color-ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-faint);
}
.apply-form .btn-solid { justify-content: center; margin-top: var(--space-2xs); cursor: pointer; }

/* ── HOME: CHECKOUT WINDOW ─────────────────────────────────────────────── */
.app-stage { position: relative; min-width: 0; animation: rise var(--dur-long) 200ms var(--ease-out) both; }
.app-stage::before, .app-stage::after {
  content: ""; position: absolute; width: 60%; height: 60%; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.app-stage::before { top: -3rem; right: -2rem; background: var(--color-accent-glow); }
.app-stage::after { bottom: -3rem; left: -2rem; background: var(--color-accent-2-glow); }
.app-window {
  position: relative; z-index: 1; overflow: hidden; width: min(420px, 100%); margin-left: auto;
  border: 1px solid var(--color-rule-2); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--color-paper-3), var(--color-paper) 75%);
  box-shadow: 0 40px 100px oklch(0% 0 0 / 0.6), inset 0 1px 0 var(--color-rule-2);
}
.app-bar {
  display: flex; align-items: center; gap: var(--space-2xs); padding: 0.55rem var(--space-md);
  background: var(--color-card); border-bottom: 1px solid var(--color-rule);
}
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--color-rule-2); }
.app-brand { display: inline-flex; align-items: center; gap: var(--space-2xs); margin-left: 0.6rem; font-size: var(--text-sm); font-weight: 600; letter-spacing: -0.01em; }
.app-brand .venture-mark { width: 22px; height: 22px; border-radius: 6px; }
.app-brand .venture-mark svg { width: 14px; height: 14px; }
.app-body { padding: var(--space-sm) var(--space-md); display: grid; gap: var(--space-xs); }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); }
.app-head strong { font-size: var(--text-lg); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.app-live {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.25rem 0.65rem;
  border: 1px solid var(--color-accent-glow); border-radius: var(--radius-pill); background: var(--color-accent-faint);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent);
}
.app-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 1.6s ease-in-out infinite; }
.app-product {
  display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-xs);
  background: var(--color-card); border: 1px solid var(--color-rule); border-radius: var(--radius-md);
}
.app-product [data-aco-product] { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: var(--space-xs); }
.app-product [data-aco-product][hidden] { display: none; }
.app-art {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 10px;
  background: linear-gradient(140deg, var(--color-accent-2-glow), var(--color-accent-glow));
  border: 1px solid var(--color-rule-2); box-shadow: 0 10px 30px var(--color-accent-2-glow);
}
.app-art svg { width: 26px; height: 26px; }
.app-info { min-width: 0; }
.app-info strong { display: block; font-size: var(--text-sm); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.app-info span { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2); }
.app-product .status { white-space: nowrap; }
.app-steps { position: relative; }
.app-line { position: absolute; top: 10px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: var(--color-rule-2); }
.app-line span {
  display: block; height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent-3), var(--color-accent-2), var(--color-accent));
  box-shadow: 0 0 12px var(--color-accent-2-glow); transition: width 700ms var(--ease-out);
}
[data-step="1"] .app-line span { width: 33.33%; }
[data-step="2"] .app-line span { width: 66.66%; }
[data-step="3"] .app-line span { width: 100%; }
.app-steps ol {
  position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  font-family: var(--font-mono); font-size: var(--text-xs); text-align: center; color: var(--color-ink-3);
}
.app-steps li { display: grid; justify-items: center; gap: 0.3rem; transition: color var(--dur-short) var(--ease-out); }
.app-steps b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--color-rule-2); background: var(--color-paper-2);
  color: var(--color-accent-ink); font-size: 11px; line-height: 1;
  transition: background var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.app-steps li.active, .app-steps li.done { color: var(--color-ink); }
.app-steps li.active b { border-color: var(--color-accent); box-shadow: 0 0 16px var(--color-accent-glow); }
.app-steps li.done b { background: var(--color-accent); border-color: var(--color-accent); box-shadow: 0 0 16px var(--color-accent-glow); }
.app-steps li.done b::before { content: "✓"; }
.app-toast {
  display: flex; align-items: center; gap: var(--space-2xs); padding: 0.4rem var(--space-xs);
  border: 1px solid var(--color-accent-glow); border-radius: var(--radius-md); background: var(--color-accent-faint);
  box-shadow: 0 12px 40px var(--color-accent-glow); color: var(--color-accent); font-size: var(--text-sm); font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity 260ms ease, transform 260ms var(--ease-out);
}
.app-toast span {
  display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--color-accent); color: var(--color-accent-ink); font-size: 11px; font-weight: 700;
}
[data-step="3"] .app-toast { opacity: 1; transform: none; }

/* ── HOME: WHAT WE DO AND SERVICES ─────────────────────────────────────── */
/* See-through, so the page's line grid fades out across this section. */
#services {
  --band: color-mix(in oklch, var(--color-paper-2) 55%, transparent);
  background: linear-gradient(180deg, transparent, var(--band) 30%, var(--band) 70%, transparent);
}
#services .sec-head { grid-template-columns: 1fr; }
.venture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.venture { padding: 2.5rem; border-radius: var(--radius-lg); background: var(--color-card); }
.venture h3 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.venture p { font-size: var(--text-sm); color: var(--color-ink-2); }
.venture { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); border: 1px solid var(--color-rule-2); }
.venture.featured { background: linear-gradient(160deg, var(--color-accent-faint), var(--color-card) 55%); border-color: var(--color-accent-glow); }
.venture .btn-line, .venture .btn-solid { margin-top: auto; }
.venture-name { display: flex; align-items: center; gap: var(--space-xs); }
.venture-mark { display: block; width: 40px; height: 40px; flex: none; border-radius: 10px; background: oklch(20% 0.02 155); }
.venture-mark.agrihub { display: grid; place-items: center; }
.venture-mark.agrihub img { width: 30px; height: 30px; }
.venture-mark.sleipnir { display: grid; place-items: center; background: var(--color-accent-2); color: var(--color-accent-2-ink); }
.venture-mark.sleipnir svg { width: 25px; height: 25px; }
.chip {
  display: inline-block; padding: 0.2rem 0.6rem; border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2);
}
.chip.on { border-color: var(--color-rule); background: var(--color-accent-faint); color: var(--color-accent); }
@media (max-width: 900px) { .venture-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .app-window { margin-inline: auto; } }
@media (max-width: 520px) {
  .app-product { flex-wrap: wrap; }
  .app-product [data-aco-product] { flex-basis: 100%; }
  .venture { padding: var(--space-lg); }
}
.lp .page-hero .app-stage { width: min(560px, 100%); justify-self: center; text-align: left; }

/* Sleipnir AIO hero: a smaller window with the card and proxy console floating beside it. */
.lp .page-hero .app-stage.layered { display: grid; justify-items: center; width: min(760px, 100%); padding: 2rem 0; }
.layered .app-window { margin-left: 0; }
.layer-above, .layer-below { position: absolute; z-index: 2; animation: g-pop 0.5s 0.4s var(--ease-out) both, layer-float 6s 1s ease-in-out infinite; }
.layer-above { top: 3rem; left: -0.5rem; width: 200px; }
.layer-below { bottom: -1.5rem; right: -1rem; width: 210px; rotate: 4deg; animation-delay: 0.55s, 2s; }
@keyframes layer-float { 50% { translate: 0 -8px; } }
.pack-card { aspect-ratio: 1.586; padding: var(--space-sm); border-radius: 12px; box-shadow: 0 18px 44px oklch(0% 0 0 / 0.5); }
.pack-card .g-card-top { font-size: var(--text-xs); }
.pack-card .g-card-num { font-size: var(--text-sm); letter-spacing: 0.04em; }
.pack-console { overflow: hidden; border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm); background: var(--color-paper); box-shadow: 0 18px 44px oklch(0% 0 0 / 0.5); }
.pack-console-bar { display: flex; align-items: center; gap: var(--space-2xs); padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--color-rule); font-family: var(--font-mono); font-size: 0.65rem; color: var(--color-ink-3); }
.pack-console-bar .g-dots i { width: 7px; height: 7px; }
.pack-console-body { padding: 0.55rem 0.7rem; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1.8; white-space: nowrap; overflow: hidden; }
.pack-console-body .dim { color: var(--color-ink-3); }
.pc-prompt, .pc-ok { color: var(--color-accent); }
@media (max-width: 800px) {
  .lp .page-hero .app-stage.layered { padding: 0; gap: var(--space-sm); }
  .layer-above, .layer-below { position: static; width: 100%; animation: none; }
  .layer-below { width: 80%; rotate: -2deg; }
}
@media (prefers-reduced-motion: reduce) { .layer-above, .layer-below { animation: none; } }
@media (prefers-reduced-motion: reduce) { .app-stage { animation: none; } }

/* ── HUB (mcj.land) ────────────────────────────────────────────────────── */
/* Brand tiles are full-colour SVGs; let them fill the mark box. */
.venture-mark:has(> img:only-child) { background: none; padding: 0; overflow: hidden; }
.venture-mark.sleipnir > img, .venture-mark.calypso > img { width: 100%; height: 100%; }
.venture-mark.calypso { display: grid; place-items: center; }
.app-brand .venture-mark > img { width: 22px; height: 22px; }

.venture-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.venture { --tone: var(--color-accent); --tone-faint: var(--color-accent-faint); position: relative; overflow: hidden; transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.venture.agrihub  { --tone: oklch(80% 0.14 145); --tone-faint: oklch(80% 0.14 145 / 0.12); }
.venture.sleipnir { --tone: oklch(78% 0.15 292); --tone-faint: oklch(78% 0.15 292 / 0.13); }
.venture.calypso  { --tone: oklch(80% 0.13 232); --tone-faint: oklch(80% 0.13 232 / 0.13); }
.venture.myetcase { --tone: oklch(82% 0.13 75); --tone-faint: oklch(82% 0.13 75 / 0.13); }
.venture-mark.myetcase { display: grid; place-items: center; background: var(--tone-faint); color: var(--tone); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; }
.venture::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 80%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, var(--tone-faint), transparent);
}
.venture:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--tone), transparent 55%); }
.venture .chip.on { color: var(--tone); background: var(--tone-faint); }
.venture-url { color: var(--color-ink-3); letter-spacing: 0.06em; text-transform: none; }
.venture .btn-line:hover { border-color: var(--tone); }

.hub-stage { display: grid; padding: 5.25rem 0 5rem; }
.hub-stage .app-window { margin: 0 1rem 0 auto; }
.hub-float {
  overflow: hidden; border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm);
  background: var(--color-paper); box-shadow: 0 18px 44px oklch(0% 0 0 / 0.5);
}
.hub-float .pack-console-bar img { width: 14px; height: 14px; border-radius: 4px; }
.hub-float .pack-console-bar span { color: var(--color-ink-2); }
.hub-calypso { top: 0.5rem; left: 0; width: 230px; }
.hub-calypso .pc-prompt, .hub-calypso .pc-ok { color: oklch(80% 0.13 232); }
.hub-agri { bottom: 0.5rem; right: 0; width: 190px; rotate: 3deg; }
.hub-agri .pc-ok { color: oklch(80% 0.14 145); }
@media (max-width: 800px) {
  .hub-stage { padding: 0; gap: var(--space-sm); }
  .hub-stage .app-window { margin: 0 auto; }
  .hub-stage .layer-above, .hub-stage .layer-below { position: static; width: min(420px, 100%); margin-inline: auto; rotate: none; animation: none; }
}

.section.consulting { padding-top: 0; }
.consult {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center;
  padding: var(--space-xl); border: 1px solid var(--color-rule-2); border-radius: var(--radius-lg); background: var(--color-card);
}
.consult p { color: var(--color-ink-2); margin-bottom: var(--space-md); max-width: 34rem; }
.footer-links.inline { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); }

@media (max-width: 1000px) { .venture-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; gap: var(--space-md); padding: var(--space-lg); } }

/* Short ticked facts under a landing-page hero. */
.lp-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.lp-facts li { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.lp-facts li::before { content: "✓"; font-family: var(--font-mono); color: var(--color-accent); }

/* Coming-soon marker in the hero. */
.soon-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: var(--space-sm); padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-accent-faint); color: var(--color-accent); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.soon-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: soon-pulse 1.6s ease-in-out infinite; }
@keyframes soon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .soon-pill i { animation: none; } }

/* ── SLEIPNIR AIO: app mock-ups, ways to run, cards, proxies (Dec 2026) ── */
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.dim { color: var(--color-ink-3); }
.sec-foot { margin-top: var(--space-md); text-align: center; color: var(--color-ink-3); }
.lp .sec-head .chips { justify-content: center; }
.lp .chips li { background: var(--color-card-2); color: var(--color-ink-2); border: 1px solid var(--color-rule); }

/* Platform chips. */
.plat { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xs); margin-top: var(--space-lg); }
.plat li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border-radius: var(--radius-pill); border: 1px solid var(--color-rule-2); background: var(--color-card); font-size: var(--text-sm); color: var(--color-ink-2); }
.plat li .ic { color: var(--color-ink); }
.plat em { font-style: normal; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent-4); background: var(--color-accent-4-faint); padding: 0.1rem 0.4rem; border-radius: var(--radius-pill); }
#app .plat { margin-top: var(--space-xl); }

/* Status colours used in the mock-ups. */
.mk-blue { color: var(--color-accent-3); font-weight: 600; }
.mk-green, .mk-ok { color: oklch(80% 0.15 158); font-weight: 600; }
.mk-red { color: var(--color-danger); font-weight: 600; }
.st { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; padding: 0.2rem 0.5rem; border-radius: 6px; white-space: nowrap; }
.st.ok { color: oklch(80% 0.15 158); background: oklch(80% 0.15 158 / 0.12); }
.st.cart { color: var(--color-accent-3); background: var(--color-accent-3-faint); }
.st.go { color: var(--color-accent); background: var(--color-accent-faint); }
.st.wait { color: var(--color-accent-4); background: var(--color-accent-4-faint); }
.st.err { color: var(--color-danger); background: var(--color-danger-faint); }

/* Hero app window. */
.mk-stage { position: relative; width: 100%; max-width: 1120px; margin-top: var(--space-xl); text-align: left; }
.mk-win { border: 1px solid var(--color-rule-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-paper); box-shadow: 0 40px 120px var(--color-accent-glow), 0 30px 80px oklch(0% 0 0 / 0.5); font-size: 0.8rem; }
.mk-top { display: flex; align-items: center; gap: var(--space-sm); padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--color-rule); background: var(--color-paper-2); }
.mk-dots { display: flex; gap: 6px; }
.mk-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-paper-3); }
.mk-run { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.mk-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent-3); animation: pulse 1.6s ease-in-out infinite; }
.mk-engine { display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto; padding: 0.3rem 0.65rem; border: 1px solid var(--color-rule-2); border-radius: 8px; font-size: 0.75rem; color: var(--color-ink-2); white-space: nowrap; }
.mk-engine .ic { width: 14px; height: 14px; }
.mk-app { display: grid; grid-template-columns: 170px 210px minmax(0, 1fr); min-height: 400px; }
.mk-side { padding: 0.9rem 0.6rem; border-right: 1px solid var(--color-rule); background: oklch(15% 0.008 250); }
.mk-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.85rem; padding: 0 0.4rem 0.9rem; }
.mk-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; color: var(--color-accent-ink); background: linear-gradient(150deg, color-mix(in oklch, var(--color-accent), white 45%), var(--color-accent) 45%, color-mix(in oklch, var(--color-accent), black 32%)); }
.mk-mark svg { width: 15px; height: 15px; }
.mk-side ul { list-style: none; display: grid; gap: 2px; }
.mk-side li { display: flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.5rem; border-radius: 8px; color: var(--color-ink-2); }
.mk-side li.on { background: var(--color-card-2); color: var(--color-ink); }
.mk-side li.on .ic { color: var(--color-accent); }
.mk-count { margin-left: auto; font-family: var(--font-mono); font-size: 0.65rem; padding: 0.05rem 0.4rem; border-radius: 6px; background: var(--color-accent-3-faint); color: var(--color-accent-3); }
.mk-sec { display: block; margin: 1rem 0.5rem 0.35rem; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-3); font-weight: 600; }
.mk-groups { padding: 0.8rem; border-right: 1px solid var(--color-rule); display: grid; gap: 0.4rem; align-content: start; }
.mk-search { display: flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.6rem; border: 1px solid var(--color-rule-2); border-radius: 8px; color: var(--color-ink-3); margin-bottom: 0.3rem; }
.mk-shop { display: flex; justify-content: space-between; padding: 0.35rem 0.2rem; font-weight: 600; }
.mk-grp { display: grid; gap: 0.15rem; padding: 0.5rem 0.6rem; border: 1px solid var(--color-rule); border-radius: 9px; background: var(--color-card); font-size: 0.75rem; }
.mk-grp span { color: var(--color-ink-3); }
.mk-grp.on { border-color: var(--color-accent-glow); box-shadow: 0 0 0 1px var(--color-accent-glow); background: var(--color-accent-faint); }
.mk-main { padding: 0.9rem 1rem; min-width: 0; }
.mk-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.mk-head strong { font-size: 1.05rem; letter-spacing: -0.01em; margin-right: 0.4rem; }
.mk-btns { display: flex; gap: 0.4rem; }
.mk-btn { padding: 0.35rem 0.7rem; border: 1px solid var(--color-rule-2); border-radius: 8px; font-weight: 600; font-size: 0.72rem; white-space: nowrap; }
.mk-btn.amber { background: var(--color-accent-4); color: oklch(22% 0.04 80); border-color: transparent; }
.mk-stats { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.8rem 0; color: var(--color-ink-2); }
.mk-table { border-top: 1px solid var(--color-rule); }
.mk-tr { display: grid; grid-template-columns: 1fr 1fr 0.9fr 1.5fr; gap: 0.6rem; align-items: center; padding: 0.52rem 0.2rem; border-bottom: 1px solid var(--color-rule); }
.mk-th { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.mk-tr .mono { font-size: 0.72rem; white-space: nowrap; }
.mk-cc { display: inline-block; width: 16px; height: 11px; margin-right: 0.4rem; vertical-align: -1px; border-radius: 3px; background: var(--color-accent-2); }
.mk-float-card { position: absolute; left: -36px; bottom: -34px; width: 200px; transform: rotate(-6deg); box-shadow: 0 20px 50px oklch(0% 0 0 / 0.5); }
.mk-toast { position: absolute; right: 36px; bottom: -22px; display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.9rem; border-radius: 12px; border: 1px solid var(--color-rule-2); background: color-mix(in oklch, var(--color-paper-2), transparent 8%); backdrop-filter: blur(8px); font-size: 0.82rem; font-weight: 600; box-shadow: 0 20px 50px oklch(0% 0 0 / 0.5); animation: rise var(--dur-long) var(--ease-out) 600ms both; }
.mk-toast b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: oklch(80% 0.15 158 / 0.16); color: oklch(80% 0.15 158); font-size: 0.7rem; }
.mk-toast .dim { font-weight: 400; font-family: var(--font-mono); font-size: 0.72rem; }

/* Ways to run. */
.run-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.run-card { display: grid; gap: var(--space-2xs); align-content: start; padding: var(--space-lg); border-radius: var(--radius-lg); border: 1px solid var(--color-rule); background: var(--color-card); }
.run-card.on { border-color: var(--color-accent-glow); background: linear-gradient(180deg, var(--color-accent-faint), var(--color-card)); }
.run-art { display: grid; gap: 0.5rem; justify-items: start; padding: var(--space-md); margin-bottom: var(--space-sm); border-radius: var(--radius-md); background: var(--color-paper); border: 1px solid var(--color-rule); min-height: 92px; align-content: center; }
.run-art .mk-engine { margin: 0; }
.run-card h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.run-card p { color: var(--color-ink-2); }

/* Live window and phone. */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: var(--space-xl); align-items: center; }
.mk-live { padding: var(--space-md); font-size: 0.85rem; }
.mk-live-head { display: flex; justify-content: space-between; align-items: center; }
.mk-live-head strong { font-size: 1.2rem; }
.mk-big { display: flex; flex-wrap: wrap; gap: var(--space-xl); margin: var(--space-md) 0; }
.mk-big div { display: grid; }
.mk-big b { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.mk-big span { color: var(--color-ink-3); font-size: 0.8rem; margin-top: 0.3rem; }
.mk-feed { list-style: none; border-top: 1px solid var(--color-rule); }
.mk-feed li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--color-rule); }
.mk-feed .mono { font-size: 0.72rem; }
.mk-phone { position: relative; display: grid; gap: 0.5rem; align-content: start; aspect-ratio: 9 / 19; padding: 3rem 0.7rem 1rem; border-radius: 40px; border: 6px solid oklch(24% 0.01 250); background: radial-gradient(18rem 14rem at 50% 0%, var(--color-accent-faint), transparent), var(--color-paper); box-shadow: 0 30px 80px oklch(0% 0 0 / 0.55); }
.mk-notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 14px; background: #000; }
.mk-ptime { text-align: center; font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; margin: 0.2rem 0 0.6rem; }
.mk-note { display: flex; gap: 0.55rem; align-items: center; padding: 0.6rem; border-radius: 14px; background: var(--color-card-2); border: 1px solid var(--color-rule); font-size: 0.72rem; }
.mk-note div { display: grid; min-width: 0; }
.mk-note span { color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-note .mk-mark { width: 26px; height: 26px; }
.mk-pbtn { margin-top: auto; justify-self: center; padding: 0.45rem 1.1rem; border-radius: var(--radius-pill); background: var(--color-accent-4); color: oklch(22% 0.04 80); font-weight: 600; font-size: 0.75rem; }

/* Cards. */
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: stretch; }
.cards-stack { display: grid; gap: var(--space-md); padding: var(--space-md); align-content: space-between; }
.cs-fan { position: relative; height: 150px; }
.cs-fan .g-card { position: absolute; top: 10px; left: 50%; width: 180px; margin-left: -90px; box-shadow: 0 14px 30px oklch(0% 0 0 / 0.4); }
.cs-fan .g-card:nth-child(1) { transform: translateX(-46px) rotate(-10deg); background: var(--color-paper-3); color: var(--color-ink-2); }
.cs-fan .g-card:nth-child(2) { transform: translateX(-12px) rotate(-3deg); background: var(--color-accent-2-deep); color: var(--color-ink); }
.cs-fan .g-card:nth-child(3) { transform: translateX(26px) rotate(5deg); }
.cards-grid .g-controls { grid-template-columns: 1fr; }
.cards-grid .g-controls .g-card.sm { width: 100%; max-width: 220px; }
.g-dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(80% 0.15 158); flex-shrink: 0; }

/* Proxies. */
.px-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.px-tile { display: grid; gap: 0.35rem; padding: var(--space-lg); border-radius: var(--radius-lg); border: 1px solid var(--color-rule); background: var(--color-card); }
.px-tile .ic { width: 22px; height: 22px; color: var(--color-accent); margin-bottom: var(--space-2xs); }
.px-tile h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.px-tile p { color: var(--color-ink-2); }
.px-tile .mono { justify-self: start; margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-ink-3); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill); padding: 0.2rem 0.6rem; }

@media (max-width: 1000px) {
  .mk-app { grid-template-columns: 150px minmax(0, 1fr); }
  .mk-groups { display: none; }
  .mk-toast { right: 8px; }
  .cards-grid, .px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .run-grid, .live-grid { grid-template-columns: 1fr; }
  .mk-phone { width: 260px; justify-self: center; }
}
@media (max-width: 640px) {
  .mk-app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mk-side { display: none; }
  .mk-tr { grid-template-columns: 1fr 1.2fr; }
  .mk-tr > :nth-child(1), .mk-tr > :nth-child(3) { display: none; }
  .mk-top .mk-engine { display: none; }
  .mk-float-card { width: 150px; left: -6px; bottom: -40px; }
  .mk-toast { top: auto; bottom: -24px; right: 4px; font-size: 0.72rem; }
  .mk-toast .dim { display: none; }
  .cards-grid, .px-grid { grid-template-columns: 1fr; }
  .mk-big { gap: var(--space-md); }
  .mk-feed li { grid-template-columns: minmax(0, 1fr) auto; }
  .mk-feed li > .mono { display: none; }
}
.lp .page-hero.split { max-width: calc(1180px + 2 * var(--space-lg)); }
.lp .page-hero.split > div:first-child { display: grid; justify-items: center; }

/* Platform line. */
.plat li.now { border-color: var(--color-accent-glow); color: var(--color-ink); }
.plat li .ic + .ic { margin-left: -0.2rem; }
.plat em { color: var(--color-ink-3); background: none; padding: 0; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: var(--text-sm); }
.plat em::before { content: "·"; margin-right: 0.45rem; }
.plat li.now em { color: oklch(80% 0.15 158); }
.ic.fill { fill: currentColor; stroke: none; }
.mk-btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.mk-btn .ic { width: 12px; height: 12px; }
.mk-grp strong { display: flex; align-items: center; gap: 0.4rem; }
.mk-grp strong .ic { width: 14px; height: 14px; color: var(--color-ink-3); }
.mk-live { max-width: 920px; margin-inline: auto; }
.mk-live-head strong { display: inline-flex; align-items: center; gap: 0.5rem; }
.cs-count { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); color: var(--color-ink-2); }
.cs-count span { display: inline-flex; align-items: center; gap: 0.45rem; }
.cs-count b { font-size: var(--text-xl); color: var(--color-ink); }
.g-row > span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; }
.g-row .ic { width: 14px; height: 14px; color: var(--color-ink-3); }
.plat li { white-space: nowrap; }
@media (max-width: 520px) {
  .plat li { font-size: 0.78rem; padding: 0.4rem 0.7rem; gap: 0.35rem; }
  .plat em { font-size: 0.78rem; }
  .plat .ic { width: 14px; height: 14px; }
}
@media (max-width: 640px) {
  .mk-float-card { display: none; }
}

/* ── SLEIPNIR AIO v3: one mock, split feature sections (Dec 2026) ── */
.mk-title { position: absolute; left: 50%; translate: -50% 0; font-weight: 600; color: var(--color-ink-2); font-size: 0.78rem; }
.mk-top { position: relative; }
.mk-top .mk-run { margin-left: auto; font-weight: 500; color: var(--color-ink-2); font-size: 0.75rem; }
.mk-app { grid-template-columns: 170px minmax(0, 1fr); min-height: 360px; }
.mk-side { display: flex; flex-direction: column; }
.mk-bal { margin-top: auto; display: grid; gap: 0.15rem; padding: 0.7rem 0.6rem; border-radius: 10px; background: var(--color-card); border: 1px solid var(--color-rule); }
.mk-bal span { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.mk-bal b { font-family: var(--font-mono); font-size: 0.85rem; }
.mk-main { padding: 1rem 1.2rem; }
.mk-tabs { display: flex; gap: 0.25rem; padding: 3px; border-radius: 10px; background: var(--color-card); border: 1px solid var(--color-rule); }
.mk-tabs span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border-radius: 7px; color: var(--color-ink-3); font-weight: 500; }
.mk-tabs span.on { background: var(--color-paper-3); color: var(--color-ink); }
.mk-tabs i { font-style: normal; font-family: var(--font-mono); font-size: 0.65rem; color: var(--color-ink-3); }
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0.9rem 0; }
.mk-kpis div { display: grid; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 10px; border: 1px solid var(--color-rule); background: var(--color-card); }
.mk-kpis b { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1; }
.mk-kpis span { font-size: 0.7rem; color: var(--color-ink-3); }
.mk-stage .mk-toast { right: 28px; bottom: -22px; }

/* Split sections: words on one side, a mock on the other. */
.fs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-2xl); align-items: center; }
.fs.rev .fs-copy { order: 2; }
.fs-copy { display: grid; gap: var(--space-md); justify-items: start; }
.fs-copy .lead { margin: 0; }
.fs-list { list-style: none; display: grid; gap: var(--space-sm); }
.fs-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--color-ink-2); }
.fs-list li b { color: var(--color-ink); font-weight: 600; }
.fs-list .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--color-accent); }
.fs-art { position: relative; padding: var(--space-md) var(--space-lg) var(--space-xl); }

/* 3D Secure mock. */
.tds, .px-mock { display: grid; gap: var(--space-sm); padding: var(--space-md); max-width: 440px; margin-inline: auto; font-size: var(--text-sm); }
.tds-head { display: flex; justify-content: space-between; align-items: center; }
.tds-head div { display: grid; }
.tds-head strong { font-size: var(--text-lg); }
.tds-head .dim { font-size: var(--text-xs); }
.tds-timer { display: flex; justify-content: space-between; align-items: center; }
.tds-cards { list-style: none; border-top: 1px solid var(--color-rule); }
.tds-cards li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--color-rule); }
.tds-cards .mk-cc { margin: 0; }
.tds-foot { font-size: var(--text-xs); }
.tds-card { position: absolute; left: 0; bottom: 0; width: 180px; transform: rotate(-7deg); box-shadow: 0 20px 50px oklch(0% 0 0 / 0.5); }
.fs-art .tds-toast { right: 0; bottom: auto; top: 0; }

/* Proxy mock. */
.px-rows { display: grid; border-top: 1px solid var(--color-rule); }
.px-rows div { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px solid var(--color-rule); }
.px-path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: var(--space-2xs); }
.px-path li { position: relative; padding-top: 14px; font-size: var(--text-xs); color: var(--color-ink-3); text-align: center; }
.px-path li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--color-rule-2); }
.px-path li.done::before { background: var(--color-accent); }
.px-path li.now { color: var(--color-ink); }
.px-path li.now::before { background: oklch(80% 0.15 158); }

#run .plat { margin-top: var(--space-lg); }
#run .run-art { min-height: 0; }
#apply .lp-offer-box { align-content: center; }

@media (max-width: 900px) {
  .fs { grid-template-columns: 1fr; gap: var(--space-xl); }
  .fs.rev .fs-copy { order: 0; }
}
@media (max-width: 640px) {
  .mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-title { display: none; }
  .mk-tabs span:not(.on) { display: none; }
  .fs-art { padding: var(--space-md) 0 var(--space-xl); }
  .tds-card { width: 140px; left: -4px; }
  .tds-cards li { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .tds-cards li > .dim { display: none; }
}
.fs-art { padding-bottom: 5.5rem; }
.tds-card { width: 160px; bottom: 0; left: 4%; }
.tds-cards li > b { justify-self: end; }
@media (max-width: 1000px) { .mk-app { grid-template-columns: 150px minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mk-app { grid-template-columns: minmax(0, 1fr); }
  .mk-side { display: none; }
  .tds-card { display: none; }
  .fs-art { padding-bottom: var(--space-md); }
  .mk-head { flex-wrap: nowrap; }
}

/* ── Run it your way: one browser dashboard wired to three places (Dec 2026) ── */
.rw { display: grid; justify-items: center; max-width: 980px; margin-inline: auto; }
.rw-browser { width: min(100%, 560px); position: relative; z-index: 1; box-shadow: 0 40px 120px var(--color-accent-glow), 0 30px 80px oklch(0% 0 0 / 0.5); }
.rw-chrome { display: flex; align-items: center; gap: var(--space-sm); padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--color-rule); background: var(--color-paper-3); }
.rw-url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-3); font-size: var(--text-xs); }
.rw-url .ic { width: 12px; height: 12px; }
.rw-body { display: flex; justify-content: space-between; align-items: end; gap: var(--space-md); flex-wrap: wrap; padding: var(--space-lg) var(--space-lg) var(--space-md); }
.rw-engine { display: grid; gap: 0.15rem; }
.rw-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-ink-3); }
.rw-engine strong { font-size: var(--text-2xl); letter-spacing: -0.03em; line-height: 1.1; transition: opacity 0.25s; }
.rw-sub { color: oklch(80% 0.15 158); font-size: var(--text-sm); }
.rw-stats { display: flex; gap: var(--space-md); }
.rw-stats span { display: grid; font-size: var(--text-xs); color: var(--color-ink-3); }
.rw-stats b { font-size: var(--text-lg); color: var(--color-ink); }
.rw-stats b.mk-green, .rw-stats b.mk-ok { color: oklch(80% 0.15 158); }
.rw-cap { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.7rem var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); background: var(--color-accent-faint); }
.rw-cap .ic { color: var(--color-accent); }
.rw-wires { width: 66%; height: 70px; overflow: visible; }
.rw-wires path { fill: none; stroke: var(--color-rule-2); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke 0.3s; }
.rw-wires path.on { stroke: var(--color-accent); stroke-dasharray: 6 6; animation: rw-flow 0.8s linear infinite; }
@keyframes rw-flow { to { stroke-dashoffset: -12; } }
.rw-nodes { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.rw-node { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0.35rem; justify-items: center; text-align: center; padding: var(--space-lg) var(--space-md); border-radius: var(--radius-lg); border: 1px solid var(--color-rule); background: var(--color-card); color: var(--color-ink-2); transition: border-color 0.25s, background 0.25s, transform 0.25s; }
.rw-node:hover { border-color: var(--color-rule-2); transform: translateY(-2px); }
.rw-node:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.rw-node strong { font-size: var(--text-lg); color: var(--color-ink); letter-spacing: -0.02em; }
.rw-node.on { border-color: var(--color-accent-glow); background: linear-gradient(180deg, var(--color-accent-faint), var(--color-card)); }
.rw-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 0.3rem; border-radius: 14px; background: var(--color-paper-3); color: var(--color-ink-2); transition: background 0.25s, color 0.25s; }
.rw-ico .ic { width: 22px; height: 22px; }
.rw-node.on .rw-ico { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 30px var(--color-accent-glow); }
.rw-tag { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); font-size: var(--text-xs); }
.rw-tag .ic { width: 12px; height: 12px; }
.rw-tag.ok { color: oklch(80% 0.15 158); background: oklch(80% 0.15 158 / 0.12); }
.rw-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-xl); font-size: var(--text-sm); }
.rw-soon { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: var(--radius-pill); border: 1px solid oklch(from var(--color-accent-4) l c h / 0.35); background: var(--color-accent-4-faint); color: var(--color-ink); }
.rw-soon b { padding: 0.15rem 0.6rem; border-radius: var(--radius-pill); background: var(--color-accent-4); color: oklch(22% 0.04 80); font-size: var(--text-xs); font-weight: 600; }
@media (max-width: 760px) {
  .rw-wires { display: none; }
  .rw-nodes { grid-template-columns: 1fr; margin-top: var(--space-md); }
  .rw-node { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: var(--space-sm); padding: var(--space-md); }
  .rw-ico { grid-row: span 3; margin: 0; }
}

/* ── Hero mock, laid out like the real desktop app (Dec 2026) ── */
.ra { border: 1px solid var(--color-rule-2); border-radius: var(--radius-lg); overflow: hidden; background: oklch(17% 0.006 250); box-shadow: 0 40px 120px var(--color-accent-glow), 0 30px 80px oklch(0% 0 0 / 0.5); font-size: 0.78rem; color: var(--color-ink); }
.ra .ic { width: 14px; height: 14px; }
.ra-top { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem 0.55rem calc(190px + 0.9rem); border-bottom: 1px solid var(--color-rule); }
.ra-run { display: inline-flex; align-items: center; gap: 0.45rem; margin-right: auto; }
.ra-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.65rem; border-radius: 8px; border: 1px solid; font-weight: 600; white-space: nowrap; }
.ra-pill.warn { color: var(--color-danger); border-color: oklch(from var(--color-danger) l c h / 0.45); }
.ra-pill.ok { color: oklch(80% 0.15 158); border-color: var(--color-rule-2); }
.ra-app { display: grid; grid-template-columns: 190px 220px minmax(0, 1fr); min-height: 420px; margin-top: -2.35rem; }
.ra-side { padding: 0.7rem 0.55rem; border-right: 1px solid var(--color-rule); background: oklch(15% 0.006 250); position: relative; z-index: 1; }
.ra-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; padding: 0.1rem 0.4rem 0.9rem; }
.ra-side ul { list-style: none; display: grid; gap: 2px; }
.ra-side li { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.5rem; border-radius: 8px; color: var(--color-ink-2); font-weight: 500; }
.ra-side li.on { background: var(--color-card-2); color: var(--color-ink); }
.ra-side li.on .ic { color: var(--color-accent-4); }
.ra-side kbd { margin-left: auto; font: inherit; font-size: 0.62rem; color: var(--color-ink-3); }
.ra-count { margin-left: 0.3rem; padding: 0 0.4rem; border-radius: 6px; background: oklch(from var(--color-accent-3) l c h / 0.25); color: var(--color-ink); font-size: 0.68rem; }
.ra-sec, .ra-cat { display: flex; align-items: center; gap: 0.4rem; margin: 0.9rem 0.5rem 0.35rem; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-3); font-weight: 600; }
.ra-cat { margin: 0.6rem 0.1rem 0.1rem; }
.ra-cat i { font-style: normal; font-weight: 400; }
.ra-groups { display: grid; align-content: start; gap: 0.35rem; padding: 2.9rem 0.7rem 0.8rem; border-right: 1px solid var(--color-rule); }
.ra-search { display: flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.6rem; border: 1px solid var(--color-rule-2); border-radius: 8px; color: var(--color-ink-3); }
.ra-filters { display: flex; gap: 0.3rem; }
.ra-filters span { padding: 0.2rem 0.5rem; border: 1px solid var(--color-rule-2); border-radius: 7px; font-weight: 600; font-size: 0.7rem; }
.ra-filters span.on { border-color: var(--color-ink-3); }
.ra-grp { display: grid; gap: 0.15rem; padding: 0.5rem 0.6rem; border: 1px solid var(--color-rule); border-radius: 9px; background: var(--color-card); }
.ra-grp strong { font-size: 0.78rem; }
.ra-grp span { display: flex; gap: 0.5rem; color: var(--color-ink-3); font-size: 0.7rem; }
.ra-grp.on { border-color: var(--color-accent-4); background: oklch(from var(--color-accent-4) l c h / 0.06); }
.ra-main { padding: 2.9rem 1rem 0.9rem; min-width: 0; display: grid; align-content: start; gap: 0.65rem; }
.ra-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.ra-head strong { font-size: 1.1rem; letter-spacing: -0.01em; margin-right: 0.4rem; }
.ra-btns { display: flex; gap: 0.4rem; }
.ra-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; border: 1px solid var(--color-rule-2); border-radius: 8px; font-weight: 600; white-space: nowrap; }
.ra-btn.amber { background: var(--color-accent-4); color: oklch(22% 0.04 80); border-color: transparent; }
.ra-stats { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; color: var(--color-ink-2); font-weight: 500; }
.ra-stats span { font-weight: 500; }
.ra-strip { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; padding: 0.5rem 0.7rem; border: 1px solid var(--color-rule); border-radius: 9px; font-weight: 600; }
.ra-alert { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.45rem 0.5rem 0.45rem 0.7rem; border: 1px solid oklch(from var(--color-danger) l c h / 0.45); border-radius: 9px; background: var(--color-danger-faint); color: var(--color-danger); font-weight: 600; }
.ra-alert > span:first-child { display: inline-flex; align-items: center; gap: 0.5rem; }
.ra-alert .ra-btn { color: var(--color-ink); background: oklch(17% 0.006 250); }
.ra-table { border-top: 1px solid var(--color-rule); }
.ra-tr { display: grid; grid-template-columns: 1.4rem 1fr 0.9fr 0.8fr 1.9fr; gap: 0.6rem; align-items: center; padding: 0.45rem 0.2rem; border-bottom: 1px solid var(--color-rule); }
.ra-th { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); font-weight: 600; }
.ra-tr .mono { font-size: 0.72rem; white-space: nowrap; }
.bd { display: inline-block; padding: 0.15rem 0.45rem; border-radius: 5px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.bd.ok { color: var(--color-ink); border-color: var(--color-rule-2); }
.bd.green { color: oklch(80% 0.15 158); border-color: oklch(80% 0.15 158 / 0.5); background: oklch(80% 0.15 158 / 0.1); }
.bd.blue { color: oklch(90% 0.05 240); background: oklch(from var(--color-accent-3) l c h / 0.35); }
.bd.amber { color: var(--color-accent-4); border-color: oklch(from var(--color-accent-4) l c h / 0.45); background: var(--color-accent-4-faint); }
.bd.red { color: #fff; background: var(--color-danger); }
.bd.redo { color: var(--color-danger); border-color: oklch(from var(--color-danger) l c h / 0.45); background: var(--color-danger-faint); }
@media (max-width: 1000px) {
  .ra-app { grid-template-columns: 170px minmax(0, 1fr); }
  .ra-top { padding-left: calc(170px + 0.9rem); }
  .ra-groups { display: none; }
}
@media (max-width: 640px) {
  .ra-app { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .ra-top { padding-left: 0.9rem; }
  .ra-top .ra-pill.ok, .ra-run .dim, .ra-side, .ra-strip { display: none; }
  .ra-main { padding-top: 0.9rem; }
  .ra-alert .ra-btn { display: none; }
  .ra-tr { grid-template-columns: 1fr 1.3fr; }
  .ra-tr > :nth-child(1), .ra-tr > :nth-child(2), .ra-tr > :nth-child(4) { display: none; }
}

/* ── Hero type (Dec 2026) ── */
.lp .page-hero .hero-title { font-size: clamp(3rem, 8vw, 6.6rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; margin: var(--space-sm) 0 var(--space-md); font-feature-settings: "ss01", "cv11"; }
.ht-name { background: linear-gradient(180deg, var(--color-ink) 30%, color-mix(in oklch, var(--color-ink), var(--color-paper) 38%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ht-aio { background: linear-gradient(180deg, color-mix(in oklch, var(--color-accent), white 35%) 10%, var(--color-accent) 55%, color-mix(in oklch, var(--color-accent), black 18%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp .page-hero.split .page-sub { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; letter-spacing: -0.015em; font-weight: 450; color: color-mix(in oklch, var(--color-ink), var(--color-paper) 22%); text-wrap: balance; margin-bottom: var(--space-xl); }
.lp .page-hero .hero-actions .btn-solid, .lp .page-hero .hero-actions .btn-line { font-weight: 600; letter-spacing: -0.01em; }
.ra { font-size: 0.8rem; font-feature-settings: "tnum"; letter-spacing: -0.005em; }
.ra strong, .ra-brand, .ra-head strong { letter-spacing: -0.015em; }
.ra-tr .mono, .ra-strip, .ra-stats { font-variant-numeric: tabular-nums; }

/* ── Hero mock v3: the real app's tokens (sleipner-macos src/ui/tokens.ts) ── */
.ra { --g:#0B0D10; --p:#0F1215; --r:#13171C; --ink:#E6E9EE; --mu:#9AA3AF; --off:#6B7480; --ln:#232931; --ed:#3A424E; --gold:#E5B454; --ok:#5BD08A; --warn:#F0B45A; --bad:#F0787A; --run:#7CC4F2;
  display: grid; grid-template-columns: 184px minmax(0, 1fr); margin: 0; border: 1px solid var(--ed); border-radius: 10px; overflow: hidden; background: var(--g); color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif; font-size: 11.5px; line-height: 1.4; letter-spacing: 0; font-feature-settings: "tnum";
  box-shadow: 0 40px 120px var(--color-accent-glow), 0 30px 80px oklch(0% 0 0 / 0.55); }
.ra .ic { width: 13px; height: 13px; stroke-width: 2; }
.ra .m { color: var(--mu); }
.ra .sp { flex: 1; }
.ra .run { color: var(--run); } .ra .ok { color: var(--ok); } .ra .bad { color: var(--bad); } .ra .off { color: var(--off); }
.ra em { font-style: normal; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.ra strong { font-weight: 700; letter-spacing: 0; }
.ra-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.ra-dot.run { color: var(--run); } .ra-dot.ok { color: var(--ok); } .ra-dot.bad { color: var(--bad); }
.ra-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 9px; background: var(--p); border-right: 1px solid var(--ln); }
.ra-brand { display: flex; align-items: center; gap: 7px; padding: 0 6px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.ra-brand .mk-mark { width: 20px; height: 20px; border-radius: 6px; }
.ra-side ul { list-style: none; display: grid; gap: 2px; }
.ra-side li { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 9px; border-radius: 6px; color: var(--mu); }
.ra-side li.on { background: var(--r); color: var(--ink); font-weight: 700; }
.ra-side li.on .ic { color: var(--gold); }
.ra-side .ic { width: 15px; height: 15px; }
.ra-side kbd { margin-left: auto; font: 600 9px Inter, sans-serif; color: var(--off); }
.ra-badge { margin-left: auto; min-width: 22px; padding: 1px 5px; border-radius: 6px; background: #163A55; border: 1px solid #245A80; color: #B9E1FB; font-size: 10px; text-align: center; }
.ra-badge + kbd { margin-left: 6px; }
.ra-ext li { height: 28px; }
.ra-ext .ic.x { margin-left: auto; width: 11px; height: 11px; color: var(--off); }
.ra-caps { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--off); padding: 16px 9px 6px; }
.ra-help { margin-top: auto; padding-top: 24px; }
.ra-body { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.ra-top { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--ln); }
.ra-run { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; white-space: nowrap; }
.ra-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 6px; border: 1.5px solid; font-weight: 600; white-space: nowrap; }
.ra-pill.bad { color: var(--bad); border-color: #6A2A2D; }
.ra-pill.ok { color: var(--ok); border-color: #25603F; }
.ra-pill .ic.m { color: var(--mu); }
.ra-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 0; }
.ra-groups { display: grid; align-content: start; gap: 8px; padding: 12px; border-right: 1px solid var(--ln); }
.ra-row { display: flex; gap: 6px; }
.ra-field { flex: 1; display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px; border: 1.5px solid var(--ed); border-radius: 6px; color: var(--off); white-space: nowrap; }
.ra-field.sm { flex: 0 0 170px; }
.ra-ib { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--ed); border-radius: 6px; color: var(--ink); flex-shrink: 0; }
.ra-filters { display: flex; gap: 5px; }
.ra-filters span { padding: 3px 7px; border: 1.5px solid var(--ed); border-radius: 6px; font-weight: 600; white-space: nowrap; }
.ra-filters span.on { border-color: var(--ink); }
.ra-shop { display: flex; align-items: center; gap: 7px; height: 28px; }
.ra-shop strong { flex: 1; }
.ra-shop .run { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.ra-tick { width: 13px; height: 13px; border: 1.5px solid var(--ed); border-radius: 4px; flex-shrink: 0; }
.ra-tree { display: grid; gap: 6px; margin-left: 6px; padding: 0 0 4px 10px; border-left: 1px solid var(--ln); }
.ra-kind { display: flex; align-items: center; gap: 6px; padding-top: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mu); }
.ra-kind i { font-style: normal; color: var(--off); letter-spacing: 0; }
.ra-card { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1.5px solid var(--ln); border-radius: 6px; background: var(--p); }
.ra-card > div { flex: 1; display: grid; gap: 4px; min-width: 0; }
.ra-card span { display: flex; align-items: center; gap: 5px; color: var(--mu); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ra-card span .ic { width: 11px; height: 11px; margin-left: 4px; }
.ra-card span b { display: inline-flex; align-items: center; gap: 0; }
.ra-card.on { border-color: var(--gold); }
.ra-main { display: grid; align-content: start; gap: 11px; padding: 16px 18px; min-width: 0; }
.ra-head, .ra-stats, .ra-sec, .ra-banner, .ra-log { display: flex; align-items: center; gap: 9px; }
.ra-title { font-size: 17px; white-space: nowrap; }
.ra-head .ic.m, .ra-sec .ic.m { width: 15px; height: 15px; color: var(--mu); }
.ra-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1.5px solid var(--ed); border-radius: 6px; font-weight: 600; white-space: nowrap; }
.ra-btn.gold { background: var(--gold); border-color: var(--gold); color: #1A1408; }
.ra-btn.sm { height: 22px; font-size: 10.5px; }
.ra-stats { gap: 14px; }
.ra-setup { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 8px 12px; border: 1px solid var(--ln); border-radius: 6px; }
.ra-setup > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ra-setup .ic { color: var(--mu); }
.ra-setup u { font-weight: 700; text-underline-offset: 3px; }
.ra-banner { padding: 7px 8px 7px 12px; border: 1px solid #6A2A2D; border-radius: 6px; background: #3A1A1C; color: #F7A3A4; }
.ra-banner .ra-btn { color: var(--ink); background: var(--g); }
.ra-sec { padding-top: 2px; font-size: 13px; }
.ra-sec .m { font-size: 11.5px; }
.ra-tr { display: grid; grid-template-columns: 14px 18px 1fr 0.85fr 0.7fr 2.1fr auto; gap: 10px; align-items: center; min-height: 34px; border-bottom: 1px solid var(--ln); }
.ra-th { min-height: 26px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mu); }
.ra-tr .mono { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; white-space: nowrap; }
.ra-chips { display: flex; gap: 5px; flex-wrap: nowrap; min-width: 0; }
.cp { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; border: 1px solid; font-weight: 600; white-space: nowrap; font-size: 10.5px; }
.cp.run { background: #163A55; color: #B9E1FB; border-color: #245A80; }
.cp.ok { background: #143524; color: #8FE3B0; border-color: #25603F; }
.cp.warn { background: #3A2A10; color: #F7CF8C; border-color: #6A4D1C; }
.cp.bad { background: #B23A3D; color: #fff; border-color: #B23A3D; }
.cp.whybad { background: #3A1A1C; color: #F7A3A4; border-color: #6A2A2D; }
.ra-acts { display: flex; gap: 4px; }
.ra-acts .ra-ib { width: 24px; height: 24px; }
.ra-acts .ic { width: 11px; height: 11px; }
.ra-log { height: 30px; padding: 0 16px; border-top: 1px solid var(--ln); }
.ra-log .ra-caps { padding: 0; color: var(--ink); }
.ra-n { padding: 1px 6px; border-radius: 5px; background: var(--r); color: var(--mu); font-weight: 600; }
@media (max-width: 1100px) {
  .ra-cols { grid-template-columns: minmax(0, 1fr); }
  .ra-groups { display: none; }
}
@media (max-width: 860px) {
  .ra { grid-template-columns: minmax(0, 1fr); }
  .ra-side, .ra-setup, .ra-acts, .ra-tr > :nth-child(1) { display: none; }
  .ra-tr { grid-template-columns: 18px 1fr 0.9fr 0.7fr 2fr; }
}
@media (max-width: 640px) {
  .ra-top .ra-pill.ok, .ra-run .m, .ra-field.sm, .ra-stats .ra-ib, .ra-banner .ra-btn, .ra-head > .ra-btn:not(.gold), .ra-head > .ra-ib, .ra-head .ic.m { display: none; }
  .ra-head { flex-wrap: wrap; }
  .ra-main { padding: 14px; }
  .ra-tr { grid-template-columns: 1fr 1.6fr; }
  .ra-tr > :nth-child(2), .ra-tr > :nth-child(4), .ra-tr > :nth-child(5) { display: none; }
  .ra-chips { flex-wrap: wrap; padding: 4px 0; }
}
.rw-intro { margin: var(--space-sm) auto 0; max-width: 34rem; color: var(--color-ink-2); font-size: var(--text-lg); text-align: center; }
#run .sec-head { display: block; text-align: center; }
.rw-cap { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0.7rem var(--space-lg); border-top: 1px solid var(--color-rule); background: var(--color-accent-faint); font-size: var(--text-sm); color: var(--color-ink-2); }
.rw-ctl { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.65rem; border-radius: var(--radius-pill); border: 1px solid var(--color-accent-glow); background: var(--color-paper); color: var(--color-ink); font-weight: 600; }
.rw-ctl .ic { width: 13px; height: 13px; color: var(--color-accent); }
.rw-plus { color: var(--color-ink-3); }
.rw-capt { margin-left: auto; color: var(--color-ink-3); }
@media (max-width: 520px) { .rw-capt { margin-left: 0; width: 100%; } }
.ra .ra-sec { margin: 0; padding: 2px 0 0; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }

/* Waitlist form states. */
.apply-fields, .apply-done { display: grid; gap: var(--space-sm); }
.apply-fields[hidden], .apply-done[hidden] { display: none; }
.apply-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply-error { color: var(--color-danger); font-size: var(--text-sm); }
.apply-done { padding: var(--space-md) 0 var(--space-2xs); }
.apply-done-title { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; }
.apply-done .btn-line { justify-self: start; cursor: pointer; }
.apply-form .btn-solid:disabled { opacity: 0.6; cursor: progress; }
.rw-capl { color: var(--color-ink-3); }
.rw-cap .rw-soon { padding: 0.2rem 0.65rem 0.2rem 0.25rem; font-size: var(--text-xs); }
.rw-cap .rw-soon b { font-size: 0.68rem; padding: 0.1rem 0.45rem; }
.rw-browser { width: min(100%, 660px); }

/* App mock: macOS window bar and hidden shop names. */
.ra { grid-template-rows: auto minmax(0, 1fr); }
.ra-win { grid-column: 1 / -1; position: relative; display: flex; align-items: center; height: 30px; padding: 0 12px; background: #15191E; border-bottom: 1px solid var(--ln); }
.ra-lights { display: flex; gap: 8px; }
.ra-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.25); }
.ra-lights i:nth-child(2) { background: #FEBC2E; }
.ra-lights i:nth-child(3) { background: #28C840; }
.ra-wt { position: absolute; left: 50%; translate: -50% 0; font-size: 11px; font-weight: 600; color: var(--mu); }
.ra-side .ra-brand { padding-top: 2px; }
.rd { display: inline-block; width: var(--w); height: 9px; border-radius: 4px; background: linear-gradient(90deg, #2A3039, #353C46); flex-shrink: 0; }
.ra-shop .sp { flex: 1; }
.ra-shop strong { flex: 0 1 auto; }
.ra-shop .run.bad { color: var(--bad); }
.ra-groups { overflow: hidden; }
@media (max-width: 860px) { .ra { grid-template-columns: minmax(0, 1fr); } }
.ra-cols { grid-template-columns: 286px minmax(0, 1fr); }
.ra-groups > *, .ra-tree > * { min-width: 0; }
.ra-card { min-width: 0; }
.ra-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ra-field { min-width: 0; overflow: hidden; }
@media (max-width: 1100px) { .ra-cols { grid-template-columns: minmax(0, 1fr); } }
.ra-card span { gap: 6px; }
.ra-card span b { gap: 2px; margin-left: 2px; }
.ra-card span .ic { margin-left: 2px; }
.ra-setup u { text-decoration-color: var(--ed); }

/* App mock: calmer, consistent icons. */
.ra .ic { width: 14px; height: 14px; stroke-width: 1.6; }
.ra-side .ic { width: 15px; height: 15px; }
.ra-side li:not(.on) .ic { color: var(--mu); }
.ra-ext .ic.x { width: 11px; height: 11px; color: var(--off); }
.ra-ib { width: 26px; height: 26px; color: var(--mu); }
.ra-ib .ic { width: 12px; height: 12px; }
.ra-card .ra-ib { width: 26px; height: 26px; }
.ra-card span { gap: 10px; }
.ra-card span b { display: inline-flex; align-items: center; gap: 3px; margin: 0; font-weight: 600; color: var(--mu); }
.ra-card span b.ok { color: var(--ok); } .ra-card span b.bad { color: var(--bad); }
.ra-card span b .ic { width: 11px; height: 11px; margin: 0; }
.ra-card .rd { width: var(--w); height: 10px; margin: 2px 0 1px; }
.ra-kind .ic { width: 12px; height: 12px; }
.ra-shop .ic.m { width: 12px; height: 12px; }
.ra-setup .ic, .ra-field .ic { width: 13px; height: 13px; color: var(--mu); }
.ra-btn .ic { width: 12px; height: 12px; }
.ra-pill .ic { width: 13px; height: 13px; }
.ra-banner > .ic { width: 14px; height: 14px; }
.rd-lg { height: 14px; border-radius: 5px; }
.ra-tr { grid-template-columns: 14px 18px 1fr 0.9fr 0.8fr 2.2fr; min-height: 36px; }
@media (max-width: 860px) { .ra-tr { grid-template-columns: 18px 1fr 0.9fr 0.8fr 2fr; } }
@media (max-width: 640px) { .ra-tr { grid-template-columns: 1fr 1.6fr; } .ra-head .rd-lg { --w: 110px !important; } }
/* Dot-only icons (more, list bullets) vanish at thin strokes. */
.ra .ic path[d^="M12 5h.01"] { stroke-width: 3.6; }
/* Stop and play read better as small solid shapes than thin outlines. */
.ra .ic path[d="M6 6h12v12H6z"], .ra .ic path[d="M7 5v14l12-7z"] { fill: currentColor; stroke-width: 1; }
.ra .ic:has(path[d="M6 6h12v12H6z"]) { width: 10px; height: 10px; }
.ra-card .ra-ib { color: var(--ink); background: var(--r); }
/* Run it your way: just the control bar above the three options. */
.rw-browser { width: auto; max-width: 100%; box-shadow: none; background: none; border: 0; }
.rw-browser .rw-cap { justify-content: center; padding: 0.6rem 0.9rem; border: 1px solid var(--color-accent-glow); border-radius: var(--radius-pill); background: var(--color-card); box-shadow: 0 20px 60px var(--color-accent-glow); }
