:root {
  color-scheme: light;
  --deep: #001422;
  --green: #2eb75e;
  --green-dark: #176c39;
  --purple: #b79df2;
  --white: #ffffff;
  --paper: #f7fbf7;
  --ink: #102c22;
  --muted: #60736c;
  --line: rgba(16, 44, 34, 0.12);
  --shadow: 0 28px 80px rgba(0, 20, 34, 0.16);
  --font: "Hanken Grotesk", "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  color: var(--white);
  background: var(--deep);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: none;
}

/* Landing */

.landing-page {
  color: var(--white);
  background: #102417;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.landing__background,
.landing__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.landing__background {
  background: url("assets/alfalfa-sunset.png") center 48% / cover no-repeat;
  transform: scale(1.02);
}

.landing__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 20, 34, 0.25), rgba(0, 20, 34, 0.02) 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 20, 10, 0.38));
}

.landing__hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1fr);
  align-items: center;
  width: min(100%, 1460px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 90px);
  gap: clamp(28px, 5vw, 92px);
}

.landing__phone-wrap {
  display: grid;
  min-width: 0;
  place-items: center;
}

.landing__phone {
  width: min(100%, 670px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.3));
}

.landing__copy {
  max-width: 670px;
  text-align: center;
  text-wrap: balance;
}

.landing__brand {
  width: min(250px, 55%);
  height: auto;
  margin: 0 auto 30px;
}

.landing__copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.landing__copy > p {
  margin: 30px 0 18px;
  font-size: clamp(1rem, 1.3vw, 1.35rem);
}

.store-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.store-badge {
  display: flex;
  width: 190px;
  min-height: 56px;
  align-items: center;
  border-radius: 10px;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge img {
  width: 100%;
  height: auto;
}

a.store-badge:hover,
a.store-badge:focus-visible {
  outline: none;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.25));
  transform: translateY(-3px);
}

.store-badge--soon {
  cursor: default;
}

.landing__footer {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.landing__footer a {
  text-decoration: none;
  text-underline-offset: 3px;
}

.landing__footer a:hover,
.landing__footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

/* Privacy policy */

.policy-page {
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(183, 157, 242, 0.18), transparent 30rem),
    var(--paper);
  line-height: 1.7;
}

.policy-hero {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
  isolation: isolate;
}

.policy-hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 20, 34, 0.88), rgba(0, 20, 34, 0.55)),
    url("assets/alfalfa-sunset.png") center 58% / cover no-repeat;
  transform: scale(1.03);
}

.policy-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, var(--deep));
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), 1120px);
  margin: 0 auto;
  padding: 1.5rem 0;
}

.site-nav__brand img {
  width: 150px;
  height: auto;
}

.glass-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.glass-button:hover,
.glass-button:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  outline: none;
  transform: translateY(-2px);
}

.policy-hero__content {
  width: min(calc(100% - 3rem), 920px);
  margin: 4rem auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.policy-hero__lead {
  max-width: 650px;
  margin: 1.35rem auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  line-height: 1.55;
}

.date-pill {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.84rem;
}

.policy-content {
  width: min(calc(100% - 2rem), 960px);
  margin: -3.7rem auto 4rem;
  padding: clamp(1.25rem, 4vw, 3.7rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 3.4rem;
}

.summary-card {
  min-height: 9rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(46, 183, 94, 0.1), rgba(183, 157, 242, 0.08));
}

.summary-card__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.summary-card strong,
.summary-card small {
  display: block;
}

.summary-card strong {
  line-height: 1.3;
}

.summary-card small {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.45;
}

.policy-section {
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 0.65rem;
  color: var(--deep);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.policy-section p {
  margin: 0.4rem 0 1rem;
}

.policy-section ul {
  margin: 0.7rem 0 1rem;
  padding-left: 1.25rem;
}

.policy-section li {
  margin: 0.35rem 0;
}

.policy-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--purple);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(183, 157, 242, 0.12);
}

.policy-footer {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto 3rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

.policy-footer img {
  width: 120px;
  margin: 0 auto 1rem;
  filter: brightness(0) saturate(100%) invert(12%) sepia(18%) saturate(1863%) hue-rotate(153deg) brightness(92%);
}

/* Progressive reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  .landing__background {
    background-position: 50% 45%;
  }

  .landing__shade {
    background:
      linear-gradient(180deg, rgba(69, 28, 24, 0.06), rgba(0, 20, 16, 0.26)),
      linear-gradient(90deg, rgba(0, 20, 34, 0.1), rgba(0, 20, 34, 0.02));
  }

  .landing__hero {
    grid-template-columns: 1fr;
    align-content: start;
    width: 100%;
    padding: 46px 24px 44px;
    gap: 22px;
  }

  .landing__copy {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .landing__brand {
    width: 142px;
    margin-bottom: 22px;
  }

  .landing__copy h1 {
    max-width: 430px;
    margin-inline: auto;
    font-size: clamp(1.65rem, 7.7vw, 2.45rem);
    line-height: 1.08;
  }

  .landing__copy > p {
    margin: 20px 0 12px;
    font-size: 1rem;
  }

  .store-list {
    gap: 9px;
  }

  .store-badge {
    width: min(42vw, 165px);
    min-height: 42px;
  }

  .landing__phone-wrap {
    align-self: end;
    min-height: 0;
  }

  .landing__phone {
    width: min(490px, 100vw);
    max-height: 55svh;
    object-position: center top;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32));
  }

  .landing__footer {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    padding: 0 1rem 1rem;
  }

  .policy-hero {
    min-height: 31rem;
  }

  .policy-hero__content {
    margin-top: 3rem;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
  }

  .summary-card {
    min-height: auto;
  }
}

@media (max-width: 470px) {
  .site-nav {
    width: min(calc(100% - 2rem), 1120px);
  }

  .site-nav__brand img {
    width: 112px;
  }

  .glass-button {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }

  .policy-hero__content {
    width: min(calc(100% - 2rem), 920px);
  }

  .policy-content {
    border-radius: 1.15rem;
  }
}

@media (max-width: 390px), (max-height: 700px) and (max-width: 820px) {
  .landing__hero {
    padding-top: 24px;
    gap: 12px;
  }

  .landing__brand {
    width: 112px;
    margin-bottom: 12px;
  }

  .landing__copy h1 {
    font-size: 1.45rem;
  }

  .landing__copy > p {
    margin: 12px 0 8px;
  }

  .store-badge {
    width: 132px;
  }

  .landing__phone {
    max-height: 49svh;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-nav,
  .policy-hero__background,
  .policy-hero::after {
    display: none;
  }

  .policy-hero {
    min-height: auto;
    padding: 2rem 0 5rem;
    color: var(--ink);
    background: var(--white);
  }

  .policy-hero__content {
    margin-top: 0;
  }

  .policy-hero__lead,
  .date-pill {
    color: var(--ink);
  }

  .policy-content {
    width: 100%;
    margin-top: -3rem;
    border: 0;
    box-shadow: none;
  }
}
