/* =========================================================
   TPM System — Concept A · Modern SaaS
   Mobile-first: base styles target 320–767px, then enhance.
   ========================================================= */
:root {
  --ink: #0f1a2e;
  --ink-2: #2c3a52;
  --muted: #586379;
  --line: #e2e8f1;
  --bg: #ffffff;
  --soft: #f4f7fc;
  --blue: #2457e6;
  --blue-700: #1a43bd;
  --blue-50: #edf2ff;
  --blue-100: #dbe5ff;
  --green: #18b47d;
  --green-ink: #0a7550;
  --green-50: #e6f7f0;
  --amber-50: #fff6e5;
  --amber-ink: #8a5300;
  --red-ink: #b42318;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(15 26 46 / .06), 0 2px 8px rgb(15 26 46 / .05);
  --shadow: 0 2px 4px rgb(15 26 46 / .04), 0 12px 32px -8px rgb(15 26 46 / .16);
  --shadow-lg: 0 30px 80px -24px rgb(25 55 140 / .35), 0 8px 24px -12px rgb(15 26 46 / .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  color-scheme: light;
}

*, *::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) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
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: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; 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: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
.section--soft { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue);
}
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.625rem, 1.2rem + 2.1vw, 2.625rem); font-weight: 800; margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgb(36 87 230 / .6); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Prototype annotations (to be removed before publishing) */
.proto-bar {
  background: var(--ink); color: #c9d3e6; font-size: .8125rem; line-height: 1.3;
  padding: 7px var(--gutter); display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center;
}
.proto-bar a { color: #fff; font-weight: 600; }
.proto-bar .long { display: none; }
@media (min-width: 768px) { .proto-bar .long { display: inline; } }
.verify {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
  color: var(--amber-ink); background: var(--amber-50); border: 1px dashed #e0a93b; border-radius: 999px; padding: 4px 10px;
}
.verify::before { content: "!"; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #e0a93b; color: #fff; font-size: .625rem; font-weight: 800; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(15 26 46 / .35); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.02em; margin-right: auto; min-height: 44px; }
.brand img { width: 34px; height: 34px; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -6px;
  border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--ink);
}
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }
.site-nav {
  position: fixed; inset: calc(var(--header-h) + 32px) 0 auto 0; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px; max-height: calc(100dvh - var(--header-h) - 32px); overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.site-header.is-scrolled .site-nav, .nav-open .site-nav { top: var(--header-h); }
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-nav ul { display: grid; }
.site-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav .nav-actions { display: grid; gap: 10px; margin-top: 16px; }
.site-nav .nav-actions a { border: 0; justify-content: center; }
.site-nav .nav-actions .btn--ghost { border: 1.5px solid var(--line); }
.site-nav .btn--primary, .site-nav .btn--primary:hover { color: #fff; }
@media (min-width: 360px) { .header-cta { display: inline-flex; min-height: 42px; padding: 0 12px; font-size: .875rem; white-space: nowrap; } }
@media (max-width: 389px) { .site-header .brand { font-size: 1.0625rem; gap: 8px; } .site-header .brand img { width: 30px; height: 30px; } }

/* Hero */
.hero { position: relative; padding: 28px 0 56px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -40% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgb(36 87 230 / .14), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgb(24 180 125 / .14), transparent 70%),
    radial-gradient(50% 40% at 60% 80%, rgb(36 87 230 / .08), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .8125rem; font-weight: 600; color: var(--ink-2);
}
.hero-badge span { background: var(--green-50); color: var(--green-ink); border-radius: 999px; padding: 2px 8px; font-weight: 700; }
.hero h1 { margin-top: 18px; font-size: clamp(2rem, 1.35rem + 3.3vw, 3.75rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero-ctas { display: grid; gap: 12px; margin-top: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: .9375rem; }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes .ic { width: 18px; height: 18px; color: var(--green); }

.hero-visual { position: relative; padding-bottom: 190px; }
.browser {
  margin: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f6f8fb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4dae4; }
.browser-bar p { margin-left: 10px; font-size: .6875rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 640 / 298; object-fit: cover; object-position: left top; cursor: zoom-in; }
.hero-phone {
  position: absolute; right: 4px; bottom: 0; width: 112px; max-width: 200px;
  filter: drop-shadow(0 24px 30px rgb(15 26 46 / .3));
}
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  padding: 7px 12px; font-size: .75rem; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.chip .ic { width: 15px; height: 15px; color: var(--blue); }
.chip-a { left: 0; bottom: 104px; }
.chip-b { left: 0; bottom: 56px; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.caption-note { margin-top: 14px; font-size: .75rem; color: var(--muted); }

/* Problems */
.problem-grid { display: grid; gap: 12px; }
.problem {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.problem .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff1ee; color: #c2410c; }
.problem .ico .ic { width: 22px; height: 22px; }
.problem h3 { font-size: 1.0625rem; font-weight: 700; }
.problem p { margin-top: 6px; color: var(--muted); font-size: .9688rem; }
.bridge {
  margin-top: 24px; display: grid; gap: 16px; align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, #3b6cf0 55%, #1f9e75 130%); color: #fff;
  border-radius: var(--radius); padding: 24px;
}
.bridge img { width: 44px; height: 44px; }
.bridge p { font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
.bridge a { color: #fff; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.step-media { background: var(--soft); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.step-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; cursor: zoom-in; }
.step-media--phone { background: linear-gradient(180deg, var(--blue-50), #fff); }
.step-media--phone img { width: auto; height: 112%; object-fit: contain; margin-top: 18%; }
.step-body { padding: 20px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: .9375rem; }
.step h3 { margin-top: 14px; font-size: 1.25rem; font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); }
.step .who { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); vertical-align: middle; }
.step .who .ic { width: 16px; height: 16px; }

/* Showcase tabs */
.tablist { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; gap: 4px; border-radius: 16px; background: var(--blue-50); width: 100%; max-width: 440px; }
.tablist [role="tab"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 8px; border: 0; border-radius: 12px; cursor: pointer;
  background: transparent; color: var(--ink-2); font-weight: 700; font-size: .9375rem; white-space: nowrap; min-width: 0;
}
.tablist [role="tab"] .ic { width: 18px; height: 18px; }
.tablist [role="tab"][aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.showcase-top { display: flex; justify-content: center; margin-bottom: 28px; }
.panel { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.subtabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs [role="tab"] {
  scroll-snap-align: start; flex: none; text-align: left; display: grid; gap: 2px;
  min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.subtabs [role="tab"] strong { font-size: .9375rem; }
.subtabs [role="tab"] span { display: none; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.subtabs [role="tab"][aria-selected="true"] { border-color: var(--blue); background: var(--blue-50); }
.shot { margin: 0; }
.shot .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; cursor: zoom-in; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.shot figcaption strong { color: var(--ink); }
.zoom-hint { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.zoom-hint .ic { width: 15px; height: 15px; }

.app-panel { display: grid; gap: 28px; align-items: center; }
.app-phone { justify-self: center; width: 220px; filter: drop-shadow(0 24px 40px rgb(15 26 46 / .25)); }
.app-features { display: grid; gap: 10px; }
.app-feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.app-feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #4a8ee6; color: #fff; }
.app-feature .ico .ic { width: 22px; height: 22px; }
.app-feature h3 { font-size: 1rem; font-weight: 700; }
.app-feature h3 small { font-weight: 600; color: var(--muted); font-size: .8125rem; margin-left: 6px; }
.app-feature p { margin-top: 3px; color: var(--muted); font-size: .9375rem; }

/* Features (bento) */
.bento { display: grid; gap: 14px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.card .ico .ic { width: 22px; height: 22px; }
.card .kicker { font-size: .8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.card h3 { font-size: 1.1875rem; font-weight: 800; }
.card p { color: var(--muted); }
.card--accent .ico { background: var(--green-50); color: var(--green-ink); }
.card--alert .ico { background: #fff1ee; color: #c2410c; }
.photo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: auto; padding-top: 8px; }
.photo-strip img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-shot { margin: 8px -22px -22px; border-top: 1px solid var(--line); background: var(--soft); }
.card-shot img { width: 100%; }

/* Industries */
.industry-grid { display: grid; gap: 12px; }
.industry {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.industry:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.industry .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.industry .ico .ic { width: 26px; height: 26px; }
.industry h3 { font-size: 1.125rem; font-weight: 800; }
.industry p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.industry .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--blue); font-size: .9375rem; }
.industry .more .ic { width: 16px; height: 16px; }
.ind-1 { background: linear-gradient(135deg, #18b47d, #0f8a8a); }
.ind-2 { background: linear-gradient(135deg, #f59e0b, #d9590b); }
.ind-3 { background: linear-gradient(135deg, #2457e6, #5b3df0); }
.ind-4 { background: linear-gradient(135deg, #0f766e, #2457e6); }
.ind-5 { background: linear-gradient(135deg, #e0a100, #b45309); }
.ind-6 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.industries-note { margin-top: 20px; color: var(--muted); font-size: .9375rem; }

/* Privacy */
.privacy { background: linear-gradient(180deg, #f2fbf7, #fff 70%); }
.privacy-grid { display: grid; gap: 28px; }
.privacy-lead { font-size: 1.125rem; color: var(--ink-2); }
.privacy-points { display: grid; gap: 12px; margin-top: 22px; }
.privacy-points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.privacy-points .ic { width: 22px; height: 22px; color: var(--green-ink); margin-top: 1px; }
.legal-note { margin-top: 20px; font-size: .875rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }
.record { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.record-col { padding: 22px; }
.record-col + .record-col { border-top: 1px solid var(--line); background: #fbfcfe; }
.record-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 800; }
.record-col h3 .ic { width: 24px; height: 24px; }
.record-col ul { display: grid; gap: 12px; margin-top: 16px; }
.record-col li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9688rem; }
.record-col li .ic { width: 20px; height: 20px; margin-top: 2px; }
.yes .ic { color: var(--green-ink); }
.no .ic { color: var(--red-ink); }

.safety { margin-top: 56px; display: grid; gap: 24px; }
.safety h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 800; }
.safety p { color: var(--muted); }
.help-flow { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; }
.help-flow li { flex: 0 0 62%; max-width: 240px; scroll-snap-align: center; text-align: center; }
.help-flow img { width: 100%; filter: drop-shadow(0 16px 24px rgb(15 26 46 / .18)); }
.help-flow p { margin-top: 10px; font-size: .875rem; color: var(--ink-2); font-weight: 600; }
.help-flow b { color: var(--blue); }

/* Pricing */
.pricing-card {
  display: grid; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 800; }
.pricing-card .price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.pricing-card .price small { display: block; font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.incl { display: grid; gap: 12px; }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.incl .ic { width: 22px; height: 22px; color: var(--green-ink); }

/* Trust */
.pillars { display: grid; gap: 12px; }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.pillar .ico .ic { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.0625rem; font-weight: 800; }
.pillar p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.stats { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.stat { padding: 20px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.stat span { color: #b9c4d8; font-size: .9375rem; }
.stat .verify { margin-top: 10px; }
.quote-ph {
  margin-top: 12px; border: 2px dashed #cfd7e6; border-radius: var(--radius); padding: 22px; color: var(--muted); background: #fbfcfe;
}
.quote-ph strong { color: var(--ink-2); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq-list details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 18px; font-weight: 700; font-size: 1.0313rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 22px; height: 22px; color: var(--blue); transition: transform .25s; }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list .answer { padding: 0 18px 18px; color: var(--ink-2); }
.faq-list .answer p + p { margin-top: 10px; }

/* Demo / final CTA */
.demo { background: radial-gradient(70% 90% at 0% 0%, #3b6cf0, transparent 60%), radial-gradient(60% 80% at 100% 100%, #13966a, transparent 60%), var(--blue-700); color: #fff; }
.demo-grid { display: grid; gap: 32px; }
.demo h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 800; }
.demo-lead { margin-top: 14px; color: #dfe7ff; font-size: 1.0625rem; }
.next-steps { display: grid; gap: 14px; margin-top: 26px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: #eef2ff; }
.next-steps li::before { counter-increment: n; content: counter(n); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgb(255 255 255 / .16); font-weight: 800; }
.contact-alt { display: grid; gap: 8px; margin-top: 26px; }
.contact-alt a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; min-height: 44px; }
.contact-alt .ic { width: 20px; height: 20px; }
.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .4); }
.form-card h3 { font-size: 1.25rem; font-weight: 800; }
.form-card > p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
.field label { display: block; font-weight: 700; font-size: .875rem; margin-bottom: 6px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #cdd5e3; background: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(36 87 230 / .15); }
.field [aria-invalid="true"] { border-color: var(--red-ink); }
.field-error { color: var(--red-ink); 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; color: var(--ink-2); align-items: start; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.form-status { font-size: .875rem; color: var(--red-ink); font-weight: 600; min-height: 1em; }
.form-proto { font-size: .75rem; color: var(--muted); text-align: center; }
form.is-sent { display: none; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .ic { width: 52px; height: 52px; color: var(--green); margin: 0 auto 12px; }
.form-success h3 { font-size: 1.375rem; }
.form-success p { margin-top: 8px; color: var(--muted); }

/* Footer */
.site-footer { background: #0b1322; color: #aab5c9; padding: 56px 0 120px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 2px; }
.site-footer a { color: #d5dcea; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-tag { margin-top: 12px; max-width: 30ch; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; justify-content: center; border-radius: 12px; background: rgb(255 255 255 / .06); }
.socials .ic { width: 20px; height: 20px; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); display: grid; gap: 8px; font-size: .8125rem; }
.site-footer .verify { color: #ffd38a; background: rgb(224 169 59 / .12); border-color: rgb(224 169 59 / .5); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgb(15 26 46 / .4);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; }
.sticky-cta .call { flex: 0 0 52px; padding: 0; }

/* Zoom dialog (shared JS) */
.zoom-dialog { width: min(1200px, 96vw); max-width: none; padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); }
.zoom-dialog::backdrop { background: rgb(11 19 34 / .75); }
.zoom-dialog img { width: 100%; max-height: 80vh; object-fit: contain; background: var(--soft); }
.zoom-dialog .zoom-caption { padding: 12px 16px; font-size: .875rem; color: var(--muted); }
.zoom-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(11 19 34 / .75); color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Reveal */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- ≥ 390px ---------- */
@media (min-width: 390px) { :root { --gutter: 20px; } }

/* ---------- ≥ 560px ---------- */
@media (min-width: 560px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .problem-grid, .industry-grid, .pillars { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { padding-bottom: 40px; padding-right: 22px; }
  .hero-phone { width: 30%; right: 0; }
  .chip-a { left: -4px; bottom: 8px; }
  .chip-b { left: auto; right: 26%; bottom: auto; top: 18%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .help-flow { overflow: visible; margin: 0; padding: 4px 0 0; justify-content: center; }
  .help-flow li { flex: 1 1 0; max-width: 220px; }
}

/* ---------- ≥ 768px ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .section { padding-block: 96px; }
  .section-head { margin-bottom: 48px; }
  .browser img { aspect-ratio: 1024 / 482; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .record { display: grid; grid-template-columns: 1fr 1fr; }
  .record-col + .record-col { border-top: 0; border-left: 1px solid var(--line); }
  .pricing-card { grid-template-columns: 1.1fr 1fr; padding: 40px; align-items: center; }
  .form-card { padding: 32px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .app-panel { grid-template-columns: 280px 1fr; gap: 48px; }
  .app-phone { width: 260px; }
  .app-features { grid-template-columns: 1fr 1fr; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; background: transparent;
    display: flex; align-items: center; gap: 28px; flex: 1; max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; gap: 2px; margin-inline: auto; }
  .site-nav a { border: 0; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: .9375rem; color: var(--ink-2); }
  .site-nav ul a:hover { background: var(--soft); color: var(--ink); }
  .site-nav .nav-actions { display: flex; margin: 0; gap: 8px; }
  .site-nav .nav-actions .btn { min-height: 44px; }
  .header-cta { display: none; }
  .brand { margin-right: 0; }
  .site-nav .btn--primary, .site-nav .btn--primary:hover { color: #fff; }
  .hero { padding: 56px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 48px; }
  .hero h1 { font-size: clamp(2.75rem, 1.2rem + 2.6vw, 3.5rem); }
  .hero-visual { width: 128%; padding: 0 0 84px 64px; }
  .hero-phone { left: 0; right: auto; width: 168px; bottom: 0; }
  .chip-a { left: 186px; right: auto; bottom: 30px; top: auto; }
  .chip-b { left: 46%; right: auto; top: -18px; bottom: auto; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bridge { grid-template-columns: auto 1fr auto; padding: 28px 32px; }
  .subtabs-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
  .subtabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .subtabs [role="tab"] { padding: 16px 18px; }
  .subtabs [role="tab"] span { display: block; }
  .bento { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .bento .span-2 { grid-column: span 2; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .industry { grid-template-columns: 1fr; padding: 24px; }
  .privacy-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .safety { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 56px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .demo-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 48px; }
}

@media (min-width: 1280px) {
  .hero-visual { width: 132%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .float { animation: none; }
}

/* ===== Phase 2: before/after + industry tabs (from Concept B, restyled) ===== */
/* Before / after (from Concept B, restyled) */
.vs { display: grid; gap: 12px; }
.vs-head { display: none; }
.vs-row { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vs-old, .vs-new { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 18px; align-items: start; }
.vs-old { background: #fbf4f2; color: var(--ink-2); }
.vs-old p { font-weight: 600; font-size: .9688rem; line-height: 1.45; }
.vs-old .ic { width: 24px; height: 24px; color: #c2410c; }
.vs-new .ic { width: 24px; height: 24px; color: var(--green-ink); }
.vs-new h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; }
.vs-new p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.vs-arrow { display: none; }
.vs-label { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.vs-old .vs-label { color: #b4532a; }
.vs-new .vs-label { color: var(--green-ink); }

/* Industry tabs (from Concept B, restyled) */
.ind-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x proximity; scrollbar-width: none; }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tabs [role="tab"] {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 7px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: .9375rem; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.ind-tabs [role="tab"] .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ind-tabs [role="tab"] .dot .ic { width: 18px; height: 18px; }
.ind-tabs [role="tab"]:hover { border-color: var(--blue-100); }
.ind-tabs [role="tab"][aria-selected="true"] { border-color: var(--blue); background: var(--blue-50); color: var(--ink); }
.ind-panel { display: grid; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); animation: fadeIn .35s ease; }
.ind-panel h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 800; }
.ind-panel .lead { margin-top: 10px; color: var(--ink-2); font-size: 1.0313rem; }
.ind-list { display: grid; gap: 10px; margin-top: 18px; }
.ind-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--ink-2); }
.ind-list .ic { width: 22px; height: 22px; color: var(--green-ink); margin-top: 1px; }
.ind-panel .link-arrow { margin-top: 14px; }
.ind-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); align-self: center; }
.ind-media img { width: 100%; cursor: zoom-in; }

@media (min-width: 768px) {
  .vs-head { display: grid; grid-template-columns: 1fr 52px 1fr; padding: 0 20px 2px; font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .vs-head span:last-child { grid-column: 3; }
  .vs-row { grid-template-columns: 1fr 52px 1fr; }
  .vs-arrow { display: grid; place-items: center; background: linear-gradient(90deg, #fbf4f2 50%, #fff 50%); color: var(--blue); }
  .vs-arrow .ic { width: 22px; height: 22px; background: #fff; border-radius: 50%; padding: 4px; box-sizing: content-box; box-shadow: var(--shadow-sm); }
  .vs-label { display: none; }
}
@media (min-width: 1024px) {
  .ind-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 0 18px; }
  .ind-panel { grid-template-columns: 1fr 1.15fr; padding: 36px; gap: 40px; align-items: center; }
}
.hero-phone-wrap { position: absolute; right: 4px; bottom: 0; filter: drop-shadow(0 24px 30px rgb(15 26 46 / .3)); }
@media (min-width: 560px) { .hero-phone-wrap { right: 0; } }
@media (min-width: 1024px) { .hero-phone-wrap { left: 0; right: auto; } }
.step-media--phone .tpm-phone { margin-top: 26px; }
.step-media--phone { align-items: start; }
.app-panel .tpm-phone { justify-self: center; filter: drop-shadow(0 24px 40px rgb(15 26 46 / .25)); }
.help-flow .tpm-phone { margin-inline: auto; filter: drop-shadow(0 16px 24px rgb(15 26 46 / .18)); }
.pillars--4 { display: grid; gap: 12px; }
@media (min-width: 560px) { .pillars--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars--4 { grid-template-columns: repeat(4, 1fr); } .pillars--4 .pillar { grid-template-columns: 1fr; } }
.industries-note { margin-top: 28px; color: var(--muted); font-size: .9375rem; }
