/* ==========================================================
   Moj Paušal website
   Tokens mirror the app's "Soft Cards" design (light + dark).
   ========================================================== */

:root,
.t-light {
  --bg: #f3f5fa;
  --surface: #ffffff;
  --surface2: #e4e8f2;
  --seg-on: #ffffff;
  --text: #1b2030;
  --sub: #6b7390;
  --muted: #8a91aa;
  --line: #eef0f6;
  --card-border: transparent;
  --field-border: #dce1ee;
  --primary: #3b6ff5;
  --primary-alt: #5b8cff;
  --primary-text: #3b6ff5;
  --primary-soft: #e8eeff;
  --danger-text: #d92d43;
  --danger-soft: #fde8ea;
  --warn: #f59e0b;
  --warn-alt: #ffbe5c;
  --warn-soft: #fff1da;
  --warn-text: #b86e00;
  --shadow: 0 12px 30px -14px rgba(30, 45, 90, 0.3);
  --shadow-lg: 0 30px 60px -24px rgba(30, 45, 90, 0.35);
  --scrim: rgba(20, 28, 50, 0.45);
  --nav-bg: rgba(243, 245, 250, 0.72);
  --alt-bg: #eaeef7;
  --glow-a: rgba(91, 140, 255, 0.35);
  --glow-b: rgba(245, 158, 11, 0.16);
  color-scheme: light;
}

:root[data-theme="dark"],
.t-dark {
  --bg: #0a0b0e;
  --surface: #13161b;
  --surface2: #1b1f26;
  --seg-on: #262b34;
  --text: #f1f2f4;
  --sub: #a3a8b2;
  --muted: #7c818c;
  --line: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.06);
  --field-border: rgba(255, 255, 255, 0.12);
  --primary: #2f5aa8;
  --primary-alt: #1f4e94;
  --primary-text: #6f95d8;
  --primary-soft: rgba(47, 90, 168, 0.24);
  --danger-text: #e58a93;
  --danger-soft: rgba(224, 112, 124, 0.16);
  --warn: #d9a441;
  --warn-alt: #e3b866;
  --warn-soft: rgba(217, 164, 65, 0.16);
  --warn-text: #e0b25c;
  --shadow: none;
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  --scrim: rgba(0, 0, 0, 0.62);
  --nav-bg: rgba(10, 11, 14, 0.72);
  --alt-bg: #0e1014;
  --glow-a: rgba(47, 90, 168, 0.45);
  --glow-b: rgba(217, 164, 65, 0.12);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

svg { width: 1em; height: 1em; flex: none; display: inline-block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 40px); }

:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--primary {
  color: #fff; background: linear-gradient(135deg, var(--primary-alt), var(--primary));
  box-shadow: 0 10px 24px -10px var(--primary);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px var(--primary); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px;
  border-radius: 99px; font-size: 13px; font-weight: 600;
}
.pill--primary { background: var(--primary-soft); color: var(--primary-text); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }

.eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow--lg { display: inline-block; font-size: 12.5px; color: var(--primary-text); margin-bottom: 12px; }

.chip { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface2); color: var(--sub); }
.chip--primary { background: var(--primary-soft); color: var(--primary-text); }
.chip--warn { background: var(--warn-soft); color: var(--warn-text); }
.chip--danger { background: var(--danger-soft); color: var(--danger-text); }

