
:root {
  color-scheme: light;
  --ink: #0d1b2a;
  --muted: #526277;
  --line: #d8e3ee;
  --panel: #ffffff;
  --soft: #f3f8fc;
  --blue: #0b65d8;
  --blue2: #1aa7ec;
  --green: #11a36a;
  --amber: #d98c12;
  --red: #d45a47;
  --shadow: 0 22px 70px rgba(11, 60, 110, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8fbfe; }
body.payment-active .page { filter: blur(7px); transform: scale(.995); pointer-events: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 28px; border-bottom: 1px solid rgba(216, 227, 238, .9); background: rgba(248, 251, 254, .88); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 50; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue2)); box-shadow: 0 8px 22px rgba(11, 101, 216, .25); }
.nav-links { display: flex; gap: 18px; color: var(--muted); font-weight: 750; font-size: 14px; }
.btn { border: 0; border-radius: 8px; min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 900; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #1598e8); color: #fff; box-shadow: 0 16px 40px rgba(11, 101, 216, .24); }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost { background: #eaf3fb; color: #11446d; }
.btn-small { min-height: 36px; padding: 0 13px; font-size: 13px; }
.hero { max-width: 1180px; margin: 0 auto; padding: 28px 24px 38px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); gap: 26px; align-items: center; }
.hero-copy h1, .resource-hero h1 { margin: 8px 0 12px; font-size: 54px; line-height: 1.02; letter-spacing: 0; }
.hero-lede, .resource-hero p, .section p, .legal p, li { color: var(--muted); line-height: 1.68; }
.hero-lede { max-width: 650px; font-size: 18px; }
.hero-actions, .section-actions, .panel-actions, .pricing-bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 12px; color: #35617e; font-size: 13px; font-weight: 750; }
.eyebrow { margin: 0; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 950; }
.scanner-panel { background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.scanner-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,101,216,.1), transparent 32%, rgba(26,167,236,.12)); pointer-events: none; }
.scanner-panel > * { position: relative; }
.scanner-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.scanner-head h2, .section h2, .pricing-head h2, .faq h2 { margin: 4px 0 0; font-size: 36px; letter-spacing: 0; }
.status-pill, .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 950; color: #074f31; background: #dff7ec; }
.scan-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.scan-form label { display: grid; gap: 6px; color: #2f4e68; font-size: 12px; font-weight: 850; }
.scan-form input { width: 100%; height: 42px; border-radius: 8px; border: 1px solid var(--line); padding: 0 11px; background: #fff; color: var(--ink); }
.handoff-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.device-card { min-height: 124px; border-radius: 12px; border: 1px solid var(--line); background: #f8fbfe; padding: 13px; display: flex; flex-direction: column; gap: 8px; }
.device-card span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 950; background: #1d7ce0; }
.device-card.active { background: #e9f5ff; border-color: #9dcbf2; }
.device-card b { font-size: 15px; }
.device-card small, .scan-results span, .unlock-card span { color: var(--muted); line-height: 1.45; }
.scan-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.scan-results div { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; display: grid; gap: 4px; }
.unlock-card { margin-top: 12px; border-radius: 12px; padding: 12px; background: #0d1b2a; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.unlock-card span { color: #d9e7f5; }
.signal-strip { max-width: 1180px; margin: 0 auto; padding: 0 24px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.signal-strip div { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 10px 30px rgba(12, 70, 120, .06); }
.signal-strip span { display: block; color: var(--muted); margin-top: 5px; font-size: 13px; line-height: 1.45; }
.section { max-width: 1180px; margin: 0 auto; padding: 56px 24px; scroll-margin-top: 84px; }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: 34px; align-items: center; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-grid article, .guide-card, .faq-grid article, .mini-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: 0 12px 34px rgba(10, 60, 110, .06); }
.feature-grid span { width: 34px; height: 6px; border-radius: 999px; display: block; background: linear-gradient(90deg, var(--blue), var(--green)); }
h2, h3, h1 { color: var(--ink); }
.feature-grid h3, .faq-grid h3 { margin: 12px 0 6px; }
.dashboard-band { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px; align-items: center; background: #0d1b2a; color: #fff; max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px)); padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px)); }
.dashboard-band h2, .dashboard-band p { color: #fff; }
.dashboard-band p { opacity: .82; }
.heatmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.heat { min-height: 126px; border-radius: 12px; padding: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: grid; gap: 8px; }
.heat span { color: #d9e7f5; line-height: 1.55; }
.heat.high { border-color: rgba(255, 201, 82, .62); }
.heat.medium { border-color: rgba(41, 198, 126, .52); }
.heat.low { border-color: rgba(99, 183, 255, .5); }
.pricing-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 16px; }
.pricing-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.billing-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.billing-toggle button { border: 0; background: transparent; border-radius: 8px; padding: 10px 13px; font-weight: 900; cursor: pointer; }
.billing-toggle button.active { color: #fff; background: var(--blue); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 390px; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; right: 14px; top: 14px; }
.price { display: flex; align-items: baseline; gap: 5px; font-weight: 950; font-size: 38px; }
.price small { font-size: 15px; color: var(--muted); }
.billing-note { min-height: 42px; font-size: 13px; margin: 0; }
.allowance { color: #124d7a; }
.plan ul { margin: 0; padding-left: 20px; }
.pricing-bottom { margin-top: 16px; justify-content: center; }
.faq-grid, .guide-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.resource-hero { max-width: 980px; margin: 0 auto; padding: 54px 24px 34px; }
.resource-hero h1 { max-width: 900px; }
.resource-hero p { max-width: 820px; font-size: 18px; }
.guide-card h2 { margin-top: 0; }
.guide-card li { margin-bottom: 10px; }
.product-bridge { grid-column: span 2; background: #eef7ff; }
.checkout-summary { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.checkout-summary span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 12px; font-weight: 850; }
.legal { max-width: 880px; margin: 0 auto; padding: 54px 24px; }
.legal h1 { font-size: 44px; margin-bottom: 8px; }
.legal h2 { margin-top: 34px; }
.footer { max-width: 1180px; margin: 0 auto; padding: 34px 24px 46px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; }
.footer p { color: var(--muted); line-height: 1.6; }
.fineprint { font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; color: #31516b; font-weight: 750; }
.payment-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 22, 39, .48); padding: 18px; }
.payment-card { width: min(480px, 100%); position: relative; border-radius: 14px; background: #fff; padding: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.payment-card h2 { margin: 5px 0 8px; }
.icon-btn { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 22px; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
  .topbar { padding: 0 16px; }
  .nav-links { display: none; }
  .hero, .two-col, .dashboard-band, .footer { grid-template-columns: 1fr; }
  .hero { padding-top: 18px; grid-template-columns: 1fr; }
  .signal-strip, .plans, .faq-grid, .guide-layout, .feature-grid, .heatmap { grid-template-columns: 1fr; }
  .product-bridge { grid-column: span 1; }
  .pricing-head { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
  .topbar .btn { display: none; }
  .hero-copy h1, .resource-hero h1 { font-size: 38px; }
  .scanner-head h2, .section h2, .pricing-head h2, .faq h2 { font-size: 30px; }
  .scan-form, .handoff-map, .scan-results { grid-template-columns: 1fr; }
  .unlock-card { grid-template-columns: 1fr; }
  .hero-actions .btn, .panel-actions .btn, .section-actions .btn, .pricing-bottom .btn { width: 100%; }
  .plan { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
