:root {
  --ink: #10231d;
  --pine: #0c241d;
  --pine-2: #173b30;
  --gold: #c49b55;
  --paper: #fbf8ef;
  --sand: #f0e7d7;
  --line: rgba(32, 56, 47, 0.16);
  --shadow: 0 28px 70px rgba(16, 35, 29, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
}

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

.site-header,
footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 7vw;
  color: #fff9ea;
  background: var(--pine);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: clamp(74px, 7vw, 104px);
  height: 48px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.82rem;
  font-weight: 750;
}

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

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(196, 155, 85, 0.42);
  border-radius: 999px;
}

.language-switch button {
  min-width: 42px;
  min-height: 30px;
  color: #f7eddc;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-switch button.active {
  color: #0b211a;
  background: var(--gold);
}

main {
  width: min(1180px, 86vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 56px;
  align-items: center;
  padding: 86px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8c6a36;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.25rem, 7vw, 7rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

p {
  color: #34483f;
  line-height: 1.72;
}

.hero p:not(.eyebrow),
.section-head p {
  max-width: 650px;
  font-size: 1.08rem;
}

.hero-actions,
.amount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.button.primary {
  color: #10231d;
  background: var(--gold);
}

.button.secondary {
  color: var(--pine);
  background: transparent;
  border-color: rgba(12, 36, 29, 0.28);
}

.impact-card,
.one-time,
.use-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.impact-card {
  padding: 28px;
  color: #fff9ea;
  background: linear-gradient(145deg, var(--pine), var(--pine-2));
}

.impact-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.impact-card strong {
  display: block;
  margin: 20px 0 12px;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.impact-card p {
  color: rgba(255, 249, 234, 0.82);
}

.plans-section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.billing-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 26px 0 28px;
  padding: 5px;
  background: var(--sand);
  border: 1px solid rgba(32, 56, 47, 0.13);
  border-radius: 999px;
}

.billing-tabs button {
  min-height: 40px;
  padding: 0 18px;
  color: var(--pine);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.billing-tabs button.active {
  color: #fff9ea;
  background: var(--pine);
}

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

.plan-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(32, 56, 47, 0.13);
  border-radius: 8px;
}

.plan-card.recommended {
  background: #f5ebd9;
  border-color: rgba(196, 155, 85, 0.6);
}

.plan-card h3 {
  font-size: 1.25rem;
}

.plan-price {
  color: var(--pine);
  font-size: 2.7rem;
  font-weight: 850;
}

.plan-price span {
  color: #52665d;
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  min-height: 112px;
  margin: 0;
  padding: 0;
  color: #34483f;
  list-style: none;
}

.plan-card li::before {
  content: "+ ";
  color: #8c6a36;
  font-weight: 900;
}

.one-time {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  align-items: center;
  padding: 34px;
  background: var(--sand);
}

.custom-amount-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.custom-amount-form input {
  width: 160px;
  min-height: 50px;
  padding: 0 16px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid rgba(32, 56, 47, 0.18);
  border-radius: 5px;
  font: inherit;
  font-weight: 800;
}

.form-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.use-section {
  margin: 64px 0 78px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.54);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.use-grid article {
  padding-top: 18px;
  border-top: 2px solid rgba(196, 155, 85, 0.5);
}

footer {
  grid-template-columns: auto 1fr;
}

footer p {
  justify-self: end;
  margin: 0;
  color: rgba(255, 249, 234, 0.8);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .one-time {
    grid-template-columns: 1fr;
  }

  .plan-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  footer {
    padding-inline: 22px;
  }

  main {
    width: min(100% - 44px, 560px);
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .one-time,
  .use-section {
    padding: 24px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer p {
    justify-self: start;
  }
}
