:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #111615;
  --muted: #5e6761;
  --panel: #ffffff;
  --line: #d9dfd5;
  --green: #127557;
  --green-dark: #0d4738;
  --amber: #c67b1f;
  --blue: #315f91;
  --rose: #b64968;
  --gold: #e4b747;
  --deep: #101816;
  --cream: #fff8e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 22, 21, 0.12);
  background: rgba(247, 248, 242, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 66px));
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fffdf4;
  background: var(--deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(16, 24, 22, 0.92) 0%, rgba(16, 24, 22, 0.78) 44%, rgba(16, 24, 22, 0.36) 100%),
    linear-gradient(0deg, rgba(16, 24, 22, 0.96) 0%, rgba(16, 24, 22, 0) 38%),
    url("/assets/vybodega-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 92px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 9ch;
  font-size: clamp(4.6rem, 12vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.16;
}

.hero-line {
  max-width: 58ch;
  margin-top: 22px;
  color: #e8efe7;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

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

.button.secondary {
  border-color: rgba(255, 253, 244, 0.42);
  color: #fffdf4;
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 253, 244, 0.22);
  border-radius: 8px;
  background: rgba(16, 24, 22, 0.66);
  color: #dce8df;
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-stats strong {
  color: var(--gold);
  font-size: 1.08rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--green);
}

.proof-strip article {
  min-height: 118px;
  padding: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.proof-strip span,
.proof-strip strong {
  display: block;
}

.proof-strip span {
  color: #dcebe3;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-strip strong {
  margin-top: 7px;
  font-size: 1.06rem;
}

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
}

.preview-art {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.preview-art img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-grid,
.legal-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-step,
.status-card {
  min-height: 182px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.quick-step span,
.status-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-step p,
.status-card p {
  color: var(--muted);
}

.card p,
.doc p,
.doc li {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 14px;
  color: var(--muted);
  font-weight: 800;
}

.apple-band {
  background: var(--deep);
  color: #fffdf4;
}

.apple-band .section-heading p,
.apple-band .card p {
  color: #c7d4cb;
}

.apple-band .card {
  border-color: rgba(255, 253, 244, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.apple-band .card span {
  color: var(--gold);
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.legal-links a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 244, 0.16);
  border-radius: 8px;
  color: #fffdf4;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.legal-links a:hover {
  border-color: rgba(228, 183, 71, 0.54);
  background: rgba(255, 255, 255, 0.1);
}

.legal-links span {
  color: #b8c7bf;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.faq-list p {
  margin-top: 10px;
  color: var(--muted);
}

.doc {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 84px;
}

.doc h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
}

.doc h2 {
  max-width: none;
  margin-top: 34px;
  font-size: 1.46rem;
  line-height: 1.15;
}

.doc p,
.doc ul {
  max-width: 76ch;
  margin-top: 14px;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc .actions .button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.notice {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(18, 117, 87, 0.18);
  border-radius: 8px;
  background: #e8f3ec;
  color: var(--green-dark);
}

footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 690px;
  }

  .proof-strip,
  .section-heading,
  .app-preview,
  .feature-grid,
  .quick-grid,
  .status-grid,
  .legal-grid,
  .support-grid,
  .gallery,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .preview-art img {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .shell,
  .doc {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 72px 0 46px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: 2.12rem;
  }

  .section {
    padding: 58px 0;
  }
}

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