:root {
  --bg: #fcf8f1;
  --surface: rgba(255, 253, 248, 0.94);
  --surface-strong: #ffffff;
  --ink: #1a1714;
  --muted: #6b635c;
  --line: rgba(26, 23, 20, 0.08);
  --accent: #ff6b2c;
  --accent-deep: #d94c16;
  --accent-soft: #ffe7dc;
  --pine: #17352c;
  --pine-soft: #e7f2eb;
  --shadow: 0 22px 60px rgba(65, 44, 24, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(23, 53, 44, 0.09), transparent 20%),
    linear-gradient(180deg, #fdf9f3 0%, #fbf6ef 40%, #fffdf9 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.legal-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.hero {
  padding: 8px 0 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 32px;
}

.topbar-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}

.ghost-link {
  color: var(--muted);
}

.topbar-highlight {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 107, 44, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
  border: 1px solid rgba(255, 107, 44, 0.2);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.7rem);
  max-width: 11ch;
}

.sublede {
  margin: 14px 0 0;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

.lede,
.section-copy,
.info-card p,
.timeline-step p,
.message-card p,
.metric-caption,
.feature-list,
.trust-list {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 58ch;
  font-size: 1rem;
  margin: 18px 0 0;
}

.hero-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--accent);
  color: #fff8f4;
  box-shadow: 0 18px 40px rgba(217, 76, 22, 0.28);
}

.secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.tertiary {
  background: var(--ink);
  color: #fff;
}

.trust-list,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.price-card .feature-list {
  margin-bottom: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-list li,
.feature-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card,
.info-card,
.price-card,
.message-card,
.checkout-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 24px;
}

.panel-card-main {
  transform: rotate(-2deg);
}

.panel-card-accent {
  background: linear-gradient(180deg, #23453a 0%, #19362d 100%);
  color: #f3faf5;
  max-width: 320px;
  margin-left: auto;
}

.panel-label,
.checkout-label,
.price-tier,
.badge {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.panel-card-main h2 {
  margin: 8px 0 20px;
  font-size: 1.8rem;
}

.trend-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.trend-rank {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-weight: 800;
  color: var(--accent-deep);
}

.trend-title,
.trend-copy,
.metric,
.checkout-plan,
.price-value {
  margin: 0;
}

.trend-title {
  font-weight: 800;
}

.trend-copy {
  margin-top: 6px;
  color: var(--muted);
}

.metric {
  margin-top: 10px;
  font-size: 3.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.metric-caption {
  margin-top: 8px;
  color: rgba(239, 247, 241, 0.78);
}

.section {
  padding: 72px 0 0;
}

.section-dark {
  margin-top: 72px;
  padding: 42px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.14), transparent 18%),
    linear-gradient(135deg, #1b362d 0%, #153029 100%);
  color: #eef8f3;
}

.section-dark .eyebrow,
.section-dark .timeline-step p {
  color: rgba(238, 248, 243, 0.75);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 14ch;
}

.offer-grid,
.pricing-grid,
.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.offer-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.price-card,
.message-card,
.checkout-card {
  padding: 28px;
}

.info-card h3,
.timeline-step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

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

.price-card {
  position: relative;
}

.featured {
  background: linear-gradient(180deg, #fffaf6 0%, #fff4ec 100%);
  border: 1px solid rgba(255, 107, 44, 0.18);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.price-value {
  margin-top: 8px;
  font-size: 3rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: 3.6rem;
}

.price-value span {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 6px;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #8dc2a7;
}

.message-card {
  max-width: 860px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff8f1 100%);
}

.message-card p {
  margin: 0;
  font-size: 1.18rem;
}

.checkout-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 40px 0 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.footer-copy {
  margin: 0;
}

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

.footer-links a {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 80px rgba(24, 18, 12, 0.14);
  z-index: 998;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-copy {
  max-width: 66ch;
}

.cookie-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.cookie-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-text a {
  color: var(--accent-deep);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.legal-header {
  padding: 12px 0 18px;
}

.legal-header h1 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-content {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.legal-content section {
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 22, 19, 0.52);
  backdrop-filter: blur(8px);
  z-index: 999;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff7f0 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 90px rgba(22, 16, 11, 0.18);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 23, 20, 0.08);
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.modal-card h2 {
  margin: 0;
  max-width: 12ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.modal-subtitle {
  margin: 22px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.modal-description {
  max-width: 54ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.checkout-plan {
  margin-top: 10px;
  font-size: 2.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .offer-grid,
  .pricing-grid,
  .timeline,
  .checkout-card {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    display: grid;
  }

  .site-footer,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 100%);
    padding-bottom: 48px;
  }

  .section-dark {
    margin-top: 56px;
    padding: 26px;
    border-radius: 28px;
  }

  .topbar {
    padding-bottom: 18px;
  }

  .topbar-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-footer,
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .checkout-actions,
  .trust-list {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .price-value {
    font-size: 2.4rem;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
    border-radius: 22px;
  }

  .modal-card {
    padding: 28px;
    border-radius: 24px;
  }

  .modal-card h2 {
    max-width: none;
  }

  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
