:root {
  --ink: #17202a;
  --muted: #5e6b78;
  --soft: #f4f7fa;
  --line: #dfe5eb;
  --white: #ffffff;
  --blue: #0a66c2;
  --blue-dark: #084f96;
  --blue-soft: #eaf4ff;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(10, 102, 194, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 780px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.announcement {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-bottom: 1px solid #cfe4f8;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.announcement .container {
  padding-block: 8px;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 235, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #46525e;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--blue);
}

.site-nav .mobile-install {
  display: none;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle i {
  font-size: 20px;
  line-height: 1;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(10, 102, 194, 0.22);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: #cbd4dc;
  background: var(--white);
}

.button-secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.button i {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.hero-grid {
  display: grid;
  min-height: 620px;
  padding-block: 70px 62px;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  gap: 54px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #cbd4dc;
  border-radius: 7px;
  color: #35414d;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.store-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  content: "";
}

.hero h1,
.page-hero h1,
.article-header h1 {
  margin: 18px 0 0;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  font-size: 3.75rem;
}

.hero-copy > p {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.product-preview {
  position: relative;
  min-width: 0;
}

.carousel {
  overflow: hidden;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
  background: #eef1f4;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.carousel-controls {
  display: flex;
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px;
  color: var(--white);
  background: rgba(23, 32, 42, 0.82);
  cursor: pointer;
  pointer-events: auto;
}

.carousel-button:hover {
  background: var(--ink);
}

.carousel-button i {
  font-size: 18px;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(23, 32, 42, 0.82);
  gap: 7px;
  pointer-events: auto;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  background: var(--white);
}

.section {
  padding-block: 86px;
}

.section.flush-top {
  padding-top: 0;
}

.section-soft {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.section-divider {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

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

.section-heading h2,
.cta h2 {
  margin: 0;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature-card,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  color: var(--blue);
  background: var(--blue-soft);
}

.feature-icon i {
  font-size: 22px;
  line-height: 1;
}

.feature-card h3 {
  margin: 21px 0 7px;
  font-size: 1.02rem;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

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

.step {
  position: relative;
  padding-top: 55px;
  counter-increment: steps;
}

.step::before {
  display: grid;
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  content: counter(steps);
  font-size: 0.9rem;
  font-weight: 800;
}

.step::after {
  position: absolute;
  top: 18px;
  right: -24px;
  left: 52px;
  height: 1px;
  background: var(--line);
  content: "";
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

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

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

.guide-grid-action {
  margin: 30px 0 0;
}

.guide-card {
  display: flex;
  overflow: hidden;
  min-height: 100%;
  flex-direction: column;
}

.guide-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: #e9edf1;
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.guide-card:hover .guide-card-media img {
  transform: scale(1.015);
}

.guide-card-body {
  display: flex;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.guide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.guide-category {
  color: var(--blue);
}

.guide-card h3 {
  margin: 10px 0 8px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--blue);
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue-dark);
}

.text-link i {
  font-size: 16px;
  line-height: 1;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 700px;
  margin: -8px 0 24px;
  color: var(--muted);
}

.faq-list details p a {
  color: var(--blue);
}

.cta {
  display: grid;
  padding: 44px;
  align-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}

.cta p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #c8d2db;
}

.cta .button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: none;
}

.cta .button-primary:hover {
  background: #2d7dcc;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.footer-grid {
  display: grid;
  padding-block: 46px;
  align-items: start;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 48px;
}

.footer-brand p {
  max-width: 470px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #46525e;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  padding-block: 19px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 20px;
  color: #6b7782;
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.page-hero {
  padding-block: 78px 64px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.page-hero h1 {
  max-width: 850px;
  font-size: 3.35rem;
}

.page-hero .lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.blog-toolbar {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.blog-toolbar h2 {
  margin: 0;
  font-size: 1.55rem;
}

.blog-toolbar p {
  margin: 5px 0 0;
  color: var(--muted);
}

.article-header {
  padding-block: 64px 48px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.breadcrumbs {
  display: flex;
  margin: 0 0 22px;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  list-style: none;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.article-header h1 {
  max-width: 900px;
  font-size: 3.2rem;
}

.article-dek {
  max-width: 790px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.article-byline {
  display: flex;
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 15px;
  color: #53606c;
  font-size: 0.82rem;
}

.article-byline strong {
  color: var(--ink);
}

.article-shell {
  display: grid;
  padding-block: 54px 86px;
  align-items: start;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: 70px;
}

.article-content {
  min-width: 0;
  color: #26313c;
  font-size: 1.02rem;
  line-height: 1.78;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2 {
  margin: 48px 0 14px;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: 0;
  scroll-margin-top: 96px;
}

.article-content h3 {
  margin: 30px 0 9px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.article-content a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content strong {
  color: var(--ink);
}

.article-figure {
  margin: 32px 0;
}

.article-figure img {
  width: 100%;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  background: #eef1f4;
}

.article-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.quick-answer,
.article-callout {
  margin: 0 0 30px;
  padding: 21px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 7px 7px 0;
  background: var(--blue-soft);
}

.article-callout {
  margin-block: 30px;
  border-left-color: var(--blue);
  background: var(--blue-soft);
}

.quick-answer p,
.article-callout p {
  margin: 0;
}

.quick-answer strong,
.article-callout strong {
  display: block;
  margin-bottom: 5px;
}

.comparison-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--ink);
  background: var(--soft);
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 96px;
}

.article-sidebar h2 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: none;
}

.toc {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--line);
  list-style: none;
}

.toc li + li {
  margin-top: 8px;
}

.toc a {
  color: #53606c;
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
}

.sidebar-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sidebar-cta strong {
  display: block;
  margin-bottom: 6px;
}

.sidebar-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.sidebar-cta .button {
  width: 100%;
}

.sources {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.sources ul {
  font-size: 0.88rem;
}

.related-guides {
  padding-block: 68px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.related-guides h2 {
  margin: 0 0 25px;
  font-size: 1.65rem;
}

.empty-state {
  padding-block: 110px;
  text-align: center;
}

.empty-state h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 1;
}

.empty-state h2 {
  margin: 18px 0 8px;
  font-size: 1.8rem;
}

.empty-state p {
  margin: 0 auto 24px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

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

  .article-shell {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 44px;
  }
}

@media (max-width: 820px) {
  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    min-height: 62px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .button {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    z-index: 39;
    top: 100%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 100vw;
    min-height: calc(100dvh - 63px);
    padding: 28px 22px;
    align-items: stretch;
    flex-direction: column;
    background: var(--white);
    gap: 0;
    overflow-y: auto;
    transform: translateX(-50%);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav .mobile-install {
    display: inline-flex;
    margin-top: 22px;
    border: 0;
    color: var(--white);
  }

  .hero-grid {
    padding-block: 54px 58px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1,
  .page-hero h1,
  .article-header h1 {
    font-size: 2.65rem;
  }

  .product-preview {
    width: min(100%, 680px);
  }

  .section {
    padding-block: 66px;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 2rem;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .step {
    min-height: 46px;
    padding: 0 0 0 57px;
  }

  .step::after {
    display: none;
  }

  .cta {
    padding: 35px;
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .blog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 560px) {
  .announcement {
    font-size: 0.75rem;
  }

  .brand span {
    max-width: 145px;
  }

  .hero-grid {
    padding-block: 32px 24px;
    gap: 24px;
  }

  .hero h1,
  .page-hero h1,
  .article-header h1 {
    font-size: 2.1rem;
    line-height: 1.1;
  }

  .hero-copy > p,
  .page-hero .lede,
  .article-dek {
    font-size: 1rem;
  }

  .hero-copy > p {
    margin-top: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 20px;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .carousel-slide img {
    aspect-ratio: 16 / 9;
  }

  #features {
    padding-top: 28px;
  }

  .feature-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .carousel-controls {
    right: 9px;
    bottom: 9px;
    left: 9px;
  }

  .carousel-button {
    width: 34px;
    height: 34px;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 1.75rem;
  }

  .cta {
    padding: 28px 22px;
  }

  .cta .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .article-header {
    padding-block: 50px 42px;
  }

  .article-shell {
    padding-block: 38px 64px;
  }

  .article-content {
    font-size: 0.98rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
