/* ThreadForge website

   Layout: a forge workbench. Sage-paper sections alternate with deep forge-green

   bands; one bold moment (the hero headline and the live approval console),

   everything else quiet and exact. */



@font-face {

  font-family: "Gloock";

  src: url("../fonts/gloock-latin-400.woff2") format("woff2");

  font-weight: 400;

  font-style: normal;

  font-display: swap;

}

@font-face {

  font-family: "Public Sans";

  src: url("../fonts/public-sans-latin-var.woff2") format("woff2");

  font-weight: 100 900;

  font-style: normal;

  font-display: swap;

}

@font-face {

  font-family: "JetBrains Mono";

  src: url("../fonts/jetbrains-mono-latin-var.woff2") format("woff2");

  font-weight: 100 800;

  font-style: normal;

  font-display: swap;

}



:root {

  /* Color */

  --bg: #eef1e8;

  --bg-raised: #f7f9f3;

  --bg-sunk: #e3e9db;

  --fg: #12241c;

  --fg-2: #24382e;

  --muted: #43564c;

  --line: #cdd6c7;

  --line-strong: #aebcaa;

  --link: #1f5a40;

  --forge: #173f30;

  --forge-2: #1d4a39;

  --forge-fg: #eef1e8;

  --forge-muted: #c4d6ca;

  --forge-line: #2c5a47;

  --lime: #d6ee8e;

  --lime-ink: #1b3510;

  --amber: #8f5410;

  --amber-bg: #f5e6cc;

  --ok: #24653f;

  --ok-bg: #d9eadb;

  --console-bg: #0f1f18;

  --console-raised: #15291f;

  --console-fg: #dfe8da;

  --console-muted: #8ea597;

  --console-line: #24392e;

  --console-warn: #f0bf6e;

  --console-ok: #9fd8a6;

  --console-info: #9cc3e0;

  --focus: #2f7a57;

  --shadow: 0 1px 0 rgba(18, 36, 28, .04), 0 24px 60px -28px rgba(18, 36, 28, .35);



  /* Type */

  --font-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  --t-xs: .8125rem;

  --t-sm: .9375rem;

  --t-md: 1.0625rem;

  --t-lg: 1.25rem;

  --t-xl: clamp(1.5rem, 1.1rem + 1.2vw, 1.875rem);

  --t-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);

  --t-hero: clamp(2.75rem, 1.2rem + 4vw, 4.75rem);



  /* Space */

  --gutter: 24px;

  --section: clamp(4rem, 3rem + 5vw, 7.5rem);

  --radius: 14px;

  --radius-sm: 8px;

  --wrap: 1200px;

  --ease: cubic-bezier(.22, 1, .36, 1);



  color-scheme: light;

}



@media (prefers-color-scheme: dark) {

  :root:not([data-theme]) {

    --bg: #0d1813;

    --bg-raised: #13221b;

    --bg-sunk: #0a130f;

    --fg: #e6ede0;

    --fg-2: #bfccc1;

    --muted: #8fa196;

    --line: #22382d;

    --line-strong: #31503f;

    --link: #c3e48a;

    --forge: #143528;

    --forge-2: #1a4233;

    --forge-fg: #eef1e8;

    --forge-muted: #c2d4c8;

    --forge-line: #285240;

    --amber: #e9b468;

    --amber-bg: #3a2a12;

    --ok: #96d6a4;

    --ok-bg: #163222;

    --console-bg: #07100c;

    --console-raised: #0e1c15;

    --console-line: #1d3127;

    --focus: #c3e48a;

    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 30px 70px -30px rgba(0, 0, 0, .8);

    color-scheme: dark;

  }

}

:root[data-theme="dark"] {

  --bg: #0d1813;

  --bg-raised: #13221b;

  --bg-sunk: #0a130f;

  --fg: #e6ede0;

  --fg-2: #bfccc1;

  --muted: #8fa196;

  --line: #22382d;

  --line-strong: #31503f;

  --link: #c3e48a;

  --forge: #143528;

  --forge-2: #1a4233;

  --forge-fg: #eef1e8;

  --forge-muted: #c2d4c8;

  --forge-line: #285240;

  --amber: #e9b468;

  --amber-bg: #3a2a12;

  --ok: #96d6a4;

  --ok-bg: #163222;

  --console-bg: #07100c;

  --console-raised: #0e1c15;

  --console-line: #1d3127;

  --focus: #c3e48a;

  --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 30px 70px -30px rgba(0, 0, 0, .8);

  color-scheme: dark;

}



/* Emerald Prestige HD preset: Deep forest emerald (#124E3F) with vibrant lime (#A3E635) accent */
:root[data-theme="emerald"] {
  --bg: #061c16;
  --bg-raised: #0d362b;
  --bg-sunk: #04130f;
  --fg: #f4faf2;
  --fg-2: #d9ece0;
  --muted: #b0cfc0;
  --line: rgba(163, 230, 53, 0.24);
  --line-strong: rgba(163, 230, 53, 0.52);
  --link: #b4f04a;
  --forge: #0b3026;
  --forge-2: #124638;
  --forge-fg: #f4faf2;
  --forge-muted: #c4dfd1;
  --forge-line: rgba(163, 230, 53, 0.36);
  --lime: #a3e635;
  --lime-ink: #071f17;
  --amber: #fbbf24;
  --amber-bg: #2b2108;
  --ok: #b4f04a;
  --ok-bg: #113c2e;
  --console-bg: #051712;
  --console-raised: #0c3329;
  --console-fg: #f4faf2;
  --console-muted: #b2d0c1;
  --console-line: rgba(163, 230, 53, 0.28);
  --console-warn: #fbbf24;
  --console-ok: #b4f04a;
  --console-info: #67e8f9;
  --focus: #a3e635;
  --shadow: 0 1px 0 rgba(163, 230, 53, 0.18), 0 30px 75px -30px rgba(0, 0, 0, .92), 0 0 38px rgba(163, 230, 53, 0.14);
  color-scheme: dark;
}
:root[data-theme="emerald"] body {
  background: #092820;
}
:root[data-theme="emerald"] .btn-primary {
  background: #84cc16;
  color: #071f17;
  border-color: #d9f99d;
  box-shadow: 0 12px 30px -10px rgba(163, 230, 53, 0.45);
}
:root[data-theme="emerald"] .btn-primary:hover {
  background: #a3e635;
  color: #071f17;
  border-color: #ecfccb;
}
:root[data-theme="emerald"] .store-badge,
:root[data-theme="emerald"] .console,
:root[data-theme="emerald"] .film-frame,
:root[data-theme="emerald"] .plan.is-featured,
:root[data-theme="emerald"] .stat {
  border-color: rgba(163, 230, 53, 0.48);
  box-shadow: 0 26px 65px -26px rgba(0, 0, 0, 0.9), 0 0 36px rgba(163, 230, 53, 0.16);
}
:root[data-theme="emerald"] .brand-mark rect {
  fill: #124e3f;
  stroke: #a3e635;
  stroke-width: 2.5px;
}
:root[data-theme="emerald"] .brand-mark g path:nth-child(2),
:root[data-theme="emerald"] .brand-mark g path:nth-child(3) {
  stroke: #a3e635;
}
/* Light (Kerjata) UI/UX theme (Suite 10.19.0): crisp pearl-white canvas (#F6F8FB / #FFFFFF),
   matte charcoal structural bands (#111318), and vibrant royal blue (#2563EB / #3B82F6) accents. */
:root[data-theme="kerjata"] {
  --bg: #f6f8fb;
  --bg-raised: #ffffff;
  --bg-sunk: #eef2f8;
  --fg: #0f172a;
  --fg-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --link: #2563eb;
  --forge: #111318;
  --forge-2: #181c24;
  --forge-fg: #f4f6fa;
  --forge-muted: #94a3b8;
  --forge-line: rgba(255, 255, 255, 0.12);
  --lime: #3b82f6;
  --lime-ink: #ffffff;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --ok: #15803d;
  --ok-bg: #ecfdf3;
  --console-bg: #0f131a;
  --console-raised: #161b26;
  --console-fg: #f4f6fb;
  --console-muted: #94a3b8;
  --console-line: rgba(255, 255, 255, 0.1);
  --console-warn: #fbbf24;
  --console-ok: #34d399;
  --console-info: #60a5fa;
  --focus: #2563eb;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 18px 42px -22px rgba(15, 23, 42, .22);
  color-scheme: light;
}
:root[data-theme="kerjata"] body {
  background: #f6f8fb;
}
:root[data-theme="kerjata"] .btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.45);
}
:root[data-theme="kerjata"] .btn-primary:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}
:root[data-theme="kerjata"] .store-badge,
:root[data-theme="kerjata"] .console,
:root[data-theme="kerjata"] .film-frame,
:root[data-theme="kerjata"] .plan.is-featured,
:root[data-theme="kerjata"] .stat {
  border-color: #cbd5e1;
  box-shadow: 0 14px 36px -22px rgba(15, 23, 42, 0.22);
}
:root[data-theme="kerjata"] .brand-mark rect {
  fill: #111318;
  stroke: #3b82f6;
  stroke-width: 2px;
}
:root[data-theme="kerjata"] .brand-mark g path:nth-child(2),
:root[data-theme="kerjata"] .brand-mark g path:nth-child(3) {
  stroke: #3b82f6;
}



/* Base */

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

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

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {

  margin: 0;

  background: var(--bg);

  color: var(--fg);

  font-family: var(--font-body);

  font-size: var(--t-md);

  line-height: 1.65;

  text-rendering: optimizeLegibility;

  -webkit-font-smoothing: antialiased;

}

body::before {

  content: "";

  position: fixed;

  inset: 0 0 auto;

  height: env(safe-area-inset-top, 0px);

  z-index: 60;

  background: var(--bg);

}

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

[hidden] { display: none !important; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }

a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

code, pre, kbd { font-family: var(--font-mono); }
/* Long hashes and package names wrap instead of widening the page on phones. */
.prose code { overflow-wrap: anywhere; }
.prose pre { white-space: pre-wrap; overflow-wrap: anywhere; }

.visually-hidden {

  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;

  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;

}

.skip {

  position: absolute; left: 12px; top: -60px; z-index: 100;

  background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: var(--radius-sm);

  font-weight: 600; text-decoration: none;

}

.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }



.wrap {

  width: 100%;

  max-width: calc(var(--wrap) + 2 * var(--gutter));

  margin-inline: auto;

  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));

  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));

}

@media (max-width: 560px) { :root { --gutter: 18px; } }



/* Type helpers */

.eyebrow {

  font-size: var(--t-xs);

  font-weight: 650;

  letter-spacing: .14em;

  text-transform: uppercase;

  color: var(--muted);

}

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; word-spacing: .03em; line-height: 1.04; }

.lead { font-size: var(--t-lg); line-height: 1.6; color: var(--fg-2); max-width: 62ch; }

.fine { font-size: var(--t-xs); line-height: 1.6; color: var(--muted); }

.num { font-variant-numeric: tabular-nums; }



/* Buttons */

.btn {

  display: inline-flex; align-items: center; justify-content: center; gap: .5em;

  min-height: 48px; padding: 0 22px;

  border-radius: 999px; border: 1.5px solid transparent;

  font: 600 var(--t-sm)/1 var(--font-body);

  text-decoration: none; cursor: pointer;

  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);

}

