:root {
  --bg: #F7F4FF;
  --surface: #ffffff;
  --surface-soft: #EDE9FB;
  --ink: #1C1230;
  --muted: #6B5E8A;
  --brand: #A855F7;
  --brand-dark: #7C3AED;
  --green: #34D399;
  --rose: #FDE8FF;
  --line: rgba(28, 18, 48, 0.10);
  --shadow: 0 24px 80px rgba(124, 58, 237, 0.14);
  font-family: ui-rounded, "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 85, 247, 0.14), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(52, 211, 153, 0.12), transparent 30rem),
    var(--bg);
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 850;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #7C3AED);
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.32);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.fine-print {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Phone card — dark to match the app's dark UI */
.phone-card {
  position: relative;
  max-width: 380px;
  margin-left: auto;
  padding: 16px;
  border-radius: 46px;
  background: #111028;
  box-shadow: 0 24px 80px rgba(124, 58, 237, 0.38);
  transform: rotate(2deg);
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 5px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.app-preview {
  display: grid;
  gap: 12px;
  padding: 22px;
  min-height: 560px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1A0A42 0%, #0C0820 100%);
}

.session-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.session-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #A855F7, #7C3AED);
  font-size: 1.3rem;
  flex-shrink: 0;
  overflow: hidden;
}

.session-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.session-row strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.session-row span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-grid div {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-grid strong {
  display: block;
  font-size: 1.55rem;
  color: #fff;
}

.metric-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.drink-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.drink-card .pill {
  background: rgba(168, 85, 247, 0.22);
  color: #C084FC;
}

.drink-card strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.drink-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  margin: 0;
}

.drink-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.85fr;
  gap: 10px;
  margin-top: auto;
}

.drink-strip span {
  height: 70px;
  border-radius: 18px;
}

.drink-strip span:nth-child(1) {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.drink-strip span:nth-child(2) {
  background: linear-gradient(135deg, #A855F7, #7C3AED);
}

.drink-strip span:nth-child(3) {
  background: linear-gradient(135deg, #22D3EE, #0EA5E9);
}

.section,
.privacy-panel,
.download,
.features article,
.faq article,
.legal-page,
.support-hero {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(124, 58, 237, 0.07);
  backdrop-filter: blur(18px);
}

.section.compact,
.privacy-panel,
.download {
  margin: 22px 0;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 36px;
}

.section.compact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: end;
}

.section.compact p:last-child,
.privacy-panel p,
.download p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.features article,
.faq article {
  padding: 24px;
  border-radius: 30px;
}

.features p,
.faq p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(247, 244, 255, 0.78)),
    radial-gradient(circle at 92% 0%, rgba(52, 211, 153, 0.16), transparent 26rem);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 700;
}

.download {
  margin-bottom: 58px;
  text-align: center;
}

.download h2,
.download p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.legal-page,
.support-page {
  max-width: 920px;
  margin: 38px auto 70px;
}

.legal-page {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 36px;
}

.legal-page h1,
.support-page h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.legal-page h2,
.faq h2 {
  margin-top: 36px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-page hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.support-hero {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 36px;
}

.support-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--surface-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section.compact,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding-top: 28px;
  }

  .phone-card {
    width: min(100%, 380px);
    margin: 0 auto;
    transform: none;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    justify-content: flex-start;
  }

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

  .app-preview {
    min-height: 500px;
  }
}