.tile { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; }
.tile--sm { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.tile--lg { width: 52px; height: 52px; border-radius: 18px; font-size: 26px; }
.tile--primary { background: var(--primary-soft); color: var(--primary-text); }
.tile--warn { background: var(--warn-soft); color: var(--warn-text); }
.tile--danger { background: var(--danger-soft); color: var(--danger-text); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff;
  box-shadow: 0 6px 16px -8px rgba(30, 45, 90, 0.45), inset 0 0 0 1px rgba(30, 45, 90, 0.06);
}
.brand__mark img { display: block; width: 28px; height: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 14px; border-radius: 10px; color: var(--sub); font-weight: 600; font-size: 14px; transition: background 0.2s, color 0.2s; }
.nav__links a:hover { background: var(--surface2); color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 12px;
  border-radius: 99px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow);
  color: var(--sub); font-weight: 700; font-size: 12px; font-size: 12px; transition: transform 0.15s;
}
.icon-btn svg { font-size: 18px; }
.icon-btn:hover { transform: translateY(-1px); color: var(--text); }
.icon-btn--round { width: 38px; padding: 0; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; right: -80px; top: -60px; background: var(--glow-a); }
.hero__glow--2 { width: 380px; height: 380px; left: -120px; bottom: -40px; background: var(--glow-b); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.hero__grid > *, .showcase__grid > * { min-width: 0; }

h1 {
  margin-top: 20px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.03; font-weight: 800; letter-spacing: -0.035em;
}
h1 .grad { display: block; background: linear-gradient(120deg, var(--primary-alt), var(--primary) 55%, var(--warn)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] h1 .grad { background: linear-gradient(120deg, #6f95d8, #4f80d6 55%, var(--warn-alt)); -webkit-background-clip: text; background-clip: text; }
.lead { margin-top: 22px; max-width: 540px; font-size: 18px; color: var(--sub); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cta--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 18px; border-radius: 16px;
  background: var(--text); color: var(--bg); transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45);
}
.store:hover { transform: translateY(-2px); }
.store svg { font-size: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 10.5px; font-weight: 500; opacity: 0.75; }
.store b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.store--light { background: #fff; color: #10131a; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--sub); font-size: 14px; font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { color: var(--primary-text); font-size: 17px; }

/* ---------- Phone ---------- */
.hero__visual { position: relative; display: grid; place-items: center; justify-items: end; min-height: 640px; }
.phone {
  position: relative; width: 300px; height: 620px; padding: 10px; border-radius: 48px; background: #0b0c10;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a2d36; flex: none;
}
.phone__island { position: absolute; z-index: 5; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 99px; background: #000; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; background: var(--bg); overflow: hidden; }
.phone--sm { width: 262px; height: 540px; border-radius: 42px; }
.phone--sm .phone__screen { border-radius: 33px; }
.phone--sm .phone__island { width: 80px; height: 23px; top: 17px; }

.app { --pad: 16px; color: var(--text); font-size: 13px; }
.app__status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; height: 44px; font-size: 12px; font-weight: 700; }
.battery { width: 22px; height: 11px; border-radius: 4px; border: 1.5px solid currentColor; position: relative; opacity: 0.85; }
.battery::after { content: ""; position: absolute; inset: 1.5px; right: 6px; background: currentColor; border-radius: 1.5px; }
.app__header { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad) 12px; }
.app__title { font-size: 27px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.round-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--sub); font-size: 18px; box-shadow: var(--shadow); border: 1px solid var(--card-border); }

.app-card { margin: 0 var(--pad); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.app-card--hero { border-radius: 24px; padding: 4px 16px; }
.app-card--list { margin-top: 14px; border-radius: 22px; padding: 4px 14px; }
.divider { height: 1px; background: var(--line); }

.meter { padding: 12px 0 10px; }
.meter__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--sub); font-weight: 500; }
.meter__amount { margin: 2px 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.meter__cap { margin-top: 6px; font-size: 11px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 9px; background: var(--surface2); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--primary-alt), var(--primary)); transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.bar--warn .bar__fill { background: linear-gradient(90deg, var(--warn-alt), var(--warn)); }
.bar--danger .bar__fill { background: linear-gradient(90deg, #ef6a7a, var(--danger-text)); }

.segment { display: grid; grid-template-columns: 1fr 1fr; margin: 14px var(--pad) 0; padding: 4px; border-radius: 14px; background: var(--surface2); font-size: 12.5px; font-weight: 600; text-align: center; color: var(--sub); }
.segment span { padding: 8px 0; border-radius: 11px; }
.segment .segment__on { background: var(--seg-on); color: var(--text); box-shadow: 0 1px 4px rgba(20, 30, 60, 0.12); }

.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.row + .row { border-top: 1px solid var(--line); }
.row .amt { margin-left: auto; }
.app-card--list .row:nth-child(3) { opacity: 0.5; }

.fab {
  position: absolute; right: 16px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  border-radius: 18px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(135deg, var(--primary-alt), var(--primary));
  box-shadow: 0 14px 26px -10px var(--primary);
}
.fab svg { font-size: 16px; }

/* Floating cards */
.float-card {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; line-height: 1.2; }
.float-card small { font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }
.float-card .tile { width: 38px; height: 38px; font-size: 19px; border-radius: 12px; }
.float-card--ok { left: 0; top: 18%; }
.float-card--warn { left: 24px; bottom: 16%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Strip ---------- */
.strip { padding: 8px 0 24px; }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strip__item { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.strip__item b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.strip__item > span { display: block; margin-top: 6px; font-size: 13px; color: var(--sub); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--alt-bg); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.section__head p { margin-top: 16px; color: var(--sub); font-size: 17px; }

/* Checker */
.checker { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; border-radius: 30px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-lg); }
.checker__form { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.field { display: block; padding: 10px 16px 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--field-border); transition: border-color 0.2s, box-shadow 0.2s; }
.field:focus-within { border: 1px solid var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.field__label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.field input { width: 100%; margin-top: 2px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip-btn { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--field-border); background: transparent; font-weight: 700; font-size: 13px; color: var(--sub); transition: all 0.15s; }
.chip-btn:hover { border-color: var(--primary); color: var(--primary-text); background: var(--primary-soft); }

.checker__result { padding: 28px; border-radius: 22px; background: var(--primary-soft); text-align: center; transition: background 0.3s; }
.checker__result[data-state="bad"] { background: var(--danger-soft); }
.result__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; background: var(--surface); color: var(--primary-text); font-size: 28px; }
.checker__result[data-state="bad"] .result__icon { color: var(--danger-text); }
.r-bad, .checker__result[data-state="bad"] .r-ok { display: none; }
.checker__result[data-state="bad"] .r-bad { display: block; }
.checker__result h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--primary-text); }
.checker__result[data-state="bad"] h3 { color: var(--danger-text); }
.result__sub { margin-top: 6px; color: var(--sub); font-size: 14px; min-height: 22px; }
.result__meters { margin-top: 18px; padding: 6px 18px; border-radius: 18px; background: var(--surface); text-align: left; }
.result__meters .meter + .meter { border-top: 1px solid var(--line); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .tile { margin-bottom: 18px; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--sub); font-size: 15px; }
.bento__a { grid-column: span 4; }
.bento__b { grid-column: span 2; }
.bento__c { grid-column: span 2; }
.bento__d { grid-column: span 2; }
.bento__e { grid-column: span 2; }
.bento__f { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; }
.bento__f .tile { grid-row: span 2; margin: 0; }
.mini-meters { margin-top: 18px; padding: 4px 18px; border-radius: 18px; background: var(--bg); max-width: 460px; }
.mini-meters .meter + .meter { border-top: 1px solid var(--line); }
.mini-chart { display: flex; gap: 14px; align-items: flex-end; height: 92px; margin-top: 18px; }
.mc { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 10px; overflow: hidden; }
.mc i { display: block; height: var(--h); background: linear-gradient(180deg, var(--primary-alt), var(--primary)); border-radius: 0 0 10px 10px; }
.mc b { display: block; height: var(--h); order: -1; background: var(--danger-soft); border-radius: 10px 10px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--primary-alt), var(--primary)); box-shadow: 0 10px 20px -10px var(--primary); }
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--sub); font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -20px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--field-border) 0 4px, transparent 4px 8px); }

