:root {
  color-scheme: dark light;
  --page: #070b0d;
  --page-soft: #0d1317;
  --panel: #11191d;
  --panel-2: #162228;
  --ink: #f7fbff;
  --muted: #b5c4cc;
  --line: #2d3e46;
  --teal: #00b889;
  --teal-dark: #0b765f;
  --coral: #ff735f;
  --gold: #f6bb57;
  --sky: #61b7d8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 13, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 54px 0 42px;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96), rgba(7, 11, 13, 0.84), rgba(7, 11, 13, 0.58)),
    url("/assets/hero-background-1600x900.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dcfdf4;
  background: rgba(0, 184, 137, 0.13);
  font-size: 13px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 0.94;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #deebf0;
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--teal);
  color: #03110d;
  border-color: transparent;
}

.button.coral {
  background: var(--coral);
  color: #170403;
  border-color: transparent;
}

.hero-note,
.small-note {
  max-width: 750px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.phone-showcase {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(8, 13, 16, 0.78);
  box-shadow: var(--shadow);
}

.app-screen-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(82vh, 840px);
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070b0d;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.phone-top img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.mock-screen {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1114;
  padding: 10px;
}

.mock-player {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  gap: 10px;
  background: #010303;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: 10px;
}

.play-mark {
  width: 68px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid #dce7ec;
  border-radius: 6px;
  color: #dce7ec;
  font-size: 26px;
}

.mock-player strong {
  color: #dce7ec;
  font-size: 16px;
}

.mock-controls,
.mock-row,
.mini-pills,
.mock-source-row,
.mock-tabbar,
.mock-selected {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-controls {
  padding: 10px 0 8px;
  flex-wrap: wrap;
}

.mock-tabbar {
  padding: 0 0 8px;
  flex-wrap: wrap;
}

.mock-source-row {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.source-pill,
.count-pill,
.mock-search {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.source-pill {
  flex: 1;
  padding: 8px 10px;
  color: #f3f7fb;
  background: #121923;
  font-size: 14px;
}

.count-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #f3f7fb;
  border: 1px solid #6c7380;
  font-size: 13px;
}

.mock-search {
  margin-bottom: 10px;
  padding: 8px 12px;
  color: #cdd5df;
  border: 1px solid #394354;
  background: #111827;
}

.mock-search::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-right: 10px;
  border: 2px solid #cdd5df;
  border-radius: 999px;
  box-shadow: 8px 8px 0 -6px #cdd5df;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d7e4ea;
  font-size: 12px;
  font-weight: 800;
}

.pill.live {
  color: #03110d;
  border-color: transparent;
  background: var(--teal);
}

.pill.wide {
  margin-left: auto;
}

.mock-list {
  display: grid;
  gap: 6px;
  max-height: 250px;
  overflow: hidden;
}

.mock-row {
  min-height: 46px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #111827;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #27414a;
  color: #effbff;
  font-size: 12px;
  font-weight: 800;
}

.mock-row p {
  flex: 1;
  margin: 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.22;
}

.mock-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.row-actions {
  color: #cfd7df;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.mock-selected {
  padding-top: 10px;
  font-size: 15px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--page-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature,
.guide-card,
.faq-item,
.metric,
.story-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature,
.guide-card,
.faq-item,
.metric {
  padding: 20px;
}

.feature h3,
.guide-card h3,
.faq-item h3,
.metric strong {
  margin: 0 0 8px;
}

.feature p,
.guide-card p,
.faq-item p,
.metric span {
  margin: 0;
  color: var(--muted);
}

.icon-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(0, 184, 137, 0.14);
  color: #b8fff0;
  font-weight: 900;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #151007;
  font-weight: 900;
}

.step h3,
.step p {
  margin: 0;
}

.step p {
  color: var(--muted);
}

.campaign-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.campaign-tile {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  text-decoration: none;
}

.campaign-tile strong {
  font-size: 18px;
}

.campaign-tile span {
  color: var(--muted);
  font-size: 13px;
}

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.story-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(0, 184, 137, 0.22), rgba(97, 183, 216, 0.11)),
    var(--panel);
}

.story-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.story-panel p {
  color: #d5e3e9;
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.checklist li::before {
  content: "\2713";
  color: var(--teal);
  font-weight: 900;
}

.video-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.language-video-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.language-video-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-video-button.active,
.language-video-button:focus-visible {
  color: #03110d;
  border-color: transparent;
  background: var(--teal);
  outline: none;
}

.video-language-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.cta-band {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 115, 95, 0.16), rgba(0, 184, 137, 0.18)),
    var(--panel);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.cta-band p {
  max-width: 720px;
  color: #d7e4ea;
}

.article-hero {
  padding: 64px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96), rgba(7, 11, 13, 0.86), rgba(7, 11, 13, 0.62)),
    url("/assets/hero-background-1600x900.png") center / cover no-repeat;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-content {
  display: grid;
  gap: 18px;
}

.article-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-block h2 {
  margin: 0 0 10px;
}

.article-block p {
  margin: 0 0 12px;
  color: var(--muted);
}

.article-block p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: #dce7ec;
}

@media (max-width: 900px) {
  .hero-grid,
  .story,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    max-width: 460px;
  }

  .grid,
  .campaign-strip,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 34px;
  }

  .grid,
  .campaign-strip,
  .metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .cta-band {
    padding: 24px;
  }
}
