/* 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; } }

/* myETcase identity. */
.product-myetcase {
  --color-accent:       oklch(84% 0.14 80);
  --color-accent-faint: oklch(82% 0.13 75 / 0.13);
  --color-accent-glow:  oklch(70% 0.14 75 / 0.28);
  --color-accent-ink:   oklch(20% 0.04 75);
}
.venture-label { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.venture-label.soon { color: var(--color-accent); }
/* myETcase coming-soon page. */
.soon-hero { max-width: calc(1180px + 2 * var(--space-lg)); margin: 0 auto; padding: calc(60px + var(--space-3xl)) var(--space-lg) var(--space-xl); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.soon-hero .hero-title, .soon-hero .hero-sub { margin-bottom: 0; max-width: 46rem; }
.soon-name { color: var(--color-ink-2); }
.soon-name .venture-mark { width: 32px; height: 32px; border-radius: 8px; font-size: 0.8rem; }
.soon-small { font-size: var(--text-sm); color: var(--color-ink-3); }
.soon-section { padding-top: 0; }
.soon-section .venture-label { margin-bottom: var(--space-sm); }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.soon-card { display: flex; flex-direction: column; gap: var(--space-2xs); padding: var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-lg); background: var(--color-card); }
.soon-card .mono { font-size: var(--text-xs); color: oklch(84% 0.14 80); }
.soon-card h3 { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: -0.02em; }
.soon-card p { font-size: var(--text-sm); color: var(--color-ink-2); }
.soon-note { margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.soon-faq > div { display: grid; grid-template-columns: 20rem 1fr; gap: var(--space-md); padding: var(--space-sm) 0; border-top: 1px solid var(--color-rule-2); }
.soon-faq dt { font-weight: 600; }
.soon-faq dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 1000px) { .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .soon-grid, .soon-faq > div { grid-template-columns: 1fr; } }