/* Showcase */
.showcase__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 56px; }
.showcase__copy p { margin-top: 16px; color: var(--sub); font-size: 17px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { padding: 4px; width: 24px; height: 24px; border-radius: 8px; background: var(--primary-soft); color: var(--primary-text); }
.showcase__phones { display: flex; justify-content: center; gap: 24px; }
.showcase__phones .phone:nth-child(2) { margin-top: 56px; }

.scrim { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(2px); }
.dialog {
  position: absolute; left: 14px; right: 14px; top: 76px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 14px 14px; border-radius: 26px; background: var(--surface); text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.dialog__title { margin: 4px 0 2px; font-size: 20px; font-weight: 700; }
.dialog__title--danger { color: var(--danger-text); }
.dialog__box { width: 100%; padding: 10px 10px; border-radius: 16px; background: var(--danger-soft); }
.dialog__box small { display: block; font-size: 10.5px; line-height: 1.3; color: var(--sub); }
.dialog__box b { display: block; margin-top: 2px; font-size: 18px; color: var(--danger-text); font-variant-numeric: tabular-nums; }
.dialog__next small { display: block; font-size: 10.5px; color: var(--sub); line-height: 1.3; }
.dialog__next b { color: var(--primary-text); font-size: 15px; font-variant-numeric: tabular-nums; }
.dialog__btns { display: flex; gap: 8px; width: 100%; margin-top: 4px; }
.btn-app { flex: 1; display: grid; place-items: center; height: 40px; border-radius: 14px; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary-alt), var(--primary)); }
.btn-app--ghost { background: transparent; border: 1px solid var(--field-border); color: var(--text); }

