/* ORVATRIX marketing design system
   Layout concept: left-aligned editorial columns on a charcoal "instrument panel" ground;
   product surfaces float above it as lit glass; one signal color per meaning. */
:root {
  color-scheme: dark;
  /* ground */
  --ink-0: #07080d;      /* page */
  --ink-1: #0d0f17;      /* bands */
  --ink-2: #131624;      /* surfaces */
  --ink-3: #1b1f31;      /* raised controls */
  --line: rgba(170, 160, 255, 0.13);
  --line-strong: rgba(170, 160, 255, 0.24);
  /* text */
  --text: #ecebf5;
  --muted: #a8a7bd;
  --dim: #7c7b94;
  /* signal */
  --violet: #8d63ff;
  --violet-hi: #b69dff;
  --violet-glow: rgba(141, 99, 255, 0.35);
  --cyan: #3cc8f5;
  --cyan-soft: rgba(60, 200, 245, 0.14);
  --lime: #b4ec51;       /* confirmed / on post */
  --amber: #f3b54a;      /* attention */
  --rose: #f36d84;       /* gap / critical */
  /* type */
  --display: "Saira", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* scale (1.25) */
  --t-xs: 0.78rem; --t-sm: 0.9rem; --t-md: 1rem; --t-lg: 1.15rem;
  --t-xl: clamp(1.35rem, 1.1rem + 0.9vw, 1.65rem);
  --t-2xl: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --t-3xl: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem);
  --t-hero: clamp(2.7rem, 1.6rem + 4.6vw, 5.1rem);
  /* space */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink-0); }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 88%;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); font-weight: 700; }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); line-height: 1.15; font-stretch: 92%; }
h4 { font-size: var(--t-lg); line-height: 1.2; font-stretch: 95%; font-weight: 600; }
p { margin: 0; }
.lead { font-size: var(--t-lg); color: var(--muted); max-width: 62ch; line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.band.tight { padding-block: clamp(48px, 6vw, 80px); }
.band.raised { background: var(--ink-1); border-block: 1px solid var(--line); }
.band.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; }
.band.grid-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--ink-0) 75%); pointer-events: none; }
.band.grid-bg > * { position: relative; z-index: 1; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split.top { align-items: start; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.wide { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 24px 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1020px) {
  .split, .sec-head.wide { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- eyebrow / kicker ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-hi); }
.kicker::before { content: ""; width: 18px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: 2px; }
.label { font-size: var(--t-sm); color: var(--violet-hi); font-weight: 500; }

/* ---------- buttons ---------- */
.btn { --b: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 600 var(--t-sm)/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #9a6bff 0%, #6d4dff 55%, #4a6dff 100%); color: #fff; box-shadow: 0 8px 28px -10px var(--violet-glow), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-primary:hover { box-shadow: 0 12px 36px -10px rgba(141,99,255,.6), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--violet-hi); background: rgba(141,99,255,.08); }
.btn-sm { min-height: 38px; padding: 0 16px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: var(--t-md); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 600; text-decoration: none; font-size: var(--t-sm); }
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-soon { opacity: .55; cursor: default; }
.soon-tag { font: 600 0.62rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 6px; margin-left: 6px; vertical-align: middle; }

/* ---------- status chips ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; line-height: 1; padding: 5px 9px 5px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.available { color: var(--lime); border-color: rgba(180,236,81,.35); background: rgba(180,236,81,.07); }
.status.dev { color: var(--cyan); border-color: rgba(60,200,245,.35); background: var(--cyan-soft); }
.status.planned { color: var(--violet-hi); border-color: rgba(182,157,255,.35); background: rgba(141,99,255,.09); }
.illus { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--dim); letter-spacing: .02em; }
.illus::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--dim); border-radius: 50%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(7, 8, 13, 0.78); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-word { font-family: var(--display); font-stretch: 112%; font-weight: 700; letter-spacing: 0.14em; font-size: 1.02rem; }
.brand-mark { width: 30px; height: 30px; }
.nav-main { display: flex; align-items: center; gap: 0; margin-right: auto; }
.nav-main .soon-tag { display: none; }
.nav-main .is-soon { opacity: .5; }
.nav-item { position: relative; }
.nav-link, .nav-trigger { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; background: none; border: 0; color: var(--muted); font: 500 var(--t-sm)/1 var(--body); text-decoration: none; cursor: pointer; transition: color .15s, background-color .15s; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav-trigger svg { transition: transform .2s ease; opacity: .7; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-1); border-bottom: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); padding-block: 32px 36px; opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease; }
.mega:not([hidden]).open { opacity: 1; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 32px; }
.mega-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); }
.mega-col h3 { font-family: var(--body); font-stretch: 100%; font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-list a, .mega-list .is-soon { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 4px 12px; padding: 10px; border-radius: var(--r-sm); text-decoration: none; transition: background-color .15s; }
.mega-list a:hover { background: rgba(141,99,255,.1); }
.mega-list .ic { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line); color: var(--violet-hi); }
.mega-list strong { font-weight: 600; font-size: var(--t-sm); line-height: 1.3; }
.mega-list span.d { font-size: 0.8rem; color: var(--dim); line-height: 1.4; }
.mega-list.compact a, .mega-list.compact .is-soon { grid-template-columns: minmax(0,1fr); padding: 7px 10px; }
.mega-list.compact strong { font-weight: 500; color: var(--muted); }
.mega-list.compact a:hover strong { color: var(--text); }
.mega-feature { border-radius: var(--r-md); padding: 22px; background: radial-gradient(120% 120% at 100% 0%, rgba(141,99,255,.28), transparent 55%), radial-gradient(90% 90% at 0% 100%, rgba(60,200,245,.14), transparent 60%), var(--ink-2); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.mega-feature p { color: var(--muted); font-size: var(--t-sm); }

.drawer { display: none; }
@media (max-width: 1180px) {
  .nav-main, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mega { display: none !important; }
  .drawer { display: block; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; background: var(--ink-0); overflow-y: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 49; }
  .drawer[hidden] { display: none; }
  .drawer .wrap { padding-block: 16px; display: grid; gap: 4px; }
  .drawer details { border-bottom: 1px solid var(--line); }
  .drawer summary, .drawer .d-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-family: var(--display); font-stretch: 95%; font-size: 1.2rem; font-weight: 600; list-style: none; cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--line); }
  .drawer details .d-link { border-bottom: 0; }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary svg { transition: transform .2s; }
  .drawer details[open] summary svg { transform: rotate(180deg); }
  .drawer details[open] summary { border-bottom: 0; }
  .drawer .d-sub { display: grid; gap: 2px; padding: 0 4px 16px; }
  .drawer .d-sub h3 { font-family: var(--body); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 12px 0 4px; }
  .drawer .d-sub a, .drawer .d-sub .is-soon { padding: 9px 0; text-decoration: none; color: var(--muted); }
  .drawer .d-cta { display: grid; gap: 10px; padding-top: 20px; }
}

/* ---------- surfaces ---------- */
.card { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); position: relative; min-width: 0; }
.card.link-card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s ease, transform .2s ease, background-color .2s; }
.card.link-card:hover { border-color: rgba(182,157,255,.45); transform: translateY(-2px); }
.card .ic-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--violet-hi); background: linear-gradient(135deg, rgba(141,99,255,.22), rgba(60,200,245,.08)); border: 1px solid rgba(182,157,255,.25); }
.card p { color: var(--muted); }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.glass { background: rgba(19, 22, 36, 0.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plain-list li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; color: var(--muted); }
.plain-list li svg { margin-top: 3px; color: var(--cyan); }
.plain-list li strong { color: var(--text); font-weight: 600; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 96px); }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(40% 50% at 70% 30%, rgba(141,99,255,.30), transparent 70%), radial-gradient(35% 40% at 20% 10%, rgba(60,200,245,.14), transparent 70%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); pointer-events: none; opacity: .7; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 24px; max-width: 820px; }
.hero h1 { font-size: var(--t-hero); }
.hero h1 .line2 { display: block; background: linear-gradient(95deg, var(--text) 0%, var(--violet-hi) 55%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--t-3xl); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-xs); color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 6px; color: var(--muted); font-size: var(--t-sm); }
.meta-row b { color: var(--text); font-weight: 600; }

