@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');


/* ============================================================
   Auxoris Marketing — White / Geist / Brand-Blue design system
   Applies to marketing pages only (HomePage, LaunchpadPage,
   LayerPage, PlatformPage, PartnersPage, legal pages).
   The portal (Portal/*, Admin/*) uses a separate MUI dark theme.
   ============================================================ */
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* ── Design Tokens ── */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f8fb;
  --bg-panel:  #f1f4f9;
  --bg-ink:    #0a1024;
  --ink:       #0b1530;
  --ink-2:     #1e293b;
  --slate:     #475569;
  --slate-2:   #64748b;
  --slate-3:   #94a3b8;
  --line:      #e3e8ef;
  --line-2:    #d8dee8;
  --line-soft: #eef1f5;

  --brand:       #2f6bff;
  --brand-deep:  #1e3fb0;
  --brand-soft:  #e7efff;
  --brand-line:  #c6d6ff;
  --cyan:        #2dc7ff;

  /* Department tints */
  --t-violet-bg:  #f1eefb;  --t-violet-ink:  #5b3fb4;  --t-violet-line: #d9d0f3;
  --t-emerald-bg: #e8f4ee;  --t-emerald-ink: #1f7a4d;  --t-emerald-line: #c8e3d4;
  --t-rose-bg:    #fbeaee;  --t-rose-ink:    #b13355;  --t-rose-line:   #f1c8d2;
  --t-amber-bg:   #fbf0d8;  --t-amber-ink:   #8a5a14;  --t-amber-line:  #ecd4a3;
  --t-sky-bg:     #e3f0fb;  --t-sky-ink:     #1f5b91;  --t-sky-line:    #c5dcef;

  --r-card:    14px;
  --r-pill:    9999px;
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      16px;
  --r-xl:      22px;

  --shadow-1: 0 1px 0 rgba(11,21,48,0.04), 0 1px 2px rgba(11,21,48,0.04);
  --shadow-2: 0 12px 30px -16px rgba(11,21,48,0.25), 0 2px 8px rgba(11,21,48,0.06);
  --shadow-3: 0 30px 60px -28px rgba(11,21,48,0.45), 0 6px 16px rgba(11,21,48,0.08);

  --ff:      'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
/* ── Base ── */
html {
  scroll-behavior: smooth;
  font-feature-settings: "ss01", "ss02", "cv11";
  font-variant-ligatures: common-ligatures;
}
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--brand); color: white; }
/* ── Layout shell ── */
.shell { width: 100%; overflow-x: hidden; }
.wrap  { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }
section { position: relative; padding: 104px 0; }
/* ── Top nav ── */
.topbar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.topbar.scrolled {
  background: rgba(255,255,255,0.85);
  border-bottom-color: var(--line);
}
.topbar .brand-row {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--slate);
  text-transform: uppercase;
  text-decoration: none;
}
.topbar .brand-row img { width: 26px; height: 26px; border-radius: 50%; display: block; }
.topbar .brand-row .x { color: var(--slate-3); }
.topbar .brand-row strong { color: var(--ink); font-weight: 600; }
.topbar .cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  background: var(--ink);
  color: white;
  border: none; border-radius: 999px;
  font: 600 13px/1 var(--ff);
  letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.topbar .cta:hover { background: var(--brand); transform: translateY(-1px); }
