:root {
  --bg: #F4F4F6; --card: #FFFFFF; --card2: #F0F0F3; --text: #111113; --muted: #62626B; --line: #E6E6EA;
  --ink: #111113; --on-ink: #FFFFFF; --accent: #FF7A1A; --green: #3FB37F; --amber: #F2A541; --red: #EF5350; --blue: #5B8DEF;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0C; --card: #1A1A1D; --card2: #26262B; --text: #F5F5F7; --muted: #A1A1AA; --line: #2E2E33;
    --ink: #F5F5F7; --on-ink: #0B0B0C; --green: #4CC48E; --amber: #F5B55A; --red: #F26B68; --blue: #7AA3F2;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* nav */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.navlinks { display: flex; gap: 6px; align-items: center; }
.navlinks a { text-decoration: none; padding: 8px 12px; border-radius: 99px; font-size: 15px; color: var(--muted); }
.navlinks a:hover { color: var(--text); }
@media (max-width: 560px) { .navlinks a.hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 99px;
  font: 700 16px Inter, system-ui, sans-serif; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.btn.primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }

/* hero */
.hero { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 32px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 12px; }
h3 { font-size: 19px; letter-spacing: -0.02em; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 26px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* phone mock */
.phone { justify-self: center; width: 320px; max-width: 100%; background: var(--card2); border-radius: 44px; padding: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.screen { background: var(--bg); border-radius: 32px; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--card); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.screen .card { padding: 14px; border-radius: 18px; }
.verdict { display: flex; align-items: center; gap: 14px; }
.ring { width: 64px; height: 64px; flex: none; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--card2); }
.tag.warn { color: #8a5300; background: color-mix(in srgb, var(--amber) 22%, transparent); }
.tag.good { color: #0d6b45; background: color-mix(in srgb, var(--green) 22%, transparent); }
@media (prefers-color-scheme: dark) { .tag.warn { color: var(--amber); } .tag.good { color: var(--green); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--card); border-radius: 16px; padding: 10px; text-align: center; }
.stat b { display: block; font-size: 17px; }
.stat span { font-size: 11px; color: var(--muted); }
.line-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }

/* sections */
section.block { padding: 56px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.feature .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card2); margin-bottom: 14px; font-size: 22px; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps .card { display: flex; gap: 14px; align-items: flex-start; }
.steps .card::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 99px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 800; }

/* pricing */
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); }
.plan.best { outline: 2px solid var(--ink); }

/* forms */
form .row { display: flex; gap: 12px; flex-wrap: wrap; }
form .row > label { flex: 1 1 220px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: 16px Inter, system-ui, sans-serif; color: var(--text); background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 50px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; background: var(--card2); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.chips input { min-height: 0; width: 18px; height: 18px; accent-color: var(--accent); }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--muted); }
.consent input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.msg { font-size: 15px; min-height: 1.5em; margin: 10px 0 0; }
.msg.ok { color: var(--green); } .msg.err { color: var(--red); }

/* legal */
.legal { max-width: 760px; padding: 40px 0 80px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
[hidden] { display: none !important; }

/* ---- Felix & Sofia ---- */
.brand img { width: 34px; height: 34px; border-radius: 0; }
.btn-av { width: 28px; height: 28px; border-radius: 99px; margin-left: -8px; }
.stage { position: relative; justify-self: center; width: 100%; max-width: 580px; display: flex; justify-content: flex-end; padding: 40px 0 10px; }
.stage .phone { position: relative; z-index: 1; }
.blob { position: absolute; inset: 0 -20px 0 0; z-index: 0; border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
              radial-gradient(circle at 75% 70%, color-mix(in srgb, #8B6CFF 28%, transparent), transparent 60%); filter: blur(10px); }
.felix-hero { position: absolute; z-index: 2; left: -40px; bottom: 0; width: 230px; }
.bubble-say { position: absolute; z-index: 3; left: -20px; top: 170px; background: var(--card); color: var(--text); font-weight: 700; font-size: 15px;
  padding: 10px 14px; border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: pop .5s .4s both; max-width: 170px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.95) } to { opacity: 1; transform: none } }
@media (max-width: 1060px) and (min-width: 861px) { .felix-hero { width: 180px; left: -50px; } .bubble-say { left: -40px; top: 150px; } }
@media (max-width: 860px) {
  .stage { max-width: 360px; flex-direction: column; align-items: center; padding-top: 150px; }
  .felix-hero { width: 150px; left: 0; top: 0; bottom: auto; }
  .bubble-say { left: 148px; top: 34px; font-size: 14px; }
}
.crew-card { display: flex; gap: 20px; align-items: center; }
.crew-img { width: 130px; flex: none; }
.crew-img.sofia { width: 120px; padding: 8px; }
@media (max-width: 560px) { .crew-card { flex-direction: column; align-items: flex-start; } .crew-img { width: 110px; } }
@media (prefers-reduced-motion: reduce) { .bubble-say { animation: none; } }

.felix-hero, .crew-img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
