/* IPO Estate — marketing site */
:root {
  --bg: #e4eaf3;
  --bg-deep: #0f172a;
  --surface: #f8fafc;
  --surface-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #c8d4e4;
  --brand: #1e4d8c;
  --brand-dark: #153a6b;
  --accent: #0ea5e9;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.08);
  --max: 72rem;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, #dfe7f2 0%, #eef2f8 45%, #f4f7fb 100%);
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

/* ——— Header (default: light pages) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header--dark {
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.site-logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

.site-header--dark .site-logo img {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  padding: 6px 10px;
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.site-logo--light span,
.site-logo--light .site-logo__text {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.site-nav__cta {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-nav__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.site-logo span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

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

.site-nav--light a {
  color: rgba(226, 232, 240, 0.88);
}

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

.site-nav--light a:hover,
.site-nav--light a[aria-current="page"] {
  color: #fff;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.main-home {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ——— Homepage hero ——— */
.hero {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.hero--immersive {
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.hero__shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  margin-top: auto;
  padding: clamp(5rem, 12vw, 8rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__shell {
    grid-template-columns: minmax(0, 1fr) minmax(248px, 304px);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.hero__downloads {
  min-width: 0;
}

@media (max-width: 959px) {
  .hero__downloads {
    max-width: min(22rem, 100%);
  }
}

.cta-download-card--hero {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero__downloads .store-soon-list--badges {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.85rem 1rem;
}

@media (min-width: 960px) {
  .hero__downloads .store-soon-list {
    width: 100%;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  background-color: #0a1628;
  background-image: url("https://images.unsplash.com/photo-1477953397825-06bfe90cbf99?auto=format&fit=crop&w=2400&q=85");
  background-size: cover;
  background-position: center 40%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.25) 100%
  );
}

.hero__inner {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}

.hero__brand {
  margin-bottom: 1.25rem;
}

.hero__logo {
  max-width: min(280px, 72vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

.hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 197, 255, 0.95);
}

.hero--immersive h1 {
  margin: 0 0 1rem;
  max-width: 17ch;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #fff;
  font-weight: 700;
}

.hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.92);
}

.hero__actions {
  justify-content: flex-start;
  margin-top: 1.75rem;
}

.btn-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-row.hero__actions {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(30, 77, 140, 0.35);
}

.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn--ghost {
  background: var(--surface-elevated);
  color: var(--brand);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* Trust slider (category highlights) + wide CTA photo */
.trust-slider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 0 1.5rem;
}

.trust-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem 0.85rem;
}

.trust-slider__title {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--bg-deep);
  letter-spacing: -0.02em;
}

.trust-slider__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-slider__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface-elevated);
  color: var(--brand-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.trust-slider__arrow:hover {
  background: #e8eef6;
  border-color: var(--brand);
}

.trust-slider__viewport {
  margin: 0 0 0.65rem;
}

.trust-slider__scroller {
  display: flex;
  gap: 10px;
  padding: 0.35rem 1rem 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.trust-slider__slide {
  flex: 0 0 88%;
  scroll-snap-align: center;
  text-align: center;
  padding: 1.15rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #e8eef8 0%, #dce6f2 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.trust-slider__slide strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.trust-slider__slide span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
}

@media (min-width: 520px) {
  .trust-slider__slide {
    flex: 0 0 calc(50% - 5px);
  }
}

@media (min-width: 768px) {
  .trust-slider__slide {
    flex: 0 0 calc(33.333% - 7px);
  }
}

@media (min-width: 960px) {
  .trust-slider__slide {
    flex: 0 0 calc(25% - 8px);
  }
}

@media (min-width: 1120px) {
  .trust-slider__viewport {
    margin: 0;
    border-radius: 0;
  }

  .trust-slider__scroller {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    background: rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
  }

  .trust-slider__slide {
    flex: initial;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .trust-slider__slide:last-child {
    border-right: none;
  }

  .trust-slider__chrome {
    display: none !important;
  }
}

.trust-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 1rem;
}

.trust-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.trust-slider__dot[aria-current="true"] {
  background: var(--brand);
  transform: scale(1.15);
}

/* Wide CTA photo band */
.cta-photo-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem clamp(1.25rem, 3vw, 2rem);
}

.cta-photo-band__frame {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  aspect-ratio: 12 / 5;
  max-height: min(560px, 70vh);
  min-height: 200px;
  background: linear-gradient(125deg, #1e3a5f 0%, #0f172a 45%, #1e4d8c 100%);
  box-shadow: var(--shadow);
}

.cta-photo-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.cta-photo-band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.5) 52%,
    rgba(15, 23, 42, 0.2) 100%
  );
  z-index: 1;
}

.cta-photo-band__content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  box-sizing: border-box;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3.25rem);
  max-width: 32rem;
}

.cta-photo-band__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.95);
}

.cta-photo-band__content h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.cta-photo-band__sub {
  margin: 0 0 1.25rem;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
  max-width: 26rem;
}

