:root {
  color-scheme: dark;
  --bg: #0b1120;
  --surface: #111c2e;
  --surface-raised: #1e293b;
  --text: #f8fafc;
  --text-muted: #b0bed1;
  --border: #2b3a50;
  --primary: #79b8ff;
  --accent: #f59e0b;
  --success: #6ee7b7;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; overflow-wrap: anywhere; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.025em; }
p + p { margin-top: 16px; }
code { font: .88em/1.6 ui-monospace, Consolas, monospace; color: #b8d8ff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 10px 18px; background: var(--accent); color: #111827; border-radius: 8px; z-index: 2000; transform: translateY(-160%); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.container, .page-shell { width: min(1200px, 100%); margin-inline: auto; padding: 0 24px; }
.app-subnav, .subnav-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.app-subnav__brand, .subnav-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; white-space: nowrap; }
.app-subnav__brand img, .subnav-brand img { width: 36px; height: 36px; border-radius: 10px; }
.app-subnav__links, .subnav-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; }
.app-subnav__links a, .subnav-links a { color: var(--text-muted); padding-block: 6px; }
.app-subnav__links a[aria-current], .subnav-links a[aria-current] { color: var(--accent); }
.breadcrumb { display: flex; gap: 10px; margin: 28px 0 0; color: var(--text-muted); font-size: .8rem; }
.breadcrumb a { color: var(--text-muted); }
.eyebrow, .section-eyebrow { display: block; font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-weight: 750; margin-bottom: 14px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 32px; align-items: center; padding: 58px 0 50px; }
.hero__content, .hero__showcase { min-width: 0; }
.hero__content h1 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); line-height: 1.12; letter-spacing: -.055em; margin: 20px 0 22px; }
.hero__content h1 span { color: var(--accent); }
.hero__subtitle { max-width: 510px; color: var(--text-muted); font-size: 1.05rem; }
.hero__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 99px; padding: 5px 11px; font-size: .73rem; font-weight: 650; color: #cbd5e1; background: var(--surface); }
.badge-pill--emerald { color: var(--success); border-color: #235449; background: #0c2d2b; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.btn-primary, .btn-secondary { display: inline-flex; gap: 10px; justify-content: center; align-items: center; min-height: 48px; padding: 11px 20px; border-radius: 10px; font-size: .9rem; font-weight: 750; }
.btn-primary { background: var(--accent); color: #101827; border: 1px solid var(--accent); }
.btn-primary:hover { background: #fbbf24; text-decoration: none; }
.btn-secondary { color: var(--text); border: 1px solid #42516a; background: var(--surface); }
.btn-secondary:hover { background: var(--surface-raised); text-decoration: none; }
.btn-primary svg { flex: 0 0 18px; }
.release-status-note { max-width: 490px; font-size: .78rem; color: var(--text-muted); }
.hero__showcase { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px 22px; isolation: isolate; }
.hero__showcase::before { content: ""; position: absolute; inset: 5% 0; z-index: -1; background: radial-gradient(ellipse at center, #1b3a64 0, #102139 45%, transparent 72%); }
.phone-link { display: block; width: 44%; max-width: 220px; border-radius: 25px; background: #0a101c; padding: 6px; border: 1px solid #42516a; box-shadow: 0 24px 50px #0007; transform: rotate(-5deg); transition: transform .2s; }
.phone-link--secondary { transform: rotate(5deg) translateY(20px); width: 39%; }
.phone-link:hover { transform: translateY(-6px); }
.phone-link img { display: block; width: 100%; border-radius: 19px; }
.showcase-label { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); padding: 6px 14px; color: var(--text-muted); font-size: .72rem; white-space: nowrap; border: 1px solid var(--border); border-radius: 99px; background: var(--bg); }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-chip { text-align: center; padding: 2px 10px; }
.stat-chip + .stat-chip { border-left: 1px solid var(--border); }
.stat-chip strong { display: block; color: var(--text); font-size: 2.1rem; line-height: 1.2; letter-spacing: -.04em; }
.stat-chip span { font-size: .8rem; color: var(--text-muted); }
.independent-notice { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); font-size: .8rem; padding: 17px 20px; margin-top: 24px; border: 1px solid #5c4626; border-radius: 12px; background: #211e19; }
.independent-notice strong { color: #fcd282; }
.section { margin-top: 88px; }
.section-header { max-width: 700px; margin-bottom: 30px; }
.section-header h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: .95rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.feature-icon { color: var(--primary); font-size: .85rem; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #1c3556; border-radius: 10px; margin-bottom: 24px; }
.feature-card h3 { font-size: 1.06rem; margin-bottom: 12px; }
.feature-card p { font-size: .88rem; color: var(--text-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shot-card { min-width: 0; }
.shot-trigger { position: relative; display: block; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(150deg, #1e3048, #111c2e); overflow: hidden; }
.shot-trigger img { width: 100%; display: block; border: 3px solid #3b4d65; border-radius: 16px; transition: transform .2s; }
.shot-trigger:hover img { transform: translateY(-4px); }
.shot-zoom-badge { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); border: 1px solid #64748b; color: #fff; background: #0b1120ed; border-radius: 99px; padding: 3px 9px; font-size: .65rem; white-space: nowrap; }
.shot-info { padding: 17px 2px 8px; }
.shot-step { display: block; color: var(--accent); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 8px; }
.shot-info h3 { font-size: 1rem; margin-bottom: 8px; }
.shot-info p { color: var(--text-muted); font-size: .8rem; }
.data-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-top: 20px; min-width: 0; }
.data-panel > h3 { font-size: 1.15rem; margin-bottom: 10px; }
.data-panel > p { color: var(--text-muted); font-size: .88rem; margin-bottom: 22px; }
.topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic-box { border: 1px solid var(--border); padding: 18px; border-radius: 12px; }
.topic-box__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.topic-code { color: var(--primary); font-size: .75rem; font-weight: 700; }
.topic-count { color: var(--text-muted); font-size: .72rem; }
.topic-box h4 { font-size: .93rem; margin-bottom: 8px; }
.topic-box p { color: var(--text-muted); font-size: .8rem; }
.table-wrap { overflow: auto; overscroll-behavior-inline: contain; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .82rem; }
.data-panel table { min-width: 860px; }
.section-block table { min-width: 640px; }
caption { text-align: left; padding: 14px; font-weight: 650; color: var(--text-muted); }
th, td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #1b2b42; color: #dbeafe; font-size: .73rem; }
td { color: var(--text-muted); }
tbody tr:last-child td { border-bottom: 0; }
.lic-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; background: #1c3556; color: #bfdbfe; font-weight: 750; white-space: nowrap; }
.support-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.support-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.support-card h3 { font-size: 1.15rem; margin-bottom: 20px; }
.support-list { padding: 0; margin: 0; list-style: none; }
.support-list li { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.support-list li:last-child { border-bottom: 0; }
.support-list span { color: var(--text-muted); }
.support-list strong { font-weight: 550; }
.qr-card { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.qr-card img { padding: 10px; background: white; border-radius: 12px; margin-bottom: 18px; }
.qr-card h3 { margin-bottom: 8px; }
.qr-card p { font-size: .85rem; color: var(--text-muted); }
.qr-link { font-size: .85rem; font-weight: 700; margin-top: 12px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq-list summary { cursor: pointer; font-weight: 650; padding-right: 16px; }
.faq-list details p { max-width: 800px; color: var(--text-muted); font-size: .9rem; margin-top: 12px; }
.site-footer, .page-footer { margin-top: 80px; padding: 30px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; font-size: .78rem; color: var(--text-muted); }
.footer-brand { color: var(--text); font-weight: 800; font-size: 1.1rem; display: inline-block; margin-bottom: 8px; }
.footer-brand span { color: #3b82f6; }
.site-footer__links, .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; align-content: flex-start; max-width: 430px; }
.site-footer__links a, .footer-links a { color: var(--text-muted); }

/* Reading layout shared by the privacy policy and terms. */
.hero-card { padding: 48px 0 32px; }
.hero-card h1 { max-width: 900px; font-size: clamp(2rem, 4vw, 3.15rem); margin-bottom: 18px; }
.hero-card > p { max-width: 800px; color: var(--text-muted); }
.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.meta-box { min-width: 0; font-size: .85rem; }
.meta-box span { display: block; font-size: .72rem; color: var(--text-muted); margin-bottom: 5px; }
.meta-box strong { font-weight: 600; }
.summary-banner, .disclaimer-banner { padding: 24px; background: #102b29; border: 1px solid #285349; border-radius: 16px; margin-bottom: 36px; }
.disclaimer-banner { background: #211e19; border-color: #5c4626; }
.summary-banner h2, .disclaimer-banner h2 { font-size: 1.12rem; margin-bottom: 12px; }
.summary-banner p, .disclaimer-banner p { color: #c6d4d3; font-size: .88rem; }
.summary-pills { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; }
.summary-pill { font-size: .73rem; color: var(--success); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: 36px; }
.doc-toc { position: sticky; top: 100px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; max-height: calc(100dvh - 120px); overflow-y: auto; }
.doc-toc h2 { font-size: .95rem; margin-bottom: 14px; }
.doc-toc ol { margin: 0; padding-left: 19px; color: var(--text-muted); font-size: .8rem; }
.doc-toc li + li { margin-top: 12px; }
.doc-toc a { color: var(--text-muted); }
.doc-card { min-width: 0; }
.section-block { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.section-block:last-child { border-bottom: 0; margin-bottom: 0; }
.section-num { display: block; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.section-block h2 { font-size: 1.4rem; margin-bottom: 18px; }
.section-block h3 { font-size: 1.05rem; margin: 24px 0 12px; }
.section-block p, .section-block li { color: #c0ccdb; font-size: .92rem; }
.section-block ul, .section-block ol { padding-left: 22px; margin: 16px 0; }
.section-block li + li { margin-top: 12px; }
.section-block strong { color: #f1f5f9; }
.source-document a { overflow-wrap: anywhere; }
.source-document p + p { margin-top: 10px; }
.callout { padding: 18px 20px; margin-top: 20px; border: 1px solid #345780; border-left: 3px solid #60a5fa; background: #14263e; border-radius: 8px; font-size: .88rem; color: #cbd5e1; }
.callout-danger { background: #302019; border-color: #815133; border-left-color: #f59e0b; }

/* Native dialog keeps keyboard focus within the image viewer. */
html:has(.lightbox-dialog[open]) { overflow: hidden; }
.lightbox-dialog { width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #42516a; border-radius: 18px; background: var(--bg); color: var(--text); }
.lightbox-dialog[open] { display: flex; flex-direction: column; }
.lightbox-dialog::backdrop { background: #020617dc; backdrop-filter: blur(6px); }
.lightbox-header, .lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.lightbox-header { border-bottom: 1px solid var(--border); }
.lightbox-title { font-size: .95rem; }
.lightbox-close, .lightbox-btn { border: 1px solid #42516a; color: var(--text); background: var(--surface-raised); border-radius: 8px; padding: 9px 12px; white-space: nowrap; font-size: .8rem; min-height: 44px; }
.lightbox-body { overflow: auto; overscroll-behavior: contain; min-height: 0; padding: 14px; text-align: center; }
.lightbox-body img { display: block; max-height: 65dvh; width: auto; margin: auto; border-radius: 10px; }
.lightbox-footer { border-top: 1px solid var(--border); }
.lightbox-caption { font-size: .78rem; color: var(--text-muted); }
.lightbox-nav { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 1000px) {
  .hero { gap: 20px; }
  .hero__content h1 { font-size: 3.2rem; }
  .hero__showcase { padding-inline: 6px; gap: 10px; }
  .features-grid, .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { gap: 16px; }
  .shot-trigger { padding: 14px; }
  .legal-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .container, .page-shell { padding-inline: 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 32px; }
  .hero__content h1 { font-size: clamp(2.65rem, 7.5vw, 3.5rem); }
  .hero__subtitle, .release-status-note { max-width: 100%; }
  .hero__showcase { max-width: 480px; width: 100%; margin: 0 auto; padding-bottom: 32px; }
  .hero__showcase .phone-link { max-width: 185px; }
  .showcase-label { bottom: 0; }
  .app-subnav, .subnav-bar { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 18px; }
  .app-subnav__links, .subnav-links { gap: 4px 18px; }
  .section { margin-top: 60px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .shot-trigger { padding: 20px; }
  .support-grid { grid-template-columns: 1fr; }
  .qr-card { padding: 28px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .doc-toc { position: static; max-height: none; overflow: visible; }
  .doc-toc ol { columns: 2; column-gap: 32px; }
  .doc-toc li { break-inside: avoid; }
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer, .page-footer { flex-direction: column; margin-top: 56px; }
  .site-footer__links, .footer-links { justify-content: flex-start; max-width: none; }
}
@media (max-width: 480px) {
  .container, .page-shell { padding-inline: 16px; }
  .features-grid, .topics-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card, .data-panel, .support-card { padding: 22px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .stat-chip:nth-child(3) { border-left: 0; }
  .stat-chip strong { font-size: 1.8rem; }
  .hero__actions > a { width: 100%; }
  .independent-notice { padding: 16px; }
  .gallery-grid { gap: 22px 12px; }
  .shot-trigger { padding: 10px; border-radius: 12px; }
  .shot-trigger img { border-width: 2px; border-radius: 10px; }
  .shot-info h3 { font-size: .9rem; }
  .shot-info p { font-size: .76rem; }
  .shot-zoom-badge { bottom: 18px; font-size: .6rem; }
  .support-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero-card { padding-top: 32px; }
  .meta-grid { padding: 18px; gap: 18px 12px; }
  .summary-banner, .disclaimer-banner { padding: 20px; }
  .doc-toc ol { columns: 1; }
  .lightbox-footer { flex-direction: column; align-items: stretch; }
  .lightbox-nav { justify-content: space-between; }
  .lightbox-header { gap: 8px; padding: 12px; }
  .lightbox-title { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; }
  .app-subnav, .subnav-bar, .breadcrumb, .doc-toc, .skip-link, .lightbox-dialog, .hero__actions { display: none; }
  .legal-layout { display: block; }
  .section-block, .hero-card { break-inside: avoid; }
  .section-block p, .section-block li, .section-block strong, a, code { color: black; }
}