.topbar-tabs {
  display: inline-flex; align-items: center;
  height: 38px; padding: 4px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.topbar-tabs .tab {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 14px;
  font-family: var(--ff);
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--slate);
  text-decoration: none;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.topbar-tabs .tab:hover { color: var(--ink); }
.topbar-tabs .tab.is-active {
  background: var(--ink);
  color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(1200px 600px at 70% -10%, #eef3ff 0%, transparent 60%),
              radial-gradient(900px 500px at 10% 110%, #f0f6ff 0%, transparent 60%),
              #ffffff;
  overflow: hidden;
}
.hero .backdrop { position: absolute; inset: 0; pointer-events: none; }
.hero .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
}
.hero h1 {
  position: relative;
  margin: 22px 0 18px;
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 .accent {
  display: inline-block;
  background: linear-gradient(100deg, var(--brand) 0%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: 18px; line-height: 1.55;
  color: var(--slate);
  text-wrap: pretty;
}
.hero-cta-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-meta .cell { background: white; padding: 22px 24px; }
.hero-meta .k {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--slate-2);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-meta .v { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.hero-meta .v small { font-size: 12px; color: var(--slate-2); font-weight: 400; margin-left: 6px; }
@media (max-width: 880px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } }
/* Org-graph backdrop in hero */
.hero-graph {
  position: absolute;
  right: -120px; top: 10%;
  width: 720px; height: 720px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-graph svg { width: 100%; height: 100%; }
.hero-graph .gn { fill: white; stroke: var(--brand-line); stroke-width: 1.5; }
.hero-graph .gn.core { fill: var(--ink); stroke: var(--ink); }
.hero-graph .gl { stroke: var(--brand-line); stroke-width: 1.25; fill: none; stroke-dasharray: 4 6; }
.hero-graph .gl.live { stroke: var(--brand); stroke-dasharray: 6 10; animation: flow 1.8s linear infinite; }
@media (max-width: 1000px) { .hero-graph { display: none; } }
/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  height: 28px; padding: 0 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 11.5px/1 var(--ff-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  box-shadow: var(--shadow-1);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(47,107,255,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(47,107,255,0.30); }
  50%     { box-shadow: 0 0 0 6px rgba(47,107,255,0.0); }
}
/* ── Buttons ── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: 600 14px/1 var(--ff);
  letter-spacing: 0.005em;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--ink); color: white; border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.btn-ghost {
  background: white; color: var(--ink); border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); }
/* ── Section header ── */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 56px;
}
.section-head .num {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--slate-3);
  text-transform: uppercase;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 18ch;
  text-wrap: balance;
}
.section-head .sub {
  max-width: 56ch;
  font-size: 17px; line-height: 1.55;
  color: var(--slate);
  text-wrap: pretty;
}
/* ── Entry animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.fade {
  opacity: 0;
  transition: opacity .9s ease;
  transition-delay: var(--d, 0ms);
}
.fade.in { opacity: 1; }
/* ═══════════════════════════════════════════════════════════════
   Marketing — home page sections
   ═══════════════════════════════════════════════════════════════ */
/* Reframe cards */
.reframe { padding: 96px 0 56px; }
.reframe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.reframe-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 26px; }
.reframe-card .h { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.reframe-card .h .x { width: 14px; height: 14px; border-radius: 4px; background: var(--bg-panel); display: inline-flex; align-items: center; justify-content: center; color: var(--slate-3); font-weight: 700; }
.reframe-card .h .v { background: var(--brand-soft); color: var(--brand-deep); width: 14px; height: 14px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.reframe-card .t { font-weight: 600; color: var(--ink); font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.reframe-card .d { color: var(--slate); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .reframe-grid { grid-template-columns: 1fr; } }
/* Workflow anatomy explainer */
.workflow-anatomy { background: var(--bg-soft); border: 1px solid var(--brand-line); border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.workflow-anatomy .wa-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.workflow-anatomy .wa-eyebrow { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-deep); padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); }
.workflow-anatomy .wa-title { font-size: 15px; color: var(--ink); font-weight: 600; }
.workflow-anatomy .wa-sub { font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0 0 16px; max-width: 760px; }
.workflow-anatomy .wa-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; }
.workflow-anatomy .wa-step { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 14px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.workflow-anatomy .wa-step .k { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 6px; }
.workflow-anatomy .wa-step .v { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.workflow-anatomy .wa-arrow { color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; padding: 0 2px; }
.workflow-anatomy .wa-foot { margin-top: 12px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-deep); text-align: center; padding: 9px 12px; background: rgba(47,107,255,0.06); border: 1px dashed var(--brand-line); border-radius: 8px; }
@media (max-width: 1000px) {
  .workflow-anatomy .wa-flow { grid-template-columns: 1fr; }
  .workflow-anatomy .wa-arrow { transform: rotate(90deg); }
}
/* How we work */
.how { padding: 56px 0 80px; }
.how-group { margin-top: 40px; }
.how-group + .how-group { margin-top: 28px; }
.group-label { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 0 4px; }
.group-label .pill { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.group-label.layer .pill { background: var(--brand-soft); color: var(--brand-deep); }
.group-label.engage .pill { background: var(--bg-panel); color: var(--slate); }
.group-label .hint { font-size: 13px; color: var(--slate-2); }
.how-track { display: grid; gap: 16px; position: relative; }
.how-track.cols-2 { grid-template-columns: repeat(2, 1fr); }
.how-track.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; min-height: 240px; }
.step-card.is-layer { border-color: var(--brand-line); background: linear-gradient(180deg, #fff 0%, #fafcff 100%); }
.step-card .step { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.step-card .step .ix { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-panel); color: var(--ink); font-weight: 600; font-family: var(--ff); font-size: 12px; }
.step-card.is-layer .step .ix { background: var(--brand); color: #fff; }
.step-card h3 { font-size: 19px; line-height: 1.25; color: var(--ink); margin: 0 0 10px; font-weight: 600; }
.step-card p { font-size: 14px; line-height: 1.55; color: var(--slate); margin: 0; }
@media (max-width: 1000px) {
  .how-track.cols-2, .how-track.cols-3 { grid-template-columns: 1fr; }
}
/* Worked examples */
.examples { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ex-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 32px; }
.ex-card .tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--bg-panel); color: var(--slate); font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.ex-card h3 { font-size: 21px; line-height: 1.3; color: var(--ink); margin: 0 0 14px; font-weight: 600; }
.ex-card .lede { color: var(--slate); font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.ex-card .layer-row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.ex-card .layer-row:last-child { border-bottom: 1px solid var(--line-soft); }
.ex-card .layer-row .lbl { flex: 0 0 110px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); padding-top: 2px; }
.ex-card .layer-row .txt { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.ex-card ul { list-style: none; padding: 0; margin: 0; }
.ex-card li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ex-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 8px; flex: 0 0 6px; }
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; } }
/* Two pillars */
.scales { padding: 80px 0; }
.scales-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.scale-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 30px 30px 34px; position: relative; overflow: hidden; }
.scale-card.brand { border-color: var(--brand-line); background: linear-gradient(180deg, #fff 0%, #fafcff 100%); }
.scale-card .badge { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px; display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--bg-panel); }
.scale-card.brand .badge { background: var(--brand-soft); color: var(--brand-deep); }
.scale-card h3 { font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
.scale-card p { font-size: 15px; line-height: 1.55; color: var(--slate); margin: 0 0 18px; }
.scale-card .figure { display: flex; gap: 18px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.scale-card .figure .stat { flex: 1; }
.scale-card .figure .n { font-family: var(--ff); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1; }
.scale-card .figure .l { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); margin-top: 6px; }
@media (max-width: 900px) { .scales-grid { grid-template-columns: 1fr; } }
/* Products row */
.products { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: 1fr; } }
.product-card { background: var(--bg); border: 1px solid var(--brand-line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; }
.product-card .pid { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.product-card h3 { font-size: 24px; line-height: 1.2; color: var(--ink); margin: 0 0 10px; font-weight: 600; }
.product-card .lede { font-size: 15px; line-height: 1.55; color: var(--slate); margin: 0 0 22px; }
.product-card .meta { display: flex; gap: 18px; padding: 14px 0 18px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.product-card .meta div { flex: 1; }
.product-card .meta .k { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); }
.product-card .meta .v { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: 4px; }
.product-card .go { margin-top: auto; }
.product-card .go a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 13px; color: #fff; background: var(--brand); border: 1px solid var(--brand); transition: all 160ms ease; }
.product-card .go a:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
/* Closer */
.home-closer { background: var(--bg-ink); color: #fff; padding: 96px 0; border-radius: 24px; margin: 0 40px 56px; }
.home-closer .wrap { padding: 0 56px; }
.home-closer .eyebrow { color: rgba(255,255,255,0.7); }
.home-closer .eyebrow .dot { background: var(--brand); }
.home-closer h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; margin: 18px 0 16px; font-weight: 600; }
.home-closer h2 .accent { color: var(--brand); }
.home-closer p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.55; max-width: 640px; margin: 0 0 28px; }
.home-closer .row { display: flex; gap: 12px; flex-wrap: wrap; }
.home-closer .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.home-closer .btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.home-closer .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.25); color: #fff; }
.home-closer .btn-ghost:hover { border-color: #fff; }
@media (max-width: 700px) {
  .home-closer { margin: 0 16px 32px; padding: 56px 0; }
  .home-closer .wrap { padding: 0 28px; }
}
/* ── Footer ── */
.footer {
  padding: 30px 40px 60px;
  background: var(--bg-ink);
  color: rgba(255,255,255,0.5);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.04em;
  display: flex; flex-direction: column; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-legal-row {
  font-size: 11px; color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.footer-legal-row a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color .15s ease;
}
.footer-legal-row a:hover { color: rgba(255,255,255,0.75); }
.footer-legal-row span { opacity: 0.4; }
/* ── TopBar mobile ── */
.topbar-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
}
.topbar-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.topbar-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.topbar-hamburger.open span:nth-child(2) { opacity: 0; }
.topbar-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.topbar-mobile-menu {
  position: fixed; inset: 0 0 auto 0;
  top: 64px; z-index: 49;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px 22px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.topbar-mobile-link {
  display: block; padding: 11px 14px;
  font-size: 15px; font-weight: 500; color: var(--slate);
  text-decoration: none; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.topbar-mobile-link:hover { background: var(--bg-panel); color: var(--ink); }
.topbar-mobile-link.is-active { color: var(--brand); background: var(--brand-soft); }
.topbar-mobile-cta {
  margin-top: 8px; background: var(--ink); color: white !important;
  text-align: center; border-radius: 999px; font-weight: 600;
}
.topbar-mobile-cta:hover { background: var(--brand) !important; }
.topbar-overlay {
  position: fixed; inset: 0; z-index: 48;
  background: rgba(11,21,48,0.25);
}
@media (max-width: 768px) {
  .topbar-hamburger { display: flex; }
  .footer { padding: 24px 22px 40px; }
}
/* ── Reframe cards (HomePage section 01) ── */
.reframe { padding: 96px 0 56px; }
.reframe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.reframe-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 22px 26px;
}
.reframe-card .h {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px;
  display: flex; gap: 10px; align-items: center;
}
.reframe-card .h .x {
  width: 14px; height: 14px; border-radius: 4px; background: var(--bg-panel);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--slate-3); font-weight: 700;
}
.reframe-card .h .v {
  background: var(--brand-soft); color: var(--brand-deep); width: 14px; height: 14px;
  border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.reframe-card .t { font-weight: 600; color: var(--ink); font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.reframe-card .d { color: var(--slate); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .reframe-grid { grid-template-columns: 1fr; } }
/* ── Workflow anatomy ── */
.workflow-anatomy {
  background: var(--bg-soft); border: 1px solid var(--brand-line);
  border-radius: 14px; padding: 22px 24px; margin-bottom: 18px;
}
.workflow-anatomy .wa-head {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap; margin-bottom: 10px;
}
.workflow-anatomy .wa-eyebrow {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-deep);
  padding: 4px 10px; border-radius: 999px; background: var(--brand-soft);
}
.workflow-anatomy .wa-title { font-size: 15px; color: var(--ink); font-weight: 600; }
.workflow-anatomy .wa-sub { font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0 0 16px; max-width: 760px; }
.workflow-anatomy .wa-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px; align-items: stretch;
}
.workflow-anatomy .wa-step {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px 14px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.workflow-anatomy .wa-step .k {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 6px;
}
.workflow-anatomy .wa-step .v { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.workflow-anatomy .wa-arrow {
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; padding: 0 2px;
}
.workflow-anatomy .wa-foot {
  margin-top: 12px; font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-deep);
  text-align: center; padding: 9px 12px;
  background: rgba(47,107,255,0.06); border: 1px dashed var(--brand-line); border-radius: 8px;
}
@media (max-width: 1000px) {
  .workflow-anatomy .wa-flow { grid-template-columns: 1fr; }
  .workflow-anatomy .wa-arrow { transform: rotate(90deg); }
}
/* ── How we work ── */
.how { padding: 56px 0 80px; }
.how-group { margin-top: 40px; }
.how-group + .how-group { margin-top: 28px; }
.group-label { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 0 4px; }
.group-label .pill {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.group-label.layer .pill { background: var(--brand-soft); color: var(--brand-deep); }
.group-label.engage .pill { background: var(--bg-panel); color: var(--slate); }
.group-label .hint { font-size: 13px; color: var(--slate-2); font-family: var(--ff); }
.how-track { display: grid; gap: 16px; position: relative; }
.how-track.cols-2 { grid-template-columns: repeat(2, 1fr); }
.how-track.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; min-height: 240px;
}
.step-card.is-layer { border-color: var(--brand-line); background: linear-gradient(180deg, #fff 0%, #fafcff 100%); }
.step-card .step {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.step-card .step .ix {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--bg-panel);
  color: var(--ink); font-weight: 600; font-family: var(--ff); font-size: 12px;
}
.step-card.is-layer .step .ix { background: var(--brand); color: #fff; }
.step-card h3 { font-size: 19px; line-height: 1.25; color: var(--ink); margin: 0 0 10px; font-weight: 600; }
.step-card p { font-size: 14px; line-height: 1.55; color: var(--slate); margin: 0; }
@media (max-width: 1000px) {
  .how-track.cols-2, .how-track.cols-3 { grid-template-columns: 1fr; }
}
/* ── Worked examples ── */
.examples { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ex-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 28px 32px;
}
.ex-card .tag {
  display: inline-flex; padding: 5px 10px; border-radius: 999px;
  background: var(--bg-panel); color: var(--slate);
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.ex-card h3 { font-size: 21px; line-height: 1.3; color: var(--ink); margin: 0 0 14px; font-weight: 600; }
.ex-card .lede { color: var(--slate); font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.ex-card .layer-row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.ex-card .layer-row:last-child { border-bottom: 1px solid var(--line-soft); }
.ex-card .layer-row .lbl {
  flex: 0 0 110px; font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); padding-top: 2px;
}
.ex-card .layer-row .txt { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.ex-card ul { list-style: none; padding: 0; margin: 0; }
.ex-card li {
  display: flex; gap: 10px; align-items: flex-start; padding: 8px 0;
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
}
.ex-card li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); margin-top: 8px; flex: 0 0 6px;
}
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; } }
/* ── What scales ── */
.scales { padding: 80px 0; }
.scales-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.scale-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 30px 30px 34px; position: relative; overflow: hidden;
}
.scale-card.brand { border-color: var(--brand-line); background: linear-gradient(180deg, #fff 0%, #fafcff 100%); }
.scale-card .badge {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px;
  display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--bg-panel);
}
.scale-card.brand .badge { background: var(--brand-soft); color: var(--brand-deep); }
.scale-card h3 { font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
.scale-card p { font-size: 15px; line-height: 1.55; color: var(--slate); margin: 0 0 18px; }
.scale-card .figure {
  display: flex; gap: 18px; margin-top: 12px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.scale-card .figure .stat { flex: 1; }
.scale-card .figure .n { font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1; }
.scale-card .figure .l {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate-2); margin-top: 6px;
}
@media (max-width: 900px) { .scales-grid { grid-template-columns: 1fr; } }
/* ── Products row ── */
.products {
  padding: 80px 0; background: var(--bg-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--bg); border: 1px solid var(--brand-line);
  border-radius: 16px; padding: 30px; display: flex; flex-direction: column;
}
.product-card .pid {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.product-card h3 { font-size: 24px; line-height: 1.2; color: var(--ink); margin: 0 0 10px; font-weight: 600; }
.product-card .lede { font-size: 15px; line-height: 1.55; color: var(--slate); margin: 0 0 22px; }
.product-card .meta {
  display: flex; gap: 18px; padding: 14px 0 18px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  margin-bottom: 18px;
}
.product-card .meta div { flex: 1; }
.product-card .meta .k {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate-2);
}
.product-card .meta .v { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: 4px; }
.product-card .go { margin-top: auto; }
.product-card .go a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 13px; color: #fff; background: var(--brand);
  border: 1px solid var(--brand);
  transition: all 160ms ease;
}
.product-card .go a:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
/* ── Home closer ── */
.home-closer {
  background: var(--bg-ink); color: #fff;
  padding: 96px 0; border-radius: 24px; margin: 0 40px 56px;
}
.home-closer .wrap { padding: 0 56px; }
.home-closer .eyebrow { color: rgba(255,255,255,0.7); }
.home-closer .eyebrow .dot { background: var(--brand); }
.home-closer h2 {
  font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em;
  color: #fff; margin: 18px 0 16px; font-weight: 600;
}
.home-closer h2 .accent { color: var(--brand); }
.home-closer p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.55; max-width: 640px; margin: 0 0 28px; }
.home-closer .row { display: flex; gap: 12px; flex-wrap: wrap; }
.home-closer .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.home-closer .btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.home-closer .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.25); color: #fff; }
.home-closer .btn-ghost:hover { border-color: #fff; }
@media (max-width: 700px) {
  .home-closer { margin: 0 16px 32px; padding: 56px 0; }
  .home-closer .wrap { padding: 0 28px; }
}
/* ── Closer (product pages / Layer) ── */
.closer {
  padding: 140px 0 160px;
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(47,107,255,0.10) 0%, transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(45,199,255,0.08) 0%, transparent 60%),
    var(--bg-ink);
  color: white;
  position: relative; overflow: hidden;
}
.closer .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 75%);
  pointer-events: none;
}
.closer h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 0.98;
  max-width: 22ch; color: white; text-wrap: balance;
}
.closer h2 .accent {
  background: linear-gradient(100deg, #88b5ff 0%, #2dc7ff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.closer .lede { max-width: 560px; margin-top: 22px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.65); text-wrap: pretty; }
.closer-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.closer-cta .btn-primary { background: white; color: var(--ink); border-color: white; }
.closer-cta .btn-primary:hover { background: var(--brand); color: white; border-color: var(--brand); }
.closer-cta .btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.2); }
.closer-cta .btn-ghost:hover { border-color: white; }
.closer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .closer-grid { grid-template-columns: 1fr; gap: 32px; } }
.closer-head { max-width: 760px; margin-bottom: 88px; }
/* ── Ambient flow animation ── */
@keyframes flow { to { stroke-dashoffset: -200; } }
@keyframes nodebreath {
  0%,100% { transform: scale(1); opacity: 0.9; }
  50%     { transform: scale(1.04); opacity: 1; }
}
/* ── Legal Pages ── */
.legal-page { padding: 140px 0 80px; min-height: 100vh; }
.legal-page h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
/* ============================================================
   Marketing — Launchpad page
   ============================================================ */
/* ── lp-roles ── */
.lp-roles { background: var(--bg-soft); }
.lp-roles .role-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 1100px) { .lp-roles .role-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .lp-roles .role-grid { grid-template-columns: 1fr 1fr; } }
.role-card {
  position: relative;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
  min-height: 220px;
}
.role-card .role-badge {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 16px/1 var(--ff-sans);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.role-card.violet  .role-badge { background: var(--t-violet-bg);  color: var(--t-violet-ink); }
.role-card.emerald .role-badge { background: var(--t-emerald-bg); color: var(--t-emerald-ink); }
.role-card.rose    .role-badge { background: var(--t-rose-bg);    color: var(--t-rose-ink); }
.role-card.amber   .role-badge { background: var(--t-amber-bg);   color: var(--t-amber-ink); }
.role-card.sky     .role-badge { background: var(--t-sky-bg);     color: var(--t-sky-ink); }
.role-card .role-label {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 8px;
}
.role-card .role-skill {
  font: 600 17px/1.2 var(--ff-sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.role-card .role-desc {
  font-size: 13px; line-height: 1.5;
  color: var(--slate);
  flex: 1;
}
.role-card .role-also {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--slate-2);
}
/* ── lp-folder ── */
.lp-folder {
  padding: 104px 0;
  background: var(--bg);
}
.lp-folder .folder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 1000px) { .lp-folder .folder-grid { grid-template-columns: 1fr; gap: 28px; } }
.folder-tree {
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #0e1734 0%, #0a1228 100%);
  color: white;
  font-family: var(--ff-mono);
  font-size: 13px;
  line-height: 1.7;
  white-space: normal;
  box-shadow: 0 18px 40px -18px rgba(11,21,48,0.45);
}
.folder-tree .tree-row {
  display: grid;
  grid-template-columns: 24px auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 2px 0;
}
.folder-tree .depth-0 { padding-left: 0; }
.folder-tree .depth-1 { padding-left: 18px; }
.folder-tree .depth-2 { padding-left: 36px; }
.folder-tree .tree-glyph { color: var(--brand-line); text-align: center; font-size: 11px; }
.folder-tree .tree-glyph.dir-root { color: #88b5ff; }
.folder-tree .tree-glyph.dir      { color: var(--brand); }
.folder-tree .tree-glyph.file-md  { color: rgba(255,255,255,0.4); }
.folder-tree .tree-name { color: white; font-weight: 500; }
.folder-tree .tree-name.dir,
.folder-tree .tree-name.dir-root { color: #88b5ff; }
.folder-tree .tree-name.file-md  { color: rgba(255,255,255,0.85); }
.folder-tree .tree-note {
  color: rgba(255,255,255,0.45);
  font-family: var(--ff-sans);
  font-size: 12px;
  white-space: normal;
}
.folder-aside { display: flex; flex-direction: column; gap: 14px; }
.aside-card {
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.aside-card .aside-num {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--brand);
  margin-bottom: 6px;
}
.aside-card .aside-title {
  font: 600 16px/1.2 var(--ff-sans);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.aside-card .aside-body {
  font-size: 13.5px; line-height: 1.55;
  color: var(--slate);
}
/* ── lp-cross ── */
.lp-cross {
  padding: 104px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-cross code {
  font-family: var(--ff-mono);
  font-size: 0.92em;
  padding: 1px 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}
.lp-cross .lp-emph {
  background: linear-gradient(100deg, var(--brand) 0%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cross-stage {
  position: relative;
  margin: 48px auto 0;
  max-width: 980px;
  padding: 32px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse at 50% 20%, rgba(47,107,255,0.06) 0%, transparent 60%), var(--bg);
  overflow: hidden;
  min-height: 460px;
}
.cross-source {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  margin: 0 auto 0;
  text-align: center;
}
.cross-source .cs-tag {
  font-family: var(--ff-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}
.cross-source .cs-folder {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--bg);
  color: var(--brand);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 6px rgba(47,107,255,0.10), var(--shadow-1);
}
.cross-source .cs-folder .cs-name {
  font-family: var(--ff-mono); font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 500;
}
.cross-source .cs-sub {
  font-family: var(--ff-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-2);
}
.cross-lines {
  position: absolute;
  top: 120px; left: 24px; right: 24px;
  height: calc(100% - 280px);
  pointer-events: none;
  z-index: 1;
}
.cross-lines .cl,
.cross-lines .cl-flow { fill: none; vector-effect: non-scaling-stroke; }
.cross-lines .cl { stroke: var(--brand-line); stroke-width: 1.2; opacity: 0.6; }
.cross-lines .cl-flow {
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 12;
  animation: cross-flow 2.8s linear infinite;
  opacity: 0.9;
}
.cross-lines .cl-flow:nth-of-type(2) { animation-delay: 0.3s; }
.cross-lines .cl-flow:nth-of-type(3) { animation-delay: 0.6s; }
.cross-lines .cl-flow:nth-of-type(4) { animation-delay: 0.9s; }
.cross-lines .cl-flow:nth-of-type(5) { animation-delay: 1.2s; }
@keyframes cross-flow { to { stroke-dashoffset: -180; } }
.cross-projects {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
}
.cross-project {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-1);
  min-height: 124px;
}
.cross-project .cp-chip {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px/1 var(--ff-sans);
  margin-bottom: 4px;
}
.cross-project.violet  .cp-chip { background: var(--t-violet-bg);  color: var(--t-violet-ink); }
.cross-project.emerald .cp-chip { background: var(--t-emerald-bg); color: var(--t-emerald-ink); }
.cross-project.rose    .cp-chip { background: var(--t-rose-bg);    color: var(--t-rose-ink); }
.cross-project.amber   .cp-chip { background: var(--t-amber-bg);   color: var(--t-amber-ink); }
.cross-project.sky     .cp-chip { background: var(--t-sky-bg);     color: var(--t-sky-ink); }
.cross-project .cp-name { font: 600 13.5px/1.2 var(--ff-sans); letter-spacing: -0.005em; color: var(--ink); }
.cross-project .cp-meta { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); }
.cross-project .cp-mount {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand);
}
.cross-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  max-width: 980px;
  margin-left: auto; margin-right: auto;
}
.cross-callouts .callout {
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.cross-callouts .callout-num { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--brand); margin-bottom: 8px; }
.cross-callouts .callout-title { font: 600 15px/1.2 var(--ff-sans); letter-spacing: -0.005em; color: var(--ink); margin-bottom: 6px; }
.cross-callouts .callout-body { font-size: 13px; line-height: 1.5; color: var(--slate); }
@media (max-width: 900px) {
  .cross-projects { grid-template-columns: repeat(3, 1fr); }
  .cross-projects > *:nth-child(n+4) { display: none; }
  .cross-callouts { grid-template-columns: 1fr; }
}
/* ── lp-portable ── */
.lp-portable .lp-emph,
.lp-comparison .lp-emph {
  background: linear-gradient(100deg, var(--brand) 0%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.portable-stage {
  position: relative;
  height: 480px;
  margin: 60px auto 0;
  max-width: 880px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse at 50% 50%, rgba(47,107,255,0.08) 0%, transparent 60%), linear-gradient(180deg, #fbfcfe 0%, #f4f7fc 100%);
  overflow: hidden;
}
.portable-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(15,23,42,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}
.portable-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.portable-lines .pl { stroke: var(--brand); stroke-width: 1.2; opacity: 0.35; stroke-dasharray: 4 6; }
.portable-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; z-index: 2;
}
.portable-folder {
  width: 88px; height: 88px;
  border-radius: 22px;
  background: var(--bg);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(47,107,255,0.12), 0 12px 32px -10px rgba(11,21,48,0.18);
}
.portable-folder-label { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.portable-folder-label .pfl-top { font: 600 14px/1 var(--ff-mono); letter-spacing: -0.005em; color: var(--ink); }
.portable-folder-label .pfl-bot { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); }
.portable-tool {
  position: absolute;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  z-index: 2;
  text-align: center;
}
.portable-tool .tool-name { font: 600 13px/1.1 var(--ff-sans); letter-spacing: -0.005em; color: var(--ink); }
.portable-tool .tool-sub { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-2); margin-top: 2px; }
.portable-tool.tool-0 { top: 14%; left: 15%; transform: translate(-50%, -50%); }
.portable-tool.tool-1 { top: 14%; left: 85%; transform: translate(-50%, -50%); }
.portable-tool.tool-2 { top: 82%; left: 10%; transform: translate(-50%, -50%); }
.portable-tool.tool-3 { top: 82%; left: 90%; transform: translate(-50%, -50%); }
.portable-tool.tool-4 { top: 92%; left: 50%; transform: translate(-50%, -50%); }
.portable-quote {
  margin: 48px auto 0;
  max-width: 720px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
}
.portable-quote .pq-mark { font: 600 64px/0.6 var(--ff-sans); color: var(--brand); opacity: 0.4; }
.portable-quote .pq-text { font: 500 22px/1.35 var(--ff-sans); letter-spacing: -0.015em; color: var(--ink); }
/* ── lp-comparison ── */
.lp-comparison {
  padding: 104px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cmp-grid {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  margin-top: 48px;
}
.cmp-head-row,
.cmp-row { display: grid; grid-template-columns: 200px repeat(2, 1fr); }
.cmp-head-row { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.cmp-attr-head { padding: 22px 22px 20px; }
.cmp-col-head {
  padding: 22px 22px 20px;
  border-left: 1px solid var(--line);
}
.cmp-col-head.is-brand { background: var(--brand-soft); }
.cmp-col-head .cch-label { font: 600 16px/1.2 var(--ff-sans); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.cmp-col-head.is-brand .cch-label { color: var(--brand-deep); }
.cmp-col-head .cch-sub { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-2); }
.cmp-col-head.is-brand .cch-sub { color: var(--brand); }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-attr {
  padding: 18px 22px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-2);
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  display: flex; align-items: center;
}
.cmp-cell {
  padding: 18px 22px;
  font-size: 13.5px; line-height: 1.45;
  color: var(--slate);
  border-left: 1px solid var(--line);
}
.cmp-cell.is-brand {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 500;
  display: flex; gap: 10px; align-items: flex-start;
  border-left-color: var(--brand-line);
}
.cmp-cell .cmp-check { color: var(--brand); flex: none; margin-top: 3px; }
@media (max-width: 900px) {
  .cmp-head-row { display: none; }
  .cmp-row { grid-template-columns: 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
  .cmp-attr { background: transparent; border-right: 0; padding: 8px 22px; }
  .cmp-cell { border-left: 0; padding: 6px 22px; }
}
/* ── lp-closer pair cards ── */
.lp-closer .closer-head { max-width: 760px; margin-bottom: 64px; }
.pair-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.pair-card {
  display: flex; flex-direction: column;
  padding: 28px 28px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%), rgba(15,23,42,0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pair-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.45); }
.pair-card .pair-eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #88b5ff; margin-bottom: 12px; }
.pair-card .pair-title { font: 500 24px/1.15 var(--ff-sans); letter-spacing: -0.015em; color: white; margin-bottom: 14px; }
.pair-card .pair-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.7); }
.pair-card .pair-list li { padding-left: 16px; position: relative; }
.pair-card .pair-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pair-card .pair-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.pair-launchpad .pair-foot { color: var(--brand); }
.pair-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand); width: 48px; }
@media (max-width: 820px) {
  .pair-row { grid-template-columns: 1fr; }
  .pair-arrow { transform: rotate(90deg); width: 100%; height: 40px; }
}
/* ============================================================
   Marketing — Layer page
   ============================================================ */
