:root {
  --bg: #0b0e1d;
  --card: #141831;
  --card-2: #1a1f3f;
  --text: #f1f3ff;
  --muted: #b3bbe0;
  --primary: #6c8cff;
  --primary-2: #a06bff;
  --accent: #36e2b4;
  --border: #2a3160;
  --danger: #ff8fa6;
  --border-ui: #6a75b8;
  --btn-1: #4a63d9;
  --btn-2: #7a45e6;
  --radius: 1.1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(60rem 30rem at 85% -5%, rgba(108, 140, 255, 0.22), transparent 60%),
    radial-gradient(50rem 30rem at -10% 25%, rgba(160, 107, 255, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: #04281f; padding: 0.6rem 1rem; border-radius: 0.6rem; font-weight: 700; }
.skip:focus { top: 1rem; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin-top: 0.7rem; max-width: 60ch; font-size: 1.05rem; }

/* progress + header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 30; }
#progress-bar { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent)); }
.header { position: sticky; top: 0; z-index: 20; background: rgba(11, 14, 29, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: box-shadow 0.2s, background 0.2s; }
.header.scrolled { background: rgba(11, 14, 29, 0.92); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 800; letter-spacing: 0.02em; text-decoration: none; }
.logo-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 0 12px var(--primary); }
.nav-links { display: flex; gap: 0.3rem; }
.nav-links a { position: relative; color: var(--muted); text-decoration: none; font-weight: 500; padding: 0.4rem 0.8rem; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: #fff; background: rgba(108, 140, 255, 0.18); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.switch { display: inline-flex; border: 1px solid var(--border-ui); border-radius: 999px; overflow: hidden; }
.sw-btn { background: transparent; color: var(--muted); border: 0; padding: 0.32rem 0.65rem; cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 600; }
.sw-btn.active { color: #fff; background: rgba(108, 140, 255, 0.3); }
.sw-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; font: inherit; font-weight: 700; border-radius: 0.85rem; padding: 0.75rem 1.2rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--btn-1), var(--btn-2)); box-shadow: 0 8px 24px rgba(108, 140, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(160, 107, 255, 0.5); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn.loading span::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 0.6em; vertical-align: -0.15em; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: 4.5rem 0 3rem; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); margin: 1rem 0 1.3rem; letter-spacing: -0.03em; }
.h1-line { display: block; }
.rotator { min-height: 1.15em; overflow: hidden; padding-bottom: 0.1em; }
#rot-word { display: inline-block; transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.45s; }
#rot-word.out { transform: translateY(-60%); opacity: 0; }
#rot-word.pre { transform: translateY(60%); opacity: 0; transition: none; }
.grad { background: linear-gradient(90deg, var(--primary), var(--primary-2) 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; padding: 0; margin: 1.8rem 0 0; color: var(--muted); font-size: 0.93rem; }
.trust li::before, .checks li::before { content: "✓"; content: "✓" / ""; color: var(--accent); font-weight: 800; margin-right: 0.45rem; }

.hero-visual { position: relative; min-height: 22rem; display: grid; place-items: center; }
.mock { width: min(100%, 26rem); border-radius: 1rem; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(60, 80, 200, 0.35), 0 0 0 1px rgba(108, 140, 255, 0.2); transform: rotate(-2deg); animation: bob 7s ease-in-out infinite; overflow: hidden; }
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-10px); } }
.mock-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.7rem 0.9rem; background: rgba(255, 255, 255, 0.04); }
.mock-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #ff6b8a; }
.mock-bar i:nth-child(2) { background: #ffd166; }
.mock-bar i:nth-child(3) { background: var(--accent); }
.mock-url { margin-left: 0.6rem; font-size: 0.72rem; color: var(--muted); background: rgba(255, 255, 255, 0.06); padding: 0.15rem 0.7rem; border-radius: 999px; }
.mock-body { padding: 1.1rem; display: grid; gap: 1rem; }
.mock-nav { display: flex; gap: 0.6rem; align-items: center; }
.mock-nav b { width: 3rem; height: 0.8rem; border-radius: 0.4rem; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.mock-nav u { width: 2rem; height: 0.5rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.14); margin-left: auto; }
.mock-nav u + u { margin-left: 0; }
.mock-hero { display: grid; gap: 0.5rem; padding: 1.2rem 0.4rem; }
.mock-hero b { height: 0.9rem; border-radius: 0.45rem; background: rgba(255, 255, 255, 0.85); width: 80%; }
.mock-hero b + b { width: 55%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.mock-hero span { margin-top: 0.7rem; width: 6rem; height: 1.8rem; border-radius: 0.6rem; background: linear-gradient(135deg, var(--primary), var(--primary-2)); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(108, 140, 255, 0.18); } }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mock-cards i { height: 3.6rem; border-radius: 0.7rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.float { position: absolute; padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: rgba(20, 24, 49, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.float::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.f1 { top: -2%; left: 2%; animation-delay: 0s; }
.f2 { top: 22%; right: -2%; animation-delay: -1.5s; }
.f3 { bottom: 24%; left: -3%; animation-delay: -3s; }
.f4 { bottom: 8%; right: 4%; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
.price-chip { position: absolute; bottom: -0.2rem; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(135deg, var(--accent), #5ef0c8); color: #04281f; padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.9rem; box-shadow: 0 10px 30px rgba(54, 226, 180, 0.35); }

/* grids + tiles */
.grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.tile, .card, .choice-body { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); }
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.25s; background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 50%), rgba(108, 140, 255, 0.16), transparent 60%); }
.spot:hover::before { opacity: 1; }
.tile { padding: 1.5rem; transition: transform 0.2s, border-color 0.2s; }
.tile:hover { transform: translateY(-4px); border-color: var(--primary); }
.icon { width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 0.8rem; margin-bottom: 0.9rem; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: rgba(54, 226, 180, 0.1); }
.tile h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.tile p { color: var(--muted); font-size: 0.95rem; }
.included { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border: 1px dashed var(--border); border-radius: var(--radius); }
.included-title { font-weight: 700; margin-bottom: 0.7rem; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li { padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.9rem; color: var(--text); background: rgba(54, 226, 180, 0.1); border: 1px solid rgba(54, 226, 180, 0.25); }
.chip-list li::before { content: "✓ "; content: "✓ " / ""; color: var(--accent); font-weight: 800; }

/* steps */
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.steps li { position: relative; padding-top: 1.3rem; }
.steps li::before { content: ""; position: absolute; top: 1.95rem; left: 2.6rem; right: -1.4rem; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); }
.steps li:last-child::before { display: none; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: linear-gradient(135deg, var(--btn-1), var(--btn-2)); color: #fff; font-weight: 800; margin-bottom: 0.8rem; box-shadow: 0 6px 18px rgba(108, 140, 255, 0.4); }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* configurator */
.subhead { display: flex; align-items: center; gap: 0.7rem; font-size: 1.15rem; margin: 2.4rem 0 -0.5rem; }
.step-badge { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: #04281f; font-weight: 800; font-size: 0.9rem; }
.choice { position: relative; display: block; cursor: pointer; font-weight: 400; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; }
.choice-body { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.7rem 1.5rem 1.5rem; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.choice:hover .choice-body { transform: translateY(-3px); border-color: rgba(108, 140, 255, 0.6); }
.choice input:checked + .choice-body { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), 0 18px 50px rgba(108, 140, 255, 0.3); background: linear-gradient(180deg, #232a5c, var(--card)); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice-mark { position: absolute; top: 1.1rem; right: 1.1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--border-ui); display: grid; place-items: center; transition: all 0.2s; }
.choice input:checked + .choice-body .choice-mark { background: var(--primary); border-color: var(--primary); }
.choice input:checked + .choice-body .choice-mark::after { content: "✓"; content: "✓" / ""; color: #fff; font-size: 0.85rem; font-weight: 800; }
.choice strong { font-size: 1.2rem; padding-right: 2rem; }
.choice-for { color: var(--muted); font-size: 0.95rem; }
.badge { position: absolute; top: -0.75rem; left: 1.4rem; background: linear-gradient(135deg, var(--accent), #5ef0c8); color: #04281f; font-weight: 800; font-size: 0.75rem; padding: 0.28rem 0.8rem; border-radius: 999px; z-index: 3; }
.price { margin-top: 0.9rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; }
.price .amount { font-weight: 800; letter-spacing: -0.02em; }
.amount-md { font-size: 1.65rem; }
.price .from, .price .per { color: var(--muted); font-size: 0.9rem; }
.from:empty { display: none; }
.price-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.7rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.93rem; }
.checks li { color: var(--text); }

.summary { position: sticky; bottom: 1rem; z-index: 6; margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1rem 1.4rem; border-radius: var(--radius); background: rgba(16, 20, 44, 0.94); backdrop-filter: blur(14px); border: 1px solid var(--primary); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 140, 255, 0.25); }
.sum-block { display: grid; gap: 0.1rem; }
.sum-title { flex: 1 1 14rem; }
.sum-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
.sum-block strong { font-size: 1.02rem; }
.sum-total { display: none; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.summary.bump { animation: bump 0.35s; }
@keyframes bump { 40% { transform: scale(1.015); } }
.fineprint { margin-top: 1.2rem; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* faq */
.faq { margin-top: 1.8rem; display: grid; gap: 0.7rem; max-width: 52rem; }
details { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 0.9rem; background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s; }
details[open] { border-color: var(--primary); background: rgba(108, 140, 255, 0.07); }
summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform 0.2s; }
details[open] > summary::after { transform: rotate(45deg); }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 0.9rem; }
details > p { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* offer form */
.card { padding: 2.2rem; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2.8rem; border-color: rgba(108, 140, 255, 0.45); box-shadow: 0 30px 80px rgba(60, 80, 200, 0.18); }
.offer-intro { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.offer-intro p { color: var(--muted); }
.selection { width: 100%; display: grid; gap: 0.2rem; padding: 1rem 1.2rem; border-radius: 0.9rem; background: rgba(108, 140, 255, 0.1); border: 1px solid rgba(108, 140, 255, 0.4); }
.sel-price { color: var(--muted); font-size: 0.9rem; }
.sel-change { justify-self: start; margin-top: 0.3rem; color: var(--accent); font-size: 0.88rem; font-weight: 600; }
.form { display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.4rem; }
label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.92rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.55rem; padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; background: #0e1226; color: var(--text); font: inherit; font-weight: 400; border: 1px solid var(--border-ui); border-radius: 0.75rem; padding: 0.8rem 0.9rem; transition: border-color 0.15s, box-shadow 0.15s; }
textarea::placeholder { color: #8791bb; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid transparent; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.3); }
.invalid { border-color: var(--danger) !important; }
.err { display: none; color: var(--danger); font-weight: 500; }
label:has(.invalid) .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: block; position: relative; font-weight: 500; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 0.55rem 1rem; border: 1px solid var(--border-ui); border-radius: 999px; background: rgba(255, 255, 255, 0.03); transition: all 0.15s; }
.chip:hover span { border-color: var(--primary); }
.chip input:checked + span { background: rgba(108, 140, 255, 0.28); border-color: var(--primary); color: #fff; }
.chip input:checked + span::before { content: "✓ "; content: "✓ " / ""; color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.more { background: none; border: 0; }
.more summary { padding: 0; font-size: 0.92rem; color: var(--accent); justify-content: flex-start; gap: 0.5rem; }
.more[open] { background: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4rem; text-align: center; font-size: 0.95rem; }
.form-status.err-msg { color: var(--danger); }

.success { text-align: center; padding: 1.5rem 0.5rem; display: grid; gap: 1rem; justify-items: center; outline: 0; animation: pop 0.5s; }
.success[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }
.check { width: 5rem; height: 5rem; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 0.7s ease forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 1.6rem; }
.success p { color: var(--muted); max-width: 40ch; }
.next { text-align: left; color: var(--text); display: grid; gap: 0.5rem; padding-left: 1.3rem; margin: 0.4rem 0; }

.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 1.6rem 0 6rem; color: var(--muted); font-size: 0.9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; }
.footer a { color: var(--accent); }

.mobile-cta { display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 25; transform: translateY(150%); transition: transform 0.3s; padding: 1rem; }
.mobile-cta.show { transform: none; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.6s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 2.2rem; }
  .hero-visual { min-height: 19rem; }
  .nav-links { display: none; }
  .offer { grid-template-columns: 1fr; padding: 1.4rem; gap: 1.8rem; }
  .steps li::before { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 3.2rem 0; }
  .row { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .mobile-cta { display: inline-flex; }
  .summary { bottom: 0.6rem; padding: 0.7rem 0.8rem 0.7rem 1rem; flex-wrap: nowrap; gap: 0.8rem; }
  .summary .sum-block:not(.sum-title) { display: none; }
  .sum-title { flex: 1 1 auto; min-width: 0; }
  .sum-total { display: block; }
  .sum-block strong { font-size: 0.92rem; }
  .summary .btn { padding: 0.7rem 0.9rem; font-size: 0.9rem; white-space: nowrap; }
  .float { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
  .f2 { right: 0; } .f3 { left: 0; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- scroll + entrance animation ---------- */
.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.35; will-change: transform; }
.o1 { width: 26rem; height: 26rem; right: -6rem; top: 10vh; background: var(--primary); transform: translateY(var(--o1, 0px)); }
.o2 { width: 22rem; height: 22rem; left: -8rem; top: 55vh; background: var(--primary-2); transform: translateY(var(--o2, 0px)); }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes fadeScale { from { opacity: 0; transform: translateY(30px) scale(0.94); } }

.stagger > :nth-child(1) { --i: 0; } .stagger > :nth-child(2) { --i: 1; } .stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; } .stagger > :nth-child(5) { --i: 4; } .stagger > :nth-child(6) { --i: 5; }
.js .reveal:not(.in) .stagger > * { opacity: 0; }
.reveal.in .stagger > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i) * 90ms + 120ms) backwards; }

.section h2::after { content: ""; display: block; width: 3.2rem; height: 4px; margin-top: 0.8rem; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; }
.reveal.in h2::after { animation: grow 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.reveal.in .steps li::before { animation: grow 0.9s calc(var(--i) * 160ms + 500ms) cubic-bezier(0.2, 0.7, 0.2, 1) backwards; transform-origin: left; }

.stagger-load > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.stagger-load > :nth-child(1) { animation-delay: 0.05s; } .stagger-load > :nth-child(2) { animation-delay: 0.15s; }
.stagger-load > :nth-child(3) { animation-delay: 0.3s; } .stagger-load > :nth-child(4) { animation-delay: 0.42s; }
.stagger-load > :nth-child(5) { animation-delay: 0.54s; }

.hero-visual { transform: translateY(var(--py, 0px)) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.18s ease-out; animation: fadeScale 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.btn-lg { transition: transform 0.15s, box-shadow 0.15s, background 0.15s, translate 0.2s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) .stagger > * { opacity: 1; }
  .check circle, .check path { stroke-dashoffset: 0; }
  .orb { display: none; }
}

/* about */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3.2rem; align-items: center; }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 1.6rem; background: linear-gradient(135deg, var(--primary), var(--primary-2) 55%, var(--accent)); padding: 4px; box-shadow: 0 30px 80px rgba(108, 140, 255, 0.35); transform: rotate(-1.5deg); transition: transform 0.4s; }
.portrait:hover { transform: rotate(0deg) scale(1.02); }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: calc(1.6rem - 4px); background: var(--card); }
.portrait-fallback { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); padding: 30%; border-radius: calc(1.6rem - 4px); background: var(--card); fill: none; stroke: var(--accent); stroke-width: 0.8; stroke-linecap: round; }
.portrait.has-photo .portrait-fallback { display: none; }
.about-copy h2 { margin-bottom: 1.2rem; }
.about-lead { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.9rem; }
.about-copy p:not(.about-lead) { color: var(--muted); max-width: 58ch; }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.9rem; }
.facts li { display: grid; gap: 0.15rem; padding: 0.9rem 1rem; border-radius: 0.9rem; background: rgba(108, 140, 255, 0.1); border: 1px solid rgba(108, 140, 255, 0.3); }
.facts b { font-size: 1rem; }
.facts span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .portrait { max-width: 18rem; margin-inline: auto; }
}

/* legal footer */
.biz-todo { background: rgba(255, 209, 102, 0.22); color: #ffd166; padding: 0 0.3em; border-radius: 0.3em; }
.vat { margin-top: 0.4rem; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-note a { color: var(--accent); }
.legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.legal-notice { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.legal-notice h2 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.7rem; }
.legal-notice h2::after { display: none; }
.legal-notice dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.8rem 1.5rem; margin: 0; }
.legal-notice dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
.legal-notice dd { margin: 0; font-size: 0.9rem; }

/* accessibility fixes */
html { scroll-padding-bottom: 6rem; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0.3rem; }
.logo { white-space: nowrap; }
.sel-change, .legal-links a, #foot-mail { display: inline-flex; align-items: center; min-height: 24px; }
.more summary { min-height: 24px; }
.motion-toggle { margin-top: 1.1rem; background: none; border: 1px solid var(--border-ui); color: var(--muted); border-radius: 999px; padding: 0.35rem 0.9rem; font: inherit; font-size: 0.82rem; cursor: pointer; }
.motion-toggle:hover { color: var(--text); border-color: var(--primary); }
.motion-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
@media (max-height: 600px), (max-width: 360px) {
  .summary { position: static; }
  .mobile-cta { display: none; }
}