.cta-photo-band__btn {
  align-self: flex-start;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.cta-download-card {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(165deg, #f8fafc 0%, #e8eef6 55%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(1.25rem, 3vw, 1.65rem);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.cta-download-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--bg-deep);
  letter-spacing: -0.03em;
  line-height: 1.2;
  scroll-margin-top: 5.5rem;
}

.cta-download-card__tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cta-download-card__stores.store-buttons {
  margin-bottom: 0;
}

.cta-apk-row {
  display: flex;
  align-items: stretch;
}

.cta-apk-row__btn {
  flex: 1;
  min-width: 0;
}

.btn--apk-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn__android-icon {
  flex-shrink: 0;
  display: block;
  width: 28px;
  height: 28px;
}

.cta-apk-row__mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8fff1 0%, #c8f7dc 100%);
  border: 1px solid rgba(61, 220, 132, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-apk-row .apk-robot {
  width: 36px;
  height: 36px;
}

@media (max-width: 480px) {
  .cta-photo-band__frame {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: min(52vh, 420px);
  }

  .cta-photo-band__img {
    object-position: center 32%;
  }
}

/* Showcase */
.showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.showcase__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.showcase__visual {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.showcase__visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.showcase__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--bg-deep);
}

.showcase__copy p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.showcase__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.showcase__list li {
  margin-bottom: 0.5rem;
}

.showcase__list li::marker {
  color: var(--brand);
}

/* Ecosystem service grid (homepage) */
.ecosystem {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem clamp(2rem, 4vw, 3.5rem);
}

.eco-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .eco-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.eco-card {
  position: relative;
  background: linear-gradient(155deg, #f8fafc 0%, #e8eff8 55%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.4rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.eco-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #38bdf8, #1e4d8c);
  border-radius: 16px 16px 0 0;
}

.eco-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(30, 77, 140, 0.2));
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.eco-card__icon svg {
  flex-shrink: 0;
}

.eco-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--bg-deep);
  letter-spacing: -0.02em;
}

.eco-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Section titles (home) */
.section-title {
  margin: 3.5rem 0 1rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.section-title--home {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--bg-deep);
}

.section-lead {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Media feature grid */
.grid-media {
  display: grid;
  gap: 1.35rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

@media (min-width: 900px) {
  .grid-media {
    grid-template-columns: repeat(3, 1fr);
  }
}

.media-card {
  background: var(--surface-elevated);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

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

.media-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.media-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  color: var(--bg-deep);
}

.media-card__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Full-bleed quote band */
.image-band {
  position: relative;
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  min-height: clamp(16rem, 42vw, 22rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-band__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
}

.image-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(30, 77, 140, 0.72));
}

.image-band__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 40rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
}

.image-band__quote p {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  font-style: italic;
}

.image-band__quote footer {
  font-size: 0.9rem;
  font-style: normal;
  opacity: 0.85;
}

/* Split alternating */
.grid-split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.split-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface-elevated);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .split-card {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .split-card--reverse .split-card__img {
    order: 2;
  }
}

.split-card__img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  display: block;
}

.split-card__text {
  padding: 1.75rem 1.5rem;
}

@media (min-width: 768px) {
  .split-card__text {
    padding: 2rem 2.25rem;
  }
}

.split-card__text h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: var(--bg-deep);
}

.split-card__text p {
  margin: 0;
  color: var(--text-muted);
}

.cta-band {
  margin-top: 3.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, #2563eb 100%);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band--home {
  position: relative;
  margin: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  max-width: calc(var(--max) - 2.5rem);
  margin-left: auto;
  margin-right: auto;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.cta-band--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 77, 140, 0.88) 50%, rgba(37, 99, 235, 0.85) 100%);
  z-index: 0;
}

.cta-band__content {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 5vw, 3.25rem) 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.95;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-row {
  margin-top: 1.25rem;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}

.cta-band .btn--primary:hover {
  background: #f1f5f9;
  color: var(--brand-dark);
}

.cta-band .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Legal / support article pages */
.page-article {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 48rem;
}

.page-article h1 {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.page-article .meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-article h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.2rem;
}

.page-article h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.05rem;
}

.page-article p,
.page-article ul {
  margin: 0 0 1rem;
  color: var(--text);
}

.page-article ul {
  padding-left: 1.25rem;
}

.page-article li {
  margin-bottom: 0.35rem;
}

.page-article address {
  font-style: normal;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.site-footer {
  margin-top: auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface-elevated);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer--dark {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(148, 163, 184, 0.95);
}

.site-footer--dark a {
  color: #e2e8f0;
}

.site-footer--dark a:hover {
  color: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.site-footer a {
  font-weight: 600;
  text-decoration: none;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout main {
  flex: 1;
}

.support-cards {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .support-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
}

.support-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

/* Store badges + APK (homepage CTA card and support) */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.store-badge img {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(200px, 42vw);
}

.store-badge img[alt*="App Store"] {
  height: 52px;
}

.apk-robot {
  width: 48px;
  height: 48px;
  display: block;
}

.btn--apk {
  background: #3ddc84;
  color: #0b1f14;
  border-color: #2bc770;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(61, 220, 132, 0.35);
}

.btn--apk:hover {
  background: #36c977;
  border-color: #24b366;
  color: #051208;
}

/* Download app modal */
body.download-modal-open {
  overflow: hidden;
}

.download-modal[hidden] {
  display: none !important;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
}

.download-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  background: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.35rem, 4vw, 1.85rem);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  text-align: center;
  animation: download-modal-in 0.28s ease-out;
}

@keyframes download-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.download-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.download-modal__close:hover {
  color: var(--bg-deep);
}

.download-modal__logo {
  display: block;
  margin: 0 auto 1rem;
  height: auto;
  max-width: 180px;
}

.download-modal__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  color: var(--bg-deep);
  letter-spacing: -0.03em;
}

