/* =========================================================
   TPM System — Concept C · Premium Business Software
   Navy + light, serif display, restrained motion.
   Mobile-first: base = 320–767px.
   ========================================================= */
:root {
  --navy-950: #060d1f;
  --navy-900: #0a1530;
  --navy-800: #111f45;
  --navy-700: #1b2c5c;
  --on-navy: #e8ecf6;
  --on-navy-2: #a9b4cf;
  --line-navy: rgb(255 255 255 / .09);
  --ink: #0a1530;
  --text: #26324d;
  --muted: #5a6784;
  --bg: #f6f7fa;
  --white: #ffffff;
  --line: #e2e6ee;
  --accent: #6b95ff;
  --accent-ink: #2b56d6;
  --signal: #3ddc97;
  --signal-ink: #0b7a55;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --max: 1180px;
  --header-h: 64px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: "cv11", "ss01"; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.04; }
h1 em, h2 em { font-style: italic; color: var(--accent-ink); }
h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-900); color: var(--on-navy-2); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy h2 em { color: var(--accent); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section--navy .kicker, .on-navy .kicker { color: var(--accent); }
.head { max-width: 720px; margin-bottom: 36px; }
.head h2 { margin-top: 14px; font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.75rem); }
.head p { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }
.section--navy .head p { color: var(--on-navy-2); }
.head--center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .9688rem; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(2px); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: #dfe7ff; color: var(--navy-900); }
.btn--accent { background: var(--accent-ink); color: #fff; box-shadow: 0 10px 24px -12px rgb(43 86 214 / .8); }
.btn--accent:hover { background: #1f45b8; color: #fff; }
.btn--outline-light { color: #fff; border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .02); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9063rem; }
.btn--block { width: 100%; }

/* Prototype annotations */
.proto-bar { background: #000; color: #9aa6c2; font-size: .8125rem; padding: 7px var(--gutter); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; text-align: center; }
.proto-bar a { color: #fff; font-weight: 600; }
.proto-bar .long { display: none; }
.verify { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 600; letter-spacing: .02em; color: #8a5a00; background: #fff6e0; border: 1px dashed #d79b27; border-radius: 999px; padding: 3px 9px; line-height: 1.3; }
.on-navy .verify, .section--navy .verify, .footer .verify { color: #ffd58a; background: rgb(215 155 39 / .1); border-color: rgb(215 155 39 / .5); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgb(6 13 31 / .92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line-navy); color: #fff; }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; white-space: nowrap; min-height: 44px; }
.brand img { width: 30px; height: 30px; }
.header-cta { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -6px; border: 1px solid var(--line-navy); background: transparent; color: #fff; border-radius: 12px; cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }
.site-nav { position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 32px); z-index: 49; background: var(--navy-950); border-bottom: 1px solid var(--line-navy); padding: 6px var(--gutter) 22px; max-height: calc(100dvh - var(--header-h) - 32px); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-open .site-nav { top: var(--header-h); }
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-nav ul a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line-navy); color: var(--on-navy); text-decoration: none; font-size: 1.0625rem; }
.site-nav .nav-actions { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 360px) { .header-cta { display: inline-flex; } }
@media (max-width: 389px) { .header-cta { padding: 0 14px; font-size: .875rem; } .brand { font-size: 1rem; gap: 8px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-navy-2); padding: 48px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 60% at 50% 20%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 42%; width: 1200px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(91 140 255 / .35), transparent 70%); filter: blur(10px); }
.hero-copy { text-align: center; max-width: 860px; margin-inline: auto; }
.hero .kicker { color: var(--accent); }
.hero .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 18px; color: #fff; font-size: clamp(2.5rem, 1.5rem + 5vw, 5.25rem); line-height: 1; }
.hero h1 em { color: #b9ccff; }
.hero-sub { margin: 20px auto 0; max-width: 38em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--on-navy-2); }
.hero-ctas { display: grid; gap: 12px; margin-top: 30px; justify-content: stretch; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: .875rem; color: #8e9bbb; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ic { width: 16px; height: 16px; color: var(--signal); }

.stage { position: relative; margin-top: 44px; padding: 0 0 172px; }
.stage-frame { position: relative; border-radius: 14px; overflow: hidden; background: #0f1a36; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 50px 100px -30px rgb(0 0 0 / .7), 0 0 0 6px rgb(255 255 255 / .03); }
.stage-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.stage-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.stage-frame img { width: 100%; aspect-ratio: 640 / 298; object-fit: cover; object-position: left top; cursor: zoom-in; }
.stage-phone { position: absolute; left: 50%; bottom: 0; width: 112px; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .55)); }
.stage-note { position: absolute; display: none; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; background: rgb(10 21 48 / .85); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: .8125rem; font-weight: 500; white-space: nowrap; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); }
.stage-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgb(61 220 151 / .2); }
.stage-note small { color: var(--on-navy-2); font-size: .75rem; }
.capabilities { border-top: 1px solid var(--line-navy); margin-top: 8px; }
.capabilities ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 22px 0 26px; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: #8e9bbb; }
.capabilities li { display: inline-flex; align-items: center; gap: 8px; }
.capabilities .ic { width: 16px; height: 16px; color: var(--accent); }

/* Problems (editorial numbered list) */
.problems { display: grid; gap: 32px; }
.problems-intro h2 { font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem); margin-top: 14px; }
.problems-intro p { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.problem-list { border-top: 1px solid var(--line); counter-reset: p; }
.problem-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.problem-list li::before { counter-increment: p; content: counter(p, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--accent-ink); }
.problem-list h3 { font-size: 1.0625rem; }
.problem-list p { margin-top: 4px; color: var(--muted); font-size: .9688rem; }
.resolution { margin-top: 28px; padding: 22px; border-radius: var(--r); background: var(--navy-900); color: var(--on-navy); display: grid; gap: 14px; }
.resolution p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: #fff; }
.resolution a { color: #b9ccff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.resolution .ic { width: 18px; height: 18px; }

/* Chapters (how it works) */
.chapters { display: grid; gap: 56px; }
.chapter { display: grid; gap: 22px; align-items: center; }
.chapter-num { font-family: var(--serif); font-size: 1.125rem; color: var(--accent-ink); display: flex; align-items: center; gap: 12px; }
.chapter-num::after { content: ""; height: 1px; width: 48px; background: var(--line); }
.chapter h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.1; }
.chapter p { margin-top: 12px; color: var(--muted); }
.chapter ul { margin-top: 16px; display: grid; gap: 8px; }
.chapter li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9688rem; }
.chapter li .ic { width: 18px; height: 18px; color: var(--signal-ink); margin-top: 3px; }
.plate { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(10 21 48 / .35); }
.plate img { width: 100%; cursor: zoom-in; }
.plate--phone { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; padding: 28px 0 0; height: 340px; overflow: hidden; border: 0; }
.plate--phone img { width: 210px; cursor: default; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .5)); }

