:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #5a6779;
  --line: #e2e7ee;
  --brand: #0070c5;
  --brand-ink: #ffffff;
  --navy: #05235e;
  --accent: #1e9e5a;
  --soft: #e8f2fb;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --surface: #121b2d;
    --ink: #e8eef7;
    --muted: #9aa8bb;
    --line: #23304a;
    --brand: #3d9be6;
    --navy: #0a1a3d;
    --soft: #15284a;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --surface: #121b2d; --ink: #e8eef7; --muted: #9aa8bb;
  --line: #23304a; --brand: #3d9be6; --navy: #0a1a3d; --soft: #15284a; --shadow: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .5px; color: var(--ink); text-decoration: none; font-size: 20px; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--navy)); color: #fff; font-size: 15px;
}
.logo .x { color: var(--brand); }
.nav { margin-left: auto; display: flex; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 64px 16px 40px; }
.hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.5px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none;
  background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand);
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: 48px 0; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; letter-spacing: -.3px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

/* app cards on brand page */
.app { display: flex; gap: 18px; align-items: flex-start; }
.app img, .app .ph { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app .ph { display: grid; place-items: center; background: var(--soft); color: var(--brand); font-weight: 800; font-size: 26px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.tag.test { background: #fff2d6; color: #8a5a00; }
.tag.dev { background: var(--soft); color: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.test { background: #3a2c0b; color: #f3c766; } }
.app .more { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }

/* product hero with phone */
.split { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.app-title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.app-title img { width: 64px; height: 64px; border-radius: 16px; }
.app-title span { font-weight: 800; font-size: 20px; }

.phone {
  width: min(300px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5;
  border-radius: 38px; padding: 12px; background: #0e1626; box-shadow: 0 20px 50px rgba(5, 35, 94, .25);
}
.screen { height: 100%; border-radius: 28px; overflow: hidden; background: #f3f6fa; color: #0f1b2d; display: flex; flex-direction: column; font-size: 13px; }
.screen .bar { background: #0070c5; color: #fff; padding: 22px 14px 12px; font-weight: 700; font-size: 15px; }
.screen .seg { display: flex; margin: 10px 12px; background: #e3eaf3; border-radius: 10px; padding: 3px; font-weight: 700; font-size: 12px; }
.screen .seg b { flex: 1; text-align: center; padding: 6px; border-radius: 8px; }
.screen .seg b.on { background: #fff; color: #0070c5; }
.screen .day { margin: 4px 14px 6px; color: #5a6779; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.trip { background: #fff; margin: 0 12px 8px; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; border: 1px solid #e2e7ee; }
.trip .t { font-weight: 700; }
.trip .s { color: #5a6779; font-size: 11px; }
.trip .km { font-weight: 800; color: #0070c5; white-space: nowrap; }
.screen .total { margin: auto 12px 12px; background: #05235e; color: #fff; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; font-weight: 700; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px;
}

/* call to action */
.cta { background: linear-gradient(135deg, var(--brand), var(--navy)); color: #fff; border-radius: 20px; padding: 36px 28px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0 0 20px; max-width: 620px; }
.cta .btn { background: #fff; color: #05235e; border-color: #fff; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

/* policy page */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 40px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { background: #24324d; } }
:root[data-theme="dark"] .phone { background: #24324d; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 4px; }
.doc h2 { font-size: 20px; margin-top: 30px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer a { color: var(--muted); }
footer .right { margin-left: auto; }
@media (max-width: 560px) { .nav { gap: 12px; } .nav a { font-size: 14px; } footer .right { margin-left: 0; } }

/* ---- real screenshots (added 2026-10-20) ---- */
.device {
  margin: 0; border-radius: 30px; padding: 8px; background: #0e1626;
  box-shadow: 0 18px 44px rgba(5, 35, 94, .22); max-width: 100%;
}
.device img { border-radius: 22px; width: 100%; height: auto; }
.hero-device { width: min(300px, 100%); margin: 0 auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device { background: #24324d; box-shadow: none; } }
:root[data-theme="dark"] .device { background: #24324d; box-shadow: none; }

.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.facts b { color: var(--ink); }

.mode { margin-top: 28px; }
.mode-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.pill { font-size: 12px; font-weight: 800; letter-spacing: .8px; padding: 4px 12px; border-radius: 99px; }
.pill.work { background: var(--navy); color: #fff; }
.pill.my { background: #2b3340; color: #fff; }
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px;
  scrollbar-width: thin;
}
.shots:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 12px; }
.shot { margin: 0; scroll-snap-align: start; min-width: 0; }
.shot .device { padding: 6px; border-radius: 26px; box-shadow: none; }
.shot .device img { border-radius: 20px; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.shot figcaption b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.plan.best { border: 2px solid var(--brand); }
.plan-name { font-weight: 700; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .8px; }
.plan-name em { font-style: normal; color: var(--accent); margin-left: 6px; }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan p { margin: 0; color: var(--muted); }
.note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.cta .mail { margin: 14px 0 0; font-weight: 700; color: #fff; user-select: all; }

/* ---- brand hero: three bridges (added 2026-10-20) ---- */
.brand-hero { background: #050f26; color: #eaf2ff; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.brand-hero .hero-copy { order: 0; padding-top: 64px; padding-bottom: 24px; text-align: center; }
.brand-hero .eyebrow { color: #ffd58a; }
.brand-hero h1 { font-size: clamp(32px, 6vw, 58px); line-height: 1.08; margin: 0 auto 16px; letter-spacing: -.5px; max-width: 15ch; text-wrap: balance; }
.brand-hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: #b9cbe6; max-width: 640px; margin: 0 auto 28px; }
.brand-hero .btns { justify-content: center; }
.brand-hero .btn.ghost { color: #eaf2ff; border-color: rgba(234, 242, 255, .35); }
.brand-hero .scene { order: 1; display: block; width: 100%; height: auto; aspect-ratio: 1200 / 500; max-width: 100%; }
@media (max-width: 700px) {
  .brand-hero .scene { height: 400px; aspect-ratio: auto; margin-top: 0; }
  .brand-hero .hero-copy { padding-top: 44px; }
}
.brand-hero .node { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .brand-hero .node { animation: none; } }

.bridges { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: b; }
.bridges .app { position: relative; }
.bridges .app > div:last-child { min-width: 0; }
.belief { display: grid; gap: 8px; }

/* ---- variants B / C ---- */
.brand-hero .scene-b { aspect-ratio: 1200 / 600; }
.brand-hero .scene-c { aspect-ratio: 1200 / 640; }
@media (max-width: 700px) { .brand-hero .scene-b, .brand-hero .scene-c { aspect-ratio: auto; height: 420px; } }
.meet { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.meet .card { border-top: 3px solid var(--c); }
.meet .dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-bottom: 12px; }
.meet-h { --c: #e0a23c; } .meet-t { --c: #1aa7d6; } .meet-e { --c: #24a46b; }
.meet .era { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* ---- variant F ---- */
.logo svg.mark { background: none; padding: 0; width: 32px; height: 32px; }
.brand-hero .legend { display: none; }
@media (max-width: 700px) {
  .brand-hero .ann { display: none; }
  .brand-hero .legend {
    order: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
    list-style: none; margin: 0; padding: 12px 16px 18px; font-size: 13px; color: #b9cbe6;
  }
  .brand-hero .legend b { margin-right: 4px; }
  .lg-h b { color: #ffc978; } .lg-t b { color: #7fe3ff; } .lg-e b { color: #6fe0a8; }
}

/* ===== variant G: umbrella site (added 2026-10-20) ===== */
:root { --amber: #c98a1e; --cyan: #0f8fbf; --green: #1f9a63; --band: #eef3f9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --amber: #ffc978; --cyan: #7fe3ff; --green: #6fe0a8; --band: #0e1830; } }
:root[data-theme="dark"] { --amber: #ffc978; --cyan: #7fe3ff; --green: #6fe0a8; --band: #0e1830; }

.btn.small { padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.g .top .nav { margin-left: auto; }
@media (max-width: 760px) { .g .top .nav { display: none; } .g .top .btn.small { margin-left: auto; } }

.g-hero { background: #050f26; color: #eaf2ff; display: flex; flex-direction: column; overflow: hidden; }
.g-hero-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-top: 56px; padding-bottom: 16px; }
.g-hero-copy { min-width: 0; }
.g-hero .eyebrow { color: #ffd58a; }
.g-hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -.6px; margin: 0 0 16px; text-wrap: balance; max-width: 16ch; }
.g-hero .lead { color: #b9cbe6; font-size: clamp(16px, 2vw, 19px); max-width: 600px; margin: 0 0 26px; }
.g-hero .btn.ghost { color: #eaf2ff; border-color: rgba(234, 242, 255, .35); }
.g-panel { list-style: none; margin: 0; padding: 18px; display: grid; gap: 14px; border-radius: 16px;
  background: rgba(10, 26, 60, .72); border: 1px solid rgba(207, 227, 255, .14); backdrop-filter: blur(6px); }
.g-panel li { display: flex; gap: 12px; align-items: flex-start; }
.g-panel b { display: block; font-size: 15px; }
.g-panel small { color: #9fb5d6; font-size: 13px; line-height: 1.4; }
.g-panel .sw { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.sw.h { background: #ffc978; box-shadow: 0 0 10px #ffc978; } .sw.t { background: #7fe3ff; box-shadow: 0 0 10px #7fe3ff; } .sw.e { background: #6fe0a8; box-shadow: 0 0 10px #6fe0a8; }
.g-hero .scene { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 610; max-width: 100%; }
.g-hero .node { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .g-hero .node { animation: none; } }
@media (max-width: 860px) {
  .g-hero-top { grid-template-columns: 1fr; align-items: start; padding-top: 40px; }
  .g-hero .scene { aspect-ratio: auto; height: 420px; }
  .g-hero .ann { display: none; }
}

.g-strip { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.g-strip-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.g-pt { display: flex; gap: 12px; align-items: center; }
.g-pt svg, .g-ico svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.g-pt b { display: block; font-size: 15px; }
.g-pt small { color: var(--muted); font-size: 13px; }

.g-products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-prod { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.g-prod img { border-radius: 16px; margin-bottom: 8px; }
.g-prod h3 { margin: 4px 0 0; font-size: 19px; }
.g-prod p { margin: 0; color: var(--muted); flex: 1; }
.g-prod .more { margin-top: 10px; font-weight: 700; text-decoration: none; }
.g-prod .more.muted { color: var(--muted); font-weight: 600; }
.g-ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); margin-bottom: 8px; }
.g-ico svg { width: 34px; height: 34px; }
.g-ico.op { background: #071a3d; } .g-ico.op svg { stroke: #7fe3ff; }
.tag.pilot { background: #dff5ea; color: #136b43; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.pilot { background: #10372a; color: #6fe0a8; } }
:root[data-theme="dark"] .tag.pilot { background: #10372a; color: #6fe0a8; }

.g-band { background: var(--band); }
.g-ind { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.g-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.g-tile svg { width: 100%; max-width: 120px; height: 72px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.g-tile b { font-size: 16px; }
.g-tile small { color: var(--muted); font-size: 13px; }

.g-flow { display: grid; grid-template-columns: 84px repeat(6, minmax(0, 1fr)); gap: 10px; }
.g-step { display: flex; flex-direction: column; gap: 8px; text-align: center; position: relative; min-width: 0; }
.g-sh { min-height: 92px; }
.g-step .g-num { display: block; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.g-step b { display: block; font-size: 16px; }
.g-step small { display: block; color: var(--muted); font-size: 13px; }
.g-step p { margin: 0; min-height: 58px; display: grid; place-items: center; padding: 8px; border-radius: 10px; font-size: 13.5px; font-weight: 600; }
.g-step p.h { background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); }
.g-step p.t { background: color-mix(in srgb, var(--cyan) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent); }
.g-labels p { background: none !important; border: 0 !important; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; justify-items: start; padding-left: 0; }
.g-labels p.h { color: var(--amber); } .g-labels p.t { color: var(--cyan); }
.g-step:not(.g-labels):not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -9px; width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); opacity: .5; }
@media (max-width: 900px) {
  .g-flow { grid-template-columns: 1fr; }
  .g-step.g-labels { display: none; }
  .g-step { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .g-sh { grid-column: 1 / -1; min-height: 0; }
  .g-step p { min-height: 0; place-items: start; text-align: left; }
  .g-step p.h::before { content: "People: "; color: var(--amber); }
  .g-step p.t::before { content: "Platform: "; color: var(--cyan); }
  .g-step:not(.g-labels):not(:last-child)::after { display: none; }
}

.g-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .g-split { grid-template-columns: 1fr; } }
.g-mock { position: relative; min-width: 0; padding-bottom: 84px; }
.g-dash { display: grid; grid-template-columns: 110px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: 12px; }
.g-dash aside { background: #071a3d; color: #9fb5d6; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.g-dash aside b { color: #fff; margin-bottom: 6px; } .g-dash aside .on { color: #fff; font-weight: 700; }
.g-dash-main { padding: 14px; min-width: 0; display: grid; gap: 12px; }
.g-dash-top { display: flex; justify-content: space-between; align-items: center; }
.chip { background: var(--brand); color: #fff; border-radius: 8px; padding: 3px 8px; font-weight: 700; font-size: 11px; }
.g-table .r { display: grid; grid-template-columns: 46px 1fr 74px 64px; gap: 6px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.g-table .r.hd { color: var(--muted); font-weight: 700; }
.st { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 99px; justify-self: start; }
.st.ip { background: var(--soft); color: var(--brand); } .st.pl { background: var(--band); color: var(--muted); } .st.ok { background: #dff5ea; color: #136b43; }
.bar { height: 6px; background: var(--band); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.g-dash-cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.g-chart, .g-donut { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.g-chart .cols { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 8px; }
.g-chart .cols i { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; opacity: .85; }
.g-chart .cols i:nth-child(3n) { background: var(--accent); }
.g-donut .ring { width: 78px; height: 78px; border-radius: 50%; margin: 8px auto 0; display: grid; place-items: center;
  background: conic-gradient(var(--brand) 0 26%, #9fb5d6 26% 70%, var(--accent) 70% 92%, #e0a23c 92% 100%); }
.g-donut .ring span { width: 54px; height: 54px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 14px; line-height: 1; }
.g-donut .ring small { display: block; font-size: 9px; color: var(--muted); font-weight: 600; }
.g-phone { position: absolute; right: -18px; bottom: 0; width: 170px; background: var(--surface); border: 6px solid #0e1626; border-radius: 22px; padding: 12px; font-size: 11.5px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.g-phone ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; }
.g-phone li { padding-left: 18px; position: relative; color: var(--muted); }
.g-phone li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line); }
.g-phone li.ok { color: var(--ink); } .g-phone li.ok::before { background: var(--accent); border-color: var(--accent); }
.g-mock-note { position: absolute; left: 0; bottom: 0; margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 520px) { .g-phone { position: static; width: auto; margin-top: 12px; } .g-mock-note { position: static; margin-top: 8px; } .g-dash { grid-template-columns: 1fr; } .g-dash aside { display: none; } }
.g-why ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.g-why li b { display: block; } .g-why li span { color: var(--muted); }
.g-why li { padding-left: 16px; border-left: 3px solid var(--brand); }

.g-cta { position: relative; background: #050f26; color: #eaf2ff; overflow: hidden; padding: 56px 0; }
.g-cta-bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; }
.g-cta-row { position: relative; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.g-cta h2 { color: #fff; }
.g-cta p { color: #b9cbe6; max-width: 620px; margin: 0; }
.btn.light { background: #fff; color: #05235e; border-color: #fff; user-select: all; }

/* ===== variant H: key visual (added 2026-10-20) ===== */
.h-hero { background: #050f26; padding: 0; }
.h-hero img { width: 100%; height: auto; display: block; max-width: 100%; }
.h-intro { background: #050f26; color: #eaf2ff; padding-block: 40px 56px; }
.h-intro .eyebrow { color: #ffd58a; }
.h-intro h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -.5px; margin: 0 0 14px; max-width: 18ch; text-wrap: balance; }
.h-intro .lead { color: #b9cbe6; font-size: clamp(16px, 2vw, 19px); max-width: 620px; margin: 0 0 26px; }
.h-intro .btn.ghost { color: #eaf2ff; border-color: rgba(234, 242, 255, .35); }
.h-cols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.h-col { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; border-top: 3px solid var(--c); min-width: 0; }
.h-col.h { --c: var(--amber); } .h-col.t { --c: var(--cyan); } .h-col.e { --c: var(--green); }
.h-tag { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; color: var(--c); }
.h-note { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.h-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.h-col li b { display: block; }
.h-col li span { color: var(--muted); font-size: 14px; }
.g-products.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ===== variant I: app dock under the key visual (added 2026-10-20) ===== */
.dock { background: #050f26; padding: 0 0 8px; position: relative; z-index: 2; }
.dock .wrap { padding-top: 22px; }
.dock-demo { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: #b9cbe6; margin-bottom: 10px;
  background: rgba(5, 15, 38, .8); border: 1px dashed rgba(207, 227, 255, .35); border-radius: 10px; padding: 6px 10px; width: fit-content; max-width: 100%; }
.dock-demo button { font: inherit; color: #eaf2ff; background: transparent; border: 1px solid rgba(207, 227, 255, .3); border-radius: 8px; padding: 3px 10px; cursor: pointer; }
.dock-demo button[aria-pressed="true"] { background: #0070c5; border-color: #0070c5; }
.dock-demo button:focus-visible { outline: 2px solid #ffd58a; outline-offset: 2px; }
.dock-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.app-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; text-decoration: none; color: #eaf2ff; min-width: 0;
  background: rgba(9, 24, 56, .88); border: 1px solid rgba(207, 227, 255, .16); backdrop-filter: blur(8px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transition: transform .15s ease, border-color .15s ease; }
a.app-card:hover { transform: translateY(-2px); border-color: rgba(127, 227, 255, .6); }
a.app-card:focus-visible { outline: 2px solid #ffd58a; outline-offset: 3px; }
.app-card img, .ac-ico { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.ac-ico { display: block; }
.ac-ico.c2 { background: linear-gradient(135deg, #ffc978, #c9821e); }
.ac-ico.c3 { background: linear-gradient(135deg, #7fe3ff, #1677b8); }
.ac-ico.c4 { background: linear-gradient(135deg, #6fe0a8, #187a50); }
.ghost-ico { border: 2px dashed rgba(207, 227, 255, .4); }
.ac-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ac-body b { font-size: 17px; }
.ac-line { color: #b9cbe6; font-size: 13.5px; line-height: 1.4; }
.ac-chip { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; width: fit-content; }
.ac-chip.beta { color: #ffd58a; } .ac-chip.new { color: #6fe0a8; } .ac-chip.soon { color: #9fb5d6; }
.ac-go { font-size: 20px; color: #7fe3ff; flex: none; }
.app-card.ghost { background: rgba(9, 24, 56, .55); border-style: dashed; box-shadow: none; }
/* how many apps are live: 1 = one wide featured card + ghost; 2-3 = equal cards (+ ghost while fewer than 3); 4+ = scroll */
.dock-row .example { display: none; }
.dock-row[data-count="2"] [data-ex="2"],
.dock-row[data-count="3"] [data-ex="2"], .dock-row[data-count="3"] [data-ex="3"],
.dock-row[data-count="4"] .example { display: flex; }
.dock-row[data-count="3"] .ghost, .dock-row[data-count="4"] .ghost { display: none; }
@media (min-width: 761px) {
  .dock-row[data-count="1"] { grid-template-columns: 2fr 1fr; }
  .dock-row[data-count="1"] .live { padding: 22px; }
  .dock-row[data-count="1"] .live img { width: 72px; height: 72px; border-radius: 18px; }
  .dock-row[data-count="1"] .live b { font-size: 22px; }
  .dock-row[data-count="4"] { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(260px, 1fr); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 760px) { .dock .wrap { padding-top: 14px; } }

/* ===== variant J: brand mark + key art (added 2026-10-20) ===== */
.j .top { background: #020918; border-bottom-color: #13244a; }
.j .top .wrap { height: 64px; }
.j .logo img { height: 46px; width: auto; display: block; }
.j .nav a { color: #9fb5d6; }
.j .nav a:hover { color: #ffffff; }
.j-hero { background: linear-gradient(#00183a, #031227); padding: 0; }
.j-hero img { display: block; margin: 0 auto; width: 100%; max-width: 1100px; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(#000 85%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(#000 85%, transparent);
  mask-composite: intersect; }
@media (max-width: 760px) { .j-hero img { -webkit-mask-image: none; mask-image: none; } .j .logo img { height: 38px; } }
.j .h-intro, .j .dock { background: #031227; }
.j .dock { padding-bottom: 44px; }
.j-intro { padding-block: 8px 4px; text-align: center; }
.j-intro h1 { margin-inline: auto; }
.j-intro .lead { margin: 0 auto 8px; }

/* ===== variant K: apps orbit around the mark (added 2026-10-20) ===== */
.k-hero { padding: 18px 0 8px; }
.k-hero .dock-demo { margin: 0 auto 8px; }
.orbit { position: relative; width: min(820px, 100%); margin: 0 auto; }
.orbit > img { width: 100%; max-width: 100%; height: auto; display: block; }
.sat { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  border-radius: 16px; text-decoration: none; color: #eaf2ff; white-space: nowrap;
  background: rgba(6, 18, 44, .72); border: 1px solid rgba(207, 227, 255, .22); backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.sat:hover { transform: translate(-50%, -50%) scale(1.05); border-color: #7fe3ff; box-shadow: 0 0 0 4px rgba(127, 227, 255, .15), 0 8px 24px rgba(0, 0, 0, .35); }
a.sat:focus-visible { outline: 2px solid #ffd58a; outline-offset: 3px; }
.sat img, .sat .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: block; }
.sat b { display: block; font-size: 14px; line-height: 1.2; }
.sat small { display: block; font-size: 11px; color: #ffd58a; font-weight: 700; letter-spacing: .3px; }
.sat.ex small { color: #6fe0a8; }
.sat.next { border-style: dashed; background: rgba(6, 18, 44, .45); box-shadow: none; }
.sat.next small { color: #9fb5d6; }
.ic.c2 { background: linear-gradient(135deg, #ffc978, #c9821e); } .ic.c3 { background: linear-gradient(135deg, #7fe3ff, #1677b8); }
.ic.c4 { background: linear-gradient(135deg, #6fe0a8, #187a50); } .ic.c5 { background: linear-gradient(135deg, #c7a6ff, #6a3fc4); }
.ic.c6 { background: linear-gradient(135deg, #ff9d8a, #c24a3a); } .ic.ghost { border: 2px dashed rgba(207, 227, 255, .45); }
/* the six places around the mark, in the order apps are released */
.s1 { left: 15%; top: 13%; }
.s2 { left: 88%; top: 18%; }
.s3 { left: 12%; top: 47%; }
.s4 { left: 89%; top: 47%; }
.s5 { left: 34%; top: 54%; }
.s6 { left: 66%; top: 54%; }
/* show as many places as there are apps; the next free place shows "coming soon" */
.orbit .ex { display: none; }
.orbit[data-count="2"] .s2, .orbit[data-count="3"] .s2, .orbit[data-count="3"] .s3,
.orbit[data-count="4"] :is(.s2, .s3, .s4), .orbit[data-count="5"] :is(.s2, .s3, .s4, .s5), .orbit[data-count="6"] .ex { display: flex; }
.orbit[data-count="1"] .next { left: 88%; top: 18%; }
.orbit[data-count="2"] .next { left: 12%; top: 47%; }
.orbit[data-count="3"] .next { left: 89%; top: 47%; }
.orbit[data-count="4"] .next { left: 34%; top: 54%; }
.orbit[data-count="5"] .next { left: 66%; top: 54%; }
.orbit[data-count="6"] .next { display: none; }
/* desktop: the orbit is the app list; phones get the list of cards below instead */
@media (min-width: 900px) { .k-page .dock { display: none; } }
@media (max-width: 899px) { .orbit .sat { display: none !important; } .k-hero .dock-demo { display: none; } }

/* ===== variant L: brand and apps in balance (added 2026-10-20) ===== */
.l-hero { background: radial-gradient(120% 90% at 80% 30%, #0b2a5c 0%, #031227 60%); color: #eaf2ff; padding-block: 48px 56px; }
.l-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.l-copy { min-width: 0; }
.l-hero .eyebrow { color: #ffd58a; }
.l-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.5px; margin: 0 0 14px; text-wrap: balance; max-width: 16ch; }
.l-hero .lead { color: #b9cbe6; font-size: 17px; margin: 0 0 26px; max-width: 46ch; }
.l-apps-title { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #9fb5d6; margin: 0 0 10px; }
.l-apps .dock-demo { margin-bottom: 10px; }
.l-apps .dock-row { grid-template-columns: 1fr; gap: 10px; }
.l-apps .dock-row[data-count="1"] { grid-template-columns: 1fr; }
.l-apps .dock-row[data-count="1"] .live { padding: 18px; }
.l-apps .dock-row[data-count="1"] .live img { width: 64px; height: 64px; border-radius: 16px; }
.l-apps .dock-row[data-count="1"] .live b { font-size: 20px; }
.l-apps .dock-row[data-count="3"], .l-apps .dock-row[data-count="4"] { grid-template-columns: 1fr 1fr; grid-auto-flow: row; overflow: visible; }
.l-apps .dock-row[data-count="3"] .live, .l-apps .dock-row[data-count="4"] .live { grid-column: 1 / -1; }
.l-apps .app-card { padding: 12px 14px; }
.l-art { margin: 0; min-width: 0; }
.l-art img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(207, 227, 255, .12); }
.l-art figcaption { margin-top: 12px; font-size: 13.5px; color: #9fb5d6; text-align: center; }
@media (max-width: 900px) {
  .l-grid { grid-template-columns: 1fr; gap: 28px; }
  .l-art { order: -1; }
  .l-hero { padding-block: 24px 40px; }
}
@media (max-width: 520px) { .l-apps .dock-row[data-count="3"], .l-apps .dock-row[data-count="4"] { grid-template-columns: 1fr; } }

/* ===== variant M: K with a smaller wordmark and bigger apps (added 2026-10-20) ===== */
.m-page .orbit { width: min(980px, 100%); }
/* show only the scene part of the key art, then the wordmark smaller below it */
.m-page .orbit { aspect-ratio: 1359 / 541; overflow: visible; }
.m-page .orbit > img.m-scene { width: 100%; height: 100%; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(#000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(#000 80%, transparent);
  mask-composite: intersect; }
.m-word { display: block; margin: -6px auto 0; width: min(420px, 70%); height: auto; max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* bigger app cards around the mark */
.m-page .sat { padding: 12px 20px 12px 12px; gap: 14px; border-radius: 20px; background: rgba(6, 18, 44, .82); }
.m-page .sat img, .m-page .sat .ic { width: 68px; height: 68px; border-radius: 17px; }
.m-page .sat b { font-size: 19px; }
.m-page .sat small { font-size: 12.5px; margin-top: 2px; }
.m-page .sat::after { content: "Open \2192"; display: block; position: absolute; right: 14px; bottom: -11px; font-size: 11px; font-weight: 700;
  color: #031227; background: #7fe3ff; border-radius: 99px; padding: 2px 8px; }
.m-page .sat.ex::after, .m-page .sat.next::after { content: none; }
.m-page .s1 { left: 13%; top: 18%; } .m-page .s2 { left: 87%; top: 18%; }
.m-page .s3 { left: 11%; top: 66%; } .m-page .s4 { left: 89%; top: 66%; }
.m-page .s5 { left: 30%; top: 96%; } .m-page .s6 { left: 70%; top: 96%; }
.m-page .orbit[data-count="1"] .next { left: 87%; top: 18%; }
.m-page .orbit[data-count="2"] .next { left: 11%; top: 66%; }
.m-page .orbit[data-count="3"] .next { left: 89%; top: 66%; }
.m-page .orbit[data-count="4"] .next { left: 30%; top: 96%; }
.m-page .orbit[data-count="5"] .next { left: 70%; top: 96%; }
.j-hero.k-hero img.m-word { width: min(400px, 62%); margin: 4px auto 0; }
.m-page .sat { z-index: 3; }
.m-page .k-hero { padding-bottom: 28px; }
.m-page .s5 { left: 27%; top: 90%; } .m-page .s6 { left: 73%; top: 90%; }
.m-page .orbit[data-count="4"] .next { left: 27%; top: 90%; }
.m-page .orbit[data-count="5"] .next { left: 73%; top: 90%; }
.j-hero.k-hero img.m-word {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
  mask-image: radial-gradient(closest-side, #000 72%, transparent); }

/* ===== variant N: daylight bridges background (added 2026-10-21) ===== */
.n-page .top { background: #ffffff; border-bottom-color: #e2e7ee; }
.n-page .nav a { color: #31415a; }
.n-page .nav a:hover { color: #0f1b2d; }
.n-hero { position: relative; overflow: hidden; background: #f4f8fc; color: #0f1b2d; padding-block: 56px 48px; }
.n-bg { position: absolute; top: 0; right: 0; width: min(1100px, 78%); aspect-ratio: 800 / 196;
  background: url("/assets/vitrax-bridges-day.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(#000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(#000 70%, transparent);
  mask-composite: intersect; }
.n-labels { position: absolute; top: 0; right: 0; width: min(1100px, 78%); aspect-ratio: 800 / 196; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.n-labels li { position: absolute; top: 14%; transform: translateX(-50%); text-align: center; line-height: 1.25; }
.n-labels b { display: block; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; }
.n-labels span { display: block; font-size: 12.5px; color: #31415a; }
.n-labels .h { left: 19%; } .n-labels .h b { color: #b06a00; }
.n-labels .t { left: 48%; } .n-labels .t b { color: #0b5fa8; }
.n-labels .e { left: 79%; } .n-labels .e b { color: #137a47; }
.n-labels li::after { content: ""; display: block; width: 1px; height: 26px; margin: 4px auto 0; border-left: 2px dotted currentColor; opacity: .5; }
.n-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: end; }
.n-copy { min-width: 0; padding-top: 8px; }
.n-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: #0b5fa8; margin-bottom: 14px; }
.n-hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.8px; margin: 0 0 16px; max-width: 13ch; text-wrap: balance; }
.n-hero .lead { color: #31415a; font-size: 18px; max-width: 42ch; margin: 0 0 24px; }
.n-hero .btn.ghost { color: #0f1b2d; border-color: #c9d4e3; background: #fff; }
.n-apps { min-width: 0; padding-top: clamp(150px, 17vw, 240px); }
.n-apps-title { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #31415a; margin: 0 0 10px; }
.n-apps .dock-demo { background: #ffffff; color: #31415a; border-color: #c9d4e3; margin-bottom: 10px; }
.n-apps .dock-demo button { color: #0f1b2d; border-color: #c9d4e3; }
.n-apps .dock-demo button[aria-pressed="true"] { color: #fff; }
.n-apps .dock-row { grid-template-columns: 1fr 1fr; gap: 12px; }
.n-apps .dock-row[data-count="1"] { grid-template-columns: 1.5fr 1fr; }
.n-apps .dock-row[data-count="4"] { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; }
.n-apps .app-card { background: rgba(255, 255, 255, .94); color: #0f1b2d; border-color: #dbe3ee; box-shadow: 0 14px 34px rgba(15, 40, 80, .14); }
.n-apps .app-card .ac-line { color: #4a5568; }
.n-apps .app-card b { font-size: 18px; }
.n-apps .app-card img, .n-apps .ac-ico { width: 60px; height: 60px; }
.n-apps .ac-chip.beta { color: #b06a00; } .n-apps .ac-chip.new { color: #137a47; } .n-apps .ac-chip.soon { color: #6b7a90; }
.n-apps .ac-go { color: #0b5fa8; }
.n-apps .app-card.ghost { background: rgba(255, 255, 255, .6); border-color: #c9d4e3; box-shadow: none; }
.n-apps .ghost-ico { border-color: #b8c4d6; }
.n-apps .dock-row[data-count="1"] .live { padding: 18px; }
@media (max-width: 900px) {
  .n-hero { padding-top: 0; }
  .n-bg, .n-labels { position: relative; width: 100%; }
  .n-labels { position: absolute; top: 0; left: 0; }
  .n-labels span { display: none; } .n-labels b { font-size: 11px; } .n-labels li::after { height: 14px; }
  .n-bg { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .n-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 8px; }
  .n-apps { padding-top: 0; }
  .n-apps .dock-row, .n-apps .dock-row[data-count="1"], .n-apps .dock-row[data-count="4"] { grid-template-columns: 1fr; }
}
.n-page .logo img { height: 48px; }
.n-bg, .n-labels { width: min(1180px, 88%); }
.n-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
.n-hero h1 { font-size: clamp(30px, 4vw, 48px); }
.n-apps { padding-top: clamp(170px, 19vw, 270px); }
.n-apps .dock-row[data-count="1"] { grid-template-columns: 1.4fr 1fr; }
.n-apps .app-card.ghost b { font-size: 16px; }
@media (max-width: 900px) { .n-bg, .n-labels { width: 100%; } .n-page .logo img { height: 40px; } }
/* N: richer colour from the new background */
.n-bg, .n-labels { aspect-ratio: 748 / 197; }
.n-bg { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%), linear-gradient(#000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%), linear-gradient(#000 86%, transparent); }
.n-hero { background: linear-gradient(180deg, #eaf3fb 0%, #f4f8fc 60%); }
.n-labels b { text-shadow: 0 1px 8px rgba(255,255,255,.9); }
.n-labels span { color: #1f2d44; text-shadow: 0 1px 6px rgba(255,255,255,.95); }
.n-labels .h { left: 15%; } .n-labels .t { left: 45%; } .n-labels .e { left: 78%; }
@media (max-width: 900px) { .n-bg { -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); } }

/* ===== variant O: new mark + three-panel cover (added 2026-10-22) ===== */
.o-page .top { background: #041124; border-bottom-color: #10264a; }
.o-page .top .wrap { height: 72px; }
.o-page .logo img { height: 54px; width: auto; display: block; }
.o-page .nav a { color: #a9bddc; } .o-page .nav a:hover { color: #fff; }
.o-hero { background: #041124; color: #eaf2ff; padding: 0 0 44px; }
.o-tri { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; background: #041124; }
.o-p { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1128 / 490; min-width: 0; }
.o-p img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.o-p:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .o-p img { transition: none; } .o-p:hover img { transform: none; } }
.o-p::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(4, 17, 36, .72) 0%, rgba(4, 17, 36, .25) 45%, transparent 70%), linear-gradient(transparent 60%, rgba(4, 17, 36, .85)); }
.o-p figcaption { position: absolute; left: 7%; top: 12%; z-index: 2; display: grid; gap: 8px; }
.o-p b { font-family: var(--display, inherit); font-size: clamp(14px, 1.6vw, 22px); letter-spacing: 2.5px; text-transform: uppercase; font-weight: 800; }
.o-p span:not(.ln) { font-size: clamp(12px, 1.25vw, 17px); color: #eef3fb; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.o-p .ln { display: block; width: clamp(70px, 9vw, 130px); height: 2px; position: relative; background: currentColor; }
.o-p .ln::before, .o-p .ln::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.o-p .ln::before { left: -2px; } .o-p .ln::after { right: -2px; }
.o-p.h { color: #ffb44d; } .o-p.t { color: #4aa8ff; } .o-p.e { color: #3ee08a; }
.o-p.h::after, .o-p.t::after, .o-p.e::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: currentColor; }
.o-head { text-align: center; padding-top: 34px; }
.o-head h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.6px; margin: 0 auto 12px; max-width: 20ch; text-wrap: balance; }
.o-head .lead { color: #b9cbe6; font-size: clamp(16px, 1.8vw, 19px); margin: 0 auto 26px; max-width: 56ch; }
.o-apps .dock-demo { margin: 0 auto 12px; }
.o-apps .dock-row { gap: 14px; }
.o-apps .dock-row[data-count="1"] { grid-template-columns: 1.6fr 1fr; }
.o-apps .app-card { padding: 18px; }
.o-apps .app-card img, .o-apps .ac-ico { width: 68px; height: 68px; border-radius: 17px; }
.o-apps .app-card b { font-size: 20px; }
.o-apps .app-card.live { border-color: rgba(74, 168, 255, .55); box-shadow: 0 0 0 1px rgba(74, 168, 255, .2), 0 18px 40px rgba(0, 0, 0, .45); }
.o-page .h-col.h { --c: #e08a10; } .o-page .h-col.t { --c: #1f7fe0; } .o-page .h-col.e { --c: #17a85c; }
@media (max-width: 760px) {
  .o-tri { grid-template-columns: 1fr; }
  .o-p { aspect-ratio: 16 / 7; }
  .o-p b { font-size: 16px; } .o-p span:not(.ln) { font-size: 13.5px; }
  .o-apps .dock-row, .o-apps .dock-row[data-count="1"] { grid-template-columns: 1fr; }
  .o-page .logo img { height: 42px; }
}
.o-page .logo img { -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%); height: 60px; }
.o-page .top { background: #03132a; }
.o-page .logo img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }

/* ===== variant P (added 2026-10-22) ===== */
.p-page { background: #03132a; color: #eaf2ff; }
.p-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(3, 19, 42, .92); backdrop-filter: blur(8px); border-bottom: 1px solid #10264a; }
.p-top .wrap { display: flex; align-items: center; gap: 22px; height: 76px; }
.p-logo img { height: 58px; width: auto; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
.p-nav { margin-left: auto; display: flex; gap: 22px; }
.p-nav a { color: #c3d2ea; text-decoration: none; font-weight: 600; font-size: 15px; }
.p-nav a:hover { color: #fff; }
.p-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none;
  background: #1677ff; color: #fff; border: 1px solid #1677ff; transition: background .15s ease; }
.p-btn:hover { background: #0f62d6; }
.p-btn:focus-visible { outline: 2px solid #ffd58a; outline-offset: 3px; }
.p-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.p-btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.p-btn.light { background: #fff; color: #0f1b2d; border-color: #d3dceb; }
.p-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.p-hero { position: relative; background: #03132a; display: flex; flex-direction: column; }
.p-art { position: relative; }
.p-art img { display: block; width: 100%; height: auto; max-width: 100%; }
.p-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 70%, #03132a); pointer-events: none; }
.p-hero-in { position: relative; width: 100%; padding-block: 12px 52px; }
.p-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #5fb2ff; margin-bottom: 14px; }
.p-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -1px; margin: 0 0 18px; max-width: 13ch; color: #fff; text-wrap: balance; }
.p-hero h1 span { color: #3d9bff; }
.p-lead { font-size: clamp(16px, 1.7vw, 19px); color: #d3def0; max-width: 40ch; margin: 0 0 28px; }
@media (min-width: 1400px) {
  .p-hero { height: min(34vw, 720px); justify-content: center; }
  .p-art { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 1450 / 702; }
  .p-art img { height: 100%; width: 100%; }
  .p-art::after { background: linear-gradient(90deg, #03132a 0%, rgba(3, 19, 42, .55) 12%, transparent 26%), linear-gradient(transparent 82%, #03132a); }
  .p-hero-in { padding-block: 0; }
  .p-hero h1 { font-size: clamp(44px, 3.4vw, 60px); max-width: 11ch; }
  .p-lead { max-width: 30ch; }
}
.p-app { background: #ffffff; color: #0f1b2d; padding-block: 64px; }
.p-app-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.p-app-copy { min-width: 0; }
.p-app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.p-app-head img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px rgba(15, 40, 80, .2); }
.p-chip { font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #9a5b00; background: #fff1d6; padding: 4px 10px; border-radius: 99px; }
.p-app h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.8px; margin: 0 0 8px; }
.p-app-sub { font-size: clamp(18px, 2vw, 24px); color: #31415a; margin: 0 0 20px; max-width: 26ch; }
.p-checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; font-size: 17px; }
.p-checks li { display: flex; gap: 12px; align-items: center; }
.p-checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #1677ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.p-more { margin: 18px 0 0; color: #5d6b80; font-size: 14px; }

.p-phone { justify-self: center; width: min(290px, 100%); aspect-ratio: 9 / 18.6; border-radius: 42px; padding: 11px; background: #0d1626;
  box-shadow: 0 30px 60px rgba(10, 30, 70, .28), inset 0 0 0 2px #2a3953; }
.p-screen { height: 100%; border-radius: 32px; background: #f4f7fb; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; font-size: 13px; color: #1b2638; }
.ps-bar { display: flex; justify-content: space-between; font-weight: 700; font-size: 11px; padding: 0 6px; }
.ps-dots { width: 36px; height: 10px; border-radius: 6px; background: #1b2638; }
.ps-title { display: flex; justify-content: space-between; align-items: center; font-size: 17px; padding: 2px 4px 4px; }
.ps-title span:first-child { font-size: 22px; color: #1677ff; }
.ps-field { background: #fff; border: 1px solid #e1e8f1; border-radius: 12px; padding: 9px 12px; display: flex; gap: 10px; align-items: center; font-weight: 600; min-width: 0; }
.ps-field small { display: block; color: #7a8699; font-weight: 500; font-size: 11px; }
.ps-field .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.a { background: #ff9f2e; } .dot.b { background: #1fbf6a; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-map { flex: 1; min-height: 90px; border-radius: 12px; overflow: hidden; border: 1px solid #e1e8f1; }
.ps-map svg { width: 100%; height: 100%; display: block; }
.ps-total { display: flex; justify-content: space-between; align-items: center; background: #06132b; color: #fff; border-radius: 12px; padding: 10px 14px; }
.ps-total b { font-size: 17px; font-variant-numeric: tabular-nums; }
.ps-save { background: #1677ff; color: #fff; text-align: center; font-weight: 700; border-radius: 12px; padding: 12px; }

.p-cta { position: relative; overflow: hidden; padding-block: 64px 48px; }
.p-cta-bg { position: absolute; inset: 0; background: url("/assets/panel3.jpg") center 40% / cover no-repeat; filter: saturate(.9); }
.p-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(3, 19, 42, .78), rgba(3, 19, 42, .94)); }
.p-cta-in { position: relative; }
.p-cta-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 36px; border-bottom: 1px solid rgba(207, 227, 255, .15); }
.p-cta h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; margin: 0 0 8px; color: #fff; max-width: 24ch; }
.p-cta p { margin: 0; color: #c3d2ea; }
.p-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 32px; }
.p-feats div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.p-feats svg { grid-row: 1 / span 2; width: 30px; height: 30px; fill: none; stroke: #4aa8ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.p-feats b { color: #fff; } .p-feats span { color: #a9bddc; font-size: 14px; }

.p-foot { background: #020d1e; border-top: 1px solid #10264a; padding-block: 28px; color: #a9bddc; font-size: 14px; }
.p-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.p-foot .p-logo img { height: 50px; }
.p-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.p-foot nav a { color: #c3d2ea; text-decoration: none; }
.p-copy { margin-left: auto; text-align: right; }

@media (max-width: 860px) {
  .p-nav { display: none; } .p-top .p-btn { margin-left: auto; padding: 10px 14px; }
  .p-logo img { height: 46px; }
  .p-app-in { grid-template-columns: 1fr; }
  .p-copy { margin-left: 0; text-align: left; }
}


.p-page .p-hero { padding: 0; }
.p-page .p-app, .p-page .p-cta { padding-left: 0; padding-right: 0; }
@media (max-width: 1399px) { .p-art img { aspect-ratio: 1230 / 702; object-fit: cover; object-position: right center; } }

/* ===== variant Q (added 2026-10-22) ===== */
.q-page .o-tri { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; background: #03132a; }
.q-stage { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 80% 40%, #0b2b5a 0%, #03132a 70%); }
.q-circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.q-stage-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 52px 60px; }
.q-head { min-width: 0; }
.q-head h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -1px; margin: 0 0 18px; color: #fff; max-width: 12ch; text-wrap: balance; }
.q-head h1 span { color: #3d9bff; }
.q-apps { min-width: 0; }
.q-apps-title { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #9fb5d6; margin: 0 0 10px; }
.q-apps .dock-row { grid-template-columns: 1fr; gap: 12px; }
.q-apps .dock-row[data-count="1"] { grid-template-columns: 1fr; }
.q-apps .dock-row[data-count="3"], .q-apps .dock-row[data-count="4"] { grid-template-columns: 1fr 1fr; grid-auto-flow: row; overflow: visible; }
.q-apps .dock-row[data-count="3"] .live, .q-apps .dock-row[data-count="4"] .live { grid-column: 1 / -1; }
.q-apps .app-card { padding: 16px 18px; background: rgba(8, 26, 60, .78); }
.q-apps .app-card img, .q-apps .ac-ico { width: 76px; height: 76px; border-radius: 19px; }
.q-apps .app-card b { font-size: 21px; }
.q-apps .app-card.live { border-color: rgba(74, 168, 255, .6); }

.q-app { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 75% 50%, #0d3168 0%, #041530 65%); color: #eaf2ff; padding-block: 72px; }
.q-app-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.q-app-copy { min-width: 0; }
.q-brand { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.q-icon { flex: none; width: 132px; height: 132px; border-radius: 32px; padding: 0; display: block; position: relative;
  box-shadow: 0 0 0 1px rgba(127, 192, 255, .35), 0 0 40px rgba(61, 155, 255, .45), 0 20px 40px rgba(0, 0, 0, .45); }
.q-icon img { width: 100%; height: 100%; border-radius: 32px; display: block; }
.q-brand h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.8px; margin: 8px 0 4px; color: #fff; }
.q-by { color: #9fb5d6; font-size: 14px; letter-spacing: 1px; }
.q-sub { font-size: clamp(18px, 2vw, 23px); color: #d3def0; margin: 0 0 22px; max-width: 26ch; }
.q-checks { color: #e6eefb; }
.q-shots { position: relative; height: clamp(420px, 40vw, 560px); }
.q-ph { position: absolute; margin: 0; width: 42%; max-width: 230px; border-radius: 30px; padding: 7px; background: #0d1626;
  box-shadow: 0 0 0 1px #2a3953, 0 26px 50px rgba(0, 0, 0, .5); }
.q-ph img { display: block; width: 100%; height: auto; border-radius: 24px; }
.q-ph.c { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; width: 46%; max-width: 250px; }
.q-ph.l { left: 4%; top: 12%; transform: rotate(-9deg); z-index: 1; opacity: .9; }
.q-ph.r { right: 4%; top: 12%; transform: rotate(9deg); z-index: 2; opacity: .9; }
@media (max-width: 900px) {
  .q-page .o-tri { grid-template-columns: 1fr; }
  .q-stage-in, .q-app-in { grid-template-columns: 1fr; }
  .q-brand { gap: 16px; } .q-icon { width: 104px; height: 104px; border-radius: 26px; } .q-icon img { border-radius: 26px; }
  .q-shots { height: 440px; }
  .q-ph.l { left: 0; } .q-ph.r { right: 0; }
}
.q-page .q-hero { padding: 0; }
.q-page .q-app { padding-left: 0; padding-right: 0; }
.q-stage::after, .q-app::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 19, 42, .78) 0%, rgba(3, 19, 42, .45) 38%, transparent 60%); }
.q-app::after { background: linear-gradient(90deg, rgba(4, 21, 48, .8) 0%, rgba(4, 21, 48, .5) 40%, transparent 62%); }
.q-stage-in, .q-app-in { z-index: 1; }
.q-circuit { opacity: .85; }

/* ===== Trip Mileage page, dark brand version (added 2026-10-22) ===== */
.tm-page main > section:not(.tm-hero) { background: #f4f7fb; color: #0f1b2d; }
.tm-page main > section:not(.tm-hero) .sub, .tm-page main > section:not(.tm-hero) .card p { color: #4a5568; }
.tm-page main > section#beta { background: #f4f7fb; }
.tm-hero { position: relative; overflow: hidden; background: radial-gradient(60% 90% at 82% 45%, #0d3168 0%, #03132a 65%); color: #eaf2ff; padding: 64px 0 72px; }
.tm-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 19, 42, .85) 0%, rgba(3, 19, 42, .55) 45%, transparent 70%); }
.tm-in { position: relative; z-index: 1; }
.tm-lock { display: flex; align-items: center; gap: 24px; margin-bottom: 26px; }
.tm-icon { width: 160px; height: 160px; border-radius: 38px; }
.tm-icon img { border-radius: 38px; }
.tm-name { display: grid; gap: 6px; justify-items: start; }
.tm-name b { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; letter-spacing: -.5px; color: #fff; }
.tm-hero h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -1px; margin: 0 0 18px; color: #fff; max-width: 16ch; text-wrap: balance; }
.tm-hero h1 span { color: #3d9bff; }
.tm-hero .p-lead { max-width: 52ch; }
.tm-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #a9bddc; }
.tm-facts b { color: #fff; }
@media (max-width: 700px) { .tm-lock { gap: 16px; } .tm-icon, .tm-icon img { width: 112px; height: 112px; border-radius: 28px; } }

/* ===== Trip Mileage: full-page wallpaper + closed testing form (added 2026-10-22) ===== */
.tm-page { background: radial-gradient(70% 60% at 80% 20%, #0d3168 0%, #03132a 60%) fixed, #03132a; }
.tm-wall { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.tm-wall .q-circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.tm-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 19, 42, .8) 0%, rgba(3, 19, 42, .5) 45%, rgba(3, 19, 42, .15) 75%); }
.tm-page main, .tm-page .p-foot { position: relative; z-index: 1; }
.tm-page .p-top { z-index: 10; }
.tm-page .tm-hero { background: transparent; }
.tm-page .tm-hero::after { content: none; }
.tm-page main > section:not(.tm-hero) { background: transparent; color: #eaf2ff; }
.tm-page main > section h2 { color: #fff; }
.tm-page main > section:not(.tm-hero) .sub, .tm-page main > section:not(.tm-hero) .card p, .tm-page .plan p, .tm-page details p, .tm-page .note { color: #a9bddc; }
.tm-page .card, .tm-page .plan, .tm-page details { background: rgba(8, 26, 60, .72); border-color: rgba(127, 192, 255, .18); box-shadow: none; backdrop-filter: blur(6px); color: #eaf2ff; }
.tm-page .card h3, .tm-page .price, .tm-page summary { color: #fff; }
.tm-page .plan-name, .tm-page .price small { color: #9fb5d6; }
.tm-page .plan.best { border-color: #3d9bff; }
.tm-page .card a { color: #7fc0ff; }
.tm-apply-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px; border-radius: 22px;
  background: rgba(8, 26, 60, .78); border: 1px solid rgba(127, 192, 255, .25); backdrop-filter: blur(8px); }
.tm-apply-copy { min-width: 0; }
.tm-apply h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 10px; }
.tm-apply p { color: #c3d2ea; margin: 0 0 18px; }
.tm-steps { color: #e6eefb; font-size: 16px; }
.tm-mail b { color: #fff; user-select: all; }
.tm-form { display: grid; gap: 14px; min-width: 0; }
.tm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-f { display: grid; gap: 6px; min-width: 0; }
.tm-f label { font-size: 13px; font-weight: 700; color: #c3d2ea; }
.tm-f input, .tm-f select { font: inherit; color: #fff; background: rgba(3, 19, 42, .7); border: 1px solid rgba(127, 192, 255, .3); border-radius: 10px; padding: 11px 12px; min-width: 0; width: 100%; }
.tm-f input::placeholder { color: #6f86a8; }
.tm-f input:focus-visible, .tm-f select:focus-visible { outline: 2px solid #3d9bff; outline-offset: 1px; }
.tm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c3d2ea; }
.tm-check input { margin-top: 3px; accent-color: #1677ff; }
.tm-form .p-btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.tm-msg { margin: 0; font-size: 14px; color: #8fe3b8; min-height: 1.2em; }
.tm-msg.err { color: #ffb0a8; }
@media (max-width: 860px) { .tm-apply-in { grid-template-columns: 1fr; padding: 22px; } .tm-row { grid-template-columns: 1fr; } }
.tm-page main > section#beta { background: transparent; padding-bottom: 64px; }

/* ===== Locked app slots + closed testing (2026-11-29) ===== */
.lk-row { display: grid; gap: 12px; }
.lk-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; min-width: 0;
  background: rgba(8, 26, 60, .7); border: 1px dashed rgba(127, 192, 255, .35); }
.lk-ico { flex: none; width: 76px; height: 76px; border-radius: 19px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(61, 155, 255, .25), rgba(3, 19, 42, .8)); box-shadow: inset 0 0 0 1px rgba(127, 192, 255, .3); }
.lk-card.c1 .lk-ico { background: linear-gradient(135deg, rgba(255, 180, 77, .3), rgba(3, 19, 42, .85)); }
.lk-card.c3 .lk-ico { background: linear-gradient(135deg, rgba(62, 224, 138, .25), rgba(3, 19, 42, .85)); }
.lk { width: 30px; height: 30px; fill: none; stroke: #cfe3ff; stroke-width: 1.7; stroke-linecap: round; }
.lk-bar { display: block; height: 14px; width: 62%; border-radius: 6px; margin-top: 8px; background: linear-gradient(90deg, rgba(207, 227, 255, .28), rgba(207, 227, 255, .08)); }
.lk-bar.s { height: 9px; width: 84%; margin-top: 8px; opacity: .7; }
.lk-note { margin: 12px 0 0; font-size: 13.5px; color: #9fb5d6; }
.ap { position: relative; padding-block: 72px; background: radial-gradient(60% 80% at 75% 40%, #0d3168 0%, #041530 65%); color: #eaf2ff; }
.ap-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px; border-radius: 22px;
  background: rgba(8, 26, 60, .78); border: 1px solid rgba(127, 192, 255, .25); }
.ap-copy { min-width: 0; }
.ap h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 10px; color: #fff; }
.ap p { color: #c3d2ea; margin: 0 0 18px; }
.ap-steps { color: #e6eefb; font-size: 16px; }
.ap-fine { font-size: 14px; }
.ap a { color: #7fc0ff; }
.ap-hint { color: #8fa6c8; font-size: 12.5px; }
.p-btn.sel { user-select: all; cursor: text; }
@media (max-width: 860px) { .ap-in { grid-template-columns: 1fr; padding: 22px; } }

/* ===== Document pages: legal, support, testing (2026-11-29) ===== */
.doc { background: radial-gradient(60% 50% at 85% 0%, #0d3168 0%, #03132a 55%); color: #dbe6f6; padding-block: 56px 80px; }
.doc-in { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; color: #fff; margin: 14px 0 6px; letter-spacing: -.5px; }
.doc h2 { font-size: 21px; color: #fff; margin: 36px 0 10px; scroll-margin-top: 96px; }
.doc h3 { font-size: 17px; color: #fff; margin: 0 0 12px; }
.doc p, .doc li { line-height: 1.65; font-size: 16px; }
.doc p { margin: 0 0 14px; max-width: 70ch; }
.doc ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; max-width: 70ch; }
.doc a { color: #7fc0ff; }
.doc b { color: #fff; }
.doc-date { color: #8fa6c8; font-size: 14px; }
.doc-lead { font-size: 18px !important; color: #c3d2ea; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.doc-toc a { font-size: 13.5px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(127, 192, 255, .28); text-decoration: none; color: #cfe3ff; }
.doc-toc a:hover { border-color: #3d9bff; color: #fff; }
.doc-card { border-radius: 16px; padding: 18px 20px; background: rgba(8, 26, 60, .78); border: 1px solid rgba(127, 192, 255, .25); margin: 22px 0; }
.doc-card p { margin: 6px 0 0; } .doc .muted { color: #8fa6c8; font-size: 14px; }
.sel { user-select: all; }
.doc-form { padding: 24px; border-radius: 20px; background: rgba(8, 26, 60, .78); border: 1px solid rgba(127, 192, 255, .25); }
.tst-state { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(8, 26, 60, .7); border: 1px solid rgba(127, 192, 255, .25); margin: 24px 0 8px; }
.tst-state p { margin: 2px 0 0; color: #a9bddc; }
.tst-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: #ffb44d; box-shadow: 0 0 10px #ffb44d; }
.tst-open { margin: 28px 0; padding: 24px; border-radius: 20px; background: rgba(8, 26, 60, .82); border: 1px solid rgba(74, 168, 255, .5); }
.tst-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.tst-head img { border-radius: 18px; }
.tst-head h2 { margin: 4px 0 2px; }
.tst-head p { margin: 0; color: #a9bddc; }
.tst-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tst-col { min-width: 0; padding: 18px; border-radius: 14px; background: rgba(3, 19, 42, .6); border: 1px solid rgba(127, 192, 255, .18); }
.tst-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.tst-steps li { counter-increment: s; position: relative; padding-left: 40px; display: grid; gap: 6px; justify-items: start; }
.tst-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #1677ff; color: #fff; }
.tst-steps span { color: #a9bddc; font-size: 14.5px; }
.tst-steps .p-btn { padding: 9px 16px; font-size: 14.5px; }
.tst-steps .p-btn.off { opacity: .4; pointer-events: none; }
@media (max-width: 760px) { .tst-tabs { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
.doc .doc-in { margin-left: auto; margin-right: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.doc .doc-in p, .doc .doc-in li { color: #c3d2ea; }
.doc .doc-in .doc-lead { color: #dbe6f6; }
.doc .doc-in .doc-date, .doc .doc-in .muted { color: #8fa6c8; }
main.doc { max-width: none; width: 100%; }

/* Field Review Pro icon tile (white illustration) */
.frp-icon{background:#fff;}
.frp-icon img{object-fit:contain;padding:6%;}

/* Google Groups gate boxes */
.tst-wait h2, .tst-wait h3 { margin: 0 0 4px; }
.tst-sub { color: #a9bddc; margin: 0 0 18px; }
.tst-msg { color: #ffb44d; font-size: 14px; min-height: 1em; margin: 10px 0 0; }
.tst-gate .tm-check { margin-top: 2px; }
.tst-how { margin-top: 12px; }
.ap .tst-wait { margin: 0; }
.tst-inpage { margin: 0; }
.tst-gate .tst-steps .p-btn.off { pointer-events: auto; cursor: not-allowed; }
.doc .doc-in p.tst-msg, .tst-msg { color: #ffb44d; padding-left: 40px; }

/* Home: real app icons on teaser cards, no names */
.lk-ico.lk-app { padding: 0; overflow: hidden; background: none; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.lk-ico.lk-app img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.lk-ico.lk-light { background: #fff; }
.lk-ico.lk-light img { object-fit: contain; padding: 4px; }
