/* ============================================
   TOKENS
   ============================================ */
:root {
  /* Brand colors */
  --green: #145550;
  --green-deep: #0c3531;
  --green-tint: rgba(20, 85, 80, 0.45);
  --orange: #E66423;
  --gold: #E6B428;
  --burgundy: #5A002D;

  /* Neutrals */
  --paper: #EFEAE0;
  --paper-deep: #E3DDCE;
  --ink: #16181a;
  --ink-dim: #4a4d4f;
  --line: #c9c2ae;

  /* Surfaces */
  --surface: #ffffff;

  --font-display: 'Caveat', cursive;
  --font-body: 'Montserrat', sans-serif;

  /* layout */
  --wrap: 1120px;
  --radius: 22px;
}

/* ============================================
   RESET / BASE
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 79px, var(--line) 79px 80px);
  background-attachment: local;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.4em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-dim);
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 4px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 6px 0 var(--green-deep);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--green-deep);
}

.btn--ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 0.6em 1.3em;
  font-size: 0.9rem;
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background-color: var(--surface);
}

/* ============================================
   STORE BADGES (App Store / Google Play)
   ============================================ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.65em 1.4em;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 0 var(--green-deep);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--green-deep);
}

.store-badge__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge__text small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
}

.store-badge__text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(239, 234, 224, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-dim);
}

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

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-block: 72px 40px;
  overflow: hidden;
}

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

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.hero h1 .accent {
  font-family: var(--font-display);
  color: var(--green);
  font-weight: 600;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__phone {
  width: min(280px, 70vw);
  border-radius: 32px;
  box-shadow: 0 30px 60px -20px rgba(20, 85, 80, 0.35), 0 0 0 8px var(--surface);
  transform: rotate(-3deg);
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lede {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }
}

/* ============================================
   STRING DIVIDER (signature element)
   ============================================ */
.strings {
  height: 36px;
  margin-block: 0;
  background-image: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 9px);
  opacity: 0.7;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding-block: 56px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 40px;
  margin-bottom: 32px;
}

.feature-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.feature-card:nth-child(even) .feature-media {
  order: 2;
}

.feature-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 14px;
}

.feature-card:nth-child(1) .feature-tag {
  background: var(--green);
}

.feature-card:nth-child(2) .feature-tag {
  background: var(--orange);
}

.feature-card:nth-child(3) .feature-tag {
  background: var(--burgundy);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 1.02rem;
  margin: 0;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.feature-img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 24px 48px -18px rgba(20, 85, 80, 0.3), 0 0 0 7px var(--surface), 0 0 0 8px var(--line);
}

@media (max-width: 800px) {

  .feature-card,
  .feature-card:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px;
    gap: 28px;
  }

  .feature-card:nth-child(even) .feature-media {
    order: 0;
  }
}

/* ============================================
   MEMBERSHIP / PREMIUM
   ============================================ */
.membership {
  padding-block: 90px;
  background: var(--green);
  color: var(--paper);
}

.membership .eyebrow {
  color: var(--gold);
}

.membership .section-head h2,
.membership .section-head p {
  color: var(--paper);
}

.membership .section-head p {
  opacity: 0.85;
}

.callout__inner {
  max-width: 560px;
  margin-inline: auto;
}

.premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin-inline: auto;
}

.premium-card {
  background: rgba(239, 234, 224, 0.06);
  border: 1px solid rgba(239, 234, 224, 0.25);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.premium-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.premium-card h3 {
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: 8px;
}

.premium-card p {
  color: var(--paper);
  opacity: 0.85;
  font-size: 0.95rem;
  margin: 0;
}

.membership .btn--primary {
  background: var(--gold);
  color: var(--green-deep);
  box-shadow: 0 6px 0 #a87f17;
}

@media (max-width: 640px) {
  .premium-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  background-color: var(--paper-deep);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.90rem;
  color: var(--ink-dim);
}

.site-footer-nav {
  padding: 8px;
  border-radius: 20px;
}

.site-footer-img {
  width: 150px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer-img-label {
  align-self: center;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

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