:root {
  color-scheme: dark;
  --green: #26653d;
  --green-deep: #174c2c;
  --panel: #1b5b35;
  --parchment: #fbefd6;
  --parchment-dim: #e5cda6;
  --ink: #13181d;
  --red: #d54d4b;
  --red-deep: #a93c37;
  --gold: #d9a441;
  --mint: #6fd3a8;
  --shadow: rgba(8, 32, 18, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--green);
  color: var(--parchment);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  border-radius: 0.5rem;
  background: var(--parchment);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.footer-inner,
.hero,
.how-it-works,
.privacy-main {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(251, 239, 214, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.68rem;
  box-shadow: 0 5px 14px var(--shadow);
}

.nav-link {
  color: var(--parchment-dim);
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--parchment-dim);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: var(--parchment-dim);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  border: 1px solid rgba(251, 239, 214, 0.44);
  border-radius: 0.75rem;
  padding: 0.78rem 1rem;
  color: var(--parchment);
  font-weight: 800;
}

.availability-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.18rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-art {
  --icon-size: min(340px, 78vw);
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: calc(var(--icon-size) * 1.15);
  aspect-ratio: 1;
  border: 1px solid rgba(229, 205, 166, 0.25);
  border-radius: 50%;
}

.app-icon {
  position: relative;
  z-index: 1;
  width: var(--icon-size);
  aspect-ratio: 1;
  border: 1px solid rgba(251, 239, 214, 0.28);
  border-radius: 24%;
  box-shadow: 0 2rem 4rem rgba(10, 37, 21, 0.38);
  transform: rotate(2.5deg);
}

.track {
  height: 1px;
  background: rgba(251, 239, 214, 0.22);
}

.how-it-works {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-heading {
  max-width: 16ch;
  margin-bottom: 2.5rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(229, 205, 166, 0.45);
  border-radius: 1rem;
  background: rgba(229, 205, 166, 0.45);
}

.step {
  min-height: 240px;
  background: var(--panel);
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.step-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.step p {
  margin-bottom: 0;
  color: var(--parchment-dim);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(251, 239, 214, 0.22);
}

.footer-inner {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--parchment-dim);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  text-underline-offset: 0.25rem;
}

.privacy-main {
  max-width: 780px;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.privacy-main h1 {
  max-width: none;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.privacy-main h2 {
  margin-top: 2.8rem;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
}

.privacy-main p,
.privacy-main li {
  color: var(--parchment-dim);
}

.privacy-main strong,
.privacy-main a {
  color: var(--parchment);
}

.policy-date {
  margin-bottom: 2.4rem;
  color: var(--parchment-dim);
  font-weight: 700;
}

.policy-summary {
  border-left: 5px solid var(--gold);
  border-radius: 0.4rem;
  background: var(--panel);
  padding: 1.3rem 1.5rem;
}

.policy-summary p:last-child {
  margin-bottom: 0;
}

.policy-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--parchment-dim);
}

th,
td {
  border-bottom: 1px solid rgba(229, 205, 166, 0.35);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--parchment);
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-art {
    --icon-size: min(290px, 72vw);
    min-height: 360px;
  }

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

  .step {
    min-height: 0;
  }

  .step-number {
    margin-bottom: 1.75rem;
  }

}

@media (max-width: 540px) {
  .site-header {
    min-height: 4.5rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
