/**
 * Author: Robert Pardela (AI)
 * Lean Do IT business landing — styles
 */

:root {
  --bg: #f4f6fb;
  --bg-alt: #eef2ff;
  --surface: #ffffff;
  --text: #1a2332;
  --text-muted: #5c6b82;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #7c3aed;
  --accent-light: #ede9fe;
  --success: #059669;
  --success-light: #d1fae5;
  --classic: #64748b;
  --classic-light: #f1f5f9;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.15);
  --hero-glow-1: rgba(37, 99, 235, 0.14);
  --hero-glow-2: rgba(124, 58, 237, 0.12);
  --header-bg: rgba(255, 255, 255, 0.92);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1120px;
  --header-h: 72px;
  --reveal-distance: 28px;
}

[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #111a2e;
  --surface: #151f33;
  --text: #e8eef8;
  --text-muted: #94a3b8;
  --primary: #60a5fa;
  --primary-dark: #93c5fd;
  --primary-light: rgba(96, 165, 250, 0.14);
  --accent: #a78bfa;
  --accent-light: rgba(167, 139, 250, 0.14);
  --success: #34d399;
  --success-light: rgba(52, 211, 153, 0.14);
  --classic: #94a3b8;
  --classic-light: #1e293b;
  --border: #243044;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --hero-glow-1: rgba(96, 165, 250, 0.18);
  --hero-glow-2: rgba(167, 139, 250, 0.16);
  --header-bg: rgba(11, 18, 32, 0.92);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-alt: #111a2e;
    --surface: #151f33;
    --text: #e8eef8;
    --text-muted: #94a3b8;
    --primary: #60a5fa;
    --primary-dark: #93c5fd;
    --primary-light: rgba(96, 165, 250, 0.14);
    --accent: #a78bfa;
    --accent-light: rgba(167, 139, 250, 0.14);
    --success: #34d399;
    --success-light: rgba(52, 211, 153, 0.14);
    --classic: #94a3b8;
    --classic-light: #1e293b;
    --border: #243044;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
    --hero-glow-1: rgba(96, 165, 250, 0.18);
    --hero-glow-2: rgba(167, 139, 250, 0.16);
    --header-bg: rgba(11, 18, 32, 0.92);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 760px);
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 54ch;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head__body {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-size: 1.05rem;
}

.brand__note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--primary);
  background: var(--primary-light);
}