.btn:hover { text-decoration: none; }

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--fg); color: var(--bg); }

.btn-primary:hover { background: var(--forge); color: var(--forge-fg); }

.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }

.btn-ghost:hover { border-color: var(--fg); }

.btn-lime { background: var(--lime); color: var(--lime-ink); }

.btn-lime:hover { background: var(--forge-fg); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--t-xs); }

.btn svg { width: 1.1em; height: 1.1em; }



/* Header */

.site-header {

  position: sticky;

  top: env(safe-area-inset-top, 0px);

  z-index: 50;

  background: color-mix(in srgb, var(--bg) 88%, transparent);

  -webkit-backdrop-filter: saturate(1.4) blur(14px);

  backdrop-filter: saturate(1.4) blur(14px);

  border-bottom: 1px solid transparent;

  transition: border-color .2s var(--ease);

}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; flex-shrink: 0; }

.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }

.brand-word { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }

.nav-item { position: relative; }

.nav-trigger, .site-nav .nav-link {

  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent;

  color: var(--fg-2); font: 500 var(--t-sm)/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;

}

.nav-trigger:hover, .site-nav .nav-link:hover, .nav-trigger[aria-expanded="true"] { color: var(--fg); background: var(--bg-sunk); }

.nav-trigger .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }

.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {

  position: absolute; top: calc(100% + 12px); left: -12px; z-index: 60; display: none; gap: 8px;

  width: max-content; max-width: min(860px, calc(100vw - 2 * var(--gutter)));

  padding: 14px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);

}

.nav-trigger[aria-expanded="true"] + .mega { display: flex; }

.mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 250px; padding: 6px; }

.mega-head { margin: 4px 10px 8px; font: 500 11px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.mega-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; color: var(--fg); text-decoration: none; }

.mega-link:hover, .mega-link:focus-visible { background: var(--bg-sunk); }

.mega-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); }

.mega-desc { color: var(--muted); font-size: .84rem; line-height: 1.4; }

.mega-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 250px; padding: 18px; border-radius: 14px; background: var(--forge); color: var(--forge-fg); }

.mega-feature .mega-head { margin: 0; color: var(--lime); }

.mega-feature p { margin: 0; color: var(--forge-muted); font-size: .9rem; line-height: 1.5; }

.mega-feature .btn-ghost { color: var(--forge-fg); border-color: var(--forge-line); }

.nav-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font: 700 10.5px/1.4 var(--font-body); letter-spacing: .04em; text-transform: none; color: var(--lime-ink); background: var(--lime); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.header-actions .btn { white-space: nowrap; }

.icon-btn {

  display: inline-grid; place-items: center; width: 40px; height: 40px;

  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg);

  cursor: pointer;

}

.icon-btn:hover { border-color: var(--line-strong); background: var(--bg-sunk); }

.icon-btn svg { width: 18px; height: 18px; }

.nav-toggle { display: none; }

.site-nav .nav-cta { display: none; }

.theme-toggle .i-sun, .theme-toggle .i-moon, .theme-toggle .i-eye { display: none; }

.theme-toggle[data-mode="kerjata"] .i-sun { display: block; }

.theme-wrap { position: relative; }

.theme-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 290px; max-height: 70vh; overflow-y: auto; padding: 6px; border-radius: var(--radius);

  background: var(--bg-raised); border: 1px solid var(--line); box-shadow: var(--shadow); }

.theme-menu p { padding: 8px 10px 6px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.theme-menu button { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; padding: 8px 10px;

  border: 0; border-radius: 8px; background: transparent; color: var(--fg); font: 500 var(--t-sm)/1.25 var(--font-body); text-align: left; cursor: pointer; }

.theme-menu button small { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: 2px; }

.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--bg-sunk); }

.theme-menu button[aria-checked="true"] { background: var(--bg-sunk); font-weight: 650; }

.theme-swatch { display: block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); }

.lang-wrap { position: relative; }

.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 200px; max-height: 70vh; overflow-y: auto; padding: 6px; border-radius: var(--radius);
  background: var(--bg-raised); border: 1px solid var(--line); box-shadow: var(--shadow); }

.lang-menu p { padding: 8px 10px 6px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.lang-menu a { display: block; width: 100%; padding: 8px 10px; border-radius: 8px; color: var(--fg); font: 500 var(--t-sm)/1.25 var(--font-body);
  text-align: left; text-decoration: none; }

.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--bg-sunk); }

.lang-menu a[aria-current="true"] { background: var(--bg-sunk); font-weight: 650; }

.sw-light { background: #eef1e8; } .sw-dark { background: #0d1813; }

.sw-emerald { background: linear-gradient(135deg, #124e3f 50%, #a3e635 50%); }
.sw-kerjata { background: linear-gradient(135deg, #111318 42%, #f6f8fb 42%, #f6f8fb 72%, #3b82f6 72%); }

.theme-toggle[data-mode="light"] .i-sun,

.theme-toggle[data-mode="dark"] .i-moon,

.theme-toggle[data-mode="emerald"] .i-moon { display: block; }

/* A slow conic sweep so each swatch reads as a live preview of its theme, not a flat dot.
   Off for anyone who asked for less motion, including in the three vision-friendly themes. */
@media (prefers-reduced-motion: no-preference) {
  .theme-swatch { background-size: 220% 220%; animation: swatch-sweep 5s ease-in-out infinite; }
  .theme-menu button:hover .theme-swatch, .theme-menu button:focus-visible .theme-swatch { animation-duration: 2.2s; }
}
@keyframes swatch-sweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}



@media (max-width: 1079px) {

  .nav-toggle { display: inline-grid; }

  .header-demo { display: none; }

  .site-nav {

    position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); overflow-y: auto;

    flex-direction: column; align-items: stretch; gap: 2px;

    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) 18px max(var(--gutter), env(safe-area-inset-left, 0px));

    background: var(--bg); border-bottom: 1px solid var(--line);

    box-shadow: 0 20px 30px -24px rgba(0, 0, 0, .35);

    display: none;

  }

  .site-nav.is-open { display: flex; }

  .nav-trigger, .site-nav .nav-link { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: var(--t-md); border-radius: var(--radius-sm); }

  .mega { position: static; width: auto; max-width: none; flex-direction: column; padding: 4px 0 10px; border: 0; box-shadow: none; background: transparent; }

  .mega-col { min-width: 0; padding: 0; }

  .mega-feature { width: auto; margin: 6px 0 0; }

  .site-nav .nav-cta { display: block; margin-top: 10px; padding: 12px; background: var(--fg); color: var(--bg); text-align: center; border-radius: 999px; font-weight: 600; text-decoration: none; }

  .site-nav .nav-cta:hover { background: var(--forge); color: var(--forge-fg); }

}

@media (max-width: 420px) {

  .header-actions .btn { display: none; }

  .brand-word { font-size: 1.35rem; }

}



/* Hero */

.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3.5rem, 2rem + 4vw, 6rem); }

/* Hero backdrop: an atmospheric field of converging threads and a soft forge-glow, built from the
   same motif as the brand mark (lines drawn together to a point). Pure SVG/CSS, no raster image, so
   it re-colours automatically with every theme and never needs a second asset for dark mode. */
.hero-backdrop {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  transform: translate3d(calc(var(--hero-px, 0) * 1px), calc(var(--hero-py, 0) * 1px), 0);
  transition: transform .5s var(--ease);
}
.hero-weave { width: 100%; height: 100%; display: block; }
.hw-glow-a { stop-color: var(--lime); stop-opacity: .3; }
.hw-glow-b { stop-color: var(--lime); stop-opacity: .07; }
.hw-glow-c { stop-color: var(--lime); stop-opacity: 0; }
.hw-glow-rect { transform-origin: 80% 22%; }
.hw-line { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-linecap: round; opacity: .55; }
.hw-lines .hw-line:nth-child(1) { opacity: .3; stroke-width: 1.1; }
.hw-lines .hw-line:nth-child(2) { opacity: .38; }
.hw-lines .hw-line:nth-child(3) { stroke: var(--forge-2); opacity: .6; stroke-width: 1.8; }
.hw-lines .hw-line:nth-child(4) { opacity: .42; }
.hw-lines .hw-line:nth-child(5) { opacity: .32; stroke-width: 1.2; }
.hw-lines .hw-line:nth-child(6) { opacity: .24; stroke-width: 1; }
.hw-spark { fill: var(--lime); opacity: .85; }
.hw-spark-2 { opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .hw-glow-rect { animation: hero-glow-drift 16s ease-in-out infinite alternate; }
  .hw-spark { animation: hero-spark-pulse 3.6s ease-in-out infinite; }
  .hw-spark-2 { animation-delay: 1.1s; animation-duration: 4.4s; }
}
@keyframes hero-glow-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-16px, 10px) scale(1.06); } }
@keyframes hero-spark-pulse { 0%, 100% { opacity: .5; r: 2.2; } 50% { opacity: 1; r: 3.6; } }
:root[data-theme="dark"] .hw-line, :root[data-theme="emerald"] .hw-line, :root[data-theme="kerjata"] .hw-line { stroke: var(--lime); }
:root[data-theme="dark"] .hw-lines .hw-line:nth-child(3), :root[data-theme="emerald"] .hw-lines .hw-line:nth-child(3), :root[data-theme="kerjata"] .hw-lines .hw-line:nth-child(3) { stroke: var(--lime); opacity: .75; }

.hero-threads {

  position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 72px;

  pointer-events: none; color: var(--line-strong); opacity: .7;

}

.hero-threads path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

.hero-threads .t-main { stroke: var(--forge-2); opacity: .5; stroke-width: 2; }

@media (prefers-reduced-motion: no-preference) {

  .hero-threads path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: thread-draw 2.2s cubic-bezier(.6, 0, .2, 1) both; }

  .hero-threads path:nth-child(2) { animation-delay: .15s; }

  .hero-threads path:nth-child(3) { animation-delay: .3s; }

  .hero-threads path:nth-child(4) { animation-delay: .5s; }

}

@keyframes thread-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }



.hero-grid {

  position: relative;

  display: grid;

  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);

  gap: clamp(2rem, 1rem + 3vw, 4rem);

  align-items: center;

}

.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }

.pill-new {

  align-self: flex-start;

  display: inline-flex; align-items: center; gap: 10px;

  padding: 6px 14px 6px 6px; border-radius: 999px;

  background: var(--bg-raised); border: 1px solid var(--line);

  font-size: var(--t-xs); font-weight: 600; color: var(--fg-2); text-decoration: none;

}

.pill-new b { background: var(--lime); color: var(--lime-ink); border-radius: 999px; padding: 3px 9px; font-weight: 700; letter-spacing: .04em; }

.pill-new:hover { border-color: var(--line-strong); }

.hero-title { font-family: var(--font-display); font-weight: 400; font-size: var(--t-hero); line-height: .98; letter-spacing: -.015em; word-spacing: .02em; }

.hero-title span { display: block; }

.hero-title span:last-child { color: var(--forge-2); }

:root[data-theme="dark"] .hero-title span:last-child, :root[data-theme="emerald"] .hero-title span:last-child, :root[data-theme="kerjata"] .hero-title span:last-child { color: var(--lime); }