/* ── Layer hero ── */
.ly-hero .hero-graph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.6;
}
.ly-hero .hero-graph svg {
  width: min(580px, 90vw);
  height: min(580px, 90vw);
}
.ly-hero .hero-graph .gl {
  fill: none;
  stroke: #c6d6ff;
  stroke-width: 1.2;
  stroke-dasharray: 4 10;
  stroke-dashoffset: 0;
  animation: dashSlide 6s linear infinite;
}
.ly-hero .hero-graph .gl.live {
  stroke: var(--brand);
  stroke-dasharray: 6 8;
  animation-duration: 3.5s;
}
.ly-hero .hero-graph .gn {
  fill: #c6d6ff;
}
.ly-hero .hero-graph .gn.core {
  fill: var(--brand);
}
@keyframes dashSlide {
  to { stroke-dashoffset: -28; }
}
@keyframes nodebreath {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.88); }
}
/* ── Layer stack (LyLayers) ── */
.ly-layers {
  padding: 104px 0;
  background: var(--bg-soft);
}
.ly-layers .section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.ly-layers .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 20px;
}
.ly-emph { color: var(--brand); }
.ly-layers .section-head .sub {
  color: var(--ink);
  opacity: 0.65;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}
.ly-ls-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.ly-ls-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ly-ls-layer {
  display: flex;
  align-items: stretch;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.ly-ls-layer.is-live {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.ly-ls-spine {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1.5px solid var(--border);
  padding: 20px 0;
}
.ly-ls-layer.is-live .ly-ls-spine {
  border-color: var(--brand);
  background: var(--brand);
  border-radius: calc(var(--r-md) - 2px) 0 0 calc(var(--r-md) - 2px);
}
.ly-ls-spine-num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.ly-ls-layer.is-live .ly-ls-spine-num {
  color: #fff;
  opacity: 1;
}
.ly-ls-body {
  flex: 1;
  padding: 20px 24px;
}
.ly-ls-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ly-ls-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.ly-ls-tag {
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}
.ly-ls-desc {
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.6;
}
.ly-ls-loop {
  width: 72px;
  flex-shrink: 0;
  height: auto;
  color: var(--brand);
  align-self: stretch;
}
.ly-ls-loop-arc {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  opacity: 0.5;
}
.ly-ls-loop-flow {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-dasharray: 8 100;
  stroke-dashoffset: 0;
  animation: loopFlow 3s linear infinite;
}
@keyframes loopFlow {
  to { stroke-dashoffset: -108; }
}
.ly-ls-loop-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: center;
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  color: var(--brand);
  opacity: 0.7;
  letter-spacing: 0.06em;
}
.ly-ll-top { font-weight: 600; }
.ly-ll-bot { opacity: 0.75; }
@media (max-width: 700px) {
  .ly-ls-loop, .ly-ls-loop-label { display: none; }
  .ly-ls-wrapper { flex-direction: column; }
}
/* ── Layer tiers (LyTiers) ── */
.ly-tiers {
  padding: 104px 0 80px;
  background: var(--bg);
}
.ly-tiers .section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.ly-tiers .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 20px;
}
.ly-tiers .section-head .sub {
  color: var(--ink);
  opacity: 0.65;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}
