:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #53616f;
  --line: #d8e5ef;
  --sky: #79c4f4;
  --sky-strong: #1d9de3;
  --cream: #fff9ed;
  --paper: #fbfdff;
  --navy: #121935;
  --green: #1f8a5b;
  --shadow: 0 24px 70px rgba(18, 25, 53, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 253, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 229, 239, 0.8);
}

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

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

.brand-trail {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.site-link {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.site-link:hover {
  color: var(--navy);
}

.brand-separator {
  color: #94a3b8;
  font-weight: 800;
}

.app-brand {
  min-width: 0;
}

.app-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--navy);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(18, 25, 53, 0.18);
}

.button.secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: none;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  width: 180px;
  line-height: 0;
  text-decoration: none;
}

.store-badge img {
  width: 100%;
  height: auto;
}

.store-badge-nav {
  width: 138px;
  flex: 0 0 auto;
}

.hero {
  overflow: hidden;
  background: linear-gradient(180deg, #e6f6ff 0%, #f9fcff 48%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: calc(78vh - 72px);
  padding: 38px 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: min(100%, 1010px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(29, 157, 227, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #116c9f;
  font-size: 0.86rem;
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.04;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  letter-spacing: 0;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  margin-top: 18px;
}

.lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: #334155;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-app-icon {
  width: clamp(104px, 12vw, 168px);
  flex: 0 0 auto;
  border-radius: clamp(24px, 3.8vw, 42px);
  box-shadow: 0 24px 64px rgba(18, 25, 53, 0.18);
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: #eef8ff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.screens {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.screen {
  min-width: 190px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(18, 25, 53, 0.13);
  background: #111827;
}

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

.step {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  font-weight: 900;
}

.step h3 {
  margin-top: 18px;
}

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

.guide-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(18, 25, 53, 0.13);
}

.keyword {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #126391;
  background: #e6f6ff;
  font-size: 0.8rem;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
}

details a {
  color: #1176ad;
  font-weight: 800;
}

.cta {
  background: var(--navy);
  color: white;
}

.cta h2, .cta p {
  color: white;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer {
  padding: 34px 0;
  background: #08101f;
  color: rgba(255, 255, 255, 0.76);
}

.footer a {
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  min-width: 0;
}

.guide-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 46px 0 64px;
}

.guide-article h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.guide-article h2 {
  margin-top: 32px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.guide-article p, .guide-article li {
  color: #3d4a58;
  font-size: 1.08rem;
  line-height: 1.78;
}

.guide-article .guide-hero-image {
  width: 100%;
  margin: 28px 0 12px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(18, 25, 53, 0.14);
}

.guide-intro {
  margin-top: 20px;
  font-size: 1.18rem;
}

.guide-note {
  margin: 30px 0;
  padding: 22px;
  border-left: 4px solid var(--sky-strong);
  background: #eef8ff;
  border-radius: 8px;
}

.guide-article .article-cta {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
}

.guide-article .article-cta h2,
.guide-article .article-cta p {
  color: white;
}

.guide-article .article-cta h2 {
  margin-top: 0;
}

.guide-article .article-cta p {
  margin-bottom: 16px;
}

.guide-article .article-icon {
  width: 96px;
  margin: 0;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.guide-article .article-cta .store-badge {
  width: 180px;
}

.guide-article .article-cta .store-badge img {
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.related-guides {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-guides h2 {
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.related-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 25, 53, 0.12);
}

.related-card h3 {
  margin-top: 14px;
}

.related-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .steps,
  .guides-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav-inner {
    gap: 10px;
  }

  .brand-trail {
    gap: 7px;
  }

  .site-link {
    font-size: 0.84rem;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .app-brand span {
    max-width: 96px;
    font-size: 0.92rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-title-row {
    align-items: center;
    flex-direction: column;
    gap: 18px;
  }

  .steps,
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .store-badge {
    width: 172px;
  }

  .store-badge-nav {
    width: 108px;
  }

  .hero-app-icon {
    width: 112px;
    border-radius: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .guide-article .article-cta,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .guide-article .article-icon {
    width: 82px;
  }
}