@media (prefers-color-scheme: dark) { :root:not([data-theme]) .hero-title span:last-child { color: var(--lime); } }

.hero-lead { font-size: var(--t-lg); line-height: 1.6; color: var(--fg-2); max-width: 36em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--t-xs); color: var(--muted); }

.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }

.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--forge-2); opacity: .6; }



@media (max-width: 1023px) {

  .hero-grid { grid-template-columns: minmax(0, 1fr); }

}



/* Console (hero demo) */

.console {

  margin: 0;

  min-width: 0;

  background: var(--console-bg);

  color: var(--console-fg);

  border-radius: 18px;

  border: 1px solid var(--console-line);

  box-shadow: var(--shadow);

  overflow: hidden;

}

.console-bar {

  display: flex; align-items: center; gap: 14px;

  padding: 10px 12px 10px 14px;

  background: var(--console-raised);

  border-bottom: 1px solid var(--console-line);

}

.console-bar .brand-mark { width: 24px; height: 24px; }

.console-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }

.console-tabs::-webkit-scrollbar { display: none; }

.console-tab {

  border: 0; background: transparent; color: var(--console-muted);

  font: 600 var(--t-xs)/1 var(--font-body);

  padding: 9px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap;

}

.console-tab:hover { color: var(--console-fg); background: rgba(255, 255, 255, .04); }

.console-tab[aria-selected="true"] { color: var(--lime-ink); background: var(--lime); }

.console-tab:focus-visible { outline-color: var(--lime); }

.console-chip {

  margin-left: auto; flex-shrink: 0;

  font: 600 .6875rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;

  color: var(--console-muted); border: 1px solid var(--console-line); border-radius: 999px; padding: 6px 9px;

}

.console-body { display: grid; }

.console-panel {

  grid-area: 1 / 1;

  display: flex; flex-direction: column; gap: 16px;

  padding: 20px;

  min-width: 0;

  visibility: hidden;

}

.console-panel.is-active { visibility: visible; }

@media (prefers-reduced-motion: no-preference) {

  .console-panel.is-active { animation: panel-in .35s var(--ease) both; }

}

@keyframes panel-in { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.panel-kicker { font-size: var(--t-xs); font-weight: 600; color: var(--console-fg); }

.panel-sub { font-size: .75rem; color: var(--console-muted); letter-spacing: .04em; text-transform: uppercase; }

.mini-table-wrap { overflow-x: auto; }

.mini-table { width: 100%; border-collapse: collapse; font-size: var(--t-xs); }

.mini-table th { text-align: left; font-weight: 500; color: var(--console-muted); padding: 0 10px 8px 0; border-bottom: 1px solid var(--console-line); white-space: nowrap; }

.mini-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--console-line); white-space: nowrap; }

.mini-table td:first-child { font-family: var(--font-mono); font-size: .75rem; color: var(--console-muted); }

.mini-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.mini-table .low { color: var(--console-warn); font-weight: 600; }

.tag-low { display: inline-block; margin-left: 8px; font-size: .6875rem; font-weight: 600; color: var(--console-warn); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; }

.kv { list-style: none; display: grid; gap: 8px; font-size: var(--t-xs); }

.kv li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--console-line); }

.kv b { font-variant-numeric: tabular-nums; font-weight: 650; }

.task-quote { font-size: var(--t-sm); line-height: 1.55; padding: 12px 14px; border-radius: 10px; background: var(--console-raised); border: 1px solid var(--console-line); }

.steps { list-style: none; display: grid; gap: 10px; font-size: var(--t-xs); }

.steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }

.steps li::before {

  content: ""; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;

  border: 1.5px solid var(--console-ok);

  background: radial-gradient(circle, var(--console-ok) 0 3.5px, transparent 4px);

}

.steps li.wait::before { border-color: var(--console-warn); background: radial-gradient(circle, var(--console-warn) 0 3.5px, transparent 4px); }

.steps code { font-size: .75rem; background: var(--console-raised); padding: 1px 5px; border-radius: 4px; }

.diff { font-family: var(--font-mono); font-size: .75rem; color: var(--console-ok); }

.term {

  margin: 0;

  font: 400 .75rem/1.7 var(--font-mono);

  white-space: pre-wrap; overflow-wrap: anywhere;

  color: var(--console-fg);

}

.term .p { color: var(--lime); }

.term .dim { color: var(--console-muted); }

.term .w { color: var(--console-warn); }

.term .ok { color: var(--console-ok); }

.term .i { color: var(--console-info); }

.term .u { color: #fff; font-weight: 600; }

.approval {

  margin-top: auto;

  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;

  padding: 14px 14px 14px 16px; border-radius: 12px;

  background: var(--console-raised); border: 1px solid var(--console-line);

}

.approval-text { font-size: var(--t-xs); line-height: 1.5; color: var(--console-fg); min-width: 0; flex: 1 1 14em; }

.approval-text b { display: block; color: var(--console-warn); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }

.approval.is-done .approval-text b { color: var(--console-ok); }

.approve-btn {

  border: 0; border-radius: 999px; padding: 10px 16px;

  background: var(--lime); color: var(--lime-ink);

  font: 700 var(--t-xs)/1 var(--font-body); cursor: pointer; white-space: nowrap;

}

.approve-btn:hover { background: #e6f7b0; }

.approve-btn:focus-visible { outline-color: var(--lime); }

.approval.is-done .approve-btn { background: transparent; color: var(--console-muted); border: 1px solid var(--console-line); }

.console-caption {

  display: flex; align-items: center; gap: 10px;

  padding: 12px 16px; border-top: 1px solid var(--console-line);

  font-size: .75rem; color: var(--console-muted);

}

.console-caption svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--lime); }

@media (max-width: 520px) {

  .mini-table th:first-child, .mini-table td:first-child { display: none; }

  .mini-table td:nth-child(2) { white-space: normal; }

  .tag-low { display: none; }

}

@media (max-width: 480px) {

  .console-panel { padding: 16px; }

  .console-chip { display: none; }

  .term { font-size: .6875rem; }

}



/* Trust strip */

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

.strip-list {

  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));

  padding-block: 18px;

}

.strip-list li {

  display: flex; align-items: center; gap: 10px; padding: 6px 16px;

  font-size: var(--t-xs); font-weight: 600; color: var(--fg-2); line-height: 1.35;

  border-left: 1px solid var(--line);

}

.strip-list li:first-child { border-left: 0; padding-left: 0; }

.strip-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--forge-2); }

@media (prefers-color-scheme: dark) { :root:not([data-theme]) .strip-list svg { color: var(--lime); } }

:root[data-theme="dark"] .strip-list svg, :root[data-theme="emerald"] .strip-list svg, :root[data-theme="kerjata"] .strip-list svg { color: var(--lime); }

@media (max-width: 1023px) {

  .strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 0; }

  .strip-list li { border-left: 0; padding-left: 0; }

  .strip-list li:last-child { grid-column: 1 / -1; }

}

@media (max-width: 480px) { .strip-list { grid-template-columns: minmax(0, 1fr); } }



/* Sections */

.section { padding-block: var(--section); }

.band-sunk { background: var(--bg-sunk); }

.band-forge { background: var(--forge); color: var(--forge-fg); }

.band-forge .eyebrow { color: var(--lime); }

.band-forge .lead { color: var(--forge-muted); }

.band-forge .fine { color: var(--forge-muted); }

.band-forge a { color: var(--lime); }

.section-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section-head h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-2xl); line-height: 1.04; letter-spacing: -.01em; word-spacing: .03em; }

.h3-lg { font-size: var(--t-lg); font-weight: 700; letter-spacing: -.005em; margin-bottom: 18px; }



/* Principle */

/* Explore panel in the hero: features, proof and policies */

.explore-list, .policy-list { list-style: none; margin: 0; padding: 0; }

.explore-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; padding: 7px 10px;

  margin: 0 -10px; border-radius: 10px; color: var(--console-fg); text-decoration: none; }

.explore-list a:hover, .explore-list a:focus-visible { background: var(--console-raised); text-decoration: none; }

.explore-list b { font-weight: 600; font-size: var(--t-sm); }

.explore-list span { grid-column: 1; font-size: var(--t-xs); color: var(--console-muted); margin-top: 2px; }

.explore-list .ex-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 16px; height: 16px; color: var(--lime); transition: transform .2s var(--ease); }

.explore-list a:hover .ex-arrow { transform: translateX(3px); }

.explore-list li + li a { border-top: 1px solid var(--console-line); border-radius: 0; }

.explore-list li + li a:hover { border-radius: 10px; }

.policy-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 10px 0; font-size: var(--t-sm); color: var(--console-fg); line-height: 1.45; }

.policy-list li + li { border-top: 1px solid var(--console-line); }

.policy-list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--lime); }

.policy-list a, .explore-note a { color: var(--lime); }

.explore-note { margin-top: 16px; font-size: var(--t-xs); line-height: 1.55; color: var(--console-muted); }

@media (prefers-reduced-motion: reduce) { .explore-list .ex-arrow { transition: none; } }



/* Film button, highlights window and player */

.btn-film { padding: 0 14px 0 18px; }

.btn-film svg { width: .95em; height: .95em; }

.hero-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.hero-side .film-teaser { align-self: stretch; max-width: none; border-radius: 18px; padding: 12px 22px 12px 12px; gap: 20px; }

.hero-side .film-teaser-media { width: 220px; border-radius: 12px; }

@media (max-width: 560px) { .hero-side .film-teaser-media { width: 128px; } }

.btn-dur { font: 600 .75em/1 var(--font-mono); color: var(--muted); background: var(--bg-sunk); border-radius: 999px; padding: 4px 8px; }

.film-teaser { display: flex; align-items: center; gap: 16px; max-width: 480px; padding: 10px 18px 10px 10px; border: 1px solid var(--line);

  border-radius: var(--radius); background: var(--bg-raised); color: var(--fg); text-decoration: none; box-shadow: var(--shadow);

  transition: transform .2s var(--ease), border-color .2s var(--ease); }

.film-teaser:hover { text-decoration: none; border-color: var(--line-strong); transform: translateY(-2px); }

.film-teaser-media { position: relative; flex: none; width: 184px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0d2219; }

.film-teaser-video { display: block; width: 100%; height: 100%; object-fit: cover; }

.film-teaser-play { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;

  background: var(--lime); color: var(--lime-ink); animation: film-pulse 2.4s ease-out infinite; }

.film-teaser-play svg { width: 18px; height: 18px; margin-left: 2px; }

.film-teaser-text { display: grid; gap: 4px; min-width: 0; }

.film-teaser-text b { font-weight: 650; font-size: var(--t-md); }

.film-teaser-text span { font-size: var(--t-xs); line-height: 1.45; color: var(--muted); }

@keyframes film-pulse { 0% { box-shadow: 0 0 0 0 rgba(214, 238, 142, .7); } 70%, 100% { box-shadow: 0 0 0 14px rgba(214, 238, 142, 0); } }

.film-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;

  background: #0d2219; color: var(--forge-fg); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8); }

.film-dialog::backdrop { background: rgba(6, 14, 10, .8); }

.film-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; font-weight: 600; font-size: var(--t-sm); }

.film-dialog .icon-btn { color: var(--forge-fg); border-color: var(--forge-line); }

.film-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

