:root {
  --ink: #333333;
  --muted: #5c6560;
  --line: #d5dbd6;
  --paper: #ffffff;
  --page: #f5f6fa;
  --green: #4c584c;
  --green-hover: #3a443a;
  --green-soft: #e7ebe7;
  --radius: 8px;
  --measure: 680px;
  --wide: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-style: normal;
}

h1, h2, p { text-wrap: pretty; }

h1, h2 {
  text-wrap: balance;
  font-weight: 700;
  margin: 0;
  font-style: normal;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--paper);
  padding: 8px 12px;
  border-radius: var(--radius);
  z-index: 4;
}

.skip:focus { transform: none; }

.bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--green);
}

.brand img {
  display: block;
  width: 48px;
  height: 48px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  line-height: 44px;
  text-decoration: none;
}

.nav a:hover { color: var(--green); }

.nav-signin {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
  line-height: 20px;
  background: var(--paper);
}

.nav-signin:hover {
  background: var(--green-soft);
  color: var(--green);
}

.lang { display: flex; gap: 4px; }

.lang button,
.door {
  font-family: inherit;
  font-weight: 600;
  font-style: normal;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 44px;
}

.lang button {
  min-width: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.lang button.is-active,
.lang button:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.hero,
.section,
.footer {
  width: min(var(--wide), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 80px 0 80px;
  text-align: left;
}

.hero-copy { max-width: var(--measure); }

.hero-shot {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

h1 {
  font-size: 60px;
  line-height: 64px;
  max-width: var(--measure);
  color: var(--ink);
}

.lead,
.proof {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.lead { margin: 16px 0 0; }

.proof {
  margin: 12px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: var(--measure);
}

.door {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 24px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border: 1px solid var(--green);
  text-align: center;
}

.door:hover,
.door:focus-visible {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

.section { padding: 48px 0; }

.paper-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

h2 {
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 24px;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefits li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
}

.benefits strong {
  display: block;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 8px;
  font-weight: 700;
}

.benefits span {
  display: block;
  color: var(--muted);
}

.band {
  background: var(--green);
  color: #fff;
  padding: 48px 24px;
}

.tagline {
  width: min(var(--measure), 100%);
  margin: 0 auto;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.tagline span {
  display: inline;
  opacity: 0.35;
  transition: opacity 600ms cubic-bezier(0.32, 0.72, 0, 1);
}

.tagline span.is-on { opacity: 1; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 16px;
  height: 100%;
}

.steps b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.price-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.price-block h2 { margin-bottom: 16px; }

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

.offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}

.offer h3 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

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

.offer .amount {
  margin: 0;
}

.offer .door {
  margin-top: auto;
}

.offer-kicker {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ink);
}

.price-block p {
  max-width: var(--measure);
  margin: 0 0 12px;
  color: var(--muted);
}

.amount {
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px !important;
}

.faq { display: grid; gap: 8px; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.faq summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}

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

.faq p {
  margin: 8px 0 8px;
  color: var(--muted);
}

.close-band {
  background: var(--green-soft);
  padding: 64px 24px;
}

.close {
  width: min(var(--measure), 100%);
  margin: 0 auto;
}

.close h2 { margin-bottom: 0; }

.close .doors {
  max-width: none;
}

.footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  display: block;
  width: 32px;
  height: 32px;
}

.footer-links { display: flex; gap: 16px; }

.footer a {
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover { color: var(--green); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

@media (max-width: 800px) {
  h1 { font-size: 30px; line-height: 36px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .price-block { padding: 24px; }
  .amount { font-size: 48px; line-height: 52px; }
  .benefits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; }
  .bar { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tagline span { opacity: 1; transition: none; }
}
