/* =========================================================
   TPM System — Concept E · App Classic
   Inspired by the "App Classic" landing layout (light lavender hero, blue primary,
   pastel icon tiles, phone with feature pills, FAQ list). Original code; TPM content.
   Mobile-first: base = 320–767px.
   ========================================================= */
:root {
  --navy: #0d233e;
  --navy-2: #0b1c33;
  --text: #3c4b63;
  --muted: #5d6b82;
  --line: #e7ebf3;
  --bg-soft: #f7f8ff;
  --blue: #2563ff;
  --blue-700: #1a4ad8;
  --blue-50: #eef3ff;
  --green: #12a36a;
  --green-ink: #0b7a50;
  --red-ink: #b42318;
  --t-pink: #fff0f2; --c-pink: #e5465b;
  --t-blue: #eef3ff; --c-blue: #2563ff;
  --t-green: #e8f8f0; --c-green: #0f9a62;
  --t-yellow: #fff6e3; --c-yellow: #c98200;
  --t-purple: #f3eeff; --c-purple: #7246f0;
  --t-orange: #fff1ea; --c-orange: #e35d1f;
  --shadow: 0 14px 40px -18px rgb(13 35 62 / .22);
  --shadow-lg: 0 40px 80px -36px rgb(13 35 62 / .4);
  --radius: 12px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --max: 1170px;
  --header-h: 64px;
}

*, *::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: #fff; color: var(--text); font: 400 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.22; letter-spacing: -0.01em; 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.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; 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: 64px; }
.section--soft { background: var(--bg-soft); }
.eyebrow { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.head { max-width: 640px; margin-bottom: 36px; }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { margin-top: 10px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem); font-weight: 500; }
.head p { margin-top: 14px; color: var(--muted); font-size: 1.0313rem; }

