:root {
  color-scheme: dark;
  --bg: #0b0e12;
  --panel: #131920;
  --panel-2: #182027;
  --line: #344048;
  --ink: #f4f1e9;
  --muted: #a7b5b6;
  --accent: #8bffc5;
  --accent-2: #f6c56d;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); }
button, input { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; }
img { display: block; max-width: 100%; }
code { color: var(--accent); font: .88em var(--mono); overflow-wrap: anywhere; }
em { font-style: normal; color: var(--accent); }
.page-shell { max-width: 1340px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 60px); }
.skip-link { position: absolute; z-index: 100; left: 12px; top: -80px; padding: 9px 15px; background: var(--accent); color: #0b0e12; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #ffffff25; background: #0b0e12e8; backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 36px; max-width: 1460px; min-height: 76px; padding-inline: clamp(20px, 4vw, 60px); margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; letter-spacing: .08em; line-height: 1; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand strong { display: block; font: 800 15px/1.2 var(--sans); }
.brand small { display: block; margin-top: 3px; color: var(--muted); font: 600 9px/1.3 var(--mono); letter-spacing: .22em; }
.top-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: clamp(14px, 2.5vw, 34px); }
.top-nav a { color: #d1dcda; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.top-nav a:hover, .contents a:hover, .site-footer a:hover { color: var(--accent); }
.language-picker { position: relative; flex: 0 0 auto; }
.language-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 13px; border: 1px solid #4f776b; border-radius: 100px; background: #0e1c18; color: #d8e5df; cursor: pointer; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: #74ad98; background: #153329; color: var(--accent); }
.language-trigger:focus-visible, .language-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.language-current { min-width: 19px; font: 800 11px/1 var(--mono); letter-spacing: .06em; text-align: center; }
.language-globe { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.language-chevron { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 9px); right: 0; z-index: 60; display: grid; width: 184px; padding: 6px; border: 1px solid #46665d; border-radius: 12px; background: #101917; box-shadow: 0 18px 45px #000a; }
.language-menu[hidden] { display: none; }
.language-option { display: grid; grid-template-columns: 31px 1fr 16px; align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #c7d2cf; cursor: pointer; font: 700 12px/1.2 var(--sans); text-align: left; }
.language-option:hover, .language-option:focus-visible { background: #1b2c27; color: var(--ink); }
.language-option[aria-checked="true"] { background: #1b392e; color: var(--accent); }
.language-code { color: #87a39a; font: 800 10px/1 var(--mono); letter-spacing: .06em; }
.language-option[aria-checked="true"] .language-code { color: var(--accent); }
.language-option svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.language-option[aria-checked="true"] svg { opacity: 1; }
.print-button { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; border: 1px solid #61867b; border-radius: 100px; background: #153329; color: var(--accent); padding: 9px 15px; cursor: pointer; font-size: 12px; font-weight: 750; }
.print-button:hover { background: #21503c; }
.print-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle, .menu-backdrop { display: none; }
.menu-toggle { align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #61867b; border-radius: 8px; background: #153329; color: var(--accent); cursor: pointer; }
.menu-toggle-icon { display: grid; gap: 5px; }
.menu-toggle-icon span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle-icon span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle-icon span:last-child { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 73% 44%, #21523e 0, #132a27 29%, #0b0e12 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(#9baea020 1px, transparent 1px), linear-gradient(90deg, #9baea020 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, black); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr); min-height: 620px; align-items: center; gap: 22px; }
.hero-copy { position: relative; z-index: 2; padding-block: 90px; }
.eyebrow, .chapter-number, .small-label, .contents-label, .path-label { font: 800 11px/1.4 var(--mono); letter-spacing: .17em; color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #8bffc526, 0 0 22px var(--accent); }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(3.9rem, 6.8vw, 7.1rem); line-height: .99; letter-spacing: -.078em; font-weight: 900; }
.hero-lead { max-width: 580px; margin: 31px 0 29px; font-size: clamp(1.08rem, 1.45vw, 1.25rem); line-height: 1.6; color: #d3dfd8; }
.hero-actions {margin-top: 2.55rem; display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 49px; padding: 11px 19px; border-radius: 7px; font-size: 13px; font-weight: 800; text-decoration: none; }
.button-primary { color: #06150d; background: var(--accent); }
.button-primary:hover { background: #b5ffdc; }
.button-outline { border: 1px solid #708781; color: #f4f1e9; background: #151d1abb; }
.button-outline:hover { border-color: var(--accent); }
.hero-meta { margin: 34px 0 0; color: #c0cbc5; font: 600 11px/1.8 var(--mono); letter-spacing: .04em; }
.hero-meta span { color: var(--accent); margin-inline: 8px; }
.hero-art { position: relative; display: grid; place-items: end center; height: 100%; min-height: 570px; }
.hero-art img { position: relative; z-index: 2; width: min(95%, 545px); max-height: 590px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 28px 45px #0009); }
.orbit { position: absolute; left: 50%; top: 50%; width: min(92%, 540px); aspect-ratio: 1; border: 1px solid #8bffc550; border-radius: 50%; transform: translate(-50%, -48%); }
.orbit-two { width: min(71%, 430px); border-color: #8bffc52d; }
.hero-art-label { position: absolute; z-index: 3; right: 6px; bottom: 43px; color: #cfffe2; font: 800 10px var(--mono); letter-spacing: .22em; writing-mode: vertical-rl; }

.guide-shell { display: grid; grid-template-columns: 215px minmax(0, 1fr); align-items: start; gap: clamp(35px, 5vw, 86px); }
.contents { position: sticky; top: 97px; padding-top: 70px; }
.contents-inner { border-left: 1px solid var(--line); padding-left: 20px; }
.contents-label { margin: 0 0 17px; color: var(--muted); }
.contents nav { display: grid; gap: 1px; }
.contents a { display: flex; gap: 13px; padding: 8px 0; color: var(--accent); font: 700 11px/1.35 var(--mono); text-decoration: none; }
.contents a span { color: #d4dfdb; font: 600 13px/1.3 var(--sans); letter-spacing: 0; }
.contents a:hover span { color: var(--accent); }
.contents-foot { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.contents-foot button { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 12px; font-weight: 800; text-align: left; }
.guide-content { min-width: 0; }
.chapter { padding: 72px 0 80px; border-bottom: 1px solid var(--line); scroll-margin-top: 75px; }
.chapter:last-child { border-bottom: 0; }
.chapter-heading { margin-bottom: 36px; }
.chapter-heading h2 { max-width: 800px; margin: 12px 0 15px; font-size: clamp(2.5rem, 4vw, 4.6rem); line-height: 1.05; letter-spacing: -.062em; }
.chapter-heading p { max-width: 720px; margin: 0; color: #b9c6c4; font-size: 18px; line-height: 1.65; }
.chapter h3 { margin: 31px 0 15px; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: -.035em; }
.chapter p { overflow-wrap: break-word; }
.chapter a:not(.button):not([data-lightbox]) { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.technical-specs { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.technical-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 22px; padding-left: 21px; }
.technical-list li { padding: 11px 4px; border-bottom: 1px solid #ffffff1a; color: #d4dfdb; font-size: 14px; line-height: 1.55; }
.technical-list li::marker { color: var(--accent); }
.technical-list strong { color: var(--ink); }
.technical-specs .technical-source { margin: 0; color: var(--muted); font-size: 12px; }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 27px; }
.spec-grid > div { min-height: 132px; padding: 20px 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.spec-icon { display: block; margin-bottom: 13px; color: var(--accent); font-size: 23px; line-height: 1; }
.spec-grid strong, .spec-grid small { display: block; }
.spec-grid strong { font-size: 16px; }
.spec-grid small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 15px; }
.reference-column { display: flex; min-width: 0; flex-direction: column; gap: 12px; }
.media-card { display: flex; min-width: 0; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #11171a; }
.media-card > a { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 100%; min-height: 0; overflow: hidden; cursor: zoom-in; background: #101415; }
.media-card img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.media-card figcaption { position: relative; z-index: 1; flex: 0 0 auto; display: block; padding: 13px 17px 16px; border-top: 1px solid var(--line); background: #11171a; color: var(--muted); font-size: 12px; line-height: 1.45; }
.media-card figcaption b { color: var(--ink); }
.reference-card > a { height: auto; aspect-ratio: 433 / 528; padding: 17px; background: #19221f; }
.reference-card img { width: 100%; height: 100%; object-fit: contain; }
.reference-card figcaption { min-height: 86px; }
.reference-card figcaption b, .reference-card figcaption span { display: block; }
.reference-card figcaption b { font-size: 14px; }
.reference-list { margin: 0; padding: 17px 20px 8px 43px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.reference-list li { margin: 0 0 12px; padding-left: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.reference-list li::marker { color: var(--accent); font: 800 14px var(--mono); }
.reference-list strong { color: var(--ink); }
.note { margin: 30px 0; padding: 20px 23px; border-left: 3px solid var(--accent); background: #17241f; }
.note strong { color: var(--accent); font-size: 14px; }
.note p { margin: 5px 0 0; color: #d2dcd5; font-size: 14px; }
.note-amber { border-color: var(--accent-2); background: #282119; }
.note-amber strong { color: var(--accent-2); }
.note-amber p { color: #e8d8bf; }
.note-amber ul { margin: 12px 0 0; padding-left: 22px; }
.note-amber li { margin-top: 8px; color: #e8d8bf; font-size: 14px; line-height: 1.55; }
.note-amber li::marker { color: var(--accent-2); }
.gesture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.gesture { display: flex; gap: 18px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.gesture-symbol { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 900 20px var(--mono); }
.gesture strong { font-size: 14px; }
.gesture p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.steps { display: grid; gap: 17px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .72fr); gap: 26px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.step-copy { min-width: 0; }
.step-index, .feature-number { color: var(--accent); font: 800 12px var(--mono); letter-spacing: .1em; }
.step h3 { margin: 10px 0 12px; font-size: 23px; }
.step p { margin: 0 0 13px; color: #c4d0cd; font-size: 14px; }
.step p:last-child { margin-bottom: 0; }
.step .media-card { align-self: start; }
.step-media-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; gap: 8px; }
.step-media-stack { display: grid; align-self: start; gap: 8px; }
.step-media-stack .media-phone a { height: 450px; }
.step-media-stack .media-display a { height: 170px; }
.media-display a { height: 188px; padding: 8px; }
.media-phone a { height: 300px; padding: 0; background: #161822; }
.name-steps .media-phone a { height: 440px; }
.media-phone img { object-fit: contain; object-position: center top; }
.step-media-pair .media-phone a { height: 188px; }
.step-media-pair figcaption { font-size: 11px; }

.route { display: flex; align-items: stretch; gap: 9px; padding: 18px; border: 1px solid #457766; border-radius: 11px; background: #10251d; }
.route > span { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 92px; padding: 13px; border: 1px solid #3d6b57; border-radius: 7px; color: #f0fff5; font-size: 15px; font-weight: 800; text-align: center; }
.route small { color: #bdd4c6; font-size: 11px; font-weight: 500; }
.route b { align-self: center; min-width: 65px; color: var(--accent); font: 800 10px var(--mono); text-align: center; }
.route b::after { content: " →"; font-size: 18px; }
.concept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.concept { padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.concept span { color: var(--accent); font: 700 11px var(--mono); }
.concept h3 { margin: 7px 0 8px; font-size: 19px; }
.concept p { margin: 0; color: var(--muted); font-size: 13px; }

.two-column-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 28px; padding: 28px 0 40px; border-bottom: 1px solid var(--line); }
.two-column-story + .two-column-story { padding-top: 40px; }
.canned-config { margin-top: 12px; padding-bottom: 0; border-bottom: 0; }
.story-reverse .story-copy { order: 2; }
.story-reverse .phone-pair { order: 1; }
.story-copy h3 { margin: 10px 0 18px; font-size: 28px; }
.story-copy p, .story-copy li { color: #c3cfcc; font-size: 14px; }
.story-copy ol { padding-left: 22px; }
.story-copy li { padding-left: 5px; margin: 0 0 12px; }
.phone-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.phone-pair .media-phone a { height: 425px; }
.phone-pair .media-phone figcaption { min-height: 57px; }

.path-card { padding: 20px 23px; margin: 0 0 19px; border: 1px solid #4d7866; border-radius: 10px; background: #142820; }
.path-label { display: block; margin-bottom: 14px; }
.path-card div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.path-card div span { padding: 7px 11px; border-radius: 5px; background: #234336; font-size: 12px; }
.path-card i { color: var(--accent); font-style: normal; }
.compact-steps .media-display a { height: 240px; }
.compact-steps .step-media-pair .media-display a { height: 188px; }
.wide-display a { height: 330px; padding: 12px; }

.feature-list { display: grid; gap: 12px; margin-top: 28px; }
.feature-list article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .58fr); gap: 24px; align-items: center; padding: 21px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.feature-list h3 { margin: 6px 0 8px; }
.feature-list p { color: #becdc8; font-size: 14px; }
.feature-list .media-display a { height: 180px; }
.animation-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.animation-gallery .media-display a { height: 112px; padding: 5px; }
.animation-gallery figcaption { padding: 7px 8px; color: var(--ink); font-weight: 700; text-align: center; }
.frame-menu { margin: 24px 0 14px; }
.frame-menu > a { height: 150px; padding: 8px; }
.screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.screen-card > a { height: auto; aspect-ratio: 4 / 3; padding: 8px; }
.screen-card figcaption { flex: 1 0 auto; }
.screen-card figcaption b, .screen-card figcaption span { display: block; }
.screen-card figcaption b { margin-bottom: 4px; font-size: 15px; }
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0 0 25px; }
.profile-grid > div { padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.profile-grid small, .profile-grid strong { display: block; }
.profile-grid small { margin-bottom: 5px; color: var(--muted); font: 700 10px var(--mono); text-transform: uppercase; }
.profile-grid strong { color: var(--accent); font: 800 15px var(--mono); overflow-wrap: anywhere; }
.config-step { margin: 0 0 17px; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 14px; }
.role-grid > div { padding: 18px 19px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.role-grid strong { color: var(--accent); font-size: 14px; }
.role-grid p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.settings-phone-pair { margin-bottom: 22px; }
.settings-phone-pair .media-phone a { height: 500px; }
.source-links { margin-top: 22px; color: var(--muted); font-size: 13px; }
.status-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
.status-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.status-table th { color: var(--accent); font: 800 11px var(--mono); letter-spacing: .08em; text-align: left; background: #21362e; }
.status-table th, .status-table td { padding: 14px 17px; border-bottom: 1px solid var(--line); }
.status-table tr:last-child td { border-bottom: 0; }
.status-table td:first-child { font-weight: 650; }
.led { display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 50%; vertical-align: middle; }
.led-red { background: #ff6767; box-shadow: 0 0 11px #ff6767; }
.led-blue { background: #73adff; box-shadow: 0 0 11px #73adff; }
.led-amber { background: #ffc65a; box-shadow: 0 0 11px #ffc65a; }
.led-green { background: #79f2ac; box-shadow: 0 0 11px #79f2ac; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 22px; }
.mini-grid > div { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.mini-grid h3 { margin: 0 0 8px; font-size: 17px; }
.mini-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.procedure { margin-top: 20px; padding: 17px 21px; border: 1px solid #416a5a; border-radius: 8px; background: #14251e; }
.procedure summary, .faq-list summary { cursor: pointer; color: var(--accent); font-weight: 750; }
.procedure ol { margin-bottom: 0; padding-left: 20px; }
.procedure li { margin: 10px 0; }
.procedure p { color: var(--muted); }
.antenna-steps { display: grid; gap: 10px; margin: 0 0 23px; padding-left: 27px; }
.antenna-steps li { padding: 13px 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); font-size: 14px; }
.antenna-steps li::marker { color: var(--accent); font-weight: 800; }
.antenna-steps strong { color: var(--ink); }
.antenna-images { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
.antenna-images .media-card > a { height: 350px; padding: 12px; background: #19221f; }
.faq-list { display: grid; gap: 9px; }
.faq-list details { padding: 16px 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.faq-list details[open] { border-color: #4d7564; }
.faq-list summary { color: var(--ink); }
.faq-list p { margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.end-card { display: flex; justify-content: space-between; gap: 28px; margin-top: 35px; padding: 28px; border: 1px solid #567b65; border-radius: 12px; background: radial-gradient(circle at 85% 0, #326247, #17372b 63%); }
.end-card h3 { max-width: 450px; margin: 8px 0 10px; font-size: 25px; }
.end-card p { margin: 0; color: #d2e3d7; font-size: 13px; }
.end-card p + p { margin-top: 12px; }
.end-card p a { color: var(--accent); }
.end-links { display: flex; flex: 0 0 205px; flex-direction: column; justify-content: center; gap: 9px; }
.end-links a { display: block; padding: 9px 12px; border: 1px solid #84bd9d; border-radius: 5px; color: #effff4; font-size: 12px; font-weight: 800; text-decoration: none !important; }
.end-links a:hover { background: #3d7554; }
.credits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.credit-card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.credit-role { display: block; min-height: 3em; color: var(--accent); font: 800 11px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.credit-card h3 { margin: 15px 0 5px; font-size: 20px; }
.credit-card p { margin: 0 0 13px; color: var(--muted); font-size: 13px; }
.credit-card a { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.credits-place { margin: 24px 0 0; color: var(--muted); font: 700 12px/1.5 var(--mono); letter-spacing: .08em; }

.site-footer { padding-block: 25px; border-top: 1px solid var(--line); color: var(--muted); font: 700 10px/1.5 var(--mono); letter-spacing: .07em; }
.site-footer .page-shell { display: flex; justify-content: space-between; gap: 15px; }
.site-footer a { text-decoration: none; }
.lightbox { position: fixed; inset: 0; max-width: min(94vw, 1100px); max-height: 92vh; padding: 15px; border: 1px solid #5b7767; border-radius: 10px; background: #0b0e12; color: var(--ink); }
.lightbox::backdrop { background: #020405dd; }
.lightbox img { max-height: calc(92vh - 95px); max-width: 100%; width: auto; margin: auto; object-fit: contain; }
.lightbox p { margin: 8px 40px 0 0; color: var(--muted); font-size: 12px; }
.lightbox-close { position: sticky; top: 0; z-index: 2; float: right; width: 38px; height: 38px; border: 1px solid #6c877b; border-radius: 50%; background: #182d22; color: white; cursor: pointer; font-size: 25px; line-height: 1; }

@media (max-width: 1040px) {
  .header-inner { gap: 22px; }
  .top-nav { gap: 14px; }
  .top-nav a { font-size: 11px; }
  .guide-shell { grid-template-columns: 170px minmax(0, 1fr); gap: 30px; }
  .contents-inner { padding-left: 13px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-art { min-height: 500px; }
  .hero-art img { max-height: 480px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 85px; }
  .site-header { z-index: 45; }
  .header-inner { gap: 12px; padding-block: 6px; }
  .top-nav { display: none; }
  .language-picker { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .menu-backdrop:not([hidden]) { display: block; position: fixed; inset: 76px 0 0; z-index: 35; width: 100%; border: 0; background: #020405b8; cursor: default; }
  body.menu-open { overflow: hidden; }
  .guide-shell { display: block; }
  .contents { position: fixed; top: 76px; right: 0; z-index: 40; width: min(380px, 100vw); height: calc(100dvh - 76px); padding: 25px 24px max(25px, env(safe-area-inset-bottom)); overflow-y: auto; border-left: 1px solid var(--line); background: #111a1b; box-shadow: -24px 0 50px #0008; visibility: hidden; transform: translateX(100%); transition: transform .22s ease, visibility .22s; }
  .menu-open .contents { visibility: visible; transform: translateX(0); }
  .contents-inner { padding-left: 0; border: 0; }
  .contents-label { margin-bottom: 13px; }
  .contents nav { gap: 0; }
  .contents a { min-height: 44px; align-items: center; gap: 13px; padding: 10px 0; border-bottom: 1px solid #ffffff16; font-size: 12px; }
  .contents a span { font-size: 14px; }
  .contents-foot { margin-top: 20px; padding-top: 18px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 64px; column-gap: 12px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 8px; }
  .print-button { padding: 8px 10px; }
  .print-button span { display: none; }
  .menu-backdrop:not([hidden]) { top: 64px; }
  .contents { top: 64px; height: calc(100dvh - 64px); }
  .hero-grid { display: flex; flex-direction: column; gap: 0; min-height: auto; }
  .hero-copy { padding: 58px 0 5px; }
  .hero h1 { font-size: clamp(3.8rem, 11vw, 5.6rem); }
  .hero-lead { margin-top: 23px; font-size: 16px; }
  .hero-meta { margin-top: 24px; }
  .hero-art { width: 100%; min-height: 320px; max-height: 400px; }
  .hero-art img { max-height: 390px; }
  .hero-art-label { right: 3%; bottom: 28px; }
  .guide-shell { display: block; }
  .chapter { padding: 50px 0 58px; }
  .chapter-heading h2 { font-size: clamp(2.6rem, 9vw, 4rem); }
  .chapter-heading p { font-size: 16px; }
  .technical-list { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 17px; padding: 19px; }
  .media-phone a { height: 330px; }
  .two-column-story { grid-template-columns: 1fr; }
  .story-reverse .story-copy, .story-reverse .phone-pair { order: initial; }
  .phone-pair .media-phone a { height: 345px; }
  .route { flex-wrap: wrap; }
  .route > span { flex: 1 1 130px; }
  .route b { flex: 0 0 55px; }
  .feature-list article { grid-template-columns: 1fr; }
  .feature-list .media-display a { height: 230px; }
  .animation-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .end-card { flex-direction: column; }
  .end-links { flex: initial; }
  .antenna-images { grid-template-columns: 1fr; }
  .antenna-images .media-card > a { height: 330px; }
  .antenna-images .media-card:last-child > a { height: 250px; }
  .credits-grid { grid-template-columns: 1fr; }
  .credit-role { min-height: 0; }
}

@media (max-width: 520px) {
  .page-shell { padding-inline: 18px; }
  .header-inner { gap: 9px; padding-inline: 14px; }
  .brand > span { display: none; }
  .language-trigger { gap: 7px; padding-inline: 11px; }
  .hero h1 { font-size: clamp(3.35rem, 12vw, 4.3rem); }
  .hero-art { min-height: 275px; }
  .hero-art img { max-height: 300px; }
  .hero-meta { font-size: 10px; }
  .hero-meta span { margin-inline: 3px; }
  .reference-grid, .gesture-grid, .concept-grid, .mini-grid { grid-template-columns: 1fr; }
  .spec-grid > div { min-height: 110px; padding: 14px; }
  .route { display: grid; grid-template-columns: 1fr; text-align: center; }
  .route > span { min-height: 65px; }
  .route b { min-width: 0; }
  .route b::after { content: " ↓"; }
  .step-media-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-media-pair .media-display a, .step-media-pair .media-phone a { height: 132px; }
  .phone-pair .media-phone a { height: 280px; }
  .phone-pair figcaption { font-size: 10px; }
  .animation-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-grid, .role-grid, .settings-phone-pair { grid-template-columns: 1fr; }
  .settings-phone-pair .media-phone a { height: 440px; }
  .site-footer .page-shell { flex-direction: column; }
}

@media (max-width: 360px) {
  .chapter-heading h2 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@page { size: A4; margin: 14mm 13mm 15mm; }
@media print {
  :root { color-scheme: light; --bg: #fff; --panel: #fff; --panel-2: #fff; --line: #c7ceca; --ink: #151d19; --muted: #43524a; --accent: #12613a; --accent-2: #8a5110; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #151d19; font: 10pt/1.42 var(--sans); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-header, .contents, .hero-actions, .hero-art-label, .site-footer, .lightbox, .skip-link { display: none !important; }
  .page-shell { max-width: none; padding: 0; }
  .hero { background: #fff; border-bottom: 2px solid #12613a; }
  .hero::after, .orbit { display: none; }
  .hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 0; gap: 7mm; }
  .hero-copy { padding: 2mm 0 7mm; }
  .hero h1 { font-size: 34pt; color: #101915; }
  .hero em { color: #12613a; }
  .hero-lead { margin: 5mm 0 0; color: #27372e; font-size: 12pt; }
  .hero-meta { margin: 5mm 0 0; color: #43524a; font-size: 8pt; }
  .hero-art { min-height: 0; height: 65mm; }
  .hero-art img { max-height: 65mm; width: 100%; }
  .eyebrow, .chapter-number, .small-label, .path-label, .contents-label { color: #12613a; }
  .guide-shell { display: block; }
  .chapter { padding: 7mm 0 4mm; border-color: #bfcac3; }
  .chapter-heading { margin-bottom: 5mm; }
  .chapter-heading h2 { margin: 2mm 0; font-size: 24pt; }
  .chapter-heading p { color: #35463e; font-size: 10pt; }
  .chapter h3 { margin: 4mm 0 2mm; font-size: 13pt; }
  .chapter p, .story-copy p, .story-copy li, .step p, .concept p, .mini-grid p { color: #283a31; font-size: 9pt; }
  code { color: #12613a; }
  .spec-grid { grid-template-columns: repeat(4, 1fr); gap: 2mm; margin-bottom: 3mm; }
  .spec-grid > div { min-height: 17mm; padding: 2mm; }
  .spec-icon { display: none; }
  .spec-grid strong { font-size: 9pt; }
  .spec-grid small { color: #43524a; font-size: 7pt; }
  .reference-grid { display: block; }
  .reference-column { display: grid; grid-template-columns: 62mm minmax(0, 1fr); align-items: start; gap: 3mm; margin-bottom: 3mm; break-inside: avoid; page-break-inside: avoid; }
  .reference-card > a { height: 70mm; padding: 2mm; }
  .reference-card figcaption { min-height: 0; }
  .reference-card figcaption b, .reference-card figcaption span { display: block; }
  .reference-list { padding: 2mm 2mm 1mm 7mm; border-color: #bdc8c1; background: #fff; }
  .reference-list li { margin-bottom: 1.5mm; padding-left: 0; color: #43524a; font-size: 8pt; line-height: 1.25; }
  .reference-list li::marker { color: #12613a; font-size: 8pt; }
  .reference-list strong { color: #17251d; }
  .technical-specs { padding: 3mm; background: #fff; border-color: #bdc8c1; }
  .technical-specs .technical-source { color: #43524a; font-size: 8pt; }
  .technical-list { gap: 0 4mm; margin: 2mm 0; padding-left: 5mm; }
  .technical-list li { padding: 1mm 0; border-color: #d7ddd9; color: #283a31; font-size: 8pt; break-inside: avoid; }
  .technical-list li::marker { color: #12613a; }
  .technical-list strong { color: #17251d; }
  .media-card, .step, .concept, .mini-grid > div, .gesture, .feature-list article, .faq-list details { background: #fff; border-color: #bdc8c1; }
  .media-card a { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f4f7f4; }
  .media-card img { width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
  .media-card figcaption { padding: 2mm; background: #fff; color: #43524a; font-size: 7pt; }
  .media-card figcaption b { color: #17251d; }
  .note, .note-amber { margin: 3mm 0; padding: 2mm 3mm; background: #eef5ef; border-color: #12613a; }
  .note-amber { background: #f9f4e7; border-color: #8a5110; }
  .note strong, .note-amber strong { color: #163c27; }
  .note p, .note-amber p { margin-top: 1mm; color: #283a31; font-size: 8pt; }
  .note-amber ul { margin-top: 1.5mm; padding-left: 5mm; }
  .note-amber li { margin-top: 1mm; color: #283a31; font-size: 8pt; line-height: 1.3; }
  .note-amber li::marker { color: #8a5110; }
  .gesture-grid, .concept-grid { gap: 2mm; }
  .gesture, .concept { padding: 2mm 3mm; }
  .gesture p { color: #43524a; font-size: 8pt; }
  .gesture-symbol { flex-basis: 7mm; height: 7mm; color: #12613a; border-color: #12613a; font-size: 10pt; }
  .steps, .feature-list, .faq-list { display: block; }
  .step { grid-template-columns: 1fr .72fr; gap: 4mm; padding: 3mm; }
  .step, .feature-list article, .faq-list details { margin-bottom: 3mm; }
  .step h3 { margin: 1mm 0; font-size: 12pt; }
  .step p { margin-bottom: 2mm; }
  .step-index, .feature-number { color: #12613a; }
  .media-display a, .compact-steps .media-display a, .compact-steps .step-media-pair .media-display a { height: 34mm; padding: 1mm; }
  .media-phone a, .step-media-pair .media-phone a { height: 55mm; }
  .name-steps .media-phone a { height: 55mm; }
  .step-media-pair { gap: 2mm; }
  .step-media-pair .media-phone a { height: 34mm; }
  .step-media-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2mm; }
  .step-media-stack .media-phone a, .step-media-stack .media-display a { height: 40mm; }
  .route { gap: 2mm; padding: 2mm; background: #eef5ef; border-color: #7fa18c; }
  .route > span { min-height: 13mm; padding: 1mm; color: #17251d; border-color: #a3bdaa; font-size: 8pt; }
  .route small { color: #43524a; font-size: 7pt; }
  .route b { color: #12613a; font-size: 7pt; }
  .concept-grid { margin-top: 3mm; }
  .concept h3 { font-size: 11pt; }
  .two-column-story { gap: 4mm; padding: 2mm 0 5mm; }
  .two-column-story + .two-column-story { padding-top: 5mm; }
  .story-copy h3 { font-size: 14pt; }
  .story-copy li { margin-bottom: 1mm; }
  .phone-pair { gap: 2mm; }
  .phone-pair .media-phone a { height: 64mm; }
  .phone-pair .media-phone figcaption { min-height: 0; }
  .path-card { margin-bottom: 3mm; padding: 2mm; background: #eef5ef; border-color: #7fa18c; }
  .path-card div span { padding: 1mm 2mm; background: #dfece2; font-size: 7pt; }
  .path-card i { color: #12613a; }
  .wide-display a { height: 45mm; }
  .feature-list article { grid-template-columns: 1fr .5fr; gap: 4mm; padding: 2mm; }
  .feature-list h3 { margin: 1mm 0; font-size: 11pt; }
  .feature-list p { margin: 1mm 0; font-size: 8pt; }
  .feature-list .media-display a { height: 31mm; }
  .animation-gallery { grid-template-columns: repeat(5, 1fr); gap: 2mm; margin-top: 3mm; }
  .animation-gallery .media-display a { height: 18mm; padding: 1mm; }
  .animation-gallery figcaption { padding: 1mm; font-size: 7pt; }
  .frame-menu { margin: 2mm 0; }
  .frame-menu > a { height: 22mm; padding: 1mm; }
  .screen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2mm; }
  .screen-card > a { height: 34mm; aspect-ratio: auto; padding: 1mm; }
  .screen-card figcaption { padding: 1mm 2mm; font-size: 7pt; }
  .screen-card figcaption b { margin-bottom: 1mm; font-size: 8pt; }
  .profile-grid { grid-template-columns: repeat(4, 1fr); gap: 2mm; margin-bottom: 3mm; }
  .profile-grid > div { padding: 2mm; background: #fff; }
  .profile-grid small { font-size: 6pt; }
  .profile-grid strong { font-size: 8pt; }
  .role-grid { grid-template-columns: repeat(2, 1fr); gap: 2mm; margin: 3mm 0; }
  .role-grid > div { padding: 2mm 3mm; background: #fff; }
  .role-grid strong { color: #12613a; font-size: 8pt; }
  .role-grid p { margin-top: 1mm; color: #43524a; font-size: 7pt; }
  .settings-phone-pair { gap: 2mm; margin-bottom: 3mm; }
  .settings-phone-pair .media-phone a { height: 55mm; }
  .source-links { margin-top: 3mm; color: #43524a; font-size: 8pt; }
  .status-table { font-size: 8pt; }
  .status-table th { background: #e4eee6; color: #12613a; }
  .status-table th, .status-table td { padding: 1.8mm 2mm; }
  .led { box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .mini-grid { grid-template-columns: repeat(3, 1fr); gap: 2mm; margin-top: 3mm; }
  .mini-grid > div { padding: 2mm; }
  .mini-grid h3 { font-size: 10pt; }
  .procedure { padding: 2mm 3mm; background: #eef5ef; border-color: #7fa18c; }
  .procedure summary, .faq-list summary { color: #163c27; }
  .antenna-steps { gap: 1mm; margin-bottom: 3mm; padding-left: 5mm; }
  .antenna-steps li { padding: 1.5mm 2mm; background: #fff; border-color: #bdc8c1; color: #283a31; font-size: 8pt; }
  .antenna-steps li::marker { color: #12613a; }
  .antenna-steps strong { color: #17251d; }
  .antenna-images { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2mm; }
  .antenna-images .media-card > a, .antenna-images .media-card:last-child > a { height: 62mm; padding: 1mm; }
  .faq-list { gap: 2mm; }
  .faq-list details { padding: 2mm 3mm; }
  .faq-list p { color: #283a31; font-size: 8pt; }
  .end-card { gap: 4mm; margin-top: 4mm; padding: 3mm; background: #e6f0e7; border-color: #7fa18c; }
  .end-card h3 { color: #163c27; font-size: 12pt; }
  .end-card p { color: #43524a; }
  .end-card p a { color: #12613a; }
  .end-links { flex-basis: 42mm; }
  .end-links a { padding: 1mm 2mm; color: #163c27; border-color: #7fa18c; font-size: 8pt; }
  .credits-grid { gap: 2mm; }
  .credit-card { padding: 2mm 3mm; }
  .credit-role { color: #12613a; font-size: 8pt; }
  .credit-card h3 { margin: 1mm 0; font-size: 11pt; }
  .credit-card p { margin: 0; color: #43524a; font-size: 8pt; }
  .credit-card a { margin-top: 1mm; color: #12613a; font-size: 8pt; }
  .credits-place { margin-top: 3mm; color: #43524a; font-size: 8pt; }
  figure, .step, .concept, .gesture, .feature-list article, .mini-grid > div, .note, .faq-list details, .procedure, .credit-card { break-inside: avoid; page-break-inside: avoid; }
  h2, h3, .chapter-heading { break-after: avoid; page-break-after: avoid; }
  .chapter-heading { break-inside: avoid; page-break-inside: avoid; }
  .chapter a[href^="https://"]::after { content: " (" attr(href) ")"; font: 6pt var(--mono); color: #52645a; overflow-wrap: anywhere; }
}