.app-card--chart { margin-top: 14px; border-radius: 24px; padding: 18px 12px 12px; }
.chart { display: flex; justify-content: space-around; align-items: flex-end; }
.chart__col { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 46%; }
.chart__col small { font-size: 10px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart__col em { margin-top: 4px; min-height: 24px; font-style: normal; font-size: 9.5px; color: var(--sub); font-weight: 600; text-align: center; line-height: 1.2; }
.chart__bar { width: 100%; height: var(--h); display: flex; flex-direction: column; border-radius: 12px 12px 4px 4px; overflow: hidden; }
.chart__rest { display: grid; place-items: center; height: 24px; font-size: 10px; font-weight: 700; color: var(--danger-text); background: var(--danger-soft); flex: none; }
.chart__used { flex: 1; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--primary-alt), var(--primary)); font-variant-numeric: tabular-nums; }
.legend { display: flex; justify-content: center; gap: 10px; margin-top: 10px; font-size: 9.5px; white-space: nowrap; font-weight: 600; color: var(--sub); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg--used { background: var(--primary-alt); }
.lg--rest { background: var(--danger-text); opacity: 0.7; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { padding: 4px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); font-size: 18px; font-weight: 700; transition: transform 0.25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 20px; color: var(--sub); }

/* CTA */
.cta { padding: 24px 0 104px; }
.cta__card {
  position: relative; overflow: hidden; padding: 72px 28px; text-align: center; color: #fff; border-radius: 36px;
  background: linear-gradient(135deg, #5b8cff, #3b6ff5 55%, #2748b8);
}
:root[data-theme="dark"] .cta__card { background: linear-gradient(135deg, #2f5aa8, #1f4e94 55%, #14336a); }
.cta__glow { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); filter: blur(60px); }
.cta__card > :not(.cta__glow) { position: relative; }
.cta__card p { margin-top: 14px; font-size: 18px; opacity: 0.88; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer__mail { display: inline-flex; align-items: center; gap: 8px; color: var(--sub); font-weight: 600; font-size: 14px; }
.footer__mail:hover { color: var(--primary-text); }
.footer small { color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease var(--d, 0s), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .showcase__grid { grid-template-columns: minmax(0, 1fr); }
  .nav__links { display: none; }
  .hero { padding-top: 40px; }
  .hero__grid, .showcase__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  .hero__visual { justify-items: center; }
  .float-card--ok { left: 4%; }
  .float-card--warn { left: auto; right: 4%; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .checker { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__a, .bento__f { grid-column: span 2; }
  .bento__b, .bento__c, .bento__d, .bento__e { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .showcase__copy { text-align: center; }
  .ticks { justify-items: center; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav__cta { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__a, .bento__b, .bento__c, .bento__d, .bento__e, .bento__f { grid-column: span 1; }
  .bento__f { display: block; }
  .bento__f .tile { margin-bottom: 18px; }
  .float-card--ok, .float-card--warn { display: none; }
  .showcase__phones { flex-direction: column; align-items: center; }
  .showcase__phones .phone:nth-child(2) { margin-top: 0; }
  .checker { padding: 10px; }
  .checker__result { padding: 20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bar__fill { transition: none; }
}
