:root {
  --body: #202431;
  --top: #07020f;
  --panel: #202431;
  --panel-deep: #191d28;
  --green: #4dcc62;
  --green-strong: #38d957;
  --green-glow: rgba(76, 204, 98, .58);
  --text: #f6f7ff;
  --muted: #d7ddea;
  --line: rgba(77, 204, 98, .38);
  --shadow: 0 0 30px rgba(77, 204, 98, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--body);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  width: 100%;
  background: var(--top);
  border-bottom: 1px solid #151924;
}

.topbar-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link img {
  width: 230px;
  height: auto;
}

.download-pill {
  min-width: 150px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #03110a;
  background: #19c6c6;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(25, 198, 198, .22);
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 70px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 76px;
  align-items: center;
  margin-bottom: 28px;
}

.intro-copy h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--green);
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.3;
  font-weight: 900;
}

.intro-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: 17px;
}

.app-logo-card {
  margin: 0;
  display: flex;
  justify-content: center;
}

.app-logo-card img {
  width: 270px;
  border-radius: 44px;
  filter: drop-shadow(0 0 24px var(--green-glow));
}

.wide-download {
  min-height: 60px;
  margin: 8px 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(77, 204, 98, .34);
}

.app-info {
  margin-bottom: 34px;
}

.app-info dl {
  margin: 0;
}

.app-info div {
  min-height: 43px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8px;
  font-size: 16px;
}

.app-info div:nth-child(odd) {
  background: var(--green);
}

.app-info dt {
  font-weight: 800;
}

.app-info dd {
  margin: 0;
  font-weight: 800;
}

.toc {
  margin: 0 0 42px;
  border: 3px solid var(--green);
  border-radius: 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.toc summary {
  min-height: 78px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.toc summary::after {
  content: "⌄";
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.toc nav {
  padding: 0 28px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.toc nav a {
  padding: 10px 12px;
  color: var(--text);
  background: rgba(77, 204, 98, .11);
  border: 1px solid rgba(77, 204, 98, .22);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.content-section {
  margin: 0 0 40px;
}

.content-section h2 {
  margin: 0 0 18px;
  padding: 14px 20px;
  color: #fff;
  background: var(--green);
  border-radius: 9px;
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.content-section p {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article,
.faq-block article {
  padding: 24px;
  background: var(--panel-deep);
  border: 1px solid rgba(77, 204, 98, .25);
  border-radius: 12px;
}

.feature-grid h3,
.faq-block h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 22px;
}

.feature-grid p,
.faq-block p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
}

.steps li {
  min-height: 176px;
  padding: 22px;
  background: var(--panel-deep);
  border: 1px solid rgba(77, 204, 98, .28);
  border-radius: 12px;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 18px;
}

.steps span {
  color: var(--muted);
}

.route-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.route-buttons a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  color: #03110a;
  background: var(--green);
  font-weight: 900;
}

.faq-block {
  display: grid;
  gap: 18px;
}

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 48px;
  color: var(--muted);
  border-top: 1px solid rgba(77, 204, 98, .22);
  text-align: center;
}

/* Existing inner pages */
.site-header {
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(77, 204, 98, .32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 900;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #06110a;
  background: var(--green);
  border-radius: 14px;
  font-weight: 1000;
}

.brand strong { display: block; font-size: 25px; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; }

.nav {
  display: flex;
  gap: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.header-cta,
.btn,
.btn-primary,
.btn-outline {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #03110a;
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.btn-outline {
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green);
}

.page {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0;
}

.page-hero,
.register-hero,
.checklist-panel,
.steps-panel,
.article-grid article,
.faq-list article,
.updates-list article {
  padding: 28px;
  background: var(--panel-deep);
  border: 1px solid rgba(77, 204, 98, .25);
  border-radius: 14px;
}

.page-hero,
.register-hero {
  margin-bottom: 24px;
}

.page-hero h1,
.register-hero h1 {
  margin: 0 0 16px;
  color: var(--green);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.article-grid,
.faq-list,
.updates-list {
  display: grid;
  gap: 18px;
}

.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.register-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
}

.register-hero img {
  border-radius: 20px;
}

@media (max-width: 920px) {
  .topbar-inner,
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .intro-section,
  .register-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .app-logo-card {
    justify-content: flex-start;
  }

  .toc nav,
  .feature-grid,
  .steps,
  .article-grid,
  .checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding-top: 48px;
  }

  .logo-link img {
    width: 190px;
  }

  .download-pill,
  .wide-download {
    width: 100%;
  }

  .intro-copy h1 {
    font-size: 30px;
  }

  .app-info div {
    grid-template-columns: .78fr 1fr;
  }

  .toc nav,
  .feature-grid,
  .steps,
  .article-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
  }
}