.download-modal__hint {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.download-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.download-modal__cta {
  width: 100%;
  justify-content: center;
}

.store-soon-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.store-soon-list--badges {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.store-soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  box-sizing: border-box;
  opacity: 0.72;
  cursor: not-allowed;
}

.store-soon--badge {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 0;
  max-width: none;
  padding: 0;
  gap: 0;
  border: none;
  background: transparent;
  opacity: 1;
  cursor: not-allowed;
}

.store-soon__logo-wrap {
  position: relative;
  display: block;
  line-height: 0;
  width: 100%;
  text-align: center;
  padding: 0.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.store-soon__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  filter: grayscale(0.15);
}

.store-soon__logo--apple {
  height: 40px;
}

.store-soon__pill {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

.store-soon__pill--overlay {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-size: 0.58rem;
  padding: 0.2rem 0.45rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.download-modal__actions .store-soon-list--badges {
  width: 100%;
}

.download-modal__stores {
  margin-top: 0.15rem;
}

.download-modal__dismiss {
  margin-top: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.download-modal__dismiss:hover {
  color: var(--bg-deep);
}

/* Homepage body: cohesive with hero */
.page-home {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 22rem, #dce3ee 22rem, #e4eaf3 45%, #eef2f8 100%);
}

.page-home .layout main {
  background: transparent;
}

/* Sticky mobile download bar */
.mobile-cta-bar {
  display: none;
}

/* ——— Mobile polish ——— */
@media (max-width: 767px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  body.has-mobile-cta {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0));
  }

  .site-header__inner {
    padding: 0.65rem 1rem;
  }

  .site-logo img {
    height: 36px;
  }

  .site-header--dark .site-logo img {
    height: 38px;
    padding: 5px 8px;
  }

  .site-logo__text {
    display: none;
  }

  .site-nav {
    gap: 0.35rem 0.75rem;
  }

  .site-nav a {
    font-size: 0.875rem;
  }

  .hero--immersive {
    min-height: auto;
    max-height: none;
  }

  .hero__shell {
    display: flex;
    flex-direction: column;
    padding: 5.5rem 1rem 1.75rem;
    gap: 1.25rem;
  }

  .hero__brand {
    display: none;
  }

  .hero--immersive h1 {
    max-width: none;
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.15;
    margin-bottom: 0.65rem;
  }

  .hero__lead {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: none;
    color: rgba(226, 232, 240, 0.9);
  }

  .hero__eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }

  .hero__actions--compact {
    display: none;
  }

  .hero__downloads {
    order: -1;
    max-width: none;
    width: 100%;
  }

  .cta-download-card--hero {
    border-radius: 16px;
    padding: 1.15rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  }

  .cta-download-card__title {
    font-size: 1.2rem;
  }

  .cta-download-card__tagline {
    font-size: 0.85rem;
  }

  .store-soon-list--badges {
    gap: 0.65rem;
  }

  .store-soon__logo {
    height: 40px;
  }

  .store-soon__logo--apple {
    height: 36px;
  }

  .btn--apk-with-icon {
    min-height: 3rem;
    font-size: 1rem;
    padding: 0.85rem 1.15rem;
  }

  .trust-slider {
    padding-top: 1rem;
  }

  .trust-slider__slide {
    flex: 0 0 82%;
    padding: 1rem 0.85rem;
  }

  .cta-photo-band__frame {
    min-height: 240px;
  }

  .showcase,
  .ecosystem {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-title--home,
  .section-lead {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .grid-media,
  .grid-split,
  .eco-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-home {
    background: #eef2f8;
  }

  /* Bottom-sheet download modal */
  .download-modal {
    align-items: flex-end;
    padding: 0;
  }

  .download-modal__panel {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0));
    animation: download-sheet-in 0.32s ease-out;
  }

  @keyframes download-sheet-in {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .download-modal__actions .store-soon-list--badges {
    flex-direction: row;
  }

  .download-modal__actions .store-soon--badge {
    flex: 1 1 calc(50% - 0.35rem);
  }

  .mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.1);
  }

  body.download-modal-open .mobile-cta-bar {
    display: none;
  }

  .mobile-cta-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #3ddc84;
    color: #0b1f14;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(61, 220, 132, 0.35);
  }

  .mobile-cta-bar__icon {
    flex-shrink: 0;
  }

  .site-footer--dark {
    padding-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none !important;
  }
}
