/* =========================================================
   TPM System — Concept D · App Modern
   Inspired by the "App Modern" landing layout (gradient hero with curved edge,
   gradient icon circles, dark showcase). Original code; TPM content and screenshots.
   Mobile-first: base = 320–767px.
   ========================================================= */
:root {
  --navy: #0f1b3d;
  --navy-2: #17244d;
  --ink: #0f2137;
  --text: #33405a;
  --muted: #5d677c;
  --line: #e8eaf2;
  --soft: #f7f7fc;
  --pink: #d6336c;
  --pink-ink: #b8235a;
  --violet: #6d2fa1;
  --green: #18b47d;
  --green-ink: #0a7550;
  --red-ink: #b42318;
  --grad-hero: linear-gradient(135deg, #c93a73 0%, #9b3290 48%, #5a2b93 100%);
  --grad-icon: linear-gradient(135deg, #ea4c89 0%, #f2795a 100%);
  --grad-band: linear-gradient(110deg, #d6336c 0%, #e8566e 100%);
  --shadow: 0 10px 30px -12px rgb(15 33 55 / .18);
  --shadow-lg: 0 40px 80px -30px rgb(40 10 60 / .45);
  --radius: 14px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, 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(--pink-ink); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; 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(--pink); 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; 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(--soft); }
.eyebrow { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); }
.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.375rem); font-weight: 700; }
.head p { margin-top: 14px; color: var(--muted); font-size: 1.0313rem; }

