:root {
  color-scheme: light;
  --paper: #f1f5fc; --surface: #fff; --ink: #142746; --muted: #536682;
  --line: #dce5f2; --accent: #1462dc; --wash: #e8f1ff; --blue: #bedcff;
  --shadow: 0 16px 54px -30px #173d7840;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none; background: var(--paper); color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 90% 0, #008cff0b, transparent 55%); }
a { color: inherit; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible, [role="tabpanel"]:focus-visible { outline: 3px solid #00a5d8; outline-offset: 5px; border-radius: 5px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #b3e7ff; color: #102640; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 20px; padding: 15px; background: var(--surface); z-index: 10; }
.skip:focus { top: 12px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.85rem; font-weight: 760; letter-spacing: -1px; }
.brand svg { width: 44px; height: 44px; padding: 7px; color: #fff; background: linear-gradient(140deg, #008fff, #6350ed); border-radius: 14px; flex-shrink: 0; }
.brand-caption { display: none; }
.header-inner nav { display: flex; padding: 5px; gap: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; }
.header-inner nav a { padding: 11px 20px; text-decoration: none; font-size: .875rem; font-weight: 650; border-radius: 100px; color: var(--muted); }
.header-inner nav a[aria-current] { background: var(--ink); color: var(--surface); box-shadow: 0 3px 12px #14274615; }
.header-inner nav a:hover:not([aria-current]) { color: var(--accent); background: var(--wash); }
.eyebrow { font-size: .8125rem; font-weight: 750; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 0 0 22px; }
h1 { font-size: clamp(2.75rem, 4.5vw, 4.3rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 730; margin: 0 0 24px; text-wrap: balance; }
h1 span { color: var(--accent); }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--muted); max-width: 560px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; text-decoration: none; padding: 15px 23px; font-size: .9375rem; font-weight: 680; border-radius: 100px; min-height: 48px; }
.primary { color: white; background: #1462dc; box-shadow: 0 6px 24px #1462dc25; }
.primary:hover { background: #0849ad; }
.text-link { font-size: .9375rem; font-weight: 650; }
.page-heading { padding: 64px 0 46px; }
.legal-hero {
  margin-block: 32px; padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 48px; align-items: center;
  color: #fff; border-radius: 32px; overflow: hidden;
  background: radial-gradient(ellipse at 92% 10%, #145aa5 0, transparent 60%), linear-gradient(120deg, #101e3b, #173766);
  box-shadow: 0 20px 50px -30px #10244d90;
}
.legal-hero .eyebrow { color: #75d7ff; }
.legal-hero h1 span { color: #93c9ff; }
.legal-hero .lead { color: #c1d1e8; }
.legal-hero .primary { background: #fff; color: #173766; box-shadow: none; }
.legal-hero .primary:hover { background: #d7edff; }
.legal-hero .text-link { color: #d6e9ff; }
.hero-index { display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid #ffffff28; padding: 22px 0 22px 40px; }
.index-number { font-size: 6.5rem; line-height: 1; letter-spacing: -.07em; font-weight: 300; color: #8accff; }
.hero-index > span:not(.index-number) { color: #c1d1e8; line-height: 1.5; margin-top: 14px; font-size: 1rem; }
.hero-index a { margin-top: 30px; color: #fff; font-size: .875rem; line-height: 1.5; }
.legal-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 32px; padding-bottom: 72px; }
.contents { position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 16px 0; }
.contents summary { padding: 0 12px; font-size: .875rem; font-weight: 730; cursor: pointer; margin-bottom: 20px; }
.contents nav { display: grid; gap: 5px; }
.contents nav a { display: flex; align-items: baseline; gap: 13px; padding: 10px 12px; color: var(--muted); text-decoration: none; font-size: .875rem; line-height: 1.5; border-radius: 12px; }
.contents nav a:hover { background: var(--surface); color: var(--accent); }
.nav-number { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--accent); opacity: .85; }
.contents-help { display: block; text-decoration: none; margin: 25px 8px 0; padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.contents-help strong { display: block; margin-top: 5px; color: var(--accent); }
.document { min-width: 0; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--muted); font-size: .8125rem; padding: 15px 6px 24px; }
.document-meta p { margin: 0; }
.document-meta p:first-child { flex-basis: 100%; font-weight: 650; color: var(--ink); }
.document-section { padding: clamp(24px, 3.5vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.document h2 { font-size: 1.5rem; line-height: 1.4; letter-spacing: -.035em; margin: 0 0 24px; color: var(--ink); scroll-margin-top: 28px; text-wrap: balance; }
.document-section h2::after { content: ""; display: block; width: 38px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #008fee, #6474ef); margin-top: 16px; }
.document h3 { font-size: 1.125rem; line-height: 1.5; margin: 32px 0 14px; color: var(--ink); letter-spacing: -.02em; }
.document p { color: var(--muted); margin: 0 0 20px; }
.document p:last-child { margin-bottom: 0; }
.document strong { color: var(--ink); font-weight: 650; }
.document-section:target, .document-section:has(h2:target) { border-color: var(--accent); }
.website-notice { background: var(--wash); border: 1px solid var(--line); padding: 32px; border-radius: 24px; margin-top: 24px; }
.website-notice .eyebrow { color: var(--accent); }
.back-top { display: inline-block; border: 1px solid var(--line); background: var(--surface); border-radius: 100px; padding: 10px 20px; text-decoration: none; margin-top: 12px; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding-block: 90px; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5rem); }
.hero-note { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-top: 24px; }
.route-art { position: relative; height: 350px; background: radial-gradient(ellipse, var(--blue), transparent 70%); }
.orbit { position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 50%; }
.orbit-two { inset: 50px; }
.art-label, .art-caption { position: absolute; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .8125rem; }
.art-label { top: 54px; letter-spacing: 1.5px; }
.art-caption { bottom: 50px; }
.art-cloud { position: absolute; inset: 120px 0 auto; display: flex; justify-content: center; color: var(--accent); }
.art-cloud svg { width: 100px; height: 100px; }
.art-line, .art-point { display: none; }
.feature-section { padding-block: 30px 65px; }
.section-intro h2, .trust-section h2 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 15px; }
.section-intro p:not(.eyebrow), .trust-section p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 510px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.feature-grid article { background: var(--surface); border: 1px solid var(--line); padding: 30px; border-radius: 24px; box-shadow: var(--shadow); }
.feature-number { font-size: .8125rem; color: var(--accent); font-weight: 700; letter-spacing: 1.5px; }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.feature-grid p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.trust-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; background: var(--wash); border: 1px solid var(--line); border-radius: 30px; padding: 48px; }
.resource-links a { display: flex; justify-content: space-between; align-items: center; text-decoration: none; font-size: 1.125rem; font-weight: 650; padding: 22px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.resource-links a:last-child { border: 0; }
.resource-links a:hover { color: var(--accent); }
.resource-links small { display: block; font-size: .75rem; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 7px; }
.safety-note { display: grid; grid-template-columns: 200px 1fr; gap: 25px; padding-block: 40px; }
.safety-note p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.75; }
.support-page > .page-heading { max-width: 780px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 36px; box-shadow: var(--shadow); }
.support-card h2 { font-size: 1.75rem; letter-spacing: -.035em; }
.support-card p, .help-details p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.support-card .instruction { background: var(--wash); color: var(--accent); border-radius: 16px; padding: 18px; font-weight: 650; }
.help-details { max-width: 850px; padding-block: 40px 70px; }
.help-details h2 { font-size: 1.75rem; letter-spacing: -.03em; }
.help-details details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-top: 14px; padding: 23px; }
.help-details summary { cursor: pointer; font-size: 1rem; font-weight: 650; line-height: 1.5; }
.help-details a { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; padding-block: 36px; gap: 12px 30px; }
.brand.small { font-size: 1.5rem; }
.brand.small svg { width: 36px; height: 36px; border-radius: 11px; }
.site-footer p { color: var(--muted); font-size: .875rem; line-height: 1.75; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: .875rem; align-items: flex-start; padding-top: 12px; }
.copyright { grid-column: 1 / -1; margin: 0; }
.home-link { font-size: .875rem; color: var(--muted); text-decoration: none; padding: 12px; }
.brand-image { display: block; width: 48px; height: 48px; border-radius: 14px; object-fit: contain; }
.welcome-mark .brand-image { width: 100%; height: 100%; border-radius: inherit; }
.welcome-hero.visual-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 50px; text-align: left; }
.visual-welcome .welcome-copy { min-width: 0; }
.welcome-hero.visual-welcome h1 { font-size: clamp(2.65rem, 4.6vw, 4.8rem); }
.aviation-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; padding: 15px 6px; }
.aviation-image { margin: 0; position: relative; overflow: hidden; border-radius: 26px; background: #0b2745; box-shadow: 0 16px 36px -16px #10244365; border: 1px solid #ffffff30; }
.aviation-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aviation-image::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #031329ba); pointer-events: none; }
.aviation-image figcaption { position: absolute; bottom: 18px; left: 20px; right: 16px; z-index: 1; color: white; font-size: .9375rem; font-weight: 650; text-shadow: 0 1px 8px #0008; }
.gallery-aircraft { grid-column: 1 / -1; aspect-ratio: 1.65; transform: rotate(-2deg); }
.gallery-day, .gallery-night { aspect-ratio: 1; }
.gallery-day { transform: rotate(-3deg); }
.gallery-night { transform: rotate(3deg) translateY(10px); }
.gallery-day img, .gallery-night img { object-position: center 32%; }
@media (prefers-reduced-motion: no-preference) {
  .aviation-image { transition: transform .3s ease, box-shadow .3s ease; }
  .aviation-image:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 22px 42px -16px #10244385; }
}
@media (max-width: 900px) {
  .welcome-hero.visual-welcome { grid-template-columns: 1fr; gap: 35px; text-align: center; }
  .visual-welcome .welcome-copy { display: flex; flex-direction: column; align-items: center; }
  .aviation-gallery { width: min(600px, 100%); margin-inline: auto; }
}
@media (max-width: 400px) {
  .aviation-gallery { gap: 12px; }
  .aviation-image { border-radius: 18px; }
  .aviation-image figcaption { left: 12px; bottom: 12px; font-size: .875rem; }
}
.home-link:hover { color: var(--accent); }
.welcome-page { background: radial-gradient(ellipse at 50% 35%, #2597ff14, transparent 65%); }
.welcome-hero { min-height: calc(100svh - 235px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 60px 70px; text-align: center; }
.welcome-mark { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 30px; border-radius: 26px; color: white; background: linear-gradient(145deg, #009cff, #6350ed); box-shadow: 0 18px 60px -16px #246bf070; }
.welcome-mark svg { width: 52px; height: 52px; }
.welcome-hero h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.welcome-hero .lead { max-width: 600px; }
.welcome-features { margin: 32px 0 0; font-size: .875rem; letter-spacing: .08em; color: var(--muted); }
.compact-footer { align-items: center; padding-block: 24px; gap: 10px 30px; }
.compact-footer .copyright { grid-column: auto; }
.compact-footer nav { padding: 0; gap: 22px; }
.compact-footer nav a { text-decoration: none; color: var(--muted); padding-block: 8px; }
.compact-footer nav a:hover, .compact-footer nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.compact-footer .fine { grid-column: 1 / -1; font-size: .75rem; margin: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --paper: #080f1d; --surface: #101c2f; --ink: #ecf3ff; --muted: #abbdd6; --line: #26354c; --accent: #79bbff; --wash: #132640; --blue: #123765; --shadow: 0 20px 50px -32px #000a; }
  :root:not([data-theme="light"]) .legal-hero { background: radial-gradient(ellipse at 94% 5%, #134774, transparent 65%), linear-gradient(120deg, #111e37, #102540); border: 1px solid #2b4160; }
  :root:not([data-theme="light"]) .header-inner nav a[aria-current] { background: #244c7a; color: #fff; }
}
:root[data-theme="dark"] { color-scheme: dark; --paper: #080f1d; --surface: #101c2f; --ink: #ecf3ff; --muted: #abbdd6; --line: #26354c; --accent: #79bbff; --wash: #132640; --blue: #123765; --shadow: 0 20px 50px -32px #000a; }
:root[data-theme="dark"] .legal-hero { background: radial-gradient(ellipse at 94% 5%, #134774, transparent 65%), linear-gradient(120deg, #111e37, #102540); border: 1px solid #2b4160; }
:root[data-theme="dark"] .header-inner nav a[aria-current] { background: #244c7a; color: #fff; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); color: var(--muted); min-height: 44px; padding: 10px 16px; font-size: .875rem; font-weight: 650; }
.theme-icon { font-size: 1.2rem; line-height: 1; }
.theme-toggle:hover, .theme-toggle[aria-pressed="true"] { color: var(--accent); background: var(--wash); border-color: var(--accent); }
.app-preview { padding-block: 40px 90px; }
.screenshot-gallery { padding-block: 0 80px; }
.screenshot-gallery .preview-heading > p:last-child { color: var(--muted); line-height: 1.6; }
.screenshot-rail { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x proximity; padding: 20px 6px 28px; scrollbar-color: var(--accent) var(--surface); }
.screenshot-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 16px; }
.screenshot-card { flex: 0 0 min(78vw, 280px); margin: 0; scroll-snap-align: start; min-width: 0; }
.screenshot-card > a { display: block; border: 1px solid var(--line); border-radius: 25px; overflow: hidden; background: #050a12; box-shadow: var(--shadow); }
.screenshot-card > a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.screenshot-card img { display: block; width: 100%; height: auto; }
.screenshot-card h3 { margin: 20px 0 8px; font-size: 1.125rem; }
.screenshot-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.gallery-note { color: var(--muted); font-size: .875rem; line-height: 1.6; margin-top: 20px; }
html.photo-open { overflow: hidden; }
.photo-viewer { padding: 0; width: min(94vw, 900px); max-width: 94vw; max-height: 94vh; max-height: 94dvh; border: 1px solid #496985; border-radius: 22px; background: #071323; color: #fff; box-shadow: 0 25px 100px #0009; }
.photo-viewer::backdrop { background: #010914d9; }
.photo-viewer-toolbar { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #0b2037; border-bottom: 1px solid #496985; }
.photo-close, .photo-return { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid #74ccff; border-radius: 25px; background: #106bb5; color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.photo-close:focus-visible, .photo-return:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.photo-viewer-content { padding: 12px; }
.photo-viewer-content img { display: block; width: 100%; height: auto; border-radius: 12px; }
.photo-page { padding-block: 30px 60px; text-align: center; }
.photo-page > img { display: block; max-width: 100%; width: 851px; height: auto; margin: 24px auto; border-radius: 20px; }
.photo-return { position: sticky; top: 12px; z-index: 1; }
.preview-heading { text-align: center; margin-bottom: 26px; }
.preview-heading .eyebrow { margin-bottom: 14px; }
.preview-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.05em; line-height: 1.15; text-wrap: balance; }
.preview-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 32px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.preview-tabs button { min-height: 46px; padding: 12px 28px; border: 0; border-radius: 22px; font-size: 1rem; font-weight: 650; background: transparent; color: var(--muted); }
.preview-tabs button:hover { color: var(--accent); background: var(--wash); }
.preview-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(115deg, #086bbb, #315add); box-shadow: 0 4px 16px #1462dc30; }
.preview-stage { border: 1px solid var(--line); border-radius: 36px; overflow: hidden; background: radial-gradient(ellipse at 85% 40%, var(--blue), transparent 65%), var(--surface); box-shadow: var(--shadow); }
.preview-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: clamp(28px, 5vw, 70px); min-width: 0; }
.preview-panel + .preview-panel { border-top: 1px solid var(--line); }
.preview-panel[role="tabpanel"] { border-top: 0; }
.preview-copy { max-width: 430px; min-width: 0; }
.preview-number { font-size: .875rem; color: var(--accent); font-weight: 700; letter-spacing: .12em; margin: 0 0 25px; }
.preview-copy h3 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.05em; line-height: 1.12; text-wrap: balance; margin: 0 0 24px; }
.preview-copy > p:not(.preview-number) { font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.preview-features { list-style: none; padding: 0; margin: 30px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.preview-features li { font-size: .875rem; line-height: 1.5; color: var(--ink); border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 9px 13px; }
.preview-copy > p.preview-note { font-size: .875rem; margin-bottom: 0; }
.device-preview { margin: 0; width: min(100%, 280px); justify-self: center; }
.device-frame { border: 7px solid #1c2a3c; outline: 1px solid #66829e; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 14px 24px 50px -20px #020e31a0; }
.device-frame img { display: block; width: 100%; height: auto; }
.device-preview figcaption { margin-top: 18px; text-align: center; font-size: .875rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) {
  .header-actions { justify-content: center; }
  .app-preview { padding-block: 20px 55px; }
  .preview-stage { border-radius: 26px; }
  .preview-panel { grid-template-columns: 1fr; gap: 30px; }
  .preview-copy { max-width: 100%; text-align: center; }
  .preview-copy h3 { max-width: 440px; margin-inline: auto; }
  .preview-number { margin-bottom: 16px; }
  .preview-features { justify-content: center; margin-block: 22px; }
  .preview-tabs button { padding-inline: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .preview-panel[role="tabpanel"]:not([hidden]) { animation: preview-enter .32s ease-out both; }
  .theme-toggle, .preview-tabs button { transition: color .2s, background-color .2s, box-shadow .2s; }
  @keyframes preview-enter { from { opacity: .45; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 48px); }
  .legal-hero { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; }
  .hero-index { padding-left: 25px; }
  .index-number { font-size: 5rem; }
  .legal-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; }
  .trust-section { padding: 32px; gap: 32px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 16px; padding-block: 20px; }
  .header-inner nav { justify-content: center; flex-wrap: wrap; }
  .header-inner nav a { padding: 10px 15px; }
  .legal-hero { margin-top: 20px; border-radius: 24px; grid-template-columns: 1fr; gap: 28px; }
  .hero-index { border-left: 0; border-top: 1px solid #ffffff28; padding: 20px 0 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 18px; }
  .index-number { font-size: 2.5rem; }
  .hero-index > span:not(.index-number) { margin: 0; font-size: .875rem; }
  .hero-index br { display: none; }
  .hero-index a { grid-column: 1 / -1; margin: 8px 0 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 16px; }
  .contents { position: static; max-height: none; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
  .contents nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contents summary { padding: 0; margin-bottom: 12px; }
  .contents nav a { padding: 8px 0; font-size: .875rem; gap: 8px; }
  .contents-help { margin: 16px 0 0; padding: 15px; }
  .document-meta { padding-top: 4px; }
  .document h2 { font-size: 1.375rem; }
  .hero { grid-template-columns: 1fr; padding-block: 50px 25px; gap: 10px; }
  .route-art { height: 270px; max-width: 400px; width: 100%; margin: auto; }
  .art-label { top: 38px; } .art-cloud { top: 88px; } .art-cloud svg { width: 85px; height: 85px; } .art-caption { bottom: 38px; }
  .feature-grid, .support-grid, .trust-section { grid-template-columns: 1fr; }
  .feature-grid article, .support-card { padding: 28px; }
  .safety-note { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { grid-template-columns: 1fr; }
  .page-heading { padding-block: 40px; }
  .legal-hero.page-heading { padding: 28px; }
}
@media (max-width: 390px) {
  .header-inner nav a { padding: 10px 12px; }
  .contents nav { grid-template-columns: 1fr; }
  .legal-hero h1 { font-size: 2.35rem; }
  .actions { gap: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .document-section { transition: background-color .18s, color .18s, border-color .18s; }
}
@media print {
  :root, :root[data-theme], :root:not([data-theme="light"]) { color-scheme: light; --paper: #fff; --surface: #fff; --ink: #000; --muted: #333; --line: #ccc; }
  body { background: #fff; } .shell { width: 100%; }
  .site-header, .site-footer, .contents, .actions, .hero-index, .back-top, .skip { display: none; }
  .legal-hero { display: block; background: #fff; color: #000; border: 0; box-shadow: none; padding: 0 0 20px; margin: 0; }
  .legal-hero h1 span, .legal-hero .lead, .legal-hero .eyebrow { color: #333; }
  h1 { font-size: 30px; } .legal-layout { display: block; } .document { font-size: 10pt; line-height: 1.6; }
  .document-section { padding: 0; border: 0; border-radius: 0; box-shadow: none; margin-bottom: 24px; }
  .document h2 { font-size: 15pt; break-after: avoid; } .document h2::after { display: none; }
  .document p { orphans: 3; widows: 3; } .website-notice { padding: 0; background: #fff; border: 0; }
}

/* Real sample logbook export: portrait cover beside the landscape entry page. */
.export-page { padding-block: 30px 70px; }
.export-page > .preview-heading { margin: 36px auto; max-width: 760px; }
.export-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.05em; }
.export-page .preview-heading p { color: var(--muted); line-height: 1.6; }
.export-pages { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 30px; align-items: start; }
.export-pages figure { min-width: 0; margin: 0; }
.export-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 8px; }
.export-pages figcaption { color: var(--muted); line-height: 1.5; margin-top: 18px; }
.export-pages a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@media (max-width: 680px) { .export-pages { grid-template-columns: 1fr; } }
