html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* add once near the top of your CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
}
.logo-text {
  letter-spacing: 0.2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  border: 1px solid var(--ring);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn:hover {
  background: var(--accent-2);
}
.btn-sub {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin: 26px 0;
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
.tag {
  display: inline-block;
  font-size: 12px;
  color: #111;
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 6px 0 8px;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
.lead {
  color: var(--muted);
  font-size: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  background: var(--background);
}
/* Make CTA button full width and styled like screenshot */
.cta .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--accent);
  border-radius: 999px; /* pill shape */
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
}

.cta .btn svg {
  margin-right: 8px;
  stroke: #fff; /* force white arrow */
}

.cta .btn:hover {
  background: var(--accent-2);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 12px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--background);
}
.badge {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.foot {
  text-align: center;
  color: var(--muted);
  padding: 26px 0;
  font-size: 14px;
}

/* Top-right small Apply button (was inline) */
#apply-top {
  margin-left: auto;
  padding: 8px 14px;
  font-size: 14px;
}

/* Hero image (was inline) */
#hero-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-img);
  border: 1px solid var(--card-border);
  display: block;
}

/* Hero image caption (was inline color + padding) */
#hero-img-caption {
  padding: 8px 6px 2px;
  color: var(--muted-2);
  font-size: 12px;
}

/* Footer links container (was inline layout) */
#footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
#footer-links a {
  color: var(--muted);
}

/* Footer disclaimer (was inline color + margin) */
#footer-disclaimer {
  margin-top: 8px;
  color: var(--muted-dim);
}

/* Page scaffold for legal pages */
.page {
  max-width: 720px;
  margin: 32px auto;
  padding: 0 16px;
}

/* Optional: toned-down body copy container */
.prose {
  line-height: 1.6;
}

/* Back to home button (ghost style) */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--ring);
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover {
  background: var(--background);
}

/* Footer link color (already set on #footer-links a, but this is a safe fallback) */
.foot a {
  color: var(--muted);
}