@media (max-width: 560px) {

  .film-teaser { gap: 12px; padding-right: 12px; }

  .film-teaser-media { width: 128px; }

  .film-teaser-text span { display: none; }

}

@media (prefers-reduced-motion: reduce) {

  .film-teaser, .film-teaser:hover { transition: none; transform: none; }

  .film-teaser-play { animation: none; }

}



/* Brand film */

.film-head { margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }

.film-frame { margin: 0; }

.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #0d2219;

  box-shadow: 0 40px 90px -40px rgba(13, 34, 25, .65), 0 0 0 1px var(--line); }

.film-frame figcaption { margin-top: 14px; max-width: 80ch; color: var(--muted); }



.principle { padding-block: var(--section); }

.principle-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5rem); line-height: 1; letter-spacing: -.015em; word-spacing: .03em; max-width: 12ch; }

.principle-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

.principle-top .eyebrow { grid-column: 1 / -1; }

.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--forge-line); }

.principle-grid article { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; }

.principle-grid article + article { padding-left: 28px; border-left: 1px solid var(--forge-line); }

.principle-grid h3 { font-size: var(--t-lg); font-weight: 700; }

.principle-grid p { color: var(--forge-muted); font-size: var(--t-sm); line-height: 1.65; }

.gate {

  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; align-self: start; justify-self: start;

  font: 500 .75rem/1 var(--font-mono); color: var(--lime);

  border: 1px solid var(--forge-line); border-radius: 999px; padding: 7px 11px;

}

@media (max-width: 860px) {

  .principle-top { grid-template-columns: minmax(0, 1fr); }

  .principle-grid { grid-template-columns: minmax(0, 1fr); }

  .principle-grid article, .principle-grid article + article { padding: 24px 0; border-left: 0; }

  .principle-grid article + article { border-top: 1px solid var(--forge-line); }

}



/* Feature grid */

.feature-grid {

  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--line); border-left: 1px solid var(--line);

}

.feature {

  display: grid; gap: 10px; align-content: start;

  padding: 26px 24px 30px;

  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);

  min-width: 0;

}

/* Institutions "who it is for" grid: a one-time staggered 3D tilt-up as it scrolls into
   view. Scoped to #tracks only — .feature-grid is shared markup used on other pages too,
   and .feature has no hover transition of its own, so a persistent per-card delay is safe here. */
#tracks .feature-grid { perspective: 1800px; }
#tracks .feature { transition: transform .65s var(--ease), opacity .55s var(--ease); }
#tracks .feature-grid.is-pre-reveal .feature { transform: translate3d(0, 44px, -180px) rotateX(14deg) scale(.92); opacity: 0; transition: none; }
#tracks .feature:nth-child(1) { transition-delay: 0s; }
#tracks .feature:nth-child(2) { transition-delay: .08s; }
#tracks .feature:nth-child(3) { transition-delay: .16s; }
#tracks .feature:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  #tracks .feature-grid.is-pre-reveal .feature { transform: none; opacity: 1; }
}

.feature svg { width: 26px; height: 26px; color: var(--forge-2); }

@media (prefers-color-scheme: dark) { :root:not([data-theme]) .feature svg { color: var(--lime); } }

:root[data-theme="dark"] .feature svg, :root[data-theme="emerald"] .feature svg, :root[data-theme="kerjata"] .feature svg { color: var(--lime); }

.feature h3 { font-size: var(--t-md); font-weight: 700; }

.feature p { font-size: var(--t-sm); color: var(--fg-2); line-height: 1.6; }

@media (max-width: 1023px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 560px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature { padding: 22px 18px 24px; } }

/* A feature-grid that only ever holds 2 cards (e.g. "Store parity" / "Value"): give each a real
   half-width column instead of squeezing both into 1/4 of a 4-column track meant for a full row,
   which let long paragraph text overflow its box and visually overlap the next card. */
.feature-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 560px) { .feature-grid-pair { grid-template-columns: minmax(0, 1fr); } }



.note {

  margin-top: 28px;

  display: flex; gap: 14px; align-items: flex-start;

  padding: 18px 20px; border-radius: var(--radius);

  background: var(--bg-raised); border: 1px solid var(--line);

  font-size: var(--t-sm); color: var(--fg-2); max-width: 820px;

}

.note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ok); margin-top: 1px; }

.note b { color: var(--fg); }



/* Pipeline */

.pipeline {

  list-style: none; counter-reset: step;

  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0;

  margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);

}

.pipeline li { position: relative; padding: 0 18px 0 0; display: grid; gap: 8px; align-content: start; counter-increment: step; }

.pipeline li::before {

  content: counter(step);

  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;

  font: 600 var(--t-xs)/1 var(--font-mono);

  background: var(--bg); border: 1.5px solid var(--line-strong); color: var(--fg);

  position: relative; z-index: 1; margin-bottom: 8px;

}

.pipeline li::after {

  content: ""; position: absolute; top: 18px; left: 36px; right: 0; height: 1.5px;

  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px);

}

.pipeline li:last-child::after { display: none; }

.pipeline li:last-child::before { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }

.pipeline h3 { font-size: var(--t-md); font-weight: 700; }

.pipeline p { font-size: var(--t-sm); color: var(--fg-2); line-height: 1.55; }

@media (max-width: 1023px) {

  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 0; }

  .pipeline li:nth-child(3)::after { display: none; }

}

@media (max-width: 560px) {

  .pipeline { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .pipeline li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding: 0 0 26px; }

  .pipeline li::before { grid-row: span 2; margin: 0; }

  .pipeline li::after { top: 36px; bottom: 0; left: 17px; right: auto; width: 1.5px; height: auto;

    background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 11px); }

  .pipeline li:nth-child(3)::after { display: block; }

  .pipeline li:last-child::after { display: none; }

}



.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }

@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }



.check-list { list-style: none; display: grid; gap: 16px; }

.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: var(--t-sm); line-height: 1.6; color: var(--fg-2); }

.check-list li::before {

  content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;

  background: var(--ok-bg) no-repeat center / 12px 12px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2324653f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

}

.check-list b { color: var(--fg); }

.band-forge .check-list li { color: var(--forge-muted); }

.band-forge .check-list b { color: var(--forge-fg); }

.band-forge .check-list li::before {

  background-color: var(--lime);

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231b3510' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

}



.code-card { border-radius: var(--radius); overflow: hidden; background: var(--console-bg); border: 1px solid var(--console-line); color: var(--console-fg); }

.code-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--console-line); font-size: .75rem; color: var(--console-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.code-card pre { margin: 0; padding: 16px; font-size: .8125rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }

.code-card .p { color: var(--lime); user-select: none; }

.code-card .c { color: var(--console-muted); }

.copy-btn {

  border: 1px solid var(--console-line); background: transparent; color: var(--console-fg);

  border-radius: 999px; padding: 6px 12px; font: 600 .75rem/1 var(--font-body); cursor: pointer;

}

.copy-btn:hover { border-color: var(--console-muted); }

.copy-btn:focus-visible { outline-color: var(--lime); }

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.chip-list li { font-size: var(--t-xs); font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-2); }

.stack { display: grid; gap: 18px; }

.stack > .h3-lg { margin-bottom: 0; }

.nw { white-space: nowrap; }



/* PC care */

.care-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }

@media (max-width: 960px) { .care-grid { grid-template-columns: minmax(0, 1fr); } }

.area-list { margin: 0; display: grid; border-top: 1px solid var(--forge-line); }

.area-list div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--forge-line); }

.area-list dt { font-weight: 700; font-size: var(--t-sm); }

.area-list dd { margin: 0; font-size: var(--t-sm); color: var(--forge-muted); line-height: 1.55; }

@media (max-width: 520px) { .area-list div { grid-template-columns: minmax(0, 1fr); } }

.band-forge .code-card { border-color: var(--forge-line); }

.cmd-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }

.cmd-table td { padding: 10px 16px; border-top: 1px solid var(--console-line); vertical-align: top; }

.cmd-table td:first-child { font-family: var(--font-mono); color: var(--lime); white-space: nowrap; }

.cmd-table td:last-child { color: var(--console-muted); }

@media (max-width: 520px) {

  .cmd-table, .cmd-table tbody, .cmd-table tr, .cmd-table td { display: block; }

  .cmd-table td:first-child { padding-bottom: 0; white-space: normal; }

  .cmd-table td:last-child { border-top: 0; padding-top: 4px; }

}



.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--forge-line); }

.repairs { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--t-sm); }

.repairs th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forge-muted); font-weight: 600; padding: 14px 18px; background: var(--forge-2); }

.repairs td { padding: 13px 18px; border-top: 1px solid var(--forge-line); vertical-align: top; }

.repairs td:nth-child(2) { font-family: var(--font-mono); font-size: .8125rem; color: var(--forge-muted); }

.repairs .yes { color: var(--lime); font-weight: 600; }

.care-block { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }

.trio article { padding: 22px; border-radius: var(--radius); background: var(--forge-2); border: 1px solid var(--forge-line); display: grid; gap: 8px; align-content: start; }

.trio h3 { font-size: var(--t-md); font-weight: 700; }

.trio p { font-size: var(--t-sm); color: var(--forge-muted); line-height: 1.6; }

@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); } }

.boundary { margin-top: 24px; font-size: var(--t-sm); color: var(--forge-muted); max-width: 70ch; }

.boundary b { color: var(--forge-fg); }



/* Platforms */

.platforms { list-style: none; border-top: 1px solid var(--line); }

.platforms li {

  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; gap: 8px 32px; align-items: center;

  padding: 22px 0; border-bottom: 1px solid var(--line);

}

.platforms h3 { font-size: var(--t-lg); font-weight: 700; display: flex; align-items: center; gap: 12px; }

.platforms h3 svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }

.platforms p { font-size: var(--t-sm); color: var(--fg-2); }

@media (max-width: 760px) {

  .platforms li { grid-template-columns: minmax(0, 1fr); }

}

.status {

  display: inline-flex; align-items: center; gap: 7px; justify-self: start;

  font-size: .75rem; font-weight: 650; padding: 5px 11px; border-radius: 999px; white-space: nowrap;

  background: var(--bg-sunk); color: var(--fg-2); border: 1px solid var(--line);

}

.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }

.status.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }

.status.wip { background: var(--amber-bg); color: var(--amber); border-color: transparent; }



/* Evidence */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.stat { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 6px; align-content: start; }

.stat strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.stat span { font-weight: 700; font-size: var(--t-sm); }

.stat small { font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }

@media (max-width: 1023px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } }

.claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

.claims article { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }

.claims h3 { font-size: var(--t-md); font-weight: 700; margin-bottom: 14px; }

.x-list { list-style: none; display: grid; gap: 10px; }

.x-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: var(--t-sm); color: var(--fg-2); }

.x-list li::before { content: "×"; font: 700 1rem/1.4 var(--font-mono); color: var(--amber); text-align: center; }

@media (max-width: 760px) { .claims { grid-template-columns: minmax(0, 1fr); } }



/* Roadmap */

.roadmap { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }

.roadmap li { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-raised); display: grid; gap: 10px; align-content: start; }

.roadmap li.is-now { background: var(--forge); border-color: var(--forge); color: var(--forge-fg); }

.roadmap li.is-now p { color: var(--forge-muted); }

.roadmap li.is-now .status { background: var(--lime); color: var(--lime-ink); }