.ly-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .ly-tier-grid { grid-template-columns: 1fr; max-width: 480px; }
}
.ly-tier-card {
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  padding: 28px 28px 24px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.ly-tier-card.is-recommend {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.ly-tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 4px 14px;
  white-space: nowrap;
}
.ly-tier-name {
  font-size: 0.78rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: 12px;
}
.ly-tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.ly-tier-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ly-tier-period {
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.5;
  font-family: var(--ff-mono);
}
.ly-tier-tagline {
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 20px;
  line-height: 1.5;
}
.ly-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ly-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  opacity: 0.8;
  line-height: 1.5;
}
.ly-tier-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand);
}
.ly-tier-cta { margin-top: auto; }
.ly-tier-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: transparent;
  border-radius: var(--r-md);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.ly-tier-cta .btn-outline:hover {
  background: var(--brand);
  color: #fff;
}
.ly-tiers-note {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.45;
  font-family: var(--ff-mono);
  letter-spacing: 0.02em;
}
/* ── Layer closer + cycle loop ── */
.ly-closer .closer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.ly-cycle-loop {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1/1;
  margin: 56px auto 0;
}
.ly-cycle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,0.35);
}
.ly-cycle-arc {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.ly-cycle-flow {
  fill: none;
  stroke: rgba(199,224,255,0.7);
  stroke-width: 2.5;
  stroke-dasharray: 10 80;
  stroke-dashoffset: 0;
  animation: lyFlow 4s linear infinite;
}
@keyframes lyFlow {
  to { stroke-dashoffset: -90; }
}
.ly-cycle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.ly-cycle-center-top {
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.ly-cycle-center-bot {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  margin-top: 4px;
}
.ly-cycle-node {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 120px;
}
.ly-cycle-num {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.ly-cycle-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 4px;
}
.ly-cycle-desc {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
@media (max-width: 680px) {
  .ly-cycle-loop { max-width: 100%; }
  .ly-cycle-node { width: 80px; }
  .ly-cycle-desc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ly-cycle-flow, .ly-ls-loop-flow, .gl, .gl.live { animation: none; }
}
/* ============================================================
   Marketing — Platform page
   ============================================================ */
/* ── Shared platform emphasis colour ── */
.pf-emph { color: var(--brand); }
/* ── Platform hero graphic ── */
.pf-hero-graphic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.65;
}
.pf-hero-graphic svg {
  width: min(560px, 85vw);
  height: min(560px, 85vw);
}
.pf-hero-graphic .pfg-line {
  fill: none;
  stroke: #2f6bff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 4 10;
  animation: pfgFlow 3.2s linear infinite;
}
@keyframes pfgFlow { to { stroke-dashoffset: -140; } }
.pf-hero-graphic .pfg-task circle {
  transform-origin: center;
  transform-box: fill-box;
  animation: pfgBreath 3.4s ease-in-out infinite;
}
.pf-hero-graphic .pfg-task:nth-of-type(2) circle { animation-delay: 0.5s; }
.pf-hero-graphic .pfg-task:nth-of-type(3) circle { animation-delay: 1s; }
@keyframes pfgBreath {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-hero-graphic .pfg-line,
  .pf-hero-graphic .pfg-task circle { animation: none; }
}
/* ── Problem section ── */
.pf-problem {
  padding: 104px 0;
  background: var(--bg-soft);
}
.pf-problem .section-head { max-width: 680px; margin-bottom: 56px; }
.pf-problem .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 20px;
}
.pf-problem .section-head .sub {
  color: var(--ink);
  opacity: 0.65;
  font-size: 1.05rem;
  line-height: 1.7;
}
.pf-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .pf-problem-grid { grid-template-columns: 1fr; }
}
.pf-problem-card {
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ppc-tag {
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  padding: 2px 8px;
  align-self: flex-start;
}
.ppc-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  opacity: 0.08;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ppc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.ppc-body {
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.65;
  margin: 0;
}
/* ── Run ribbon (PfRun) ── */
.pf-run {
  padding: 104px 0;
  background: var(--bg);
}
.pf-run .section-head { max-width: 680px; margin-bottom: 56px; }
.pf-run .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 20px;
}
.pf-run .section-head .sub {
  color: var(--ink);
  opacity: 0.65;
  font-size: 1.05rem;
  line-height: 1.7;
}
.pf-run-ribbon {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 900px) {
  .pf-run-ribbon { flex-direction: column; }
  .pf-run-arrow { transform: rotate(90deg); }
}
.pf-run-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pf-run-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin-top: 36px;
  color: var(--ink);
  opacity: 0.3;
}
.prs-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prs-num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--brand);
  letter-spacing: 0.06em;
  font-weight: 700;
}
.prs-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.prs-glyph {
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.prs-desc {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.6;
  margin: 0;
}
/* ── UI fragments (run steps) ── */
.ui-frag {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 130px;
}
.uf-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.45;
}
.uf-input {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink);
}
.uf-input-mono { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--ink); opacity: 0.7; }
.uf-caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--brand);
  animation: caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .uf-caret { animation: none; } }
