:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #1a1a1a;
  --brand: #1f3d3b;
  --muted: #6b6b6b;
  --border: #ebe6df;
  --border-strong: #e8e4df;
  --primary: #2f9e8a;
  --primary-hover: #268372;
  --primary-soft: #e6f5f1;
  --accent: #ffb347;
  --accent-soft: #fff4e5;
  --accent-dark: #e6952e;
  --balance: #224d4b;
  --shadow: 0 8px 24px rgba(26, 61, 59, 0.08);
  --shadow-lg: 0 18px 40px rgba(26, 61, 59, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--primary-hover);
}

.cta:focus-visible,
.faq-item summary:focus-visible,
.calc-field input:focus-visible,
.topbar .cta:focus-visible {
  outline: 3px solid rgba(47, 158, 138, 0.45);
  outline-offset: 2px;
}

.cta:active {
  transform: scale(0.98);
}

.cta--lg {
  padding: 16px 28px;
  font-size: 0.95rem;
}

.cta--ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  border: 1px solid var(--border-strong);
}

.cta--ghost:hover {
  background: var(--primary-soft);
}

.topbar .cta {
  padding: 10px 14px;
  font-size: 0.78rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--brand {
  background: var(--brand);
  color: #fff;
}

.section--soft {
  background: #fff;
}

.kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section--brand .kicker {
  color: var(--accent);
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand);
}

.section--brand h2,
.section--brand p {
  color: #fff;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
}

.fine {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 36px 0 64px;
}

.hero-copy .free {
  display: inline-block;
  margin-top: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-copy .body {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 28px;
}

.phones {
  display: flex;
  justify-content: center;
}

.phone {
  width: 270px;
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
}

.phone-bar {
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-bar span {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #d8d4cf;
}

.app-pad {
  padding: 12px 14px 18px;
}

.app-home-title {
  margin: 4px 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
}

.balance {
  position: relative;
  overflow: hidden;
  background: var(--balance);
  color: #fff;
  border-radius: 20px;
  padding: 16px 16px 14px;
}

.balance::after {
  content: '';
  position: absolute;
  top: -36px;
  right: -16px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(47, 158, 138, 0.35);
}

.balance-label {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.78;
}

.balance-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.balance-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}

.balance-chip {
  background: rgba(255, 179, 71, 0.22);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 8px;
}

.balance-meta {
  position: relative;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  opacity: 0.86;
}

.app-section-title {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
}

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 8px;
}

.mini-card strong {
  display: block;
  font-size: 13px;
  color: var(--brand);
}

.mini-card span {
  color: var(--muted);
  font-size: 11px;
}

.mini-map {
  height: 150px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 38% 48%, rgba(47, 158, 138, 0.35) 0 10px, transparent 11px),
    linear-gradient(#e8f5f2, #dceee9);
  border: 1px solid var(--border);
  position: relative;
  margin-bottom: 10px;
}

.mini-pin {
  position: absolute;
  left: 36%;
  top: 42%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(31, 61, 59, 0.25);
}

.place-hero {
  height: 92px;
  background: linear-gradient(135deg, #1f3d3b, #2f9e8a);
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  color: #fff;
  font-weight: 800;
}

.reward-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.cond {
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}

.compare {
  display: grid;
  gap: 16px;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.compare-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-card li:last-child {
  border-bottom: 0;
}

.compare-card--fidelita {
  border-color: #cfe8e2;
  background: linear-gradient(180deg, #fff, #f3faf8);
}

.compare-card--fidelita h3 {
  color: var(--primary);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.callout {
  margin-top: 28px;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.05rem;
}

.prize-grid {
  display: grid;
  gap: 12px;
}

.prize {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.prize .emoji {
  font-size: 1.4rem;
}

.prize h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

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

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.flow span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.no-buy {
  margin-top: 20px;
  font-weight: 800;
  color: var(--brand);
}

.plan {
  text-align: center;
}

.plan-price {
  margin: 8px 0 0;
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.plan-list {
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  max-width: 420px;
  text-align: left;
}

.plan-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reqs {
  display: grid;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 520px;
}

.req {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}

.calc {
  display: grid;
  gap: 20px;
}

.calc-card,
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.calc-field {
  display: block;
  margin-bottom: 14px;
}

.calc-field span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.calc-field input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

.result-visits {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.result-cost {
  margin: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.mock-row {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.stats {
  display: grid;
  gap: 12px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--brand);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--brand);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--primary);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

.final {
  text-align: center;
}

.final .lede {
  margin-left: auto;
  margin-right: auto;
}

.need-list {
  margin: 20px auto 0;
  padding: 0;
  list-style: none;
  max-width: 360px;
  color: var(--muted);
}

.need-list li {
  padding: 4px 0;
}

.site-footer {
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 56px;
  }

  .compare {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .calc {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

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

@media (min-width: 980px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