.roadmap h3 { font-size: var(--t-md); font-weight: 700; }

.roadmap p { font-size: var(--t-sm); color: var(--fg-2); line-height: 1.55; }

.roadmap .who { font-size: var(--t-xs); color: var(--muted); }

.roadmap li.is-now .who { color: var(--forge-muted); }



/* Pilot */

.pilot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }

.pilot-copy { display: grid; gap: 22px; }

.pilot-copy h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-2xl); line-height: 1.04; letter-spacing: -.01em; word-spacing: .03em; }

@media (max-width: 900px) { .pilot-grid { grid-template-columns: minmax(0, 1fr); } }

.form-card { background: var(--bg-raised); color: var(--fg); border-radius: 18px; padding: clamp(20px, 1rem + 1.5vw, 32px); box-shadow: var(--shadow); }

.form-card .fine { color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 6px; min-width: 0; }

.field label, .field legend { font-size: var(--t-xs); font-weight: 650; color: var(--fg); }

.field .opt { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {

  width: 100%; min-height: 46px; padding: 11px 13px;

  border-radius: 10px; border: 1px solid var(--line-strong);

  background: var(--bg); color: var(--fg);

  font: 400 var(--t-sm)/1.4 var(--font-body);

}

.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }

.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }

.field [aria-invalid="true"] { border-color: var(--amber); }

.field-error { font-size: var(--t-xs); color: var(--amber); }

fieldset.field { border: 0; padding: 0; margin: 0; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }

.check { position: relative; }

.check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }

.check span {

  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;

  border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--t-xs); font-weight: 600; color: var(--fg-2);

}

.check span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong); }

.check input:checked + span { background: var(--forge); color: var(--forge-fg); border-color: var(--forge); }

.check input:checked + span::before { background: var(--lime); border-color: var(--lime); }

.check input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }

.form-result { margin-top: 18px; padding: 18px; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line); display: grid; gap: 12px; }

.form-result p { font-size: var(--t-sm); color: var(--fg-2); }

.form-result pre { margin: 0; max-height: 220px; overflow: auto; padding: 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: .75rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

.addr { font-family: var(--font-mono); font-size: .875rem; user-select: all; overflow-wrap: anywhere; }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn-plain { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: 600 var(--t-xs)/1 var(--font-body); cursor: pointer; }

.btn-plain:hover { border-color: var(--fg); }



/* FAQ */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }

@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {

  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;

  font-weight: 650; font-size: var(--t-md);

}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {

  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;

  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);

  transition: transform .2s var(--ease);

}

.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.faq details > div { padding: 0 0 22px; color: var(--fg-2); font-size: var(--t-sm); line-height: 1.7; max-width: 65ch; display: grid; gap: 10px; }



/* Footer */

.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: var(--bg); }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }

.footer-brand { display: grid; gap: 14px; align-content: start; }

.footer-brand p { font-family: var(--font-display); font-size: var(--t-lg); line-height: 1.25; max-width: 28ch; }
.footer-brand .flagship-tag { display: block; white-space: nowrap; margin-top: 4px; }
.copy-block .flagship-tag { display: inline-block; white-space: nowrap; }

.footer-col h2 { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 14px; }

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a { color: var(--fg-2); text-decoration: none; font-size: var(--t-sm); overflow-wrap: anywhere; }

.footer-col a:hover { color: var(--fg); text-decoration: underline; }

.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: var(--t-xs); color: var(--muted); line-height: 1.6; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }



/* Interior pages (brand kit, privacy, 404) */

.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); }

.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -.015em; margin-block: 14px 20px; }

.prose { max-width: 68ch; display: grid; gap: 16px; font-size: var(--t-md); color: var(--fg-2); }

.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-xl); color: var(--fg); margin-top: 22px; }

.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }

.toc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-2); text-decoration: none; font-size: var(--t-xs); font-weight: 600; }

.toc a:hover { border-color: var(--fg); color: var(--fg); }

.kit-section { padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--line); }

.kit-section > .wrap > h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-2xl); line-height: 1.04; margin-bottom: 14px; }

.kit-section > .wrap > .lead { margin-bottom: 32px; }

.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.logo-tile { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-width: 0; }

.logo-stage { display: grid; place-items: center; padding: 40px 24px; min-height: 200px; }

.logo-stage.on-paper { background: #eef1e8; }

.logo-stage.on-forge { background: #173f30; }

.logo-stage.on-ink { background: #0f1f18; }

.logo-stage img { max-height: 84px; width: auto; }

.logo-stage img.mark { max-height: 96px; }

.logo-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: var(--t-xs); background: var(--bg-raised); }

.logo-meta a { font-weight: 600; }

@media (max-width: 900px) { .logo-grid { grid-template-columns: minmax(0, 1fr); } }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

.rules article { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-raised); }

.rules h3 { font-size: var(--t-md); margin-bottom: 12px; }

.rules + .fine { margin-top: 18px; }

@media (max-width: 760px) { .rules { grid-template-columns: minmax(0, 1fr); } }

.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 1100px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 560px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.swatch { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--bg-raised); }

.swatch-chip { height: 110px; display: flex; align-items: flex-end; padding: 12px; font: 600 .75rem/1 var(--font-mono); }

.swatch-body { padding: 14px 16px; display: grid; gap: 4px; }

.swatch-body b { font-size: var(--t-sm); }

.swatch-body code { font-size: .8125rem; color: var(--fg-2); }

.swatch-body span { font-size: var(--t-xs); color: var(--muted); }

.sw-forge { background: #173f30; color: #eef1e8; }

.sw-lime { background: #d6ee8e; color: #1b3510; }

.sw-ink { background: #12241c; color: #eef1e8; }

.sw-paper { background: #eef1e8; color: #12241c; }

.sw-sage { background: #e3e9db; color: #12241c; }

.sw-amber { background: #8f5410; color: #f5e6cc; }

.type-specimens { display: grid; gap: 16px; }

.specimen { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 12px 32px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }

.specimen-meta { display: grid; gap: 4px; font-size: var(--t-xs); color: var(--muted); }

.specimen-meta b { font-size: var(--t-sm); color: var(--fg); }

.spec-display { font-family: var(--font-display); font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); line-height: 1.02; }

.spec-body { font-size: var(--t-lg); line-height: 1.55; color: var(--fg-2); max-width: 46ch; }

.spec-mono { font-family: var(--font-mono); font-size: var(--t-sm); line-height: 1.7; color: var(--fg-2); overflow-wrap: anywhere; }

@media (max-width: 760px) { .specimen { grid-template-columns: minmax(0, 1fr); } }

.voice-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.voice-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--t-sm); }

.voice-table th { text-align: left; padding: 14px 18px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-sunk); }

.voice-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }

.voice-table td:first-child { color: var(--fg); font-weight: 600; }

.copy-blocks { display: grid; gap: 16px; }

.copy-block { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); overflow: hidden; }

.copy-block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); font-size: var(--t-xs); font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.copy-block p { padding: 18px; font-size: var(--t-md); color: var(--fg); line-height: 1.65; }

.copy-block .btn-plain { min-height: 34px; }

.notfound { padding-block: clamp(4rem, 3rem + 6vw, 9rem); }

.notfound h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 2rem + 5vw, 6rem); line-height: 1; margin: 12px 0 18px; }

.notfound .hero-actions { margin-top: 28px; }



@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

}



/* Pricing */

.price-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 24px; font-size: var(--t-sm); color: var(--fg-2); max-width: 860px; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1800px; }

.plan { display: grid; gap: 12px; grid-template-rows: auto auto auto 1fr auto; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-raised); min-width: 0; transition: transform .7s var(--ease), opacity .6s var(--ease); }

/* Scroll-triggered 3D entrance: each tier tilts up out of the page as the pricing
   section comes into view, staggered left to right so the grid still reads as one row. */
.plans.is-pre-reveal .plan { transform: translate3d(0, 54px, -200px) rotateX(16deg) scale(.92); opacity: 0; transition: none; }
.plan:nth-child(1) { transition-delay: 0s; }
.plan:nth-child(2) { transition-delay: .08s; }
.plan:nth-child(3) { transition-delay: .16s; }
.plan:nth-child(4) { transition-delay: .24s; }
.plan:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .plans.is-pre-reveal .plan { transform: none; opacity: 1; }
}

.plan > .btn, .plan-act > .btn { justify-self: start; }

.plan-act { display: grid; gap: 8px; }

.plan.is-featured { border-color: var(--focus); box-shadow: var(--shadow); }

.plan h3 { font-size: var(--t-lg); font-weight: 700; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }

.price strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }

.price span { font-size: var(--t-sm); color: var(--fg-2); }

.price-note { font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }

.plan .check-list { gap: 10px; margin-top: 4px; align-content: start; }

.price-fine { margin-top: 14px; }

.plan-once { margin-top: 16px; }

.plan-once .check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }

@media (max-width: 800px) { .plan-once .check-list { grid-template-columns: 1fr; } }

.plan.plan-custom { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; }

@media (max-width: 800px) { .plan.plan-custom { grid-template-columns: minmax(0, 1fr); } }

.calc-dialog { width: min(640px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); overflow: auto; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); color: var(--fg); box-shadow: var(--shadow); }

.calc-dialog::backdrop { background: rgba(6, 14, 10, .7); }

.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }

.calc-head h2 { font-size: var(--t-lg); font-weight: 700; }

.calc-desks, .calc-store { border: 0; padding: 0; margin: 14px 0 0; }

.calc-desks input:disabled + span { color: var(--muted); }

.calc-store .fine { margin-top: 8px; }

.calc-desks legend, .calc-store legend { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }

.calc-desks ul, .calc-store ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

.calc-desks label, .calc-store label { display: flex; align-items: flex-start; gap: 10px; font-size: var(--t-sm); cursor: pointer; }

.calc-desks input, .calc-store input { margin-top: 3px; accent-color: var(--focus); }

.calc-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 18px 0 14px; font-size: var(--t-sm); color: var(--fg-2); }

.calc-total strong { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }

.calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.calc-actions [aria-disabled="true"] { opacity: .5; pointer-events: none; }

@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.compare-title { font-size: var(--t-lg); font-weight: 700; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); margin-bottom: 8px; }

.compare-wrap { border-color: var(--line); margin-top: 14px; }

.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: var(--t-sm); }

.compare th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 16px; background: var(--bg-sunk); }

.compare td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }

.compare td:first-child { font-weight: 650; color: var(--fg); }

#app-builder .claims, #pricing .claims { margin-top: 28px; }



/* Live demo on the home page */

.console-caption { flex-wrap: wrap; }

.console-caption .console-link { margin-left: auto; color: var(--lime); font-weight: 650; white-space: nowrap; text-decoration: none; }

.console-caption .console-link:hover { text-decoration: underline; }

.demo-teaser { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 1rem + 1vw, 28px); }

.demo-teaser ol { padding-left: 1.4em; display: grid; gap: 9px; font-size: var(--t-sm); color: var(--fg-2); }

.demo-teaser li::marker { font-family: var(--font-mono); color: var(--muted); }



/* Projects board preview */

.pb-frame { margin: 8px 0 34px; padding: 16px; border-radius: 22px; background: var(--forge); box-shadow: var(--shadow); }

.pb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }

.pb-project { font: 400 1.25rem/1.2 var(--font-display); color: var(--forge-fg); }

