:root {
  --wine: #54292c;
  --wine-deep: #3e1c20;
  --beige: #c0b098;
  --paper: #f3efe8;
  --card: #ffffff;
  --ink: #2b2422;
  --muted: #5e534e;
  --line: rgba(84, 41, 44, 0.12);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header,
.hero,
.features,
.showcase,
.download,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  padding: 14px 0;
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(10px);
}

.brand img {
  display: block;
  height: 36.4px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--wine);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--wine);
  color: #fff !important;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

h1 {
  margin: 0;
  color: var(--wine-deep);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 {
  margin: 0;
  color: var(--wine-deep);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

h3 {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 1.15rem;
}

.lead,
.download p {
  max-width: 38rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
}

.store-link {
  display: inline-flex;
  line-height: 0;
}

.store-link img {
  height: 48px;
  width: auto;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--wine);
  font-weight: 500;
  text-decoration: none;
}

.ig-link svg {
  width: 18px;
  height: 18px;
}

.phone {
  margin: 0;
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(62, 28, 32, 0.18);
}

.phone-hero {
  max-width: 280px;
  justify-self: end;
}

.features {
  padding: 48px 0 8px;
  scroll-margin-top: 72px;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-grid article {
  background: var(--card);
  border-radius: 16px;
  padding: 22px 22px 8px;
  box-shadow: 0 8px 24px rgba(84, 41, 44, 0.06);
}

.feature-grid ul {
  margin: 0;
  padding: 0 0 12px 18px;
  color: var(--muted);
}

.feature-grid li + li {
  margin-top: 8px;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 36px 0 8px;
}

.showcase .phone {
  max-width: 260px;
}

.showcase figcaption {
  margin-top: 12px;
  color: var(--wine);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.download {
  margin-top: 36px;
  margin-bottom: 28px;
  padding: 40px 36px;
  border-radius: 20px;
  background: var(--wine);
  color: #f7f3ee;
  scroll-margin-top: 72px;
}

.download-logo {
  display: block;
  width: min(220px, 70%);
  height: auto;
  margin-bottom: 18px;
}

.download h2,
.download p {
  color: #f7f3ee;
}

.download p {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.legal {
  width: min(860px, calc(100% - 40px));
  margin: 8px auto 40px;
}

.legal h1 {
  margin: 0 0 8px;
  color: var(--wine-deep);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.legal .subtitle,
.legal .small {
  color: var(--muted);
}

.legal h2 {
  margin: 40px 0 14px;
  color: var(--wine);
  font-size: 1.22rem;
}

.legal h3 {
  margin: 22px 0 8px;
  color: var(--wine-deep);
  font-size: 1.02rem;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal a {
  color: var(--wine);
}

.legal ul,
.legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal li + li {
  margin-top: 8px;
}

.legal .important-box,
.legal .info-box,
.legal .contact-box {
  margin: 20px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal .important-box p:last-child,
.legal .info-box p:last-child,
.legal .info-box ul:last-child {
  margin-bottom: 0;
}

.legal .contact-row + .contact-row {
  margin-top: 8px;
}

.footer-links a {
  color: var(--wine);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 860px) {
  .hero,
  .showcase,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-hero,
  .showcase .phone {
    max-width: 280px;
    justify-self: center;
  }

  .showcase figcaption {
    margin-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .features,
  .showcase,
  .download,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand img {
    height: 26px;
  }

  .nav {
    gap: 12px;
  }

  .nav a[href*="instagram"] {
    display: none;
  }

  .site-footer {
    display: block;
  }

  .legal {
    width: min(860px, calc(100% - 28px));
  }

  .footer-links {
    margin-top: 8px;
  }

  .download {
    padding: 28px 20px;
  }
}

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