:root {
  color-scheme: light;
  --background: #f4efe8;
  --surface: #f2ede5;
  --surface-strong: #fbf7f0;
  --text: #261f1b;
  --muted: #6f635c;
  --soft: #9a8b81;
  --wine: #96414d;
  --wine-dark: #65002f;
  --clay: #b25b4f;
  --olive: #60735b;
  --olive-soft: #e4eadf;
  --line: #ded4ca;
  --shadow: 0 18px 48px rgba(58, 42, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(250, 246, 240, 0.98), rgba(244, 239, 232, 0.98)),
    linear-gradient(90deg, rgba(101, 0, 47, 0.035), transparent 34%, rgba(96, 115, 91, 0.035));
  color: var(--text);
}

body::selection {
  background: var(--wine);
  color: white;
}

a {
  color: inherit;
}

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

h1 {
  max-width: 820px;
  font-size: 4.9rem;
  line-height: 0.98;
}

h2 {
  max-width: 760px;
  font-size: 3.35rem;
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-wrap,
.site-header,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  background: rgba(247, 242, 236, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--wine-dark);
  box-shadow: 0 6px 16px rgba(101, 0, 47, 0.2);
  object-fit: cover;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-nav a,
.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--wine);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.header-cta {
  padding: 0 18px;
  background: var(--wine);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
  padding: 30px 0 42px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  font-size: 1.26rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  padding: 0 22px;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.68);
  color: var(--wine-dark);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone-frame {
  position: absolute;
  width: min(292px, 78vw);
  aspect-ratio: 9 / 18.8;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: #1e171a;
  box-shadow: var(--shadow);
}

.phone-main {
  top: 0;
  right: 96px;
  transform: rotate(-2deg);
}

.phone-secondary {
  right: 0;
  bottom: 0;
  width: min(238px, 64vw);
  transform: rotate(3deg);
}

.phone-topline {
  width: 74px;
  height: 5px;
  margin: 5px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: calc(100% - 22px);
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
  background: var(--background);
}

.mock-screen {
  min-height: 440px;
  padding: 22px;
  border-radius: 27px;
  background: var(--surface-strong);
}

.mock-screen.compact {
  min-height: 360px;
}

.mock-kicker {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-screen h2 {
  margin-top: 6px;
  color: var(--wine);
  font-size: 2rem;
}

.mock-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}

.mock-meta span,
.search-chip,
.session-stage,
.stat-grid span {
  border-radius: 999px;
  background: #f0e8df;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.mock-meta span {
  padding: 7px 10px;
}

.slider-row,
.field-line,
.progress-line,
.score-row,
.stat-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.slider-row strong,
.field-line strong,
.progress-line strong,
.score-row strong,
.stat-header strong {
  color: var(--text);
}

.mock-slider {
  height: 8px;
  margin: 8px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece6df;
}

.mock-slider span,
.affinity-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wine), var(--clay));
}

.radar-placeholder {
  width: 190px;
  height: 190px;
  margin: 26px auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(30deg, transparent 48%, rgba(96, 115, 91, 0.24) 49% 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, rgba(96, 115, 91, 0.24) 49% 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(96, 115, 91, 0.24) 49% 51%, transparent 52%);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.radar-placeholder span {
  display: block;
  width: 88px;
  height: 110px;
  margin: 44px auto 0;
  background: rgba(141, 53, 69, 0.22);
  clip-path: polygon(50% 0, 92% 34%, 76% 94%, 24% 100%, 0 46%);
}

.mock-note {
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
}

.intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.intro p:last-child {
  max-width: 720px;
  align-self: end;
  font-size: 1.2rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 94px;
}

.pillar-card,
.feature-panel,
.proof-grid article,
.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 14px 50px rgba(58, 42, 32, 0.08);
}

.pillar-card {
  min-height: 248px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 26px;
  border-radius: 22px;
}

.pillar-card span {
  color: var(--wine);
  font-weight: 900;
}

.pillar-card p {
  font-size: 0.98rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature-copy {
  display: grid;
  gap: 18px;
}

.feature-copy p:last-child {
  max-width: 640px;
}

.feature-panel {
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border-radius: 26px;
}

.screenshot-panel {
  min-height: 0;
  height: min(580px, 70vw);
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border-radius: 30px;
  background: #1e171a;
  align-content: initial;
}

.screenshot-panel img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
  background: var(--background);
}

.catalog-panel img {
  object-position: top center;
}

.stats-panel img {
  object-position: top center;
}

.note-box {
  min-height: 106px;
  padding: 18px;
  border-radius: 18px;
  background: #f2ece4;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-grid span,
.search-chip,
.session-stage {
  padding: 9px 12px;
}

.wine-result {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.wine-result span,
.compare-panel p {
  color: var(--muted);
}

.session-panel {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(101, 0, 47, 0.08), rgba(96, 115, 91, 0.08)),
    rgba(255, 250, 243, 0.82);
}

.session-label {
  color: var(--wine-dark);
  font-size: 1.1rem;
  font-weight: 900;
}

.session-stack {
  display: grid;
  gap: 12px;
}

.session-stack span {
  display: block;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--wine);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 900;
}

.session-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.compare-title {
  color: var(--wine);
  font-size: 1.35rem;
  font-weight: 900;
}

.affinity-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfd6;
}

.affinity-bar span {
  width: 68%;
}

.proof {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

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

.proof-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
}

.proof-grid strong {
  color: var(--wine-dark);
}

.proof-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.community-copy {
  display: grid;
  gap: 18px;
}

.community-copy p:last-child {
  max-width: 690px;
}

.instagram-link {
  display: grid;
  gap: 12px;
  padding: 28px 0 6px;
  border-top: 2px solid var(--wine-dark);
  color: var(--text);
  text-decoration: none;
}

.instagram-link strong {
  color: var(--wine-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.instagram-link span:not(.instagram-kicker) {
  max-width: 430px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.instagram-kicker {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.instagram-link em {
  width: fit-content;
  margin-top: 8px;
  color: var(--wine-dark);
  font-size: 0.96rem;
  font-style: normal;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(101, 0, 47, 0.28);
  text-underline-offset: 6px;
}

.instagram-link:hover em {
  text-decoration-color: var(--wine-dark);
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.faq-heading {
  display: grid;
  align-content: start;
  gap: 16px;
}

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

.faq details {
  border-radius: 18px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.faq details p {
  margin-top: 12px;
  font-size: 0.98rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 32px;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 12px;
}

.copyright {
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.92rem;
}

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

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 1px;
  padding: 11px 15px 12px;
  border: 1px solid rgba(101, 0, 47, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--wine-dark);
  box-shadow: 0 14px 36px rgba(58, 42, 32, 0.18);
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(16px);
}

.whatsapp-float span {
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.1;
}

.whatsapp-float small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.whatsapp-float:hover {
  border-color: rgba(101, 0, 47, 0.34);
  background: var(--surface-strong);
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .feature,
  .proof,
  .community,
  .faq,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 640px;
  }

  .phone-main {
    left: 0;
    right: auto;
  }

  .phone-secondary {
    right: 0;
  }

  .feature.reverse .feature-copy {
    order: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }

  .section-wrap,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-lead {
    font-size: 1.06rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-frame {
    width: min(282px, 92vw);
  }

  .phone-main,
  .phone-secondary {
    position: relative;
    inset: auto;
    transform: none;
    margin: 0 auto;
  }

  .phone-secondary {
    width: min(230px, 82vw);
    margin-top: -132px;
    margin-left: auto;
    margin-right: 4px;
  }

  .screenshot-panel {
    height: min(620px, 128vw);
  }

  .pillars,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .intro,
  .feature,
  .proof,
  .community,
  .faq {
    padding: 70px 0;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .pillars {
    padding-bottom: 70px;
  }
}