.pb-quick { flex: 1; min-width: 240px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--forge-line); color: var(--forge-muted); font: 500 .85rem/1.4 var(--font-mono); background: rgba(0, 0, 0, .16); overflow-wrap: anywhere; }

.pb-board { display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; }

.pb-lane { padding: 10px; border-radius: 16px; background: var(--bg-sunk); }

.pb-lane ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.pb-lane-head { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 10px; font: 650 .74rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }

.pb-count { font: 600 .72rem/1 var(--font-mono); padding: 4px 8px; border-radius: 999px; background: var(--bg-raised); border: 1px solid var(--line); color: var(--muted); }

.pb-card { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg-raised); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }

.pb-key { font: 600 .72rem/1 var(--font-mono); color: var(--muted); }

.pb-title { font-weight: 600; font-size: .92rem; line-height: 1.35; color: var(--fg); }

.pb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.pb-chip { padding: 3px 8px; border-radius: 999px; font: 600 .7rem/1.3 var(--font-body); color: var(--fg-2); background: var(--bg-sunk); border: 1px solid var(--line); }

.pb-urgent, .pb-block { color: #a23a2c; background: #fae8e4; border-color: #e8b8ae; }

.pb-high { color: var(--amber); background: var(--amber-bg); border-color: #e6cc98; }

.pb-med { color: #2c5f86; background: #e6eef5; border-color: #bcd0e0; }

.pb-kind { color: var(--link); background: color-mix(in srgb, var(--lime) 35%, transparent); border-color: transparent; }

.pb-tag { background: transparent; color: var(--muted); }

.pb-avatar { margin-left: auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 700 .64rem/1 var(--font-body); color: var(--forge-fg); background: var(--forge); }

@media (max-width: 720px) {

  .pb-board { grid-template-columns: repeat(4, 78%); scroll-snap-type: x mandatory; }

  .pb-lane { scroll-snap-align: start; }

}

.mega-feature .btn-primary { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }

.mega-feature .btn-primary:hover { filter: brightness(1.05); }



/* Dual-OS Certified Store & Release Badges */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.store-badges.footer-store-badges {
  margin-top: 10px;
  margin-bottom: 0;
  gap: 10px;
}
.store-badge {

  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px;

  border-radius: 14px; background: var(--console-raised); color: var(--forge-fg);

  border: 1.5px solid var(--line-strong); text-decoration: none;

  box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .2s var(--ease), border-color .2s var(--ease);

}

.store-badge:hover { transform: translateY(-2px); border-color: var(--lime); color: #ffffff; }

.store-badge-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--lime); }

.store-badge-text { display: flex; flex-direction: column; line-height: 1.25; }

.store-badge-kicker { font: 600 .68rem/1.1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 5px; }

.store-badge-title { font: 700 .95rem/1.25 var(--font-body); color: #eef1e8; margin-top: 2px; }

.store-badge-sub { font: 500 .72rem/1.2 var(--font-mono); color: var(--forge-muted); margin-top: 2px; }
.store-badge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .28);
  text-decoration: none;
  transition: transform .2s var(--ease), filter .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  line-height: 0;
  box-sizing: border-box;
}
.store-badge-button:hover, .store-badge-button:focus-visible {
  transform: translateY(-1.5px);
  border-color: var(--lime);
  filter: brightness(1.02);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35);
  text-decoration: none;
}
.store-badge-button:active {
  transform: translateY(1px);
}
.store-badge-img {
  display: block;
  width: auto;
  object-fit: contain;
}
.store-badge-ms {
  height: 22px;
}
.store-badge-gp {
  height: 23px;
  margin: 0;
}
/* Translated pages (ur, ar, zh). Headlines keep Gloock for Latin; other scripts fall back to the system's
   own fonts, chosen per language. Urdu and Arabic read right to left. */
.lang-switch { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-sm); }
.lang-switch a { color: var(--fg-2); text-decoration: none; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--fg); text-decoration: underline; }
.i18n-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.i18n-page .film-frame + .film-frame { margin-top: 28px; }
.i18n-page .film-frame figcaption { margin-top: 10px; }
.i18n-page .page-hero .fine { margin-top: 18px; }
:lang(ur) { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Noto Naskh Arabic", serif; line-height: 2; }
:lang(ar) { font-family: "Noto Naskh Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
:lang(zh) { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif; }
:lang(ur) h1, :lang(ur) h2, :lang(ur) h3 { line-height: 1.9; letter-spacing: 0; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; line-height: 1.35; }
[lang="en"] { font-family: inherit; }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand-word { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .prose ul { padding-inline-start: 1.4em; padding-left: 0; }

/* The language links in the English footer. */
.footer-langs { margin-top: 8px; }
.footer-langs a { margin-inline-end: 12px; }

/* Official accounts, written into every footer by website/build_social.py. */
.social-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 0; padding: 0; }
.site-footer > .wrap > .social-links { margin-bottom: 18px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--fg-2); transition: color .15s, border-color .15s, background-color .15s; }
.social-links a:hover, .social-links a:focus-visible { color: var(--fg); border-color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.social-links svg { width: 20px; height: 20px; }

/* Google Play Store official emerald CTA and status badge (CSP-compliant, no inline style) */
.btn-play, :root[data-theme="emerald"] .btn-play { background: #01875f; border-color: #01875f; color: #ffffff; }
.btn-play:hover, :root[data-theme="emerald"] .btn-play:hover { background: #016f4e; border-color: #016f4e; color: #ffffff; filter: brightness(1.04); }
.status.play { background: #01875f; color: #ffffff; border-color: #01875f; }
.shot-phone { max-width: 360px; height: auto; border-radius: 12px; border: 1px solid var(--line); }

/* 20-Product Mega Dropdown (#menu-products) & Product Tutorial Showcase */
.mega.mega-products {
  width: min(1160px, calc(100vw - 2 * var(--gutter)));
  max-width: min(1160px, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  padding: 16px;
  gap: 10px;
}
.nav-trigger[aria-expanded="true"] + .mega.mega-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mega.mega-products .mega-col {
  min-width: 0;
  padding: 4px;
  gap: 2px;
}
.mega.mega-products .mega-link {
  padding: 7px 10px;
  border-radius: 10px;
}
.mega.mega-products .mega-link[aria-current="page"] {
  background: var(--bg-sunk);
  outline: 1px solid var(--line-strong);
}
.mega.mega-products .mega-title {
  font-size: .875rem;
  gap: 6px;
}
.mega.mega-products .mega-desc {
  font-size: .78rem;
  line-height: 1.32;
}
.nav-num {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  font: 700 .68rem/1 var(--font-mono);
  color: var(--lime-ink);
  background: var(--lime);
  flex-shrink: 0;
}
.mega-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--forge);
  color: var(--forge-fg);
}
.mega-footer p {
  font-size: .85rem;
  color: var(--forge-muted);
}
.mega-footer b {
  color: var(--forge-fg);
}
.mega-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 1079px) {
  .mega.mega-products {
    width: auto;
    max-width: none;
    max-height: none;
    padding: 6px 0 12px;
  }
  .nav-trigger[aria-expanded="true"] + .mega.mega-products {
    display: flex;
    flex-direction: column;
  }
}

/* Hero console 20-product grid */
.explore-list.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
  max-height: 410px;
  overflow-y: auto;
  padding-right: 4px;
}
.explore-list.explore-grid li + li a {
  border-top: 1px solid var(--console-line);
}
@media (max-width: 640px) {
  .explore-list.explore-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: 360px;
  }
}

/* Product page auto-playing tutorial showcase */
.product-tutorial-card {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: var(--console-bg);
  color: var(--console-fg);
  border: 1px solid var(--console-line);
  box-shadow: var(--shadow);
}
.product-tutorial-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--console-line);
}
.product-tutorial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.product-tutorial-title {
  font: 600 var(--t-sm)/1.3 var(--font-body);
  color: var(--console-fg);
}
.product-tutorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.product-tutorial-card .film-frame video {
  border-radius: 12px;
  background: #000;
}
.product-tutorial-card .film-frame figcaption {
  color: var(--console-muted);
  margin-top: 12px;
}
.product-tutorial-card .film-frame figcaption a {
  color: var(--lime);
}
.product-grid-20 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.product-grid-20 li a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--fg);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.product-grid-20 li a:hover, .product-grid-20 li a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  text-decoration: none;
}
.product-grid-20 li a[aria-current="page"] {
  border-color: var(--focus);
  background: var(--bg-sunk);
}
.product-grid-20 .pg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: var(--t-sm);
}
.product-grid-20 .pg-desc {
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 1023px) {
  .product-grid-20 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .product-grid-20 { grid-template-columns: minmax(0, 1fr); }
}

/* WCAG Readability & Contrast Safeguards Across All 5 Themes */
select option { background-color: var(--bg-raised); color: var(--fg); }
.btn-lime:hover { background: var(--forge-fg); color: var(--lime-ink); }
.band-forge h1, .band-forge h2, .band-forge h3, .band-forge h4,
.band-forge th, .band-forge td, .band-forge dt { color: var(--forge-fg); }
.band-forge .repairs th { color: var(--forge-fg); background: var(--forge-2); }
.band-forge .trio article { background: var(--forge-2); color: var(--forge-fg); border-color: var(--forge-line); }
.band-forge .trio h3 { color: var(--forge-fg); }
.band-forge .trio p { color: var(--forge-muted); }
:root[data-theme="dark"] .hero-threads .t-main,
:root[data-theme="emerald"] .hero-threads .t-main,
:root[data-theme="kerjata"] .hero-threads .t-main { stroke: var(--lime); opacity: .55; }
:root[data-theme="dark"] .hero-meta li::before,
:root[data-theme="emerald"] .hero-meta li::before,
:root[data-theme="kerjata"] .hero-meta li::before { background: var(--lime); opacity: .85; }
:root[data-theme="dark"] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2396d6a4' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root[data-theme="emerald"] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23b4f04a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root[data-theme="kerjata"] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%232563eb' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .pb-urgent, :root[data-theme="dark"] .pb-block,
:root[data-theme="emerald"] .pb-urgent, :root[data-theme="emerald"] .pb-block {
  color: #fca5a5; background: #3a151b; border-color: #682730;
}
:root[data-theme="kerjata"] .pb-urgent, :root[data-theme="kerjata"] .pb-block {
  color: #dc2626; background: #fef2f2; border-color: #fecaca;
}
:root[data-theme="dark"] .pb-med,
:root[data-theme="emerald"] .pb-med {
  color: #7dd3fc; background: #0c2a40; border-color: #1e4b6e;
}
:root[data-theme="kerjata"] .pb-med {
  color: #b45309; background: #fffbeb; border-color: #fde68a;
}
:root[data-theme="dark"] .pb-kind,
:root[data-theme="emerald"] .pb-kind {
  color: var(--lime); background: color-mix(in srgb, var(--lime) 14%, var(--bg-raised)); border-color: color-mix(in srgb, var(--lime) 32%, transparent);
}
:root[data-theme="kerjata"] .pb-kind {
  color: #2563eb; background: #eff6ff; border-color: #bfdbfe;
}
.roadmap li.is-now { background: var(--forge-2); border-color: var(--lime); color: var(--forge-fg); }
.check input:checked + span { background: var(--forge-2); color: var(--forge-fg); border-color: var(--lime); }

