:root {
  color-scheme: light;
  --sand: #fbf3ea;
  --white: #ffffff;
  --ink: #2b1d14;
  --muted: #5e4a3d;
  --line: #e6d6c6;
  --accent: #b4452a;
  --accent-dark: #93361f;
  --accent-soft: #fbe4d9;
  --peach: #f2b8a0;
  --sun: #f4d27a;
  --sun-soft: #f8ecc4;
  --sage: #a9cbb7;
  --sage-soft: #deece3;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--sand);
  color: var(--ink);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
}

/* Header */

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px var(--gutter) 0;
  padding: 10px 10px 10px 24px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(43, 29, 20, 0.06);
}

.wordmark {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent);
}

/* Buttons */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-accent {
  background: var(--accent);
  color: var(--white);
}

.button-accent:hover {
  background: var(--accent-dark);
}

.button-dark {
  background: var(--ink);
  color: var(--sand);
}

.button-outline {
  border-color: var(--ink);
}

.button-outline:hover {
  background: var(--white);
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(72px, 9vw, 112px);
  text-align: center;
}

.icon-stack {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: rise-in 650ms both;
}

.tile {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 24px;
  color: var(--white);
}

.tile svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-peach {
  background: #eb9a7b;
}

.tile-accent {
  background: #c0522f;
}

.tile-sun {
  background: #edb341;
}

.tile-sage {
  background: #94b49d;
}

.eyebrow {
  margin: 8px 0 -8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  animation: rise-in 750ms 80ms both;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Approach */

.approach,
.updates {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter) clamp(80px, 9vw, 120px);
  text-align: center;
}

.section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.cards {
  display: grid;
  width: 100%;
  max-width: 1312px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
  text-align: left;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px;
  border-radius: 32px;
  background: var(--white);
}

.card h3 {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.card-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 22px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon-accent {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.card-icon-sun {
  background: var(--sun-soft);
  color: #6b5210;
}

.card-icon-sage {
  background: var(--sage-soft);
  color: #2f5a41;
}

/* What we're building */

.building {
  display: grid;
  width: min(1312px, 100% - 2 * var(--gutter));
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 56px;
  margin: 0 auto clamp(80px, 9vw, 120px);
  padding: clamp(28px, 6vw, 80px);
  border-radius: 40px;
  background: var(--ink);
  color: var(--sand);
}

.building-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.building-text h2 {
  font-size: clamp(32px, 3.8vw, 52px);
}

.building-text p:last-child {
  margin: 0;
  color: #eadbcd;
  font-size: 19px;
  line-height: 1.6;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--sun);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
  animation: pulse 1.8s ease-in-out infinite;
}

.stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stores li {
  padding: 20px 24px;
  border: 1px dashed rgba(251, 243, 234, 0.4);
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
}

/* Sign-up */

.signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.field input {
  width: min(380px, calc(100vw - 2 * var(--gutter)));
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid #b89f8a;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 400;
}

.field input:focus-visible {
  outline: 3px solid var(--accent-soft);
  border-color: var(--accent);
}

.signup .button {
  min-height: 56px;
}

.check {
  display: flex;
  max-width: 520px;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.fine-print a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Text pages (privacy) */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(72px, 9vw, 112px);
  font-size: 18px;
  line-height: 1.65;
}

.prose h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
}

.prose h2 {
  margin-top: 40px;
  font-size: 28px;
}

.prose-meta {
  color: var(--muted);
  font-size: 15px;
}

.prose a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose li {
  margin: 6px 0;
}

/* Cookie choices */

[hidden] {
  display: none !important;
}

.consent {
  position: fixed;
  right: var(--gutter);
  bottom: 16px;
  z-index: 20;
  display: flex;
  width: min(440px, calc(100% - 2 * var(--gutter)));
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(43, 29, 20, 0.16);
  font-size: 15px;
  line-height: 1.5;
}

.consent p {
  margin: 0;
}

.consent-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.consent-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
}

.consent a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--sand);
  color: var(--muted);
  cursor: pointer;
}

.consent-option strong {
  color: var(--ink);
}

.consent-option input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.consent .button {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.consent-link,
.footer-link {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-link {
  min-height: auto;
  padding: 0;
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent);
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer .wordmark {
  color: var(--ink);
  font-size: 22px;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Motion */

@keyframes rise-in {
  from {
    transform: translateY(14px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

/* Smaller screens */

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

  .building {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    margin-top: 8px;
    padding-left: 18px;
  }

  .wordmark {
    font-size: 22px;
  }

  .nav-link {
    display: none;
  }

  .button {
    padding: 0 20px;
    font-size: 16px;
  }

  .icon-stack {
    gap: 10px;
  }

  .tile {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }

  .card {
    padding: 28px;
  }

  .building {
    border-radius: 28px;
  }

  .signup-row,
  .signup .button {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