/* Product (navy) */
.tabs-c { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid var(--line-navy); max-width: 420px; margin: 0 auto 32px; }
.tabs-c [role="tab"] { min-height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--on-navy-2); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.tabs-c [role="tab"] .ic { width: 18px; height: 18px; }
.tabs-c [role="tab"][aria-selected="true"] { background: #fff; color: var(--navy-900); }
.prod-dash { display: grid; gap: 14px; }
.prod-dash .main { border-radius: 12px; overflow: hidden; border: 1px solid rgb(255 255 255 / .12); }
.prod-dash .main img { width: 100%; cursor: zoom-in; }
.prod-dash .minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod-dash figure { margin: 0; }
.prod-dash .mini img { width: 100%; border-radius: 8px; border: 1px solid rgb(255 255 255 / .12); aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; cursor: zoom-in; }
.prod-dash figcaption { margin-top: 8px; font-size: .8125rem; color: var(--on-navy-2); line-height: 1.4; }
.prod-dash .main + figcaption { font-size: .9375rem; }
.prod-app { display: grid; gap: 28px; align-items: center; }
.prod-app img { width: 230px; justify-self: center; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)); }
.prod-app ul { display: grid; gap: 1px; background: var(--line-navy); border: 1px solid var(--line-navy); border-radius: var(--r); overflow: hidden; }
.prod-app li { background: var(--navy-900); padding: 16px 18px; display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.prod-app li .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.prod-app b { color: #fff; font-weight: 600; }
.prod-app span { display: block; font-size: .9375rem; }
.matrix-wrap { margin-top: 48px; }
.matrix-wrap h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; color: #fff; }
.matrix-scroll { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line-navy); border-radius: var(--r); }
.matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.matrix th, .matrix td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-navy); vertical-align: top; }
.matrix thead th { color: #fff; font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; background: rgb(255 255 255 / .04); }
.matrix tbody th { color: #fff; font-weight: 600; white-space: nowrap; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.scroll-hint { margin-top: 8px; font-size: .8125rem; color: #7d8aa8; }

/* Features grid */
.features { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; border-radius: var(--r); overflow: hidden; }
.feature { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.feature .ic { width: 26px; height: 26px; color: var(--accent-ink); }
.feature .name { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.12; }
.feature p { color: var(--muted); font-size: .9375rem; }

/* Industries (editorial rows) */
.ind-rows { border-top: 1px solid var(--line); }
.ind-row { display: grid; grid-template-columns: 40px 1fr 24px; gap: 14px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .2s, padding .2s; }
.ind-row:hover { background: #fff; color: var(--ink); }
.ind-row .ic-wrap { grid-row: 1 / span 2; align-self: start; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #eaf0ff; color: var(--accent-ink); }
.ind-row .ic-wrap .ic { width: 20px; height: 20px; }
.ind-row h3 { grid-column: 2; font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.1; }
.ind-row p { grid-column: 2; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.ind-row > .ic { grid-column: 3; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--muted); transition: transform .2s, color .2s; }
.ind-row:hover > .ic { transform: translateX(4px); color: var(--accent-ink); }

/* Privacy */
.privacy-top { display: grid; gap: 28px; }
.principles { display: grid; gap: 12px; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.principle .ic-wrap { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #e7f8f0; color: var(--signal-ink); }
.principle .ic-wrap .ic { width: 20px; height: 20px; }
.principle h3 { font-size: 1.0625rem; }
.principle p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.daybar { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 18px; }
.daybar h3 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.track { position: relative; height: 56px; margin: 28px 6px 8px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 10px; transform: translateY(-50%); border-radius: 999px; background: repeating-linear-gradient(135deg, #e6e9f0 0 6px, #f4f6fa 6px 12px); }
.mark { position: absolute; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; }
.mark i { width: 18px; height: 18px; border-radius: 50%; background: var(--signal); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--signal-ink); }
.mark.photo i { background: var(--accent); box-shadow: 0 0 0 1px var(--accent-ink); }
.mark span { position: absolute; top: -26px; font-size: .75rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mark.low span { top: 24px; }
.track-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .8125rem; color: var(--muted); margin-top: 22px; }
.track-legend span { display: inline-flex; align-items: center; gap: 8px; }
.track-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.track-legend i.hatch { border-radius: 3px; background: repeating-linear-gradient(135deg, #dfe3eb 0 3px, #f4f6fa 3px 6px); border: 1px solid #d0d6e2; }
.legal-note { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.safety-card { margin-top: 48px; border-radius: 20px; background: var(--navy-900); color: var(--on-navy-2); padding: 28px 20px 0; display: grid; gap: 24px; overflow: hidden; }
.safety-card h3 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.1; }
.safety-card p { margin-top: 12px; }
.safety-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.safety-shots figure { margin: 0; text-align: center; }
.safety-shots img { width: 100%; }
.safety-shots figcaption { font-size: .75rem; color: var(--on-navy-2); padding: 8px 0 14px; line-height: 1.3; }

/* Pricing */
.pricing { display: grid; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -40px rgb(10 21 48 / .4); }
.pricing h2 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.25rem); margin-top: 12px; }
.pricing .lead { margin-top: 14px; color: var(--muted); }
.process { display: grid; gap: 14px; counter-reset: st; }
.process li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.process li::before { counter-increment: st; content: counter(st); font-family: var(--serif); font-size: 1.75rem; color: var(--accent-ink); line-height: 1; }
.process b { color: var(--ink); }
.process span { display: block; color: var(--muted); font-size: .9375rem; }

/* Trust */
.foundations { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.foundation { background: #fff; padding: 22px; }
.foundation .ic { width: 24px; height: 24px; color: var(--accent-ink); }
.foundation h3 { margin-top: 12px; font-size: 1rem; }
.foundation p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.figures { display: grid; gap: 22px; margin-top: 36px; }
.figure strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.25rem; line-height: 1; color: var(--ink); }
.figure span { display: block; margin-top: 6px; color: var(--muted); }
.figure .verify { margin-top: 10px; }
.testimonial-ph { margin-top: 36px; border: 1px dashed #c4ccdb; border-radius: var(--r); padding: 26px; text-align: center; background: #fff; }
.testimonial-ph p:first-child { font-family: var(--serif); font-size: 1.5rem; color: #9aa5bb; line-height: 1.3; }
.testimonial-ph p + p { margin-top: 10px; font-size: .875rem; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; gap: 28px; }
.faq-side p { margin-top: 14px; color: var(--muted); }
.faq-side a { font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 600; color: var(--ink); font-size: 1.0313rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .25s; }
.faq-list details[open] summary .ic { transform: rotate(45deg); color: var(--accent-ink); }
.faq-list .answer { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* Demo */
.demo { background: var(--navy-950); color: var(--on-navy-2); position: relative; overflow: hidden; isolation: isolate; }
.demo::before { content: ""; position: absolute; z-index: -1; right: -200px; top: -200px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgb(91 140 255 / .28), transparent 70%); }
.demo-grid { display: grid; gap: 36px; }
.demo h2 { color: #fff; font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); margin-top: 14px; }
.demo h2 em { color: #b9ccff; }
.demo-lead { margin-top: 16px; font-size: 1.0625rem; }
.demo-list { margin-top: 24px; display: grid; gap: 12px; }
.demo-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--on-navy); }
.demo-list .ic { width: 20px; height: 20px; color: var(--signal); margin-top: 2px; }
.demo-contacts { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-navy); display: grid; gap: 4px; }
.demo-contacts a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.demo-contacts .ic { width: 18px; height: 18px; color: var(--accent); }
.form-card { background: #fff; color: var(--text); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
.form-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.875rem; color: var(--ink); }
.form-card > p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
.field label { display: block; font-weight: 600; font-size: .8438rem; margin-bottom: 6px; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfd6e3; border-radius: 10px; background: #fbfcfe; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgb(43 86 214 / .14); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-error { color: #b42318; font-size: .8125rem; font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: .875rem; align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-ink); }
.form-status { font-size: .875rem; color: #b42318; font-weight: 600; }
.form-proto { font-size: .75rem; color: var(--muted); text-align: center; }
form.is-sent { display: none; }
.form-success { text-align: center; padding: 30px 8px; }
.form-success .ic { width: 48px; height: 48px; color: var(--signal-ink); margin: 0 auto 10px; }
.form-success h3 { font-size: 1.75rem; }
.form-success p { margin-top: 8px; color: var(--muted); }

/* Footer */
.footer { background: var(--navy-950); color: #8e9bbb; border-top: 1px solid var(--line-navy); padding: 56px 0 120px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 30px; }
.footer h2 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.footer a { color: var(--on-navy-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.footer a:hover { color: #fff; }
.footer-tag { margin-top: 12px; max-width: 32ch; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-navy); }
.socials .ic { width: 18px; height: 18px; }
.footer-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-navy); display: grid; gap: 8px; font-size: .8125rem; }

/* Sticky CTA */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(6 13 31 / .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-navy); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn--light { flex: 1; }
.sticky-cta .call { flex: 0 0 52px; padding: 0; }

/* Zoom dialog */
.zoom-dialog { width: min(1200px, 96vw); max-width: none; padding: 0; border: 0; border-radius: 14px; background: var(--navy-900); }
.zoom-dialog::backdrop { background: rgb(6 13 31 / .85); }
.zoom-dialog img { width: 100%; max-height: 80vh; object-fit: contain; }
.zoom-caption { padding: 12px 16px; font-size: .875rem; color: var(--on-navy-2); }
.zoom-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(6 13 31 / .7); color: #fff; font-size: 1.5rem; cursor: pointer; }

.js-reveal [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ≥ 390 */
@media (min-width: 390px) { :root { --gutter: 20px; } }

/* ≥ 560 */
@media (min-width: 560px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: center; }
  .stage { padding-bottom: 28px; }
  .stage-phone { left: 4%; bottom: -8px; width: 26%; max-width: 190px; transform: none; }
  .stage-note { display: inline-flex; }
  .n3 { display: none; }
  .n1 { right: -6px; top: 18%; }
  .n2 { right: 8%; bottom: -4px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .foundations { grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: repeat(3, 1fr); }
}

/* ≥ 768 */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .proto-bar .long { display: inline; }
  .section { padding-block: 112px; }
  .head { margin-bottom: 52px; }
  .stage-frame img { aspect-ratio: 1024 / 482; }
  .stage-phone { left: -10px; bottom: -36px; width: 22%; }
  .stage { padding-bottom: 40px; }
  .chapter { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  .chapter:nth-child(even) .chapter-media { order: -1; }
  .chapter:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
  .prod-app { grid-template-columns: 280px 1fr; }
  .prod-app img { width: 260px; }
  .pricing { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 44px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .form-card { padding: 34px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .safety-card { grid-template-columns: 1fr 1.2fr; align-items: end; padding: 40px 40px 0; }
  .safety-card > div:first-child { padding-bottom: 40px; align-self: center; }
  .ind-row { grid-template-columns: 56px 1fr 1.3fr 24px; padding: 24px 8px; }
  .ind-row .ic-wrap, .ind-row h3, .ind-row p, .ind-row > .ic { grid-row: auto; grid-column: auto; align-self: center; }
  .ind-row p { margin-top: 0; }
}

/* ≥ 1024 */
@media (min-width: 1024px) {
  .nav-toggle, .header-cta { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 18px; flex: 1; opacity: 1; visibility: visible; transform: none; padding: 0; border: 0; background: transparent; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; margin-inline: auto; gap: 2px; }
  .site-nav ul a { border: 0; min-height: 44px; padding: 0 12px; font-size: .9063rem; color: var(--on-navy-2); border-radius: 8px; }
  .site-nav ul a:hover { color: #fff; background: rgb(255 255 255 / .06); }
  .site-nav .nav-actions { display: flex; margin: 0; gap: 8px; }
  .brand { margin-right: 0; }
  .hero { padding-top: 88px; }
  .stage { margin-top: 64px; max-width: 1040px; margin-inline: auto; }
  .stage-phone { width: 200px; left: -60px; bottom: -48px; }
  .n1 { right: -48px; top: 22%; }
  .n2 { right: 10%; bottom: -18px; }
  .n3 { display: inline-flex; left: 18%; top: -18px; }
  .problems { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
  .problems-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .feature.wide { grid-column: span 2; }
  .prod-dash { grid-template-columns: 1fr; }
  .privacy-top { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .foundations { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 72px; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .demo-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== Rework: crisp phones, readable dashboard tabs ===== */
.stage-phone { width: auto !important; max-width: none !important; min-width: 0 !important; }
.stage-phone .tpm-phone { --pw: 112px; }
.dtabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 16px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.dtabs::-webkit-scrollbar { display: none; }
.dtabs [role="tab"] { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .2); background: transparent; color: var(--on-navy-2); font-weight: 500; cursor: pointer; white-space: nowrap; }
.dtabs [role="tab"][aria-selected="true"] { background: #fff; border-color: #fff; color: var(--navy-900); }
.dpanel { margin: 0; }
.dpanel .main { border-radius: 12px; overflow: hidden; border: 1px solid rgb(255 255 255 / .12); background: #fff; }
.dpanel img { width: 100%; cursor: zoom-in; }
.dpanel figcaption { margin-top: 14px; color: var(--on-navy-2); font-size: .9688rem; max-width: 70ch; }
.prod-app .tpm-phone { justify-self: center; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)); }
.plate--phone .tpm-phone { filter: drop-shadow(0 30px 40px rgb(0 0 0 / .5)); }
.photo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.photo-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.safety-shots .tpm-phone { --pw: 92px; margin-inline: auto; }
.problem-list p strong { color: var(--ink); font-weight: 600; }
@media (min-width: 560px) { .stage-phone .tpm-phone { --pw: 150px; } .safety-shots .tpm-phone { --pw: 130px; } }
@media (min-width: 768px) { .safety-shots .tpm-phone { --pw: 150px; } }
@media (min-width: 1024px) { .stage-phone .tpm-phone { --pw: 200px; } .dtabs { justify-content: center; overflow: visible; margin: 0; padding: 0 0 20px; } }