/* Operational & Industrial Compatibility (18 Industries & Scale) */
.mega.mega-industries {
  width: min(1200px, calc(100vw - 2 * var(--gutter)));
  max-width: min(1200px, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  padding: 16px;
  gap: 10px;
}
.nav-trigger[aria-expanded="true"] + .mega.mega-industries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mega.mega-industries .mega-col {
  min-width: 0;
  padding: 4px;
  gap: 2px;
}
.mega.mega-industries .mega-link {
  padding: 7px 10px;
  border-radius: 10px;
}
.mega.mega-industries .mega-title {
  font-size: .86rem;
  gap: 6px;
}
.mega.mega-industries .mega-desc {
  font-size: .76rem;
  line-height: 1.32;
  color: var(--muted);
}
@media (max-width: 1079px) {
  .mega.mega-industries {
    width: auto;
    max-width: none;
    max-height: none;
    padding: 6px 0 12px;
  }
  .nav-trigger[aria-expanded="true"] + .mega.mega-industries {
    display: flex;
    flex-direction: column;
  }
}

/* Scale Metric Cards */
.scale-stats {
  margin-top: 32px;
  margin-bottom: 24px;
}

/* 4 Enterprise Scale Tiers Grid */
.scale-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 32px;
}
.scale-tier-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  min-width: 0;
}
.scale-tier-card.is-featured {
  border-color: var(--focus);
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--bg-raised) 94%, var(--lime) 6%);
}
.scale-tier-pill {
  display: inline-block;
  font: 700 .68rem/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--link);
  background: var(--ok-bg);
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--link) 28%, var(--line));
  margin-bottom: 8px;
}
:root[data-theme="kerjata"] .scale-tier-pill,
:root[data-theme="kerjata"] .ind-scale-badge {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.scale-tier-card h3 {
  font-size: var(--t-md);
  font-weight: 700;
  margin-bottom: 8px;
}
.scale-tier-desc {
  font-size: var(--t-xs);
  line-height: 1.55;
  color: var(--fg-2);
  margin-bottom: 14px;
}
.scale-tier-card .check-list {
  margin-top: auto;
  gap: 8px;
  font-size: .8rem;
}
@media (max-width: 1100px) {
  .scale-tiers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .scale-tiers-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Operational Credit Banner */
.industry-credit-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--forge);
  border: 1px solid var(--forge-line);
  color: var(--forge-fg);
  margin-bottom: 26px;
}
.ind-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
}
.ind-banner-shield {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--lime);
}
.ind-banner-left h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--forge-fg);
  margin-bottom: 2px;
}
.ind-banner-left p {
  font-size: .82rem;
  line-height: 1.45;
  color: var(--forge-muted);
}
.ind-banner-right {
  display: flex;
  align-items: center;
}
.ind-banner-copyright {
  font: 600 .75rem/1.3 var(--font-mono);
  color: var(--lime);
  background: rgba(0, 0, 0, .25);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--forge-line);
}

/* Filter Bar */
.industry-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.industry-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--fg-2);
  font: 600 var(--t-xs)/1 var(--font-body);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.industry-filter-btn:hover, .industry-filter-btn:focus-visible {
  border-color: var(--fg);
  color: var(--fg);
  background: var(--bg-sunk);
}
.industry-filter-btn.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* 18 Industry Cards Grid */
.industry-grid-18 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
  perspective: 1800px;
}
.industry-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.industry-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.industry-card[hidden] {
  display: none !important;
}
.ind-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.ind-badge-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ind-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 22px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  font: 700 .72rem/1 var(--font-mono);
}
.ind-cat-pill {
  font: 700 .66rem/1.2 var(--font-mono);
  letter-spacing: .08em;
  color: var(--muted);
  background: var(--bg-sunk);
  padding: 3px 6px;
  border-radius: 4px;
}
.ind-scale-badge {
  font: 650 .7rem/1.25 var(--font-mono);
  color: var(--link);
  background: var(--ok-bg);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--link) 32%, var(--line));
  text-align: right;
}
.ind-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 4px;
}
.ind-subtitle {
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 12px;
}
.ind-capacity-bar {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  font-size: .78rem;
  line-height: 1.4;
  color: var(--fg-2);
  margin-bottom: 12px;
}
.ind-capacity-bar strong {
  color: var(--fg);
}
/* Industry card disclosure: the dense workflow/calculator/role/desk detail is collapsed
   by default behind a toggle, so the 18-card grid reads as a scannable summary grid
   rather than a wall of text; the full detail is one click away, never lost. */
.ind-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
  margin-bottom: 4px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-sunk);
  color: var(--fg);
  font: 650 .78rem/1.3 var(--font-body);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.ind-toggle:hover, .ind-toggle:focus-visible { background: var(--bg-raised); border-color: var(--line-strong); }
.ind-toggle-chev { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); transition: transform .2s var(--ease); }
.ind-toggle[aria-expanded="true"] .ind-toggle-chev { transform: rotate(180deg); }
.ind-detail { margin-top: 2px; }
.ind-detail[hidden] { display: none; }
.ind-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.ind-workflow {
  font-size: .835rem;
  line-height: 1.55;
  color: var(--fg-2);
}
.ind-spec-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .78rem;
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.ind-spec-label {
  font-weight: 650;
  color: var(--fg);
}
.ind-spec-val {
  color: var(--muted);
}
.ind-desks-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.ind-desks-label {
  display: block;
  font: 650 .68rem/1.2 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ind-desks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ind-desk-tag {
  font: 600 .68rem/1.3 var(--font-body);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  color: var(--fg-2);
}
.ind-claim-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font: 500 .69rem/1.3 var(--font-mono);
  color: var(--muted);
}
.ind-claim-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--link);
}
.industry-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  margin-top: 16px;
}
.industry-footer-cta p {
  max-width: 60ch;
  font-size: var(--t-md);
  color: var(--fg-2);
}

@media (max-width: 1100px) {
  .industry-grid-18 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .industry-grid-18 { grid-template-columns: minmax(0, 1fr); }
}

/* All 20 products grid: a simple card grid that tilts up into place, staggered
   card-by-card via a JS-assigned --i custom property, as it scrolls into view. */
.products-grid-20 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; perspective: 1800px; }
.product-tile { transition: transform .65s var(--ease), opacity .55s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.pt-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pt-link:hover, .pt-link:focus-visible { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.pt-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 20px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  font: 700 .68rem/1 var(--font-mono);
  margin-bottom: 2px;
}
.pt-title { font-size: .92rem; font-weight: 700; color: var(--fg); line-height: 1.3; }
.pt-desc { font-size: .78rem; color: var(--muted); line-height: 1.4; }

.products-grid-20.is-pre-reveal .product-tile { transform: translate3d(0, 40px, -160px) rotateX(14deg) scale(.9); opacity: 0; transition: none; }

@media (max-width: 980px) {
  .products-grid-20 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .products-grid-20 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .products-grid-20.is-pre-reveal .product-tile { transform: none; opacity: 1; }
}

/* Product tour: a swipeable, keyboard-operable 3D slide deck of the eight desks.
   Pure CSS perspective/translateZ/rotateY — no canvas, no WebGL, no external library. */
.deck { margin-top: 44px; }
.deck-stage {
  position: relative;
  height: clamp(300px, 32vw, 380px);
  perspective: 1600px;
  overflow: hidden;
}
.deck-slide {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.deck-slide:not(.is-active) { pointer-events: none; }
.deck-slide.is-active { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; z-index: 5; }
.deck-slide.is-next { transform: translate3d(44%, 0, -180px) rotateY(-24deg) scale(.86); opacity: .45; z-index: 4; }
.deck-slide.is-prev { transform: translate3d(-44%, 0, -180px) rotateY(24deg) scale(.86); opacity: .45; z-index: 4; }
.deck-slide.is-next2 { transform: translate3d(70%, 0, -340px) rotateY(-32deg) scale(.72); opacity: 0; z-index: 3; }
.deck-slide.is-prev2 { transform: translate3d(-70%, 0, -340px) rotateY(32deg) scale(.72); opacity: 0; z-index: 3; }
.deck-slide.is-hidden { transform: translate3d(0, 0, -440px) scale(.6); opacity: 0; z-index: 1; }

/* Scroll-triggered entrance: the deck sits as a tight stack until it scrolls into view,
   then peels apart into its normal coverflow positions using the transition already above. */
.deck.is-pre-reveal .deck-slide { transition: none; }
.deck.is-pre-reveal .deck-slide.is-active,
.deck.is-pre-reveal .deck-slide.is-next,
.deck.is-pre-reveal .deck-slide.is-prev,
.deck.is-pre-reveal .deck-slide.is-next2,
.deck.is-pre-reveal .deck-slide.is-prev2 {
  transform: translate3d(0, 0, -260px) scale(.7) rotateY(0deg);
  opacity: 0;
}

.deck-num {
  position: absolute;
  right: 22px;
  top: 2px;
  font: 700 clamp(3.2rem, 9vw, 5.6rem)/1 var(--font-display);
  color: var(--line-strong);
  opacity: .35;
  pointer-events: none;
}
.deck-slide .eyebrow { color: var(--muted); }
.deck-slide h3 { font-family: var(--font-display); font-size: var(--t-xl); max-width: 20ch; }
.deck-slide p:not(.eyebrow) { max-width: 46ch; color: var(--fg-2); }
.deck-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 650; color: var(--link); text-decoration: none; }
.deck-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.deck-link:hover svg, .deck-link:focus-visible svg { transform: translateX(3px); }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.deck-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-raised); color: var(--fg);
  cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.deck-btn svg { width: 20px; height: 20px; }
.deck-btn:hover { background: var(--bg-sunk); }
.deck-btn:active { transform: scale(.92); }
.deck-dots { display: flex; align-items: center; gap: 9px; }
.deck-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: background-color .2s, transform .2s; }
.deck-dot:hover { background: var(--muted); }
.deck-dot[aria-selected="true"] { background: var(--link); transform: scale(1.35); }