/* ---------- product frames (illustrative UI) ---------- */
.frame { border-radius: 16px; background: #0b0d16; border: 1px solid var(--line-strong); box-shadow: 0 50px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02), 0 0 80px -30px var(--violet-glow); overflow: hidden; font-family: var(--body); min-width: 0; }
.frame-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line-strong); }
.frame-title { font-size: 0.72rem; color: var(--dim); }
.frame-body { padding: 16px; display: grid; gap: 12px; }
.ui-row { display: grid; gap: 10px; }
.ui-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.ui-kpi { background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.ui-kpi span { font-size: 0.66rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-kpi b { font-family: var(--mono); font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ui-kpi em { font-style: normal; font-size: 0.64rem; }
.ui-panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-width: 0; }
.ui-panel h5 { margin: 0 0 10px; font: 600 0.72rem/1.2 var(--body); color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.ui-panel h5 i { font-style: normal; color: var(--dim); font-weight: 500; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.ui-table th { text-align: left; font-weight: 500; color: var(--dim); padding: 0 6px 6px 0; white-space: nowrap; }
.ui-table td { padding: 7px 6px 7px 0; border-top: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.ui-table td:first-child { color: var(--text); }
.ui-table .num { text-align: right; font-family: var(--mono); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot.ok { background: var(--lime); box-shadow: 0 0 8px rgba(180,236,81,.6); }
.dot.warn { background: var(--amber); }
.dot.bad { background: var(--rose); }
.dot.info { background: var(--cyan); }
.dot.idle { background: var(--dim); }
.pill { display: inline-block; font-size: 0.62rem; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--ink-3); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { color: var(--lime); border-color: rgba(180,236,81,.3); }
.pill.warn { color: var(--amber); border-color: rgba(243,181,74,.3); }
.pill.bad { color: var(--rose); border-color: rgba(243,109,132,.3); }
.pill.info { color: var(--cyan); border-color: rgba(60,200,245,.3); }
.pill.vio { color: var(--violet-hi); border-color: rgba(182,157,255,.3); }
.bar-track { height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.chart-svg text { font-family: var(--body); font-size: 9px; fill: var(--dim); }
.chart-svg .grid-l { stroke: var(--line); stroke-width: 1; }
.ui-scroll { overflow-x: auto; }
.frame-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }

/* phone */
.phone { width: 236px; max-width: 100%; aspect-ratio: 236 / 480; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #262a3d, #0f111b 60%); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 60px -25px var(--violet-glow); flex-shrink: 0; }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; background: #090b13; overflow: hidden; display: flex; flex-direction: column; font-size: 0.68rem; position: relative; }
.phone-notch { width: 70px; height: 18px; border-radius: 0 0 12px 12px; background: #000; margin: 0 auto; flex-shrink: 0; }
.phone-head { padding: 10px 14px 8px; display: grid; gap: 2px; }
.phone-head small { color: var(--dim); font-size: 0.6rem; }
.phone-head b { font-family: var(--display); font-stretch: 92%; font-size: 1rem; font-weight: 600; }
.phone-body { padding: 4px 10px 10px; display: grid; gap: 8px; align-content: start; flex: 1; }
.p-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: grid; gap: 4px; }
.p-card.hl { border-color: rgba(141,99,255,.45); background: linear-gradient(160deg, rgba(141,99,255,.18), rgba(19,22,36,1) 70%); }
.p-card .t { display: flex; justify-content: space-between; gap: 6px; align-items: center; color: var(--text); font-weight: 600; }
.p-card .s { color: var(--dim); font-size: 0.6rem; }
.p-btn { margin-top: 4px; text-align: center; border-radius: 9px; padding: 7px; font-weight: 600; font-size: 0.64rem; background: linear-gradient(135deg, #9a6bff, #5a5dff); color: #fff; }
.p-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding: 8px 6px 12px; font-size: 0.55rem; color: var(--dim); text-align: center; gap: 2px; }
.p-tabs span.on { color: var(--violet-hi); }
.p-tabs i { display: block; width: 14px; height: 14px; margin: 0 auto 3px; border-radius: 4px; border: 1.5px solid currentColor; }

/* ---------- hero composition ---------- */
.hero-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-stage .frame { width: min(100%, 900px); }
.hero-stage .phone { position: absolute; right: 0; bottom: -28px; width: 200px; }
.hero-stage .phone.second { right: 150px; bottom: -56px; width: 180px; transform: rotate(-4deg); z-index: 0; opacity: .96; }
.hero-stage .phone.first { z-index: 2; transform: rotate(3deg); }
.launcher { position: absolute; left: -12px; bottom: -118px; z-index: 3; width: 252px; border-radius: 16px; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.launcher div { display: grid; justify-items: center; gap: 5px; text-align: center; font-size: 0.58rem; color: var(--muted); line-height: 1.2; padding: 6px 2px; border-radius: 10px; }
.launcher div i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--violet-hi); background: var(--ink-3); border: 1px solid var(--line-strong); }
.launcher div.on { background: rgba(141,99,255,.14); color: var(--text); }
.hero-note { margin-top: 140px; }
@media (max-width: 1100px) {
  .hero-stage .phone.second { display: none; }
}
@media (max-width: 760px) {
  .hero-stage .phone, .launcher { display: none; }
  .hero-note { margin-top: 16px; }
  .ui-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- system map ---------- */
.sysmap { width: 100%; height: auto; display: block; }
.sysmap .node rect { fill: var(--ink-2); stroke: var(--line-strong); }
.sysmap .node text { fill: var(--text); font-family: var(--body); font-size: 13px; font-weight: 600; }
.sysmap .node .sub { fill: var(--dim); font-size: 10.5px; font-weight: 400; }
.sysmap .core circle.c1 { fill: url(#coreFill); stroke: rgba(182,157,255,.55); }
.sysmap .core text { fill: var(--text); font-family: var(--display); font-size: 15px; font-weight: 650; letter-spacing: .04em; }
.sysmap .core .sub { font-family: var(--body); font-size: 10.5px; fill: var(--muted); font-weight: 400; letter-spacing: 0; }
.sysmap .wire { stroke: url(#wireGrad); stroke-width: 1.4; fill: none; stroke-dasharray: 4 5; }
.sysmap .pulse { fill: var(--cyan); }
.sysmap .ring { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 6; }
.sysmap .chip rect { fill: #0e1a26; stroke: rgba(60,200,245,.35); }
.sysmap .chip text { fill: var(--cyan); font-family: var(--body); font-size: 10.5px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .sysmap .wire { animation: dash 14s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -180; } }
}

/* ---------- app grid ---------- */
.app-card { padding: 0; overflow: hidden; }
.app-card .app-top { padding: 26px 26px 0; display: grid; gap: 12px; }
.app-card .app-prev { flex: 1; margin: 18px 18px 0; border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: 0; background: #0b0d16; padding: 12px; min-height: 132px; display: grid; gap: 8px; align-content: start; }
.app-card .foot { padding: 16px 26px 22px; margin-top: 0; border-top: 1px solid var(--line); }
.mini-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.68rem; color: var(--muted); padding: 6px 8px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--line); }
.mini-line b { min-width: 0; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- workflow rail (true sequences only) ---------- */
.rail { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.rail-step { position: relative; padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; }
.rail-step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 0.8rem/1 var(--mono); color: var(--violet-hi); border: 1px solid rgba(182,157,255,.45); background: var(--ink-0); position: relative; z-index: 1; }
.rail-step::before { content: ""; position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: linear-gradient(90deg, rgba(182,157,255,.5), rgba(60,200,245,.25)); }
.rail-step:last-child::before { display: none; }
.rail-step .who { font-size: var(--t-xs); color: var(--cyan); font-weight: 600; }
.rail-step p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 900px) {
  .rail { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .rail-step { grid-template-columns: 34px minmax(0,1fr); column-gap: 16px; padding: 0; }
  .rail-step > :not(.n) { grid-column: 2; }
  .rail-step .n { grid-row: span 3; }
  .rail-step::before { top: 34px; bottom: -22px; left: 17px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(182,157,255,.5), rgba(60,200,245,.2)); }
}

/* ---------- surfaces: connected ops ---------- */
.surface-trio { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.surface { border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 12px; align-content: start; position: relative; }
.surface .tag { font: 600 var(--t-xs)/1 var(--body); color: var(--dim); }
.surface.web { border-top: 2px solid var(--violet); }
.surface.field { border-top: 2px solid var(--cyan); }
.surface.command { border-top: 2px solid var(--lime); }
@media (max-width: 900px) { .surface-trio { grid-template-columns: minmax(0,1fr); } }

/* ---------- mobile duo ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.duo-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--ink-1); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: end; overflow: hidden; position: relative; }
.duo-card::before { content: ""; position: absolute; inset: auto -20% -40% 30%; height: 80%; background: radial-gradient(closest-side, var(--glow, rgba(60,200,245,.22)), transparent); pointer-events: none; }
.duo-card > * { position: relative; }
.duo-card .phone { width: 200px; margin-bottom: -60px; }
.duo-card .who { font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 1100px) { .duo { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 560px) { .duo-card { grid-template-columns: minmax(0,1fr); } .duo-card .phone { margin: 0 auto -80px; } }

/* ---------- solutions tiles ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sol-tile { background: var(--ink-0); padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; min-height: 200px; transition: background-color .2s; position: relative; }
.sol-tile:hover { background: var(--ink-2); }
.sol-tile .ic { color: var(--cyan); }
.sol-tile p { color: var(--muted); font-size: var(--t-sm); }
.sol-tile .go { margin-top: auto; color: var(--violet-hi); font-size: var(--t-sm); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 1020px) { .sol-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .sol-grid { grid-template-columns: minmax(0,1fr); } .sol-tile { min-height: 0; } }

/* ---------- intelligence ---------- */
.intel { border-radius: var(--r-lg); border: 1px solid rgba(182,157,255,.3); background: radial-gradient(70% 90% at 100% 0%, rgba(141,99,255,.22), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(60,200,245,.12), transparent 60%), var(--ink-1); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ask { border-radius: 16px; background: rgba(7,8,13,.7); border: 1px solid var(--line-strong); padding: 16px; display: grid; gap: 12px; font-size: var(--t-sm); }
.ask .q { justify-self: end; max-width: 88%; background: var(--ink-3); border-radius: 14px 14px 4px 14px; padding: 10px 12px; color: var(--text); }
.ask .a { max-width: 94%; background: linear-gradient(160deg, rgba(141,99,255,.16), rgba(19,22,36,.9)); border: 1px solid rgba(182,157,255,.25); border-radius: 14px 14px 14px 4px; padding: 12px 14px; color: var(--muted); display: grid; gap: 8px; }
.ask .a b { color: var(--text); font-weight: 600; }
.ask .a ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.ask .src { font-size: 0.7rem; color: var(--dim); }
@media (max-width: 900px) { .intel { grid-template-columns: minmax(0,1fr); } }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
.why-item { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.why-item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.why-item p { color: var(--muted); font-size: var(--t-sm); }
.why-item .ic { color: var(--violet-hi); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: minmax(0,1fr); }
  .why-item, .why-item:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
}

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(182,157,255,.32); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); background: radial-gradient(60% 120% at 85% 10%, rgba(141,99,255,.4), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(60,200,245,.18), transparent 60%), var(--ink-1); display: grid; gap: 22px; }
.final::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.final > * { position: relative; z-index: 1; }
.final h2 { max-width: 16ch; }

/* ---------- capability list ---------- */
.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 40px; }
.cap { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 16px; padding: 20px 0; border-top: 1px solid var(--line); align-content: start; }
.cap h4 { grid-column: 1; }
.cap .status { grid-column: 2; grid-row: 1; align-self: start; }
.cap p { grid-column: 1 / -1; color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 760px) { .cap-list { grid-template-columns: minmax(0,1fr); } }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: var(--t-xs); color: var(--dim); }

/* ---------- challenge list ---------- */
.challenges { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.challenge { padding: 24px; border-radius: var(--r-md); background: var(--ink-1); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.challenge .sym { font-size: var(--t-xs); font-weight: 600; color: var(--amber); }
.challenge p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 1020px) { .challenges { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .challenges { grid-template-columns: minmax(0,1fr); } }

/* ---------- connections ---------- */
.conn-list { display: grid; gap: 12px; }
.conn { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); text-decoration: none; transition: border-color .2s; }
.conn:hover { border-color: rgba(182,157,255,.45); }
.conn p { color: var(--muted); font-size: var(--t-sm); }
.conn .arrow { color: var(--violet-hi); }
@media (max-width: 560px) { .conn { grid-template-columns: 44px minmax(0,1fr); } .conn .arrow { display: none; } }

/* ---------- audience ---------- */
.aud { display: flex; flex-wrap: wrap; gap: 8px; }
.aud span { font-size: var(--t-sm); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255,255,255,.02); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--display); font-stretch: 95%; font-size: var(--t-lg); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s, border-color .2s; color: var(--violet-hi); }
.faq details[open] summary .pm { transform: rotate(45deg); border-color: var(--violet-hi); }
.faq .ans { padding: 0 48px 24px 0; color: var(--muted); max-width: 72ch; }

/* ---------- note / disclosure ---------- */
.note { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; padding: 16px 18px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--muted); font-size: var(--t-sm); background: rgba(255,255,255,.015); }
.note svg { color: var(--cyan); margin-top: 2px; }
.note b { color: var(--text); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 18px; align-items: start; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--t-sm); font-weight: 600; color: var(--text); padding: 0; }
.field .req { color: var(--violet-hi); }
.field .hint { font-size: var(--t-xs); color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--text); font: 400 var(--t-md)/1.4 var(--body); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-hi); box-shadow: 0 0 0 3px rgba(141,99,255,.25); }
.field [aria-invalid="true"] { border-color: var(--rose); }
.field .err { font-size: var(--t-xs); color: var(--rose); min-height: 0; }
.field .err:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.field .check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink-2); font-size: var(--t-sm); color: var(--muted); cursor: pointer; }
.field .check input { width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; accent-color: var(--violet); flex-shrink: 0; }
.field .check:has(input:checked) { border-color: rgba(182,157,255,.5); color: var(--text); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: var(--t-sm); border: 1px solid; }
.form-status.warn { color: var(--amber); border-color: rgba(243,181,74,.35); background: rgba(243,181,74,.06); }
.form-status.ok { color: var(--lime); border-color: rgba(180,236,81,.35); background: rgba(180,236,81,.06); }
.form-status.bad { color: var(--rose); border-color: rgba(243,109,132,.35); background: rgba(243,109,132,.06); }
@media (max-width: 640px) { .form-grid, .checks { grid-template-columns: minmax(0,1fr); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-1); padding-block: 64px calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.foot-grid h3 { font-family: var(--body); font-stretch: 100%; font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a, .foot-grid .is-soon { color: var(--muted); text-decoration: none; font-size: var(--t-sm); }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: var(--t-sm); max-width: 34ch; margin-top: 14px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-xs); color: var(--dim); }
@media (max-width: 1020px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reveal (opt-in, visible at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-stage { animation: stage 1s .2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(14px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes stage { from { transform: translateY(28px) scale(.985); opacity: .3; } to { transform: none; opacity: 1; } }
}

@media (max-width: 760px) {
  .frame .ui-row[style] { grid-template-columns: minmax(0, 1fr) !important; }
}
.legend .lg { display: inline-flex; align-items: center; gap: 8px; }

/* =========================================================
   Homepage: stacked product deck (hero)
   ========================================================= */
.hero-deck { padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.hero-copy-center { margin-inline: auto; text-align: center; justify-items: center; max-width: 900px; }
.hero-copy-center .lead { margin-inline: auto; }
.hero-copy-center .row { justify-content: center; }
.hero-deck .hero-note { margin-top: 20px; }

.deck { position: relative; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: end; }
.deck-rail { align-self: center; display: flex; flex-direction: column; gap: 10px; padding: 12px 10px; border-radius: 999px; background: rgba(19, 22, 36, 0.7); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; z-index: 2; }
.rail-btn { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; background: transparent; color: var(--hue, var(--violet-hi)); cursor: pointer; transition: background-color .2s, transform .2s, box-shadow .2s, color .2s; }
.rail-btn:hover { background: rgba(255,255,255,.06); transform: scale(1.06); }
.rail-btn[aria-selected="true"] { background: var(--text); color: #0d0f17; box-shadow: 0 0 0 4px color-mix(in srgb, var(--hue) 35%, transparent), 0 10px 30px -10px var(--hue); }
.rail-tip { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--text); font-size: var(--t-xs); font-weight: 600; padding: 5px 9px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rail-btn:hover .rail-tip, .rail-btn:focus-visible .rail-tip { opacity: 1; }

.deck-stack { display: flex; flex-direction: column; min-width: 0; }
.deck-card {
  --tint: color-mix(in srgb, var(--hue) 34%, #0b0d16);
  --tint2: color-mix(in srgb, var(--hue) 12%, #0b0d16);
  position: relative;
  margin-inline: calc(var(--d, 0) * 18px);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(100deg, var(--tint) 0%, var(--tint2) 100%);
  border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent);
  border-bottom: 0;
  margin-bottom: -18px;
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,.6);
  transition: margin .35s cubic-bezier(.2,.7,.2,1);
}
.deck-strip { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 28px 32px; background: none; border: 0; color: var(--text); cursor: pointer; text-align: left; font: inherit; border-radius: 24px 24px 0 0; }
.deck-strip:hover .strip-line { color: #fff; }
.strip-line { font-family: var(--display); font-stretch: 95%; font-weight: 600; font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.12rem); color: color-mix(in srgb, var(--text) 85%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.strip-name { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.strip-disc { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--hue) 30%, #0b0d16); color: var(--hue); border: 1px solid color-mix(in srgb, var(--hue) 50%, transparent); }
.deck-body { display: none; }

.deck-card.is-front { margin-inline: 0; margin-bottom: 0; border-radius: 28px; border-bottom: 1px solid color-mix(in srgb, var(--hue) 40%, transparent); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 120px -50px var(--hue); overflow: hidden;
  background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--hue) 30%, transparent), transparent 60%), linear-gradient(120deg, color-mix(in srgb, var(--hue) 28%, #0b0d16) 0%, #0e1020 70%); }
.deck-card.is-front .deck-strip { display: none; }
.deck-card.is-front .deck-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) 0; min-height: 460px; }
.deck-copy { display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(28px, 4vw, 56px); }
.deck-prod { display: flex; align-items: center; gap: 14px; }
.deck-prod b { font-family: var(--display); font-stretch: 95%; font-size: var(--t-lg); }
.deck-prod span { color: var(--muted); font-size: var(--t-sm); }
.deck-disc { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--hue); background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--hue) 45%, #1b1f31), #0d0f17 75%); border: 1px solid color-mix(in srgb, var(--hue) 55%, transparent); box-shadow: 0 0 30px -8px var(--hue); }
.deck-h { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 700; line-height: 1.02; }
.deck-text { color: color-mix(in srgb, var(--text) 80%, transparent); font-size: var(--t-lg); max-width: 50ch; line-height: 1.6; }
.btn-pill { background: var(--text); color: #0d0f17; min-height: 54px; padding: 0 26px; font-size: var(--t-md); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.btn-pill:hover { background: #fff; }
.deck-visual { align-self: end; min-width: 0; max-height: 420px; overflow: hidden; border-radius: 16px 16px 0 0; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.deck-visual .frame { border-radius: 16px 16px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .deck-card.is-front .deck-body { animation: deckIn .45s cubic-bezier(.2,.7,.2,1); }
  @keyframes deckIn { from { transform: translateY(12px); opacity: .5; } to { transform: none; opacity: 1; } }
}
@media (max-width: 1020px) {
  .deck-card.is-front .deck-body { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .deck-visual { max-height: 340px; }
}
@media (max-width: 760px) {
  .deck { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .deck-rail { flex-direction: row; justify-content: space-between; align-self: stretch; border-radius: 999px; padding: 8px; gap: 4px; overflow-x: auto; }
  .rail-btn { width: 42px; height: 42px; flex-shrink: 0; }
  .rail-tip { display: none; }
  .deck-card:not(.is-front) { display: none; }
  .deck-card.is-front .deck-body { padding: 24px 20px 0; }
  .deck-h { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.2rem); }
}

/* ---------- centered section heads (Salesforce-style rhythm) ---------- */
.center-head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 56px); }
.center-head .lead { margin-inline: auto; }
.center-foot { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- commitments band ---------- */
.commit-band { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(141,99,255,.10), rgba(60,200,245,.05)); overflow: hidden; }
.commit { padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.commit + .commit { border-left: 1px solid var(--line); }
.commit-k { font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: var(--t-2xl); line-height: 1; background: linear-gradient(95deg, var(--text), var(--violet-hi) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.commit p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 900px) { .commit-band { grid-template-columns: minmax(0,1fr); } .commit + .commit { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- architecture stack ---------- */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; max-width: 1080px; margin-inline: auto; }
.arch-layers { display: grid; gap: 12px; }
.arch-layer { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 20px; align-items: center; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--ink-2); }
.arch-layer.l-mobile { background: linear-gradient(90deg, rgba(180,236,81,.10), var(--ink-2) 60%); }
.arch-layer.l-apps { background: linear-gradient(90deg, rgba(141,99,255,.18), var(--ink-2) 60%); }
.arch-layer.l-record { background: linear-gradient(90deg, rgba(60,200,245,.14), var(--ink-2) 60%); }
.arch-layer.l-platform { background: linear-gradient(90deg, rgba(255,255,255,.06), var(--ink-2) 60%); }
.arch-label { display: grid; gap: 4px; }
.arch-label b { font-family: var(--display); font-stretch: 95%; font-size: var(--t-lg); }
.arch-label span { color: var(--muted); font-size: var(--t-xs); line-height: 1.45; }
.arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-i { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: var(--t-xs); font-weight: 600; background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--text); }
.chip-i svg { color: var(--hue, var(--violet-hi)); }
.chip-i.plain { font-weight: 500; color: var(--muted); }
.arch-span { border-radius: 18px; border: 1px dashed rgba(182,157,255,.55); background: linear-gradient(180deg, rgba(141,99,255,.22), rgba(60,200,245,.08)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 16px 10px; color: var(--violet-hi); }
.arch-span b { color: var(--text); font-family: var(--display); font-stretch: 95%; writing-mode: vertical-rl; transform: rotate(180deg); font-size: var(--t-lg); }
.arch-span span { font-size: 0.7rem; color: var(--muted); }
@media (max-width: 900px) {
  .arch { grid-template-columns: minmax(0,1fr); }
  .arch-layer { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .arch-span { flex-direction: row; }
  .arch-span b { writing-mode: horizontal-tb; transform: none; }
}

/* ---------- growth tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.tier { border-radius: var(--r-lg); padding: 28px; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.tier::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--violet), var(--cyan)); opacity: calc(.35 + var(--i, 0) * .3); }
.tier:nth-child(1) { --i: 0; } .tier:nth-child(2) { --i: 1; } .tier:nth-child(3) { --i: 2; }
.tier-level { font-size: var(--t-xs); font-weight: 600; color: var(--cyan); }
.tier p { color: var(--muted); font-size: var(--t-sm); }
.tier-apps { display: flex; flex-wrap: wrap; gap: 6px; }
.tier-apps span { font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.tier-foot { margin-top: auto; padding-top: 6px; }
@media (max-width: 900px) { .tiers { grid-template-columns: minmax(0,1fr); } }

/* ---------- values ---------- */
.values-mark { max-width: 420px; margin-inline: auto; width: 100%; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values-list li { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.values-list b { font-family: var(--display); font-stretch: 95%; font-weight: 600; font-size: var(--t-lg); }
.values-list span { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 560px) { .values-list li { grid-template-columns: minmax(0,1fr); gap: 4px; } }
/* deck tightening */
.hero-deck h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); }
.hero-deck .hero-copy { gap: 18px; }
.deck-strip { padding: 11px 26px 27px; }
.deck-card { margin-inline: calc(var(--d, 0) * 16px); }
.commit-k { font-size: var(--t-xl); }

/* =========================================================
   Homepage hero: solid color block (Salesforce-style)
   ========================================================= */
.hero-block { position: relative; overflow: hidden; background: #2b1b8f; background: linear-gradient(180deg, #3a22b8 0%, #2b1a96 55%, #1f1572 100%); color: #fff; }
.hero-block::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%); pointer-events: none; }
.hero-block-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(56px, 8vw, 104px) clamp(36px, 4vw, 56px); }
.hb-title { display: flex; flex-direction: column; align-items: center; font-size: clamp(2.6rem, 1.3rem + 5.4vw, 6rem); font-weight: 700; font-stretch: 92%; line-height: 1.02; letter-spacing: -0.02em; color: #fff; }
.hb-accent { color: #5ee6d4; }
.hb-sub { margin-top: clamp(24px, 3vw, 36px); max-width: 52ch; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.5; font-weight: 500; color: #fff; }
.hb-form { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; }
.hb-pill { display: flex; align-items: center; width: min(100%, 560px); background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.hb-pill input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #12142a; font: 400 1.05rem/1 var(--body); padding: 0 20px; height: 56px; }
.hb-pill input::placeholder { color: #6b6f86; }
.hb-pill:focus-within { box-shadow: 0 0 0 3px #5ee6d4; }
.hb-pill input[aria-invalid="true"] { color: #b4233c; }
.hb-go { flex-shrink: 0; height: 56px; padding: 0 26px; border: 0; border-radius: 999px; background: #0f7a6a; color: #fff; font: 700 1.02rem/1 var(--display); font-stretch: 100%; cursor: pointer; transition: background-color .15s, transform .15s; }
.hb-go:hover { background: #0b6658; }
.hb-ghost { display: inline-flex; align-items: center; justify-content: center; height: 66px; padding: 0 34px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; font: 700 1.02rem/1 var(--display); font-stretch: 100%; text-decoration: none; transition: background-color .15s; }
.hb-ghost:hover { background: rgba(255,255,255,.22); }
.hb-err { min-height: 1.4em; margin-top: 8px; font-size: var(--t-sm); color: #ffd1d8; font-weight: 600; }
.hb-err:empty { min-height: 0; margin: 0; }
.hb-checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: var(--t-sm); color: rgba(255,255,255,.92); }
.hb-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hb-lead { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(1.6rem, 1rem + 2.4vw, 2.9rem); font-weight: 650; font-stretch: 95%; color: #fff; max-width: 26ch; }
.deck-band { position: relative; background: linear-gradient(180deg, #1f1572 0%, var(--ink-0) 380px); padding-block: 8px clamp(48px, 6vw, 80px); }
.deck-band .deck { margin-top: 0; }
.deck-band .hero-note { margin-top: 20px; }
@media (max-width: 640px) {
  .hb-pill { flex-direction: column; border-radius: 22px; padding: 6px; gap: 6px; }
  .hb-pill input { width: 100%; height: 52px; text-align: center; }
  .hb-go { width: 100%; height: 52px; }
  .hb-ghost { width: 100%; height: 54px; }
}

/* =========================================================
   Mobile pages
   ========================================================= */
.m-hero.field .hero-glow { background: radial-gradient(40% 50% at 75% 35%, rgba(60,200,245,.30), transparent 70%), radial-gradient(35% 40% at 15% 10%, rgba(141,99,255,.16), transparent 70%); }
.m-hero.command .hero-glow { background: radial-gradient(40% 50% at 75% 35%, rgba(180,236,81,.20), transparent 70%), radial-gradient(35% 40% at 15% 10%, rgba(141,99,255,.22), transparent 70%); }
.m-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: var(--t-sm); color: var(--hue, var(--cyan)); background: color-mix(in srgb, var(--hue, var(--cyan)) 12%, transparent); border: 1px solid color-mix(in srgb, var(--hue, var(--cyan)) 40%, transparent); }

.m-pair { position: relative; display: flex; justify-content: center; gap: 0; padding-block: 12px; }
.m-pair .phone { width: 230px; }
.m-pair .m-left { transform: rotate(-4deg) translateX(16px); z-index: 1; }
.m-pair .m-right { transform: rotate(4deg) translate(-16px, 32px); z-index: 2; }

.m-trio { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-block: 8px 12px; }
.m-trio .phone { width: 210px; }
.m-trio .t1 { transform: translateX(40px) rotate(-6deg) scale(.9); opacity: .9; z-index: 1; }
.m-trio .t2 { z-index: 3; }
.m-trio .t3 { transform: translateX(-40px) rotate(6deg) scale(.9); opacity: .9; z-index: 2; }
@media (max-width: 760px) {
  .m-pair .phone, .m-trio .phone { width: 180px; }
  .m-trio .t1, .m-trio .t3 { display: none; }
  .m-pair .m-left { transform: rotate(-4deg) translateX(10px); }
  .m-pair .m-right { transform: rotate(4deg) translate(-10px, 24px); }
}
@media (max-width: 420px) { .m-pair .m-right { display: none; } .m-pair .m-left { transform: none; } }

.m-link { text-decoration: none; color: inherit; transition: border-color .2s; }
.m-link:hover { border-color: rgba(182,157,255,.45); }

.m-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.m-feature { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 10px; align-content: start; }
.m-feature p { color: var(--muted); font-size: var(--t-sm); }
.m-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--hue, var(--violet-hi)); background: var(--ink-3); border: 1px solid var(--line-strong); }
.m-ic.lg { width: 44px; height: 44px; border-radius: 12px; }
.m-hero.field ~ * .m-ic { --hue: #3cc8f5; }
.m-hero.command ~ * .m-ic { --hue: #b4ec51; }
@media (max-width: 1020px) { .m-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .m-features { grid-template-columns: minmax(0, 1fr); } }

.m-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--ink-2); }
.m-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--t-sm); }
.m-table th, .m-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.m-table tbody tr:last-child th, .m-table tbody tr:last-child td { border-bottom: 0; }
.m-table thead th { background: var(--ink-1); }
.m-table tbody th { color: var(--text); font-weight: 600; width: 22%; }
.m-table td { color: var(--muted); }
.m-th { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 95%; font-size: var(--t-lg); color: var(--text); }
.m-th.field svg { color: #3cc8f5; }
.m-th.command svg { color: #b4ec51; }

.together { display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); align-items: center; gap: 24px; max-width: 920px; margin-inline: auto; }
.t-col { display: grid; justify-items: center; gap: 16px; text-align: center; }
.t-col .phone { width: 220px; }
.t-col p { color: var(--muted); font-size: var(--t-sm); max-width: 30ch; }
.t-tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ink-2); }
.t-tag.field svg { color: #3cc8f5; }
.t-tag.command svg { color: #b4ec51; }
.t-mid { display: flex; align-items: center; height: 100%; }
.t-line { flex: 1; height: 2px; background: linear-gradient(90deg, #3cc8f5, #b69dff); opacity: .7; }
.t-line:last-child { background: linear-gradient(90deg, #b69dff, #b4ec51); }
.t-node { flex-shrink: 0; display: grid; justify-items: center; gap: 6px; padding: 14px 12px; border-radius: 16px; border: 1px solid rgba(182,157,255,.45); background: var(--ink-1); color: var(--violet-hi); font-size: 0.72rem; font-weight: 600; text-align: center; }
.t-node span { color: var(--text); }
@media (max-width: 800px) {
  .together { grid-template-columns: minmax(0, 1fr); }
  .t-mid { flex-direction: column; height: 90px; }
  .t-line { width: 2px; height: auto; flex: 1; }
}
.t-col .phone { text-align: left; }

/* =========================================================
   Top navigation v2 (Salesforce header pattern)
   ========================================================= */
:root { --header-h: 76px; }
.site-header { background: rgba(9, 10, 17, 0.92); }
.header-inner { gap: clamp(16px, 2.4vw, 40px); }
.brand-word { font-size: 1.08rem; }
.brand-mark { width: 34px; height: 34px; }
.nav-main { gap: 2px; }
.nav-link, .nav-trigger { height: 44px; padding: 0 14px; color: var(--text); font: 600 1rem/1 var(--body); }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: rgba(255,255,255,.07); }
.nav-trigger svg { opacity: .55; }
.nav-main .is-soon { opacity: .55; }
.header-cta { gap: clamp(14px, 1.8vw, 26px); }
.hdr-contact { color: var(--text); font-size: 1rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(236,235,245,.45); white-space: nowrap; }
.hdr-contact:hover { text-decoration-color: var(--text); }
.hdr-login { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr-login svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.hdr-login:hover { color: var(--cyan); }
.hdr-login.is-soon { opacity: .55; cursor: default; }
.hdr-start { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; background: #0f7a6a; color: #fff; font: 700 1rem/1 var(--body); text-decoration: none; white-space: nowrap; transition: background-color .15s, transform .15s; box-shadow: 0 8px 24px -12px rgba(15,122,106,.8); }
.hdr-start:hover { background: #0b6658; transform: translateY(-1px); }
.hdr-start.lg { height: 54px; }

/* keep the full bar visible as long as it fits */
@media (max-width: 1180px) {
  .nav-main, .header-cta { display: flex; }
  .menu-toggle { display: none; }
  .mega:not([hidden]) { display: block !important; }
  .drawer { display: none !important; }
}
@media (max-width: 1120px) { .hdr-contact { display: none; } }
@media (max-width: 1000px) { .hdr-login { display: none; } .nav-link, .nav-trigger { padding: 0 10px; font-size: .95rem; } }
@media (max-width: 1100px) and (min-width: 861px) { .mega-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .mega-feature { display: none; } }
@media (max-width: 860px) {
  .nav-main, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mega, .mega:not([hidden]) { display: none !important; }
  .drawer { display: block !important; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; background: var(--ink-0); overflow-y: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 49; }
  .drawer[hidden] { display: none !important; }
  .drawer .wrap { padding-block: 16px; display: grid; gap: 4px; }
  .drawer details { border-bottom: 1px solid var(--line); }
  .drawer summary, .drawer .d-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-family: var(--display); font-stretch: 95%; font-size: 1.2rem; font-weight: 600; list-style: none; cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--line); }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer details[open] summary { border-bottom: 0; }
  .drawer details[open] summary svg { transform: rotate(180deg); }
  .drawer .d-sub { display: grid; gap: 2px; padding: 0 4px 16px; }
  .drawer .d-sub h3 { font-family: var(--body); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 12px 0 4px; }
  .drawer .d-sub a, .drawer .d-sub .is-soon { padding: 9px 0; text-decoration: none; color: var(--muted); }
  .drawer .d-cta { display: grid; gap: 12px; padding-top: 20px; justify-items: stretch; }
  .drawer .hdr-login.d { display: inline-flex; justify-content: center; padding: 10px; }
}

/* =========================================================
   Pricing, Platform, About, Resources
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; }
.plan { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: var(--ink-2); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 18px; }
.plan-free { border-color: rgba(94,230,212,.45); background: radial-gradient(90% 80% at 100% 0%, rgba(94,230,212,.14), transparent 60%), var(--ink-2); }
.plan-name { font-family: var(--display); font-stretch: 95%; font-weight: 650; font-size: var(--t-xl); }
.plan-tag { font-size: var(--t-xs); font-weight: 600; color: #5ee6d4; border: 1px solid rgba(94,230,212,.45); border-radius: 999px; padding: 4px 10px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-family: var(--display); font-stretch: 90%; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; }
.plan-price span { color: var(--muted); font-size: var(--t-sm); }
.plan .plain-list { margin-bottom: 6px; }
.plan > .btn, .plan .plan-cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0,1fr); } }

.sep-table tbody th { width: 20%; }
.sep-table .sep-b { color: var(--violet-hi); font-weight: 600; width: 22%; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.role { padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 6px; }
.role b { font-family: var(--display); font-stretch: 95%; font-size: var(--t-lg); font-weight: 600; }
.role span { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 560px) { .roles { grid-template-columns: minmax(0,1fr); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fact { background: var(--ink-1); padding: 22px; display: grid; gap: 6px; align-content: start; }
.fact span { font-size: var(--t-xs); color: var(--dim); font-weight: 600; }
.fact b { font-weight: 600; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0,1fr); } }

.res-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.res-cat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ink-2); text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--text); transition: border-color .15s; }
.res-cat svg { color: var(--violet-hi); }
.res-cat em { font-style: normal; font-size: 0.72rem; color: var(--dim); background: var(--ink-3); border-radius: 999px; padding: 2px 7px; }
.res-cat:hover { border-color: var(--violet-hi); }
.res-card h3 { font-size: var(--t-lg); line-height: 1.25; }
.res-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.res-group { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 12px; align-content: start; scroll-margin-top: 100px; }
.res-group-h { display: flex; align-items: center; gap: 12px; }
.res-group-h h3 { font-size: var(--t-lg); }
.res-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.res-group li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-sm); }
.res-group li a { color: var(--text); text-decoration: none; }
.res-group li a:hover { color: var(--cyan); text-decoration: underline; }
.res-group li span { color: var(--dim); white-space: nowrap; }
@media (max-width: 760px) { .res-list { grid-template-columns: minmax(0,1fr); } }

.art-h { font-size: var(--t-2xl) !important; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.art-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.prose { max-width: 68ch; display: grid; gap: 36px; }
.prose section { display: grid; gap: 14px; }
.prose h2 { font-size: var(--t-xl); line-height: 1.2; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 82%, transparent); font-size: 1.06rem; line-height: 1.75; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--violet-hi); }
.prose-table { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.prose-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose-table th, .prose-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose-table td:last-child, .prose-table th:last-child { text-align: right; font-family: var(--mono); }
.prose-table th { color: var(--dim); font-weight: 500; font-size: var(--t-sm); background: var(--ink-1); }
.prose-table tfoot td { border-bottom: 0; font-weight: 700; color: var(--text); background: rgba(141,99,255,.10); }
@media (max-width: 960px) { .art-layout { grid-template-columns: minmax(0,1fr); } .art-aside { position: static; } }

/* ---------- launcher-style application cards (mirror the in-app launcher) ---------- */
.launch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.launch-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; text-decoration: none; color: var(--text); background: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--hue) 12%, transparent), transparent 60%), #181a22; border: 1px solid rgba(255,255,255,.07); transition: border-color .2s, transform .2s; overflow: hidden; }
.launch-card:hover { border-color: color-mix(in srgb, var(--hue) 45%, transparent); transform: translateY(-2px); }
.launch-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.launch-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: var(--hue); background: color-mix(in srgb, var(--hue) 10%, #1d2030); border: 1px solid rgba(255,255,255,.08); }
.launch-card h3 { font-size: var(--t-xl); }
.launch-card p { color: var(--muted); max-width: 34ch; min-height: 3.2em; }
.launch-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: var(--t-sm); }
.launch-go { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--hue); border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent); background: color-mix(in srgb, var(--hue) 8%, #161821); transition: background-color .2s; }
.launch-card:hover .launch-go { background: color-mix(in srgb, var(--hue) 18%, #161821); }
@media (max-width: 1020px) { .launch-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .launch-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- brand: new mark + outlined wordmark ---------- */
.brand { gap: 12px; }
.brand-mark { width: auto; height: 36px; flex-shrink: 0; }
.brand-wm { display: block; height: 16px; width: auto; }
.site-footer .brand-mark { height: 40px; }
.site-footer .brand-wm { height: 18px; }
@media (max-width: 400px) { .brand-wm { height: 13px; } .brand-mark { height: 30px; } }
