:root {
  color-scheme: light;
  --ink: #2b2730;
  --muted: #6c636f;
  --paper: #fffdf9;
  --rose: #e85d75;
  --leaf: #357a64;
  --honey: #f4b544;
  --mint: #e7f4ec;
  --peach: #ffe1d4;
  --line: rgba(43, 39, 48, 0.12);
  --shadow: 0 22px 60px rgba(75, 52, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/background.png") center / cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  flex: 1;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--leaf);
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.language-switcher button {
  width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(53, 122, 100, 0.34);
  outline-offset: 3px;
}

.language-switcher button.active {
  background: var(--leaf);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(32px, 6vw, 78px) clamp(18px, 6vw, 88px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(53, 122, 100, 0.24);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(231, 244, 236, 0.8);
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 850;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.store-button.primary {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.store-button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.16);
}

.store-button.google-play svg {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  flex: 0 0 auto;
}

.store-button.google-play .play-green {
  fill: #34a853;
}

.store-button.google-play .play-blue {
  fill: #4285f4;
}

.store-button.google-play .play-red {
  fill: #ea4335;
}

.store-button.google-play .play-yellow {
  fill: #fbbc04;
}

.store-button.appgallery {
  border-color: #cf0a2c;
  background: #cf0a2c;
  color: #ffffff;
}

.store-button.appgallery svg {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.store-button.appgallery:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(207, 10, 44, 0.2);
}

.store-button.amazon-appstore {
  border-color: #131a22;
  background: #131a22;
  color: #ffffff;
}

.store-button.amazon-appstore svg {
  width: 30px;
  height: 30px;
  margin-right: 9px;
  overflow: visible;
  fill: none;
  stroke: #ff9900;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.store-button.amazon-appstore svg text {
  fill: #ffffff;
  stroke: none;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.store-button.amazon-appstore:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(19, 26, 34, 0.22);
}

.store-button.disabled {
  background: #ffffff;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  padding: clamp(22px, 3vw, 34px) clamp(18px, 4vw, 44px);
  background: rgba(255, 253, 249, 0.9);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.phone-stage {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  width: min(62vw, 330px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-main {
  right: 18%;
  top: 0;
  z-index: 2;
}

.phone-side {
  right: -6%;
  top: 96px;
  transform: rotate(5deg);
}

.promo-social {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(40px, 7vw, 88px) clamp(18px, 6vw, 88px);
}

.video-panel,
.social-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(43, 39, 48, 0.08);
}

.video-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading.compact p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.58;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(53, 122, 100, 0.18);
  border-radius: 8px;
  background: #111111;
  box-shadow: 0 24px 60px rgba(43, 39, 48, 0.16);
  transition:
    border-color 180ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.video-shell:hover {
  border-color: rgba(53, 122, 100, 0.52);
  box-shadow: 0 28px 76px rgba(43, 39, 48, 0.22);
  transform: scale(1.01);
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link {
  justify-self: start;
  color: var(--leaf);
  font-weight: 850;
  text-decoration: none;
}

.video-link:hover {
  text-decoration: underline;
}

.social-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 36px);
}

.social-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.social-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.62;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.social-card {
  display: grid;
  min-height: 112px;
  place-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.social-card svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-card:hover {
  transform: translateY(-2px);
}

.social-card.x {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.social-card.x svg {
  fill: currentColor;
  stroke: none;
}

.social-card.x:hover {
  background: #000000;
  color: #ffffff;
}

.social-card.tiktok {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.social-card.tiktok:hover {
  background: #111111;
  color: #ffffff;
}

.social-card.instagram {
  background: rgba(225, 48, 108, 0.08);
  border-color: rgba(225, 48, 108, 0.18);
  color: #9c1f55;
}

.social-card.instagram:hover {
  background: #e1306c;
  color: #ffffff;
}

.social-card.youtube {
  background: rgba(255, 0, 0, 0.07);
  border-color: rgba(255, 0, 0, 0.18);
  color: #b00000;
}

.social-card.youtube:hover {
  background: #ff0000;
  color: #ffffff;
}

.social-card.facebook {
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.2);
  color: #1464cc;
}

.social-card.facebook svg {
  fill: currentColor;
  stroke: none;
}

.social-card.facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  align-items: center;
  gap: clamp(26px, 6vw, 80px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 6vw, 88px);
  background: linear-gradient(90deg, var(--mint), var(--peach));
}

.feature-band h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.feature-band p,
.final-cta p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.feature-band img {
  max-height: 560px;
  margin-inline: auto;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.app-features,
.showcase {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.feature-list article {
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 253, 249, 0.93);
}

.feature-list article:hover {
  background: #ffffff;
}

.feature-list h3 {
  margin: 0 0 18px;
  color: var(--leaf);
  font-size: 1.25rem;
  line-height: 1.18;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.showcase {
  background: rgba(255, 255, 255, 0.7);
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin-inline: auto;
}

.carousel-track {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 280ms ease,
    transform 420ms ease;
}

.carousel-track img.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.carousel-controls button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.carousel-controls button:hover {
  border-color: rgba(53, 122, 100, 0.42);
  color: var(--leaf);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(43, 39, 48, 0.22);
}

.carousel-dots button.active {
  background: var(--rose);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--paper);
}

.benefits h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.benefits p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 6vw, 88px);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-inline: auto;
}

.final-store-actions {
  justify-content: center;
}

.science-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 88px);
  background: rgba(231, 244, 236, 0.74);
}

.mission-copy h2,
.evidence-copy h2,
.brand-apps h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.mission-copy p:not(.eyebrow),
.evidence-copy p:not(.eyebrow),
.brand-apps p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.evidence-grid article {
  min-height: 142px;
  padding: 22px;
  background: rgba(255, 253, 249, 0.94);
}

.evidence-grid strong,
.evidence-grid span {
  display: block;
}

.evidence-grid strong {
  color: var(--leaf);
  font-size: 1.05rem;
}

.evidence-grid span {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.48;
}

.brand-apps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 clamp(18px, 6vw, 88px) clamp(42px, 6vw, 78px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(43, 39, 48, 0.08);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

footer a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  width: min(560px, calc(100vw - 28px));
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(43, 39, 48, 0.16);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.cookie-banner div {
  display: flex;
  gap: 8px;
}

.cookie-banner button {
  min-height: 40px;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 850;
}

.cookie-primary {
  border: 1px solid var(--leaf);
  background: var(--leaf);
  color: #ffffff;
}

.cookie-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

@media (max-width: 840px) {
  .hero,
  .feature-band,
  .benefits,
  .feature-list,
  .trust-strip,
  .promo-social,
  .science-section,
  .evidence-grid,
  .brand-apps {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone-main {
    left: 4%;
    right: auto;
  }

  .phone-side {
    right: 2%;
  }

  .feature-band img {
    max-height: 520px;
  }

  .feature-list article {
    min-height: auto;
  }

  .brand-apps .store-button {
    width: 100%;
  }

}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .store-actions,
  .store-button {
    width: 100%;
  }

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

  .phone-stage {
    min-height: 410px;
  }

  .phone {
    width: 68vw;
    border-radius: 26px;
  }

  .phone-side {
    top: 76px;
  }

  .benefits article {
    min-height: auto;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner div {
    justify-content: stretch;
  }

  .cookie-banner button {
    flex: 1;
  }
}
