:root {
  --brand: #1E4FA3;
  --brand-dark: #0F2E63;
  --brand-light: #3E7BD6;
  --brand-tint: #E8EEF8;
  --page-bg: #F5F4F0;
  --ink: #2B2B28;
  --ink-muted: #5A564E;
  --border-muted: #E8E6E1;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; line-height: 1.5; }

a { color: inherit; text-decoration: none; }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.hero :focus-visible,
.showcase--ink :focus-visible,
.cta-band :focus-visible,
.consent :focus-visible {
  outline-color: #E8D48B;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 3px solid #E8D48B;
  outline-offset: 2px;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: none;
  margin: 0;
  gap: var(--space-sm);
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-muted);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.site-header__brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-header__partners {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-header__partners a {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__partners a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.site-header__partners a[aria-current="page"] {
  color: var(--brand);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-muted);
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.lang-switch__btn[aria-current="page"],
.lang-switch__btn[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: transparent;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 72px var(--space-lg) 80px;
}

.hero__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: center;
}

.hero__copy { text-align: left; }

.hero__kicker {
  margin: 0 0 var(--space-md);
  color: #E8D48B;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 14ch;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.03em;
}

.hero__subhead {
  max-width: 520px;
  margin: 0 0 var(--space-xl);
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero__copy .store-row { justify-content: flex-start; }

.hero__phone {
  margin: 0;
  text-align: center;
}

.phone {
  width: min(280px, 78vw);
  margin: 0 auto;
  touch-action: pan-y;
  filter: drop-shadow(0 22px 40px rgba(15, 46, 99, 0.22));
  animation: phone-float 5.5s ease-in-out infinite;
}

.phone__bezel {
  border-radius: 32px;
  padding: 8px;
  background: #1a1a18;
}

.phone__stage {
  display: grid;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.phone__shot {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.phone__shot.is-active {
  opacity: 1;
  pointer-events: auto;
}

.phone--still { animation: none; }

.phone--still .phone__shot {
  opacity: 1;
  pointer-events: auto;
}

.phone__caption {
  margin-top: var(--space-md);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
}

.hero .phone__caption,
.showcase--ink .phone__caption {
  color: rgba(255, 255, 255, 0.92);
}

.phone__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-sm);
}

.phone__dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.phone__dots button::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-muted);
  transform: translate(-50%, -50%);
}

.phone__dots button[aria-current="true"]::after {
  width: 22px;
  background: var(--brand);
}

/* Official-style store badges (Play + App Store) */
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-row__soon {
  width: 100%;
  margin: 8px 0 0;
  color: inherit;
  opacity: 0.85;
  font-size: 12px;
  font-weight: 600;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__copy .store-row__soon,
.showcase--ink .store-row__soon,
.cta-band .store-row__soon { color: #fff; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  border-radius: 10px;
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  color: #fff;
  min-width: 168px;
  cursor: default;
  user-select: none;
}

.store-btn--on-brand,
.hero .store-btn,
.showcase--ink .store-btn,
.cta-band .store-btn {
  background: #000;
  border-color: rgba(255, 255, 255, 0.88);
  color: #fff;
}

.store-btn__icon { width: 28px; height: 28px; flex: none; }

.store-btn__text { text-align: left; line-height: 1.15; }

.store-btn__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

.store-btn__label--caps {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-btn__name { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }

.proof {
  padding: 40px var(--space-lg);
  background: #fff;
  border-bottom: 1px solid var(--border-muted);
}

.proof__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.proof__grid li { text-align: center; }

.proof__grid strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  margin-bottom: 4px;
}

.proof__grid span {
  color: #5C5850;
  font-size: 14px;
}

.showcase {
  padding: 80px var(--space-lg);
  background: var(--page-bg);
}

.showcase--ink {
  background: var(--brand-dark);
  color: #fff;
}

.showcase__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.showcase__grid--reverse { direction: rtl; }
.showcase__grid--reverse > * { direction: ltr; }

.showcase__kicker {
  margin: 0 0 var(--space-sm);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase--ink .showcase__kicker { color: #E8D48B; }

.showcase__copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 16ch;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.showcase__copy p {
  max-width: 42ch;
  color: var(--ink-muted);
  font-size: 17px;
  margin-bottom: var(--space-xl);
}

.showcase--ink .showcase__copy p { color: rgba(255, 255, 255, 0.88); }

.showcase__copy .store-row { justify-content: flex-start; }

.showcase__carousel {
  margin: 0;
  text-align: center;
}

.showcase__carousel .phone {
  width: min(240px, 32vw);
  margin: 0 auto;
}

.split {
  padding: 80px var(--space-lg);
  background: #fff;
}

.split__intro {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.split__intro h2 { font-size: 32px; margin-bottom: var(--space-sm); }

.split__intro p { color: var(--ink-muted); font-size: 17px; }

.split__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1120px;
  margin: 0 auto;
}

.split__card {
  background: var(--page-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border-muted);
}

.split__card h3 { font-size: 20px; margin-bottom: var(--space-sm); }

.split__card p { color: var(--ink-muted); font-size: 15px; }

@media (max-width: 960px) {
  .showcase__grid {
    gap: 32px;
  }
  .showcase__carousel .phone { width: min(200px, 34vw); }
}

@media (max-width: 760px) {
  .proof__grid,
  .split__grid { grid-template-columns: 1fr; }
  .hero { padding: 48px var(--space-md) 56px; }
  .hero h1 { max-width: none; }
  .hero__grid,
  .showcase__grid,
  .showcase__grid--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    direction: ltr;
  }
  .hero__copy,
  .showcase__copy { text-align: center; }
  .hero__copy .store-row,
  .showcase__copy .store-row { justify-content: center; }
  .hero__subhead,
  .showcase__copy h2,
  .showcase__copy p { margin-left: auto; margin-right: auto; }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "partners partners"
      "langs langs";
    row-gap: 10px;
  }
  .site-header__brand { grid-area: brand; }
  .site-header__actions { display: contents; }
  .site-header__partners { grid-area: partners; justify-self: center; margin-inline: auto; }
  .lang-switch { grid-area: langs; justify-self: center; margin-inline: auto; }
  .pill-btn {
    grid-area: cta;
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .phone { width: min(260px, 72vw); }
  .showcase__carousel .phone { width: min(220px, 60vw); }
  .showcase { padding: 56px var(--space-md); }
}

/* FAQ */
.faq {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-muted);
  padding: var(--space-md) var(--space-lg);
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  float: right;
  color: var(--brand);
  font-weight: 700;
}

.faq__item[open] summary::after { content: '−'; }

.faq__item p {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: var(--space-sm);
}

.faq__item p a { color: var(--brand); font-weight: 600; }

/* Secondary CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-light), var(--brand) 55%, var(--brand-dark));
  color: #fff;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  margin: var(--space-2xl) 0 0;
}

.cta-band h2 { font-size: 28px; margin-bottom: var(--space-sm); }

.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: var(--space-xl); }

/* Footer */
.site-footer {
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.site-footer__links a { color: var(--ink); font-weight: 500; }
.site-footer__links a:hover { color: var(--brand); }

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.split__card[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.split__card[data-reveal]:nth-child(3) { transition-delay: 0.16s; }

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .phone,
  [data-reveal],
  .phone__shot {
    animation: none;
    transition: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Legal doc pages */
.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg) var(--space-3xl);
}

.legal-doc h1 { font-size: 30px; margin-bottom: var(--space-xs); }

.legal-doc__updated { color: var(--ink-muted); font-size: 13px; margin-bottom: var(--space-2xl); }

.legal-doc section { margin-bottom: var(--space-xl); }

.legal-doc h2 { font-size: 18px; margin-bottom: var(--space-sm); }

.legal-doc p { color: var(--ink); font-size: 15px; margin-bottom: var(--space-sm); }

.legal-doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--space-xl);
}

.about {
  padding: 56px var(--space-lg);
  background: #fff;
  text-align: center;
}

.about__kicker {
  margin: 0 0 var(--space-sm);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 auto var(--space-md);
  max-width: 22ch;
}

.about p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 17px;
}

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 46, 99, 0.28);
}

.consent[hidden] { display: none; }

.consent p {
  flex: 1 1 240px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.consent p a { text-decoration: underline; }

.consent__actions {
  display: flex;
  gap: 8px;
}

.consent__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.consent__btn--accept {
  background: #E8D48B;
  color: var(--brand-dark);
}

.consent__btn--reject {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