.uf-btn {
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: default;
}
/* trace fragment */
.uf-trace .uft-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--ink);
  opacity: 0.5;
}
.uft-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.3;
}
.uft-dot.live { background: #22c55e; opacity: 1; animation: tracePulse 1.4s ease-in-out infinite; }
@keyframes tracePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .uft-dot.live { animation: none; } }
.uft-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  padding: 3px 0;
}
.uft-kind {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 3px;
  padding: 1px 5px;
}
.uft-label { color: var(--ink); opacity: 0.75; }
.uft-line.uft-live .uft-label { color: var(--brand); opacity: 1; }
.uft-state { margin-left: auto; }
.uft-line.uft-done .uft-state::after {
  content: '✓';
  color: #22c55e;
  font-size: 0.7rem;
}
/* inbox fragment */
.uf-inbox { gap: 10px; }
.ufi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ufi-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.45;
}
.ufi-count {
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 7px;
}
.ufi-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
}
.ufi-title { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.ufi-sub { font-size: 0.72rem; color: var(--ink); opacity: 0.45; margin-top: 2px; font-family: var(--ff-mono); }
.ufi-actions { display: flex; gap: 8px; }
.ufi-btn {
  flex: 1;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ufi-reject { background: var(--bg); border: 1.5px solid var(--border); color: var(--ink); opacity: 0.6; }
.ufi-approve { background: var(--brand); color: #fff; }
/* commit fragment */
.ufc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ufc-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #22c55e;
}
.ufc-time { font-size: 0.7rem; color: var(--ink); opacity: 0.4; font-family: var(--ff-mono); }
.ufc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 0.78rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.ufc-row:last-child { border-bottom: none; }
.ufc-row svg { color: #22c55e; flex-shrink: 0; }
.ufc-name { flex: 1; }
.ufc-state {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--ink);
  opacity: 0.45;
}
.ufc-stamped .ufc-state { color: var(--brand); opacity: 1; }
/* ── Compliance grid ── */
.pf-compliance {
  padding: 104px 0;
  background: var(--bg-ink);
}
.pf-compliance .section-head { max-width: 680px; margin-bottom: 56px; }
.pf-compliance .section-head .num { color: rgba(255,255,255,0.45); }
.pf-compliance .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
}
.pf-compliance .pf-emph { color: var(--cyan); }
.pf-compliance .section-head .sub { color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.7; }
.pf-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .pf-compliance-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pf-compliance-grid { grid-template-columns: 1fr; }
}
.pf-comp-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pct-icon { color: var(--cyan); }
.pct-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.pct-body {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}
/* ── White-label section ── */
.pf-whitelabel {
  padding: 104px 0;
  background: var(--bg-soft);
}
.pf-whitelabel .section-head { max-width: 680px; margin-bottom: 56px; }
.pf-whitelabel .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 20px;
}
.pf-whitelabel .section-head .sub { color: var(--ink); opacity: 0.65; font-size: 1.05rem; line-height: 1.7; }
.pf-wl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .pf-wl-grid { grid-template-columns: 1fr; }
}
.pf-wl-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pwb-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.5;
}
.pwb-num {
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
}
.pwb-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.pwb-body {
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.65;
  margin: 0;
}
.pwb-code {
  background: var(--bg-ink);
  color: var(--cyan);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-x: auto;
}
.pwb-preview { margin-top: 8px; }
.pwb-window {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-soft);
}
.pwb-window-bar {
  background: var(--bg-soft);
  border-bottom: 1.5px solid var(--border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pwb-tl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.pwb-url {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--ink);
  opacity: 0.4;
  margin-left: 8px;
}
.pwb-window-body {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pwb-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.pwb-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.pwb-nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--ink);
  opacity: 0.5;
}
/* tenancy side */
.pwt-deploy { display: flex; flex-direction: column; gap: 20px; }
.pwt-deploy-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwt-deploy-or {
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.3;
  font-style: italic;
  flex-shrink: 0;
}
.pwt-deploy-cell {
  flex: 1;
  border-radius: var(--r-md);
  padding: 16px;
  border: 1.5px solid var(--border);
}
.pwt-cloud-yours { border-color: var(--brand); background: var(--brand-soft); }
.pwt-cell-eyebrow {
  font-size: 0.68rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 4px;
}
.pwt-cell-title { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.pwt-cell-sub { font-size: 0.78rem; color: var(--ink); opacity: 0.55; margin-top: 4px; line-height: 1.5; }
.pwt-stack { display: flex; flex-direction: column; gap: 8px; }
.pwt-stack-title {
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.4;
}
.pwt-stack-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pwt-pill {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-family: var(--ff-mono);
  color: var(--ink);
  opacity: 0.75;
}
/* ── Workflows grid ── */
.pf-workflows {
  padding: 104px 0;
  background: var(--bg);
}
.pf-workflows .section-head { max-width: 680px; margin-bottom: 56px; }
.pf-workflows .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 20px;
}
.pf-workflows .section-head .sub { color: var(--ink); opacity: 0.65; font-size: 1.05rem; line-height: 1.7; }
.pf-wf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .pf-wf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .pf-wf-grid { grid-template-columns: 1fr; }
}
.pf-wf-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pf-wf-card.is-custom {
  border-style: dashed;
  border-color: var(--brand);
  background: var(--brand-soft);
}
.pwc-tag {
  font-size: 0.7rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  align-self: flex-start;
}
.pwc-title { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.3; }
.pwc-body { font-size: 0.85rem; color: var(--ink); opacity: 0.65; line-height: 1.65; margin: 0; flex: 1; }
.pwc-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.45;
  font-family: var(--ff-mono);
  margin-top: auto;
  padding-top: 8px;
}
.pwc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.pwc-foot-custom {
  color: var(--brand);
  opacity: 1;
  font-weight: 600;
  font-family: inherit;
}
/* ── Platform closer + three-product diagram ── */
.pf-closer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.pf-stack {
  margin-top: 64px;
  max-width: 720px;
}
.pfs-eyebrow {
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.pfs-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pfs-card {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.pfs-card:last-child { border-right: none; }
.pfs-card:not(.pfs-here):hover { background: rgba(255,255,255,0.06); }
.pfs-here {
  background: rgba(47,107,255,0.15);
  border-color: rgba(47,107,255,0.35) !important;
  position: relative;
}
.pfs-num {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}
.pfs-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.pfs-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.pfs-here-tag {
  font-size: 0.65rem;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-top: 8px;
}
@media (max-width: 640px) {
  .pfs-row { flex-direction: column; }
  .pfs-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .pfs-card:last-child { border-bottom: none; }
}
.lp-pair-launchpad {
  background: rgba(47,107,255,0.15);
  border-color: rgba(47,107,255,0.4);
}
.lp-pair-layer { background: rgba(255,255,255,0.04); }
.lp-pair-eyebrow { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.lp-pair-title { font-size: 15px; font-weight: 700; color: white; letter-spacing: -0.01em; margin: 4px 0 8px; }
.lp-pair-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-pair-list li { font-size: 13px; color: rgba(255,255,255,0.65); padding-left: 12px; position: relative; }
.lp-pair-list li::before { content: '·'; position: absolute; left: 0; color: rgba(255,255,255,0.3); }
.lp-pair-foot { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 12px; font-style: italic; }
.lp-pair-launchpad .lp-pair-foot { color: var(--brand); font-style: normal; font-weight: 600; }
.lp-pair-arrow { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.legal-page .legal-updated { color: var(--slate-2); font-size: 0.9rem; margin-bottom: 48px; }
.legal-page .legal-back {
  display: inline-block; color: var(--brand);
  font-size: 0.9rem; font-weight: 500; margin-bottom: 24px; text-decoration: none;
}
.legal-page .legal-back:hover { text-decoration: underline; }
.legal-page section { padding: 0; margin-bottom: 36px; }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.legal-page p { color: var(--slate); line-height: 1.75; margin-bottom: 12px; }
.legal-page ul { padding-left: 24px; margin-bottom: 12px; }
.legal-page li { color: var(--slate); line-height: 1.75; margin-bottom: 6px; }
.legal-page a { color: var(--brand); }
.legal-page a:hover { text-decoration: underline; }
/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}
/* ── Responsive: mobile ── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .topbar { padding: 14px 22px; }
  .topbar-tabs { display: none; }
  .reframe-grid { grid-template-columns: 1fr; }
  .scales-grid { grid-template-columns: 1fr; }
  .ex-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .closer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head .sub { font-size: 15px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost { width: 100%; justify-content: center; }
  .home-closer { margin: 0 12px 32px; }
  .home-closer .wrap { padding: 0 20px; }
}