/* 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: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn .ic { width: 18px; height: 18px; }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgb(0 0 0 / .35); }
.btn--white:hover { transform: translateY(-2px); color: var(--ink); }
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 12px 24px -12px rgb(214 51 108 / .8); }
.btn--pink:hover { background: var(--pink-ink); color: #fff; transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--pink); color: var(--pink-ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.link-play { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; color: #fff; font-weight: 500; text-decoration: none; }
.link-play span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pink); }
.link-play .ic { width: 16px; height: 16px; }
.link-play:hover { color: #fff; text-decoration: underline; }

/* Prototype annotations */
.proto-bar { background: #0b1022; color: #b8bdd0; 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: .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 (transparent over the gradient hero) */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: #fff; transition: background-color .25s, box-shadow .25s, color .25s; background: #b8366f; }
.site-header.is-scrolled { background: rgb(255 255 255 / .96); color: var(--ink); box-shadow: 0 6px 24px -14px rgb(15 33 55 / .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.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: inherit; text-decoration: none; font-weight: 700; font-size: 1.1875rem; white-space: nowrap; 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; color: inherit; 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; color: var(--ink); box-shadow: 0 20px 40px -20px rgb(15 33 55 / .4); 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; }
.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 a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav .nav-actions { display: grid; gap: 10px; margin-top: 16px; }
.site-nav .btn--pink, .site-nav .btn--pink: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: 1.0625rem; gap: 8px; } .brand img { width: 30px; height: 30px; } .header-cta { padding: 0 10px; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--grad-hero); border-bottom-right-radius: clamp(90px, 28vw, 380px); padding: 28px 0 0; }
.hero::before { /* soft light + floating rings */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 40% at 85% 25%, rgb(255 255 255 / .16), transparent 70%), radial-gradient(30% 30% at 10% 90%, rgb(255 255 255 / .1), transparent 70%);
}
.hero-grid { display: grid; gap: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .875rem; color: rgb(255 255 255 / .9); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ic { width: 16px; height: 16px; color: #8ef0c6; }
.hero h1 { margin-top: 18px; color: #fff; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.hero-sub { margin-top: 18px; color: rgb(255 255 255 / .88); font-size: clamp(1.0313rem, 1rem + .25vw, 1.125rem); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; }
.hero-ctas .btn--white { flex: 1 1 100%; }
.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero-phone { position: relative; z-index: 2; width: 200px; transform: rotate(-9deg); filter: drop-shadow(0 40px 40px rgb(30 0 50 / .5)); }
.hero-card { position: absolute; z-index: 3; left: 0; bottom: 28px; width: 70%; max-width: 330px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.hero-card img { width: 100%; cursor: zoom-in; }
.hero-card p { padding: 8px 12px; font-size: .75rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.hero-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(24 180 125 / .2); }
.hero-sectors { margin-top: 34px; padding: 22px 0 54px; border-top: 1px solid rgb(255 255 255 / .16); }
.hero-sectors p { font-size: .875rem; color: rgb(255 255 255 / .85); margin-bottom: 12px; }
.hero-sectors ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-sectors li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #fff; font-size: .9375rem; }
.hero-sectors .ic { width: 18px; height: 18px; opacity: .85; }

/* Gradient icon circle */
.gicon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-icon); box-shadow: 0 14px 24px -12px rgb(234 76 137 / .75); flex: none; }
.gicon .ic { width: 24px; height: 24px; }
.gicon--violet { background: linear-gradient(135deg, #8b5cf6, #d946ef); box-shadow: 0 14px 24px -12px rgb(139 92 246 / .7); }
.gicon--green { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 14px 24px -12px rgb(16 185 129 / .7); }
.gicon--blue { background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 14px 24px -12px rgb(59 130 246 / .7); }

/* Problems */
.problems { display: grid; gap: 28px; }
.problem { display: grid; justify-items: center; text-align: center; gap: 14px; }
.problem h3 { font-size: 1.125rem; font-weight: 500; }
.problem p { color: var(--muted); font-size: .9688rem; max-width: 30ch; }
.bridge { margin-top: 44px; text-align: center; }
.bridge p { font-size: 1.125rem; color: var(--ink); font-weight: 500; max-width: 46ch; margin-inline: auto; }
.bridge .btn { margin-top: 18px; }

/* How it works (phone in circle + list) */
.split { display: grid; gap: 40px; align-items: center; }
.orb { position: relative; display: grid; place-items: center; padding: 30px 0; }
.orb::before { content: ""; position: absolute; width: min(320px, 82vw); aspect-ratio: 1; border-radius: 50%; background: #f0f2fb; }
.orb img { position: relative; width: 210px; filter: drop-shadow(0 30px 30px rgb(15 33 55 / .25)); }
.orb .bar { position: absolute; left: 8%; top: 40%; width: 4px; height: 60px; border-radius: 4px; background: linear-gradient(var(--pink) 50%, #e2e5ef 50%); }
.split h2 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.375rem); font-weight: 700; }
.split > div > p.lead { margin-top: 14px; color: var(--muted); }
.list-steps { display: grid; gap: 22px; margin-top: 28px; }
.list-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.list-steps h3 { font-size: 1.0625rem; font-weight: 500; }
.list-steps h3 small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-ink); font-weight: 700; margin-bottom: 2px; }
.list-steps p { margin-top: 4px; color: var(--muted); font-size: .9688rem; }

/* Dashboard (text + bleeding screenshot) */
.dash { display: grid; gap: 34px; align-items: center; }
.dash h2 { margin-top: 10px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.375rem); font-weight: 700; }
.dash .lead { margin-top: 14px; color: var(--muted); }
.dash-list { display: grid; gap: 10px; margin-top: 18px; }
.dash-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); }
.dash-list .ic { width: 20px; height: 20px; color: var(--green-ink); margin-top: 3px; }
.dash .btn { margin-top: 24px; }
.dash-visual { position: relative; padding-bottom: 40px; }
.dash-frame { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.dash-frame img { width: 100%; cursor: zoom-in; }
.dash-float { position: absolute; left: -6px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; color: #fff; background: var(--grad-icon); box-shadow: var(--shadow); font-size: .8125rem; line-height: 1.3; max-width: 240px; }
.dash-float strong { display: block; font-size: 1.375rem; font-weight: 800; }
.dash-float .ic { width: 26px; height: 26px; }

/* Showcase (dark) */
.showcase { background: var(--navy); color: #c9cfe3; padding: 64px 0 0; overflow: hidden; }
.showcase .eyebrow { color: #ff8fb4; }
.showcase h2 { color: #fff; }
.showcase .head p { color: #aab2cc; }
.tabs-d { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 8px; background: rgb(255 255 255 / .08); margin: 0 auto 30px; }
.tabs-wrap { text-align: center; }
.tabs-d [role="tab"] { min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: transparent; color: #c9cfe3; font-weight: 500; cursor: pointer; white-space: nowrap; }
.tabs-d [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); }
.screens { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: #3b4a7a transparent; }
.screens li { flex: 0 0 78%; max-width: 520px; scroll-snap-align: center; }
.screens figure { margin: 0; }
.screens .shot { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgb(255 255 255 / .1); }
.screens img { width: 100%; cursor: zoom-in; }
.screens figcaption { margin-top: 10px; font-size: .875rem; color: #aab2cc; }
.screens figcaption b { color: #fff; font-weight: 500; }
.phones { display: flex; gap: 14px; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); }
.phones li { flex: 0 0 46%; max-width: 220px; scroll-snap-align: center; text-align: center; }
.phones img { width: 100%; }
.phones p { margin-top: 8px; font-size: .875rem; color: #fff; font-weight: 500; }
.phones span { display: block; color: #aab2cc; font-weight: 400; font-size: .8125rem; }

/* Features grid */
.features { display: grid; gap: 30px; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.feature h3 { font-size: 1.0625rem; font-weight: 500; }
.feature .k { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.feature p { margin-top: 6px; color: var(--muted); font-size: .9688rem; }
.photo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.photo-row img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }

/* Sectors (cards) */
.sectors { display: grid; gap: 16px; }
.sector { position: relative; display: block; padding: 26px 22px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: 0 1px 0 rgb(15 33 55 / .03); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.sector::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-icon); }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.sector .gicon { width: 50px; height: 50px; }
.sector h3 { margin-top: 16px; font-size: 1.125rem; font-weight: 700; }
.sector p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.sector .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--pink-ink); font-weight: 500; font-size: .9375rem; }
.sector .more .ic { width: 16px; height: 16px; }

/* Privacy (event-log card) */
.privacy { display: grid; gap: 34px; align-items: center; }
.privacy h2 { margin-top: 10px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.375rem); font-weight: 700; }
.privacy .lead { margin-top: 14px; color: var(--muted); }
.privacy-points { display: grid; gap: 10px; margin-top: 20px; }
.privacy-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.privacy-points .ic { width: 20px; height: 20px; color: var(--green-ink); margin-top: 3px; }
.legal { margin-top: 18px; font-size: .875rem; color: var(--muted); border-left: 3px solid #f3c4d4; padding-left: 12px; }
.log { border-radius: 12px; background: #1b2140; color: #d7dcf0; box-shadow: var(--shadow-lg); overflow: hidden; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .8125rem; }
.log-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #151a33; color: #8f98b8; font-size: .75rem; }
.log-top i { width: 9px; height: 9px; border-radius: 50%; background: #39406a; }
.log-top span { margin-left: 8px; }
.log ol { padding: 14px 0; counter-reset: ln; }
.log li { display: grid; grid-template-columns: 30px 22px 1fr; gap: 8px; align-items: center; padding: 5px 14px 5px 0; counter-increment: ln; }
.log li::before { content: counter(ln); text-align: right; color: #4c5582; }
.log .ic { width: 16px; height: 16px; }
.log .ok .ic { color: #5ee0a8; }
.log .no .ic { color: #ff8a8a; }
.log b { color: #fff; font-weight: 500; }
.log em { font-style: normal; color: #ffb3c9; }
.log .no em { color: #9aa3c4; }
.help { margin-top: 56px; display: grid; gap: 24px; align-items: center; }
.help h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 700; }
.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(15 33 55 / .2)); }
.help-steps p { margin-top: 8px; font-weight: 500; color: var(--ink); font-size: .9375rem; }
.help-steps b { color: var(--pink-ink); }

/* Pricing */
.price-wrap { display: grid; gap: 18px; max-width: 860px; margin-inline: auto; }
.price-card { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 20px 50px -26px rgb(15 33 55 / .35); border: 1px solid var(--line); }
.price-card h3 { font-size: 1.25rem; font-weight: 700; }
.price-card .sub { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.price-card ul { display: grid; gap: 12px; margin-top: 20px; }
.price-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.price-card li .ic { width: 20px; height: 20px; color: var(--pink); margin-top: 3px; }
.price-card .tag { position: absolute; top: -12px; left: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 4px; background: #f4a51c; color: #2b1d00; font-size: .75rem; font-weight: 700; }
.price-big { font-size: 2.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price-big small { font-size: .9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-card .btn { margin-top: 22px; }

/* Trust */
.trust { display: grid; gap: 34px; align-items: center; }
.trust h2 { margin-top: 10px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.375rem); font-weight: 700; }
.trust .lead { margin-top: 14px; color: var(--muted); }
.trust-list { display: grid; gap: 14px; margin-top: 22px; }
.trust-list li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; }
.trust-list .gicon { width: 50px; height: 50px; }
.trust-list strong { display: block; color: var(--ink); font-weight: 500; }
.trust-list span { color: var(--muted); font-size: .9375rem; }
.stats { display: grid; gap: 12px; }
.stat { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 20px; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; background: var(--grad-icon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 4px; color: var(--muted); }
.stat .verify { margin-top: 10px; }
.quote-ph { border-radius: var(--radius); border: 2px dashed #e7c3d2; padding: 22px; background: #fff9fb; color: var(--muted); }
.quote-ph strong { color: var(--ink); font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.faq details[open] { box-shadow: var(--shadow); border-color: #f3c4d4; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; font-weight: 500; color: var(--ink); font-size: 1.0313rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fdeaf1; color: var(--pink-ink); transform: rotate(45deg); transition: transform .25s; }
.faq summary .pm .ic { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(0deg); }
.faq .answer { padding: 0 18px 18px; color: var(--muted); }

/* Demo band + form */
.demo { position: relative; background: var(--grad-band); color: #fff; overflow: hidden; isolation: isolate; }
.demo::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgb(255 255 255 / .08); }
.demo-grid { display: grid; gap: 32px; }
.demo h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.625rem); font-weight: 800; }
.demo-lead { margin-top: 14px; color: rgb(255 255 255 / .9); font-size: 1.0625rem; }
.demo-steps { display: grid; gap: 12px; margin-top: 22px; counter-reset: s; }
.demo-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: #fff; }
.demo-steps li::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .2); font-weight: 700; }
.demo-contacts { display: grid; gap: 4px; margin-top: 22px; }
.demo-contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-weight: 500; text-decoration: none; }
.demo-contacts .ic { width: 20px; height: 20px; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 60px -20px rgb(60 0 30 / .45); }
.form-card h3 { font-size: 1.375rem; font-weight: 700; }
.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(--ink); }
.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 #d5d9e6; 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(--pink); box-shadow: 0 0 0 4px rgb(214 51 108 / .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(--pink); }
.form-status { font-size: .875rem; color: var(--red-ink); font-weight: 500; }
.form-note { font-size: .8125rem; color: var(--muted); text-align: center; }
.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); color: #aab2cc; 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: 34px; height: 34px; 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(15 33 55 / .4); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn--pink { 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: 12px; background: #fff; }
.zoom-dialog::backdrop { background: rgb(15 27 61 / .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(--pink); 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; } .hero-phone { width: 215px; } }

/* ≥ 560 */
@media (min-width: 560px) {
  .hero-ctas .btn--white { flex: 0 0 auto; }
  .problems { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .sectors, .stats { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .help-steps { overflow: visible; margin: 0; padding: 4px 0 0; }
  .help-steps li { flex: 1 1 0; }
  .phones { justify-content: center; }
  .phones li { flex: 0 0 23%; }
  .hero-visual { min-height: 440px; }
  .hero-phone { width: 240px; }
}

/* ≥ 768 */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .proto-bar .long { display: inline; }
  .section { padding-block: 96px; }
  .showcase { padding-top: 96px; }
  .head { margin-bottom: 48px; }
  .price-wrap { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .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); }
  .screens li { flex-basis: 60%; }
}

/* ≥ 1024 */
@media (min-width: 1024px) {
  .nav-toggle, .header-cta { display: none; }
  .site-header { background: transparent; position: absolute; left: 0; right: 0; top: 32px; }
  .site-header.is-scrolled { position: fixed; top: 0; }
  .site-header:not(.is-scrolled) { border-bottom: 1px solid rgb(255 255 255 / .14); }
  .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; color: inherit; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 4px; margin-inline: auto; }
  .site-nav ul a { border: 0; min-height: 44px; padding: 0 12px; color: inherit; font-weight: 500; font-size: .9688rem; border-radius: 6px; }
  .site-nav ul a:hover { background: rgb(255 255 255 / .12); }
  .is-scrolled .site-nav ul a:hover { background: var(--soft); }
  .site-nav .nav-actions { display: flex; margin: 0; gap: 8px; }
  .site-nav .nav-actions .btn--line { color: inherit; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
  .is-scrolled .site-nav .nav-actions .btn--line { box-shadow: inset 0 0 0 1.5px var(--line); }
  .brand { margin-right: 0; }
  .hero { padding-top: calc(72px + 70px); }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .hero-visual { min-height: 560px; }
  .hero-phone { width: 290px; }
  .hero-card { left: -40px; bottom: 60px; width: 60%; }
  .hero-sectors { padding-bottom: 70px; }
  .problems { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .dash { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .dash-visual { margin-right: calc((100vw - var(--max)) / -2 - 40px); }
  .features { grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
  .sectors { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .screens { justify-content: center; overflow: visible; margin: 0; padding: 0 0 40px; }
  .screens li { flex: 1 1 0; }
  .privacy { grid-template-columns: 1fr 1fr; gap: 64px; }
  .help { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .trust { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .demo-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; 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 ===== */
/* Header floats over the gradient hero at every width; turns white once the page scrolls */
.site-header { background: transparent; }
.site-header:not(.is-scrolled) { border-bottom: 1px solid rgb(255 255 255 / .14); }
.site-nav { top: var(--header-h) !important; max-height: calc(100dvh - var(--header-h)) !important; }
.hero { margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 28px); }
.hero-phone { width: auto !important; }
.hero-phone .tpm-phone { --pw: 196px; }
.problems--4 { display: grid; gap: 28px; }
.problem p b { display: block; margin-top: 6px; color: var(--ink); font-weight: 500; }
.orb .tpm-phone { position: relative; filter: drop-shadow(0 30px 30px rgb(15 33 55 / .25)); }
.dash-list b { color: var(--ink); font-weight: 500; }
.sd-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.sd-chips::-webkit-scrollbar { display: none; }
.sd-chips [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .2); background: transparent; color: #c9cfe3; font-weight: 500; cursor: pointer; white-space: nowrap; }
.sd-chips [role="tab"] .ic { width: 18px; height: 18px; }
.sd-chips [role="tab"][aria-selected="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.sd-panel { margin: 0 0 56px; }
.sd-panel .shot { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
.sd-panel img { width: 100%; cursor: zoom-in; }
.sd-panel figcaption { margin-top: 14px; color: #aab2cc; max-width: 70ch; }
.phones .tpm-phone { --pw: 150px; margin-inline: auto; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .45)); }
.phones { padding-bottom: 56px !important; }
.help-steps .tpm-phone { filter: drop-shadow(0 16px 24px rgb(15 33 55 / .2)); }
.trust-cards { display: grid; gap: 16px; }
.trust-cards li { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgb(15 33 55 / .03); }
.trust-cards h3 { margin-top: 16px; font-size: 1.0625rem; font-weight: 700; }
.trust-cards p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.socials-d { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.socials-d a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; }
.socials-d .ic { width: 20px; height: 20px; margin: 0; }
.price-card .tag .ic { width: 14px; height: 14px; }
.demo-steps li span { padding-top: 4px; }
@media (min-width: 390px) { .hero-phone .tpm-phone { --pw: 210px; } }
@media (min-width: 560px) {
  .hero-phone .tpm-phone { --pw: 236px; }
  .problems--4, .trust-cards { grid-template-columns: 1fr 1fr; }
  .phones li { flex: 0 0 30% !important; }
}
@media (min-width: 1024px) {
  .site-header { position: sticky !important; top: 0 !important; }
  .hero { padding-top: calc(var(--header-h) + 64px); }
  .hero-phone .tpm-phone { --pw: 280px; }
  .problems--4, .trust-cards { grid-template-columns: repeat(4, 1fr); }
  .sd-chips { justify-content: center; overflow: visible; margin: 0; padding: 0 0 22px; }
  .phones .tpm-phone { --pw: 210px; }
  .phones li { flex: 0 0 auto !important; max-width: none !important; }
}