@media (max-width: 640px) {
  .deck-stage { height: clamp(360px, 92vw, 460px); }
  .deck-slide.is-next, .deck-slide.is-prev { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-slide { transition: opacity .25s linear; }
  .deck-slide.is-active { transform: none; }
  .deck-slide.is-next, .deck-slide.is-prev, .deck-slide.is-next2, .deck-slide.is-prev2, .deck-slide.is-hidden { transform: none; opacity: 0; }
}

/* 10.19.0 Dual-Mode Executive UI Showcase & Local Installer Certificate Trust Guide */
.suite-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 32px;
}
.suite-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.suite-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.suite-shot figcaption {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.suite-shot-title {
  font-weight: 700;
  font-size: .98rem;
  color: var(--fg);
}
.suite-shot-desc {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--fg-2);
}
.trust-guide {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-guide-head {
  margin-bottom: 16px;
}
.trust-guide-head h3 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: var(--fg);
}
.trust-guide-head p:last-child {
  margin: 0;
  color: var(--fg-2);
  max-width: 72ch;
}
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.trust-card {
  padding: 16px 18px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-card h4 {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--fg);
}
.trust-card p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.5;
  color: var(--fg-2);
}
.trust-code {
  display: block;
  margin-top: 4px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: .76rem;
  line-height: 1.45;
  color: var(--fg);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
@media (max-width: 920px) {
  .suite-showcase-grid, .trust-cards { grid-template-columns: minmax(0, 1fr); }
}


/* 10.19.0 Competitive Edge Matrix & 4-Desk Live Screen Showcase */
.edge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.edge-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,.06)); }
.edge-card-wide { grid-column: 1 / -1; border-color: var(--link); }
.edge-badge { align-self: flex-start; display: inline-flex; padding: 4px 11px; border-radius: 999px; font: 700 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--link); background: var(--ok-bg); border: 1px solid var(--line); }
.edge-card h3 { margin: 2px 0 0; font-size: 20px; line-height: 1.25; color: var(--fg); }
.edge-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.edge-link { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--link); text-decoration: none; }
.edge-link:hover { text-decoration: underline; }
.edge-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.shot-gallery-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.shot-tile { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shot-tile img { display: block; width: 100%; height: auto; }
.shot-tile figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--fg-2); border-top: 1px solid var(--line); }
.shot-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.shot-card img { display: block; width: 100%; height: auto; }
.shot-card figcaption { padding: 14px 18px; border-top: 1px solid var(--line); }
.edge-matrix-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
@media (max-width: 820px) { .edge-grid, .shot-gallery-4 { grid-template-columns: 1fr; } }

/* 10.19.0 Polish: ensure dark tutorial bar buttons stay legible in Light (Kerjata) theme & prevent 1280px mega-menu overflow */
.product-tutorial-bar .btn-ghost,
.mega-footer .btn-ghost {
  color: #f3f7ee;
  border-color: rgba(243, 247, 238, 0.36);
  background: rgba(255, 255, 255, 0.08);
}
.product-tutorial-bar .btn-ghost:hover,
.mega-footer .btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(214, 238, 142, 0.72);
}
@media (min-width: 981px) {
  .mega-products {
    left: -180px;
    width: min(1140px, calc(100vw - 48px));
    max-width: min(1140px, calc(100vw - 48px));
  }
}


/* 10.19.0 Industry Tier Pack Films & Spotlight (01-03) */
.ind-showcase-wrap { margin: 28px 0 30px; }
.ind-showcase-head { margin-bottom: 16px; }
.ind-showcase-head h3 { margin: 4px 0 0; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); color: var(--fg); }
.ind-film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind-film-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.ind-film-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ind-pack-price-badge { margin-left: auto; font: 700 .72rem/1.2 var(--font-mono); padding: 4px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--link); border: 1px solid var(--line); }
.ind-film-card h3 { margin: 0; font-size: 1.05rem; color: var(--fg); }
.ind-film-sub { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--fg-2); }
.ind-film-player { margin: 2px 0 4px; }
.ind-film-player figcaption { margin-top: 6px; font-size: .78rem; }
.ind-pack-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ind-tier-pack-box { margin: 8px 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--link) 35%, var(--line)); font-size: .8rem; line-height: 1.45; color: var(--fg); }
.ind-tier-pack-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-weight: 700; }
.ind-tier-pack-links a { color: var(--link); text-decoration: none; }
.ind-tier-pack-links a:hover { text-decoration: underline; }
.ind-desks-standalone { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--bg-raised); border: 1px solid var(--line); }
.ind-desk-pill-link { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--bg-sunk); color: var(--link); border: 1px solid var(--line); text-decoration: none; }
.ind-desk-pill-link:hover { border-color: var(--link); text-decoration: underline; }
@media (max-width: 1020px) { .ind-film-grid { grid-template-columns: 1fr; } }

.ind-all-films-bar { margin: -8px 0 26px; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-raised); border: 1px solid var(--line); }
.ind-all-films-bar strong { display: block; margin-bottom: 10px; font-size: .88rem; color: var(--fg); }
.ind-all-films-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* === PIONEER ECOSYSTEM, 26-DESK HD SLIDESHOW & UNIFIED 18-INDUSTRY CINEMA GRID === */
html, body {
  overflow-x: clip;
}
.header-inner { gap: 12px; }
.site-nav .nav-trigger, .site-nav .nav-link { padding: 7px 10px; font-size: var(--t-sm); }
.header-actions { gap: 8px; flex-shrink: 0; }
@media (max-width: 1340px) {
  .header-demo { display: none; }
}

/* Header Search Trigger (Ctrl+K) — strictly uses licensed Public Sans & JetBrains Mono */
.cmdk-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-sunk);
  color: var(--fg);
  font: 600 0.82rem/1 var(--font-body);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.cmdk-trigger:hover,
.cmdk-trigger:focus-visible {
  border-color: var(--link);
  background: var(--bg-raised);
}
.cmdk-trigger svg {
  width: 15px;
  height: 15px;
  color: var(--link);
}
.cmdk-kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: 600 0.7rem/1 var(--font-mono);
  color: var(--muted);
}
@media (max-width: 1280px) {
  .cmdk-kbd { display: none; }
}
@media (max-width: 720px) {
  .cmdk-trigger-label { display: none; }
  .cmdk-trigger { width: 40px; height: 40px; padding: 0; justify-content: center; }
}

/* Global Ctrl+K Command Palette Modal */
.cmdk-dialog {
  width: min(680px, calc(100vw - 28px));
  max-height: min(82vh, 620px);
  margin: 8vh auto auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--bg-raised);
  color: var(--fg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cmdk-dialog::backdrop {
  background: rgba(6, 18, 14, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cmdk-shell {
  display: flex;
  flex-direction: column;
  max-height: min(82vh, 620px);
}
.cmdk-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-sunk);
}
.cmdk-search-bar svg {
  width: 18px;
  height: 18px;
  color: var(--link);
  flex-shrink: 0;
}
.cmdk-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: 500 0.96rem/1.3 var(--font-body);
  outline: none;
}
.cmdk-input::placeholder { color: var(--muted); }
.cmdk-close {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: 6px;
  padding: 4px 8px;
  font: 600 0.72rem/1 var(--font-mono);
  cursor: pointer;
}
.cmdk-close:hover { color: var(--fg); border-color: var(--link); }
.cmdk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.cmdk-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-sunk);
  color: var(--fg-2);
  font: 600 0.75rem/1.2 var(--font-body);
  cursor: pointer;
}
.cmdk-chip.is-active,
.cmdk-chip:hover {
  border-color: var(--link);
  background: var(--ok-bg);
  color: var(--link);
}
.cmdk-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  overflow-y: auto;
  max-height: 410px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cmdk-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid transparent;
}
.cmdk-item a:hover,
.cmdk-item a:focus-visible,
.cmdk-item.is-selected a {
  background: var(--bg-sunk);
  border-color: var(--line-strong);
  outline: none;
}
.cmdk-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cmdk-item-title {
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--fg);
}
.cmdk-item-sub {
  font-size: 0.8rem;
  color: var(--muted);
}
.cmdk-item-tag {
  font: 700 0.7rem/1.2 var(--font-mono);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--link);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.cmdk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-sunk);
  font-size: 0.76rem;
  color: var(--muted);
}

/* Pioneer Parent Organization Hero Ribbon — refined, proportionate & brand-kit matched */
.pioneer-parent-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  font-family: var(--font-body);
}
.pioneer-parent-kicker {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font: 700 0.68rem/1.2 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pioneer-parent-text {
  font-size: 0.82rem;
  color: var(--fg-2);
  line-height: 1.4;
}
.pioneer-parent-text b { color: var(--fg); }
.pioneer-parent-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pioneer-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-sunk);
  color: var(--fg);
  font: 600 0.76rem/1.3 var(--font-body);
  text-decoration: none;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.pioneer-domain-pill:hover {
  border-color: var(--link);
  color: var(--link);
  background: var(--ok-bg);
}
.pioneer-domain-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

/* Parent Organization 3-Division Cards (#pioneer-ecosystem) — clean, benchmarked typography */
.eco-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.eco-pillar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-width: 0;
}
.eco-pillar-card.is-parent {
  border-color: var(--focus);
}
.eco-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.eco-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 0.74rem/1.2 var(--font-mono);
  background: var(--ok-bg);
  color: var(--link);
  border: 1px solid var(--line);
}
.eco-role-tag {
  font: 600 0.72rem/1.2 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.eco-pillar-card h3 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.22;
  color: var(--fg);
}
.eco-pillar-card p {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--fg-2);
}
.eco-spec-list {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--fg-2);
}
.eco-spec-list li {
  display: block;
  position: relative;
  padding-left: 18px;
  line-height: 1.52;
}
.eco-spec-list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--link);
  font-weight: 700;
}
.eco-pillar-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 1024px) {
  .eco-bento-grid { grid-template-columns: 1fr; }
}

/* 26-Desk High-Definition Visual Slideshow (#tour) */
.deck-stage-visual {
  height: clamp(390px, 38vw, 450px);
}
.deck-slide.deck-slide-visual {
  max-width: 940px;
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: center;
  align-content: center;
}
.deck-shot-frame {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0b1310;
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 10;
}
.deck-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.6s var(--ease);
}
.deck-slide.is-active .deck-shot-frame img {
  transform: scale(1.015);
}
.deck-shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #111815;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font: 600 0.7rem/1.2 var(--font-mono);
  color: #cbd5e1;
}
.deck-shot-dots {
  display: inline-flex;
  gap: 5px;
}
.deck-shot-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.deck-shot-dots i:nth-child(1) { background: #ef4444; }
.deck-shot-dots i:nth-child(2) { background: #f59e0b; }
.deck-shot-dots i:nth-child(3) { background: #22c55e; }
.deck-copy-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.deck-group-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--link);
  border: 1px solid var(--line);
  font: 700 0.72rem/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.deck-copy-pane h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.2;
  color: var(--fg);
  max-width: none;
}
.deck-copy-pane p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-2);
}
.deck-tier-tag {
  font: 600 0.78rem/1.3 var(--font-mono);
  color: var(--muted);
}
.deck-dots-26 {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 720px;
  gap: 7px;
}
.deck-counter {
  font: 700 0.8rem/1 var(--font-mono);
  color: var(--fg-2);
  min-width: 64px;
  text-align: center;
}
@media (max-width: 860px) {
  .deck-stage-visual { height: clamp(540px, 115vw, 660px); }
  .deck-slide-visual { grid-template-columns: 1fr; gap: 14px; }
}

/* Industry Cinema Card meta pills (Calculators & Roles inside the unified 18-card cinema grid) */
.ind-cinema-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--fg-2);
}
.ind-cinema-meta div strong {
  color: var(--fg);
}
.ind-film-card[hidden] {
  display: none !important;
}

/* Pricing Store Badges — uniform location and size across all 4 tier cards */
.plan-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: -4px;
}
.plan-badges .status {
  height: 28px;
  padding: 0 11px;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
}

/* Fix 6-row .plan grid so all 4 top store badges AND all 4 bottom Buy buttons align at identical Y coordinates and sizes */
.plan {
  grid-template-rows: auto auto auto auto 1fr auto;
}
.plan-act {
  margin-top: auto;
  padding-top: 8px;
}
.plan-act > .btn {
  width: 100%;
  justify-content: center;
}
.deck-shot-frame {
  display: flex;
  flex-direction: column;
}
.deck-shot-frame img {
  flex: 1;
  min-height: 0;
  height: auto;
}
