:root {
  --brand: #22186f;
  --accent: #25a675;
  --accent-soft: #e7f7f0;
  --ink: #11121a;
  --muted: #5d6270;
  --line: #e4e6ed;
  --panel: #f8f9fc;
  --white: #ffffff;
  --shadow: 0 16px 50px rgba(34, 24, 111, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand);
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(228, 230, 237, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand img,
.brand .logo-svg {
  width: 210px;
  max-width: calc(100vw - 116px);
  height: auto;
  display: block;
}

.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  max-width: calc(100vw - 116px);
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.logo-main {
  font-weight: 850;
}

.logo-tld {
  margin-left: 2px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand);
  font-weight: 750;
  font-family: inherit;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: #150f50;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--brand);
  border-color: var(--line);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 12%, rgba(37, 166, 117, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fd 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #12654b;
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: clamp(36px, 6vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(34, 24, 111, 0.1);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-weight: 800;
}

.search-row {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.search-row input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-row button {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.quick-tags button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
}

.ai-answer {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  color: #26342f;
  background: var(--accent-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.stat {
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
}

.section-header p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.cashback {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 900;
}

.band {
  background: var(--panel);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  position: relative;
  padding-top: 52px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  font-size: 14px;
  font-weight: 850;
  line-height: 28px;
  text-align: center;
}

.faq {
  max-width: 840px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--brand);
  font-weight: 850;
}

details p {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: #fbfbfe;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.footer img,
.footer .logo-svg {
  width: 190px;
}

.footer p {
  max-width: 360px;
  color: var(--muted);
}

.footer nav {
  display: grid;
  gap: 8px;
}

.footer h2 {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 15px;
}

.copyright {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .nav-links,
  .nav .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 46px 0 42px;
  }

  .grid,
  .steps,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .brand img,
  .brand .logo-svg {
    width: 176px;
    max-width: calc(100vw - 92px);
  }

  .logo-wordmark {
    max-width: calc(100vw - 92px);
    font-size: 30px;
    letter-spacing: -1px;
  }

  .hero-inner,
  .section {
    width: min(100% - 24px, 1120px);
  }

  .hero-actions,
  .search-row,
  .section-header {
    align-items: stretch;
    flex-direction: column;
  }

  .stats,
  .grid,
  .steps,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .brand img,
  .brand .logo-svg {
    width: 154px;
  }

  .logo-wordmark {
    font-size: 27px;
  }
}
