:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef3fb;
  --ink: #111827;
  --muted: #5d6678;
  --navy: #111f36;
  --blue: #315cf6;
  --blue-dark: #1e3a8a;
  --green: #11845b;
  --amber: #9a6200;
  --line: #d7e0ed;
  --shadow: 0 18px 46px rgba(17, 31, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue-dark);
}

a:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}

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

.site-nav {
  background: var(--navy);
  color: #ffffff;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: #e5edf8;
  font-weight: 700;
  text-decoration: none;
}

.guide-hero {
  padding: 82px 0 72px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(49, 92, 246, 0.58), transparent 32%),
    linear-gradient(135deg, #111f36 0%, #1e3a8a 100%);
}

.breadcrumbs {
  margin: 0 0 22px;
  color: #cbd7ea;
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 6vw, 4.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 760px;
  margin: 0 0 26px;
  color: #dbe7f6;
  font-size: 1.18rem;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.play-badge-link {
  display: inline-flex;
  border-radius: 12px;
}

.play-badge-link img {
  width: 208px;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
}

main section {
  padding: 68px 0;
}

main section:nth-child(even) {
  background: #ffffff;
}

.lead-grid,
.content-grid,
.related-grid {
  display: grid;
  gap: 28px;
}

.lead-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
}

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

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

.card,
.step,
.related-card,
.source-note {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(17, 31, 54, 0.07);
}

.card,
.related-card,
.source-note {
  padding: 26px;
}

.check-list,
.warning-list {
  margin: 0;
  padding-left: 1.25rem;
}

.check-list li,
.warning-list li {
  margin-bottom: 12px;
}

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

.step {
  position: relative;
  padding: 24px 24px 24px 76px;
  counter-increment: guide-step;
}

.step::before {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
  content: counter(guide-step);
}

.result-safe {
  border-left: 5px solid var(--green);
}

.result-review {
  border-left: 5px solid var(--amber);
}

.result-high {
  border-left: 5px solid #c83c4a;
}

.screenshot-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 42px;
}

.phone-shot {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.download-band {
  color: #ffffff;
  background: var(--navy) !important;
}

.download-band .section-kicker {
  color: #7dd3fc;
}

.download-band p {
  max-width: 720px;
  color: #dbe7f6;
}

.source-note {
  margin-top: 26px;
  background: var(--surface-strong);
  box-shadow: none;
}

.footer {
  padding: 28px 0;
  background: #0b1424;
  color: #cbd5e1;
}

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

.footer a {
  color: #ffffff;
}

@media (max-width: 800px) {
  .lead-grid,
  .content-grid,
  .related-grid,
  .screenshot-row {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .guide-hero {
    padding: 58px 0;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 12px;
    font-size: 0.92rem;
  }

  .hero-actions,
  .section-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .step {
    padding: 70px 20px 22px;
  }

  .step::before {
    left: 20px;
  }
}