/* Pastel tile icon */
.tile { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tile .ic { width: 26px; height: 26px; }
.t-pink { background: var(--t-pink); color: var(--c-pink); }
.t-blue { background: var(--t-blue); color: var(--c-blue); }
.t-green { background: var(--t-green); color: var(--c-green); }
.t-yellow { background: var(--t-yellow); color: var(--c-yellow); }
.t-purple { background: var(--t-purple); color: var(--c-purple); }
.t-orange { background: var(--t-orange); color: var(--c-orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 6px; border: 0; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, transform .2s, box-shadow .2s, color .2s; }
.btn .ic { width: 18px; height: 18px; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgb(37 99 255 / .7); }
.btn--blue:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn--line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.link-video { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; color: var(--blue); font-weight: 500; text-decoration: none; }
.link-video span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.link-video .ic { width: 14px; height: 14px; }
.link-video:hover { text-decoration: underline; }

/* Prototype annotations */
.proto-bar { background: var(--navy-2); color: #b9c4d8; 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: 500; }
.proto-bar .long { display: none; }
.verify { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; line-height: 1.3; color: #8a5300; background: #fff6e5; border: 1px dashed #e0a93b; border-radius: 999px; padding: 3px 10px; }
.on-dark .verify { color: #ffd58a; background: rgb(224 169 59 / .12); border-color: rgb(224 169 59 / .5); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgb(255 255 255 / .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.125rem; white-space: nowrap; min-height: 44px; }
.brand img { width: 32px; height: 32px; }
.header-cta { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -6px; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 10px; }
.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; left: 0; right: 0; top: calc(var(--header-h) + 32px); z-index: 49; background: #fff; box-shadow: 0 20px 40px -20px rgb(13 35 62 / .35); padding: 6px 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; }
.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: 52px; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; }
.site-nav .nav-actions { display: grid; gap: 10px; margin-top: 16px; }
.site-nav .btn--blue, .site-nav .btn--blue:hover { color: #fff; }
@media (min-width: 360px) { .header-cta { display: inline-flex; min-height: 42px; padding: 0 14px; font-size: .875rem; } }
@media (max-width: 389px) { .brand { font-size: 1rem; gap: 8px; } .brand img { width: 30px; height: 30px; } .header-cta { padding: 0 10px; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-soft); padding: 36px 0 0; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9375rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ic { width: 17px; height: 17px; color: var(--green); }
.hero h1 { margin-top: 16px; font-size: clamp(2rem, 1.35rem + 3.2vw, 3.25rem); font-weight: 700; line-height: 1.15; }
.hero-sub { margin-top: 18px; font-size: clamp(1.0313rem, 1rem + .2vw, 1.125rem); color: var(--muted); max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; }
.hero-ctas .btn--blue { flex: 1 1 100%; }
.hero-visual { position: relative; display: grid; place-items: center; padding: 10px 0 0; min-height: 420px; }
.blob { position: absolute; width: min(340px, 86vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffffff, #e9eeff 60%, #dfe6ff); }
.hero-phone { position: relative; width: 210px; filter: drop-shadow(0 34px 40px rgb(13 35 62 / .3)); }
.badge-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 10px 12px; font-size: .8125rem; line-height: 1.3; color: var(--navy); }
.badge-card .tile { width: 36px; height: 36px; border-radius: 10px; }
.badge-card .tile .ic { width: 18px; height: 18px; }
.badge-card small { display: block; color: var(--muted); font-size: .75rem; }
.bc-1 { left: 0; top: 18%; }
.bc-2 { right: 0; bottom: 14%; }
.sector-strip { margin-top: 30px; border-top: 1px solid var(--line); background: #fff; }
.sector-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 18px; justify-content: center; }
.sector-strip p { font-size: .875rem; color: var(--muted); }
.sector-strip ul { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.sector-strip li { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 500; font-size: .9375rem; }
.sector-strip .ic { width: 18px; height: 18px; color: #8a97ad; }

/* Problems: 3x2 grid with pastel tiles */
.p-grid { display: grid; gap: 24px; }
.p-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.p-item h3 { font-size: 1.0625rem; font-weight: 500; }
.p-item p { margin-top: 6px; color: var(--muted); font-size: .9688rem; }
.p-item p b { color: var(--navy); font-weight: 500; }

/* How it works: phone in circle + list */
.split { display: grid; gap: 40px; align-items: center; }
.orb { position: relative; display: grid; place-items: center; padding: 26px 0; }
.orb::before { content: ""; position: absolute; width: min(320px, 82vw); aspect-ratio: 1; border-radius: 50%; background: var(--blue-50); }
.orb img { position: relative; width: 210px; filter: drop-shadow(0 30px 30px rgb(13 35 62 / .22)); }
.split h2 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem); font-weight: 500; }
.split .lead { margin-top: 14px; color: var(--muted); }
.steps { display: grid; gap: 22px; margin-top: 28px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.steps .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.0625rem; font-weight: 500; }
.steps h3 small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.steps p { margin-top: 4px; color: var(--muted); font-size: .9688rem; }

/* App functions: phone with pills on both sides */
.pills { display: grid; gap: 22px; align-items: center; }
.pills-col { display: grid; gap: 12px; }
.pill { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px -16px rgb(13 35 62 / .4); }
.pill .tile { width: 46px; height: 46px; border-radius: 50%; }
.pill .tile .ic { width: 22px; height: 22px; }
.pill h3 { font-size: 1rem; font-weight: 500; }
.pill p { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.pill.is-hl { border-color: #f6c3cb; box-shadow: 0 10px 30px -16px rgb(229 70 91 / .5); }
.pills-phone { display: none; justify-self: center; width: 220px; filter: drop-shadow(0 30px 40px rgb(13 35 62 / .25)); }

/* Dashboard tabs */
.d-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; scroll-snap-type: x proximity; }
.d-tabs::-webkit-scrollbar { display: none; }
.d-tabs [role="tab"] { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 500; cursor: pointer; white-space: nowrap; }
.d-tabs [role="tab"] .ic { width: 18px; height: 18px; color: var(--blue); }
.d-tabs [role="tab"][aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.d-tabs [role="tab"][aria-selected="true"] .ic { color: #fff; }
.d-panel { display: grid; gap: 22px; align-items: center; }
.d-panel h3 { font-size: 1.375rem; font-weight: 500; }
.d-panel p { margin-top: 8px; color: var(--muted); }
.d-shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.d-shot img { width: 100%; cursor: zoom-in; }

/* Features grid */
.f-grid { display: grid; gap: 26px; }
.f-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.f-item .k { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.f-item h3 { margin-top: 2px; font-size: 1.0625rem; font-weight: 500; }
.f-item p { margin-top: 6px; color: var(--muted); font-size: .9688rem; }
.photo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.photo-row img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }

/* Sectors: icon cluster on dotted map + list */
.sec { display: grid; gap: 34px; align-items: center; }
.cluster { position: relative; aspect-ratio: 1.15; max-width: 480px; width: 100%; justify-self: center;
  background-image: radial-gradient(circle, #d6dcea 1.6px, transparent 1.8px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.cluster-wrap { position: relative; }
.bubble { position: absolute; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 16px 34px -18px rgb(13 35 62 / .45); }
.bubble .ic { width: 46%; height: 46%; }
.b1 { width: 22%; aspect-ratio: 1; left: 18%; top: 8%; color: var(--c-green); }
.b2 { width: 20%; aspect-ratio: 1; left: 50%; top: 4%; color: var(--c-orange); }
.b3 { width: 25%; aspect-ratio: 1; left: 64%; top: 30%; color: var(--c-blue); }
.b4 { width: 19%; aspect-ratio: 1; left: 8%; top: 44%; color: var(--c-purple); }
.b5 { width: 23%; aspect-ratio: 1; left: 36%; top: 40%; color: var(--c-yellow); }
.b6 { width: 18%; aspect-ratio: 1; left: 30%; top: 72%; color: var(--c-pink); }
.b7 { width: 16%; aspect-ratio: 1; left: 58%; top: 70%; padding: 6px; }
.b7 img { width: 100%; height: 100%; }
.sec h2 { margin-top: 10px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem); font-weight: 500; }
.sec .lead { margin-top: 14px; color: var(--muted); }
.sec-list { display: grid; gap: 4px; margin-top: 20px; }
.sec-list a { display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center; min-height: 60px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--navy); transition: background-color .2s; }
.sec-list a:hover { background: var(--bg-soft); color: var(--navy); }
.sec-list .tile { width: 40px; height: 40px; border-radius: 10px; }
.sec-list .tile .ic { width: 20px; height: 20px; }
.sec-list strong { display: block; font-weight: 500; }
.sec-list span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.4; }
.sec-list > li > a > .ic { width: 18px; height: 18px; color: var(--blue); }

/* Privacy */
.priv { display: grid; gap: 30px; }
.priv h2 { margin-top: 10px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem); font-weight: 500; }
.priv .lead { margin-top: 14px; color: var(--muted); }
.legal { margin-top: 16px; font-size: .875rem; color: var(--muted); border-left: 3px solid var(--blue-50); padding-left: 12px; }
.yn { display: grid; gap: 14px; }
.yn-card { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.yn-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; font-weight: 500; }
.yn-card h3 .tile { width: 40px; height: 40px; border-radius: 10px; }
.yn-card h3 .tile .ic { width: 20px; height: 20px; }
.yn-card ul { display: grid; gap: 10px; margin-top: 16px; }
.yn-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9688rem; }
.yn-card li .ic { width: 18px; height: 18px; margin-top: 4px; }
.yes li .ic { color: var(--green-ink); }
.no li .ic { color: var(--red-ink); }
.help { margin-top: 56px; display: grid; gap: 24px; align-items: center; }
.help h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); font-weight: 500; }
.help > div > p { margin-top: 10px; color: var(--muted); }
.help-steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); }
.help-steps li { flex: 0 0 58%; max-width: 220px; scroll-snap-align: center; text-align: center; }
.help-steps img { width: 100%; filter: drop-shadow(0 16px 24px rgb(13 35 62 / .2)); }
.help-steps p { margin-top: 8px; font-weight: 500; color: var(--navy); font-size: .9375rem; }
.help-steps b { color: var(--blue); }

/* Pricing */
.price-wrap { display: grid; gap: 18px; max-width: 860px; margin-inline: auto; }
.price-card { position: relative; background: #fff; border-radius: 10px; padding: 28px 24px; border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgb(13 35 62 / .35); }
.price-card h3 { font-size: 1.25rem; font-weight: 500; }
.price-card .sub { margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.price-card ul { display: grid; gap: 12px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.price-card li .ic { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.price-card .tag { position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: 4px; background: #ffae1a; color: #2b1d00; font-size: .75rem; font-weight: 700; }
.price-big { margin-top: 20px; text-align: center; font-size: 1.875rem; font-weight: 700; color: var(--navy); }
.price-big small { font-size: .9375rem; font-weight: 400; color: var(--muted); }
.price-card .btn { margin-top: 18px; }
.price-card .center { text-align: center; margin-top: 10px; }

/* Trust */
.t-grid { display: grid; gap: 16px; }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.t-card .tile { width: 46px; height: 46px; }
.t-card h3 { margin-top: 14px; font-size: 1.0625rem; font-weight: 500; }
.t-card p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.t-stats { display: grid; gap: 12px; margin-top: 24px; }
.t-stat { border-radius: var(--radius); padding: 20px; background: var(--bg-soft); }
.t-stat strong { display: block; font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1.1; }
.t-stat span { display: block; margin-top: 4px; color: var(--muted); }
.t-stat .verify { margin-top: 10px; }
.quote-ph { margin-top: 16px; border-radius: var(--radius); border: 2px dashed #cdd6ea; padding: 22px; background: #fff; color: var(--muted); }
.quote-ph strong { color: var(--navy); font-weight: 500; }

/* FAQ (list with bullets) */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: center; min-height: 62px; padding: 14px 4px; color: var(--navy); font-size: 1.0313rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .25s; }
.faq summary .b .ic { width: 12px; height: 12px; stroke-width: 3; }
.faq details[open] summary .b { transform: rotate(180deg); }
.faq .answer { padding: 0 4px 20px 40px; color: var(--muted); }

/* Final CTA */
.cta { text-align: center; }
.cta-icons { display: flex; align-items: center; justify-content: center; gap: 12px; }
.cta-icons img { width: 56px; height: 56px; }
.cta-icons span { font-size: 1.5rem; color: var(--muted); }
.cta-icons .app { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.cta-icons .app .ic { width: 28px; height: 28px; }
.cta h2 { margin-top: 22px; font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.625rem); font-weight: 500; }
.cta .lead { margin: 14px auto 0; max-width: 34em; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; }
.cta-actions .btn--blue { flex: 1 1 100%; max-width: 360px; }
.demo-grid { display: grid; gap: 28px; margin-top: 48px; text-align: left; }
.next { display: grid; gap: 12px; align-content: start; }
.next li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.next .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 700; }
.next strong { display: block; color: var(--navy); font-weight: 500; }
.next span { color: var(--muted); font-size: .9375rem; }
.form-card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.375rem; font-weight: 500; }
.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: 500; font-size: .875rem; margin-bottom: 6px; color: var(--navy); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 6px; border: 1px solid #d3daea; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(37 99 255 / .14); }
.field [aria-invalid="true"] { border-color: var(--red-ink); }
.field-error { color: var(--red-ink); font-size: .8125rem; font-weight: 500; 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(--blue); }
.form-status { font-size: .875rem; color: var(--red-ink); font-weight: 500; }
.form-error-box { border: 1px solid #f3c2bd; background: #fff4f2; color: var(--red-ink); border-radius: 8px; padding: 12px 14px; font-size: .9063rem; }
.form-error-box a { color: inherit; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
form.is-sent { display: none; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .ic { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--green); }
.form-success h3 { font-size: 1.375rem; }
.form-success p { margin-top: 8px; color: var(--muted); }

/* Footer */
.footer { background: var(--navy-2); color: #a9b6cc; padding: 56px 0 120px; font-size: .9375rem; }
.footer-top { display: grid; gap: 28px; text-align: center; padding-bottom: 36px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.footer-top .ic { width: 32px; height: 32px; margin: 0 auto 12px; color: #fff; }
.footer-top h2 { color: #fff; font-size: 1.0625rem; font-weight: 500; }
.footer-top p { margin-top: 6px; }
.footer-top a { color: #fff; }
.footer-mid { display: grid; justify-items: center; gap: 16px; padding-top: 32px; text-align: center; }
.footer .brand { color: #fff; margin: 0; }
.footer nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px; }
.footer nav a { color: #fff; text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.footer nav a:hover { text-decoration: underline; }
.footer-legal { margin-top: 18px; display: grid; gap: 6px; font-size: .8125rem; text-align: center; }
.footer-legal a { color: #d5dbee; }

/* 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(255 255 255 / .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgb(13 35 62 / .4); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn--blue { 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: 10px; background: #fff; }
.zoom-dialog::backdrop { background: rgb(13 35 62 / .8); }
.zoom-dialog img { width: 100%; max-height: 80vh; object-fit: contain; }
.zoom-caption { padding: 10px 14px; font-size: .875rem; color: var(--muted); }
.zoom-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 1.5rem; cursor: pointer; }

.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.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 .btn--blue { flex: 0 0 auto; }
  .cta-actions .btn--blue { flex: 0 0 auto; }
  .p-grid, .f-grid, .t-grid, .t-stats { grid-template-columns: 1fr 1fr; }
  .help-steps { overflow: visible; margin: 0; padding: 4px 0 0; }
  .help-steps li { flex: 1 1 0; }
  .hero-phone { width: 230px; }
  .bc-1 { left: 6%; } .bc-2 { right: 6%; }
}

/* ≥ 768 */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .proto-bar .long { display: inline; }
  .section { padding-block: 96px; }
  .head { margin-bottom: 52px; }
  .yn { grid-template-columns: 1fr 1fr; }
  .price-wrap { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .pills { grid-template-columns: 1fr 220px 1fr; gap: 26px; }
  .pills-phone { display: block; }
  .pills-col:first-child .pill { grid-template-columns: 1fr 46px; text-align: right; }
  .pills-col:first-child .pill .tile { order: 2; }
  .demo-grid { grid-template-columns: .8fr 1.2fr; gap: 40px; }
}

/* ≥ 1024 */
@media (min-width: 1024px) {
  .nav-toggle, .header-cta { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 20px; flex: 1; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; background: transparent; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 6px; margin-inline: auto; }
  .site-nav ul a { border: 0; min-height: 44px; padding: 0 12px; font-size: .9688rem; border-radius: 6px; color: var(--navy); }
  .site-nav ul a:hover { color: var(--blue); }
  .site-nav .nav-actions { display: flex; margin: 0; gap: 8px; }
  .brand { margin-right: 0; }
  .hero { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-visual { min-height: 560px; }
  .hero-phone { width: 270px; }
  .blob { width: 460px; }
  .bc-1 { left: 0; top: 24%; } .bc-2 { right: 0; bottom: 18%; }
  .p-grid, .f-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .d-tabs { justify-content: center; overflow: visible; margin: 0; padding: 0 0 22px; }
  .d-panel { grid-template-columns: .7fr 1.3fr; gap: 44px; }
  .sec { grid-template-columns: 1fr 1fr; gap: 64px; }
  .priv { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .help { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .t-stats { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== Rework ===== */
.hero-phone { position: relative; }
.hero-phone .tpm-phone { --pw: 200px; filter: drop-shadow(0 34px 40px rgb(13 35 62 / .3)); }
.badge-card { display: none; }
.orb .tpm-phone { position: relative; filter: drop-shadow(0 30px 30px rgb(13 35 62 / .22)); }
.pills-phone { display: none; justify-self: center; filter: drop-shadow(0 30px 40px rgb(13 35 62 / .25)); }
.p-grid--4 { display: grid; gap: 24px; }
.p-item p b { color: var(--navy); font-weight: 500; }
.help-steps .tpm-phone { filter: drop-shadow(0 16px 24px rgb(13 35 62 / .2)); }
.socials-e { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.socials-e a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; }
.socials-e .ic { width: 20px; height: 20px; margin: 0; }
.f-item .photo-row { margin-top: 10px; }
@media (min-width: 390px) { .hero-phone .tpm-phone { --pw: 214px; } }
@media (min-width: 560px) {
  .hero-phone .tpm-phone { --pw: 236px; }
  .badge-card { display: flex; }
  .bc-1 { left: 0; top: 16%; } .bc-2 { right: 0; bottom: 16%; }
  .p-grid--4 { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}
@media (min-width: 768px) { .pills-phone { display: block; } }
@media (min-width: 1024px) {
  .hero-phone .tpm-phone { --pw: 266px; }
  .bc-1 { left: -10px; top: 22%; } .bc-2 { right: -10px; bottom: 20%; }
  .t-grid--4 { grid-template-columns: repeat(4, 1fr) !important; }
}
