:root {
  --ink: #17212b;
  --muted: #566572;
  --subtle: #74818c;
  --line: #d9e1e6;
  --paper: #f5f7f8;
  --paper-blue: #eef4fa;
  --blue: #195db5;
  --blue-dark: #124785;
  --green: #18734b;
  --green-soft: #e4f3eb;
  --white: #fff;
  --max: 1120px;
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid #f0a000; outline-offset: 4px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.prose { max-width: var(--reading); }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 100; padding: 10px 14px; color: white; background: var(--ink); text-decoration: none; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(217,225,230,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 18px; font-weight: 780; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.nav-links a { color: #3c4a55; font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }

.hero, .page-hero { position: relative; overflow: hidden; background: linear-gradient(145deg,#fff 20%,#f4f7f9 100%); }
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -260px; top: -250px; border: 1px solid #cad9e3; border-radius: 50%; box-shadow: 0 0 0 65px rgba(25,93,181,.03),0 0 0 130px rgba(24,115,75,.025); pointer-events: none; }
.hero { padding: 104px 0 84px; }
.page-hero { padding: 80px 0 58px; border-bottom: 1px solid var(--line); }
.hero-grid, .split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: 15px 0 22px; max-width: 870px; font-size: clamp(44px, 6.7vw, 76px); line-height: 1.02; letter-spacing: -.048em; }
h2 { margin: 0 0 18px; font-size: clamp(29px, 4vw, 45px); line-height: 1.12; letter-spacing: -.032em; }
h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.lead { max-width: 720px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-block; border: 1px solid var(--blue); border-radius: 7px; padding: 11px 17px; color: white; background: var(--blue); font-weight: 750; text-decoration: none; }
.button:hover { color: white; background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); }
.button.secondary:hover { color: var(--blue); border-color: #9db8d2; }
.text-link { color: var(--blue); font-weight: 750; text-decoration: none; }
.text-link span { margin-left: 5px; }
.availability { margin-top: 24px; color: var(--subtle); font-size: 14px; }

.signal { padding: 10px 0; border-block: 1px solid var(--line); }
.signal-line, .status { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 18px 3px; border-bottom: 1px solid var(--line); }
.signal-line:last-child, .status:last-child { border-bottom: 0; }
.signal-line span, .status span { color: var(--muted); }
.signal-line strong { font-size: 20px; }
.product-card, .boundary { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 24px 70px rgba(23,33,43,.09); }
.product-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.product-lockup img { width: 46px; height: 46px; }
.product-lockup span { display: block; font-size: 21px; font-weight: 800; }
.product-lockup small { display: block; color: var(--muted); font-size: 14px; }
.pill { padding: 4px 10px; border-radius: 999px; color: #105c3a !important; background: var(--green-soft); font-size: 12px; font-weight: 800; }
.card-title { font-size: 29px; }
.setup-list { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: setup; }
.setup-list li { position: relative; min-height: 44px; padding: 9px 0 9px 46px; border-bottom: 1px solid var(--line); }
.setup-list li:last-child { border-bottom: 0; }
.setup-list li::before { counter-increment: setup; content: counter(setup); position: absolute; left: 0; top: 7px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 13px; font-weight: 800; }

.section { padding: 82px 0; }
.section.alt { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; margin-bottom: 34px; }
.section-heading p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: block; padding: 25px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; text-decoration: none; }
.card p { margin-bottom: 0; color: var(--muted); }
.guide-card { position: relative; min-height: 185px; transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.guide-card:hover { transform: translateY(-3px); color: var(--ink); border-color: #aec2d3; box-shadow: 0 15px 38px rgba(23,33,43,.07); }
.guide-card .arrow { position: absolute; right: 20px; top: 16px; color: var(--blue); }
.guide-card h3 { padding-right: 24px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin-top: 34px; counter-reset: step; }
.flow div { padding: 17px 14px 15px; border-top: 3px solid var(--green); background: var(--paper); }
.flow div::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 22px; color: var(--green); font-size: 13px; font-weight: 820; }
.flow p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.source-note { margin-top: 28px; color: var(--muted); font-size: 14px; }
.boundary { box-shadow: none; background: var(--paper-blue); }
.check-list { padding-left: 21px; }
.check-list li { margin: 9px 0; }

.article { padding-top: 64px; padding-bottom: 90px; }
.article h1 { max-width: 880px; font-size: clamp(40px, 5.8vw, 65px); }
.article > p, .article > section, .article > aside, .article > .related, .article > ul { max-width: var(--reading); }
.article section { margin-top: 48px; }
.article section h2, .prose h2 { margin-top: 48px; font-size: 29px; }
.article p, .prose p { color: #35434e; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 42px; color: var(--subtle); font-size: 14px; }
.answer { margin: 30px 0 42px; padding: 22px 24px; border-left: 4px solid var(--blue); color: var(--ink) !important; background: var(--paper-blue); font-size: 18px; }
.sources { margin-top: 52px; padding: 20px 24px; border: 1px solid var(--line); background: var(--paper); }
.sources h2 { font-size: 20px; }
.sources li { margin: 7px 0; }
.related { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 23px; }
.related > a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.notice { padding: 16px 18px; border-left: 4px solid var(--blue); color: var(--ink) !important; background: var(--paper-blue); }
.legal-note { padding: 16px 18px; border: 1px solid #d7b753; border-radius: 7px; color: #40391f !important; background: #fff9e5; }
.support-index { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 55px; }
.support-index a { padding: 13px 16px; border: 1px solid var(--line); border-radius: 7px; font-weight: 700; text-decoration: none; }
.contact-panel, .contact-note { margin-top: 56px; padding: 26px; background: var(--paper-blue); }
.contact-grid .card { min-height: 215px; }
.contact-grid strong { display: block; margin-top: 24px; color: var(--blue); overflow-wrap: anywhere; }
.error-code { color: var(--green); font-size: 14px; font-weight: 850; letter-spacing: .12em; }

.footer { padding: 48px 0 25px; border-top: 1px solid var(--line); color: var(--muted); background: #f8fafb; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-grid p { margin: 4px 0 0; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; max-width: 630px; }
.footer nav a { text-decoration: none; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 45px; }
  .section-heading { grid-template-columns: 1fr; gap: 4px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .flow { grid-template-columns: repeat(2,1fr); }
  .flow div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px 0; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 8px 17px; overflow-x: auto; padding-bottom: 3px; }
  .nav-links a { white-space: nowrap; }
  .hero { padding: 70px 0 60px; }
  .page-hero { padding: 58px 0 42px; }
  h1 { font-size: 43px; }
  .lead { font-size: 18px; }
  .section { padding: 58px 0; }
  .grid-3, .flow, .support-index { grid-template-columns: 1fr; }
  .flow div:last-child { grid-column: auto; }
  .guide-card { min-height: auto; }
  .article { padding-top: 42px; }
  .article h1 { font-size: 40px; }
  .footer-grid { flex-direction: column; }
  .footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-card { transition: none; }
}