.locale-switcher__select {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  font: inherit;
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.theme-toggle__icon--dark {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--light {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__icon--light {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-toggle__icon--dark {
    display: block;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--primary-light);
}

.btn--light {
  background: #fff;
  color: var(--primary-dark);
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Hero */

.hero {
  padding-top: 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, var(--hero-glow-1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, var(--hero-glow-2), transparent 55%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="dark"] .hero__copy h1 {
  background: linear-gradient(135deg, #f8fafc 0%, var(--primary) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__copy h1 {
    background: linear-gradient(135deg, #f8fafc 0%, var(--primary) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero__screenshot {
  position: relative;
  margin: 0;
}

.hero__screenshot-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.hero__overlay {
  position: absolute;
  right: -0.5rem;
  bottom: -1.25rem;
  left: auto;
  width: min(92%, 320px);
  margin: 0;
}

.estimate-panel--floating {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.1rem 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero__actions--center {
  justify-content: center;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.badge-list li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.estimate-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.estimate-panel__header {
  display: flex;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: var(--classic-light);
  border-bottom: 1px solid var(--border);
}

.estimate-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.estimate-panel__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.estimate-panel__label {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.estimate-row--classic {
  background: var(--classic-light);
}

.estimate-row--lean {
  background: var(--accent-light);
}

.estimate-row__name {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.estimate-row__value {
  font-size: 1.15rem;
  font-weight: 700;
}

.estimate-panel__savings {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--success-light);
  color: var(--success);
  font-weight: 700;
  text-align: center;
}

/* Stats */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.stat-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.stat-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Trust */

.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.trust-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .btn:focus-visible,
  .stat-card:hover,
  .trust-card:hover,
  .info-card:hover,
  .feature-item:hover {
    transform: none;
  }
}

/* Calculator */

.calculator {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--surface);
}

.calculator__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.calc-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.calc-group__label {
  display: block;
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.calc-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--classic-light);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.calc-option:hover {
  border-color: #bfdbfe;
  background: var(--surface);
}

.calc-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.calc-option:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.calc-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.calc-option__text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.calc-option:has(input:checked) .calc-option__text {
  color: var(--primary-dark);
}

.calculator__results {
  display: grid;
  gap: 0.85rem;
}

.result-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.result-card__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.result-card__value {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.result-card--classic {
  border-left: 4px solid var(--classic);
}

.result-card--lean {
  border-left: 4px solid var(--accent);
}

.result-card--savings {
  border-left: 4px solid var(--success);
  background: var(--success-light);
}

.calculator__note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.info-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Case study */

.case-study {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin-inline: auto;
}

.case-study__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-study__name {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.case-study__tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.case-study__product-link {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.case-study__description {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.case-study__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.case-study__tags li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.case-study__compare {
  margin-bottom: 1.35rem;
}

.case-study__compare-title,
.case-study__features-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.case-study__compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.case-study__price {
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid var(--border);
}

.case-study__price--classic {
  background: var(--classic-light);
}

.case-study__price--lean {
  border-color: #c4b5fd;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

.case-study__price-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.case-study__price-value {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.case-study__price--classic .case-study__price-value {
  color: var(--classic);
}

.case-study__price--lean .case-study__price-value {
  color: var(--accent);
}

.case-study__savings {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--success);
}

.case-study__features {
  margin-bottom: 1.35rem;
}

.case-study__feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.case-study__feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.case-study__feature-item:last-child {
  border-bottom: 0;
}

.case-study__feature-name {
  color: var(--text-muted);
}

.case-study__feature-share {
  font-weight: 700;
  color: var(--primary);
}

.case-study__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.case-study__store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #0f172a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.store-badge:hover,
.store-badge:focus-visible {
  color: #fff;
  border-color: #334155;
  background: #1e293b;
}

.store-badge--apple {
  background: #111827;
}

/* Timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.timeline li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.timeline p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Levels */

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.level-card {
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.level-card--accent {
  border-color: #c4b5fd;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.level-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.level-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.level-note {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 72ch;
  margin-inline: auto;
}

/* Features */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1rem;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Advantages */

.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox input {
  margin-top: 0.2rem;
}

.contact-email-link {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  margin: 0 0 0.75rem;
  color: #b91c1c;
  font-size: 0.9rem;
}

.form-error.hidden {
  display: none;
}

/* Final CTA */

.final-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #7c3aed 100%);
  color: #fff;
  text-align: center;
}

.final-cta__inner {
  max-width: 720px;
}

.final-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.final-cta p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

/* Footer */

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #fff;
}

.site-footer__link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__brand:hover,
.site-footer__brand:focus-visible {
  color: #fff;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.9rem;
}

.site-footer__copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.82rem;
  color: #64748b;
}

/* Responsive */

@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta {
    width: 100%;
  }

  .hero__grid,
  .calculator,
  .card-grid--3,
  .timeline,
  .level-grid,
  .advantages,
  .contact-grid,
  .feature-list,
  .stats__grid,
  .case-study__compare-grid,
  .trust__grid {
    grid-template-columns: 1fr;
  }

  .hero__overlay {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .hero {
    padding-top: 2rem;
  }
}

/* Utilities */

.hidden {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 120;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.12);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-banner__body {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-banner__body a {
  color: var(--primary);
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.65rem;
}

@media (max-width: 760px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 3rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .site-footer__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-options {
    grid-template-columns: 1fr;
  }
}
