:root {
  --page: #f4f8f7;
  --surface: #ffffff;
  --surface-alt: #e7f4f1;
  --ink: #17212b;
  --muted: #526170;
  --line: #cbd5df;
  --primary: #087f72;
  --primary-hover: #05645b;
  --teal: #146f78;
  --teal-dark: #075f57;
  --amber: #8a5a00;
  --warning: #933f2d;
  --on-primary: #ffffff;
  --shadow: 0 8px 22px rgba(28, 42, 56, 0.08);
  --radius: 8px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101519;
    --surface: #192127;
    --surface-alt: #12302d;
    --ink: #f1f5f7;
    --muted: #b2bec7;
    --line: #3c4a54;
    --primary: #62d4c5;
    --primary-hover: #91e5da;
    --teal: #75cbd1;
    --teal-dark: #93ddd2;
    --amber: #e8bd66;
    --warning: #ef9c88;
    --on-primary: #08131d;
    --shadow: none;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 20px; padding-left: 24px; }
li + li { margin-top: 8px; }
code { overflow-wrap: anywhere; word-break: break-word; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--page) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--muted); font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  border-radius: 7px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.btn-secondary { background: transparent; color: var(--primary); }
.site-header .btn { min-height: 40px; padding: 8px 14px; font-size: 0.88rem; }

.intro { padding: 56px 0 38px; border-bottom: 1px solid var(--line); }
.intro-heading { display: flex; align-items: center; gap: 18px; }
.intro-heading img { width: 76px; height: 76px; border-radius: 16px; box-shadow: var(--shadow); }
.intro .lead { max-width: 720px; margin-top: 20px; font-size: 1.25rem; color: var(--muted); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-note, .reviewed {
  color: var(--muted);
  font-size: 0.9rem;
}

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 740px; margin-bottom: 28px; }
.section-heading p { color: var(--muted); }

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

.guide-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guide-card h3 { font-size: 1.24rem; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a:hover { color: var(--primary); text-decoration: underline; }
.guide-card p { color: var(--muted); }
.guide-card .read-link { display: inline-block; margin-top: 4px; font-weight: 700; }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 64px;
}

.feature-list { margin-top: 24px; }
.feature-list li::marker { color: var(--teal); }

.phone-shot { width: 276px; margin: 0 auto; }
.phone-shot-frame { padding: 9px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.phone-shot-frame img { width: 100%; border-radius: 20px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 0.84rem; }

.honesty {
  padding: 20px 22px;
  border-left: 4px solid var(--amber);
  background: var(--surface-alt);
}
.honesty p:last-child { margin-bottom: 0; }

.source-list { max-width: 760px; }
.source-list a { font-weight: 650; }

.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { min-height: 48px; padding: 14px 18px; cursor: pointer; font-weight: 700; }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

.breadcrumb { padding: 22px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 0.88rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); white-space: nowrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.guide {
  width: min(800px, calc(100% - 40px));
  margin-inline: auto;
  padding: 40px 0 72px;
}

.guide h1 { margin-top: 10px; }
.guide .lead { font-size: 1.18rem; color: var(--muted); }
.guide h2 { margin-top: 48px; }
.guide p, .guide li { max-width: 72ch; }
.guide .inline-cta { margin: 24px 0 8px; font-weight: 700; }

.guide-table-wrap { overflow-x: auto; margin: 24px 0 8px; }
.guide-table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface); }
.guide-table th, .guide-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-table th { background: var(--surface-alt); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--teal);
  border-radius: 3px;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  background: var(--surface-alt);
}
.callout p:last-child { margin-bottom: 0; }

.app-fit { margin-top: 52px; padding-top: 4px; }
.app-fit .phone-shot { margin: 28px 0 0; }

.related { margin-top: 52px; }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-links a {
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.related-links a:hover { color: var(--primary); border-color: var(--primary); }

.cta-block {
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.cta-block p:first-child { font-size: 1.1rem; font-weight: 750; }
.cta-block .status-note { margin: 12px 0 0; }

.site-footer { padding: 54px 0 34px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 0.8fr; gap: 40px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 10px; }
.footer-title { margin: 10px 0 6px; font-weight: 800; }
.footer-copy { color: var(--muted); font-size: 0.9rem; }
.footer-col h2 { font-size: 0.95rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.disclaimer { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.copyright { margin: 20px 0 0; color: var(--muted); font-size: 0.86rem; }

.sticky-cta { display: none; }

@media (max-width: 780px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .wrap, .guide { width: min(100% - 32px, 1080px); }
  .header-row { flex-wrap: wrap; padding: 10px 0; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-nav a { font-size: 0.85rem; }
  .guide-grid, .product-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid { gap: 38px; }
  .footer-grid { gap: 30px; }
  .section { padding: 48px 0; }
}

@media (max-width: 520px) {
  body { padding-bottom: 72px; }
  .brand { font-size: 0.9rem; }
  .brand img { width: 30px; height: 30px; }
  .site-header .btn { padding-inline: 10px; }
  .intro { padding-top: 38px; }
  .intro-heading { align-items: flex-start; }
  .intro-heading img { width: 60px; height: 60px; border-radius: 13px; }
  .intro .lead { font-size: 1.1rem; }
  .guide-card { min-height: auto; }
  .related-links { grid-template-columns: 1fr; }
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--surface);
    transition: transform 150ms ease;
  }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.is-suppressed { transform: translateY(120%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .sticky-cta, .btn, .inline-cta { display: none !important; }
  body { padding-bottom: 0; background: #ffffff; color: #000000; }
  .guide { width: 100%; }
  a { color: #000000; }
  .site-footer { background: #ffffff; }
}
