:root {
  --sage: #8fa68e;
  --terracotta: #c4845c;
  --charcoal: #2d3748;
  --cream: #f7f5f0;
  --warm-white: #fefcf8;
  --sand: #e9e1d8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Libre Franklin", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background-color: var(--warm-white);
  line-height: 1.6;
}

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--sage);
  color: white;
}

.btn.primary:hover {
  filter: brightness(0.92);
}

.btn.outline {
  border-color: var(--sage);
  color: var(--sage);
  margin-left: 1rem;
}

.btn.outline:hover {
  background: var(--sage);
  color: white;
}

.btn.outline.terracotta {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.btn.outline.terracotta:hover {
  background: var(--terracotta);
  color: white;
}

.hero {
  background: radial-gradient(circle at top right, rgba(143, 166, 142, 0.35), transparent 45%),
    radial-gradient(circle at 30% 20%, rgba(196, 132, 92, 0.3), transparent 60%),
    var(--cream);
  padding: 2rem clamp(0.75rem, 3vw, 2rem) 3rem;
}

.hero-content {
  max-width: 1040px;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.nav img {
  width: 64px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content h1 .hero-subline {
  display: block;
  margin-top: 0.35rem;
  max-width: 32ch;
}
.glimmer {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.glimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 2.5s ease-out 0.8s;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin: 0.5rem 0 1rem;
}

.section-head .section-lede {
  font-size: 1.1rem;
  color: rgba(45, 55, 72, 0.8);
}

.promo {
  padding: 3rem clamp(0.75rem, 3.5vw, 3rem);
}

.promo .section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.promo .section-head h2,
.promo .section-head .section-lede {
  display: none;
}

.promo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.promo-card {
  background: white;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid var(--sand);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.trust {
  padding: 4rem clamp(0.75rem, 3.5vw, 3.5rem);
  background: var(--cream);
}

.trust .section-head {
  max-width: 1200px;
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.trust-card {
  background: white;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--sand);
}

.trust-card h3 {
  margin-top: 0;
  color: var(--charcoal);
}

.how {
  padding: 4rem clamp(0.75rem, 3.5vw, 3.5rem);
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.step {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--sand);
}

.step-num {
  display: inline-block;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.app section,
.app article {
  background: white;
}

.app {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: #fdf9f5;
  padding: 4rem clamp(0.75rem, 3.5vw, 3.5rem);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.waitlist-form {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.waitlist-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--sage);
  font-size: 1rem;
}

.waitlist-form button {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--terracotta);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.waitlist-form button:hover {
  filter: brightness(0.94);
}

.app-card {
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--sand);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.app-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-card li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.app-card li::before {
  content: "•";
  color: var(--sage);
  position: absolute;
  left: 0;
}

.cta {
  text-align: center;
  padding: 4rem 1rem;
  background: radial-gradient(circle at center, rgba(143, 166, 142, 0.25), transparent 65%);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta .hero-cta {
  justify-content: center;
}

.footer {
  padding: 3rem clamp(0.75rem, 3.5vw, 3rem);
  border-top: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer img {
  width: 52px;
  height: auto;
}

.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(45, 55, 72, 0.85);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

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

.footer-links .separator {
  color: rgba(45, 55, 72, 0.3);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.footer-social a {
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--terracotta);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(45, 55, 72, 0.6);
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo,
  .how,
  .app,
  .cta {
    padding: 3rem 1.25rem;
  }

  .btn.outline {
    margin-left: 0;
  }
}
