:root {
    --bg: #17171A;
    --bg-deep: #121214;
    --panel: #222226;
    --panel-soft: #29292e;
    --text: #F1EEEE;
    --muted: #A9A3A6;
    --line: rgba(241, 238, 238, .12);
    --brand: #C84A5A;
    --copper: #D08A48;
    --accent: #E59A3A;
    --max: 1180px;
    --narrow: 900px;
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shadow: 0 28px 70px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.search-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.shell.narrow { width: min(calc(100% - 48px), var(--narrow)); }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-160%); background: var(--text); color: var(--bg-deep); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(18,18,20,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-lockup img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.brand-copy { display: grid; line-height: 1.15; gap: 5px; }
.brand-copy strong { font-size: 18px; letter-spacing: .04em; }
.brand-copy small { color: var(--muted); font-size: 12px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.primary-nav a { color: var(--muted); font-size: 14px; padding: 9px 12px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); background: rgba(200,74,90,.12); }
.search-trigger, .nav-toggle { border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 999px; min-height: 42px; cursor: pointer; }
.search-trigger { display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; color: var(--text); }
.search-dot { width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; position: relative; }
.search-dot::after { content: ""; position: absolute; width: 5px; height: 2px; background: var(--accent); right: -5px; bottom: -2px; transform: rotate(45deg); border-radius: 2px; }
.nav-toggle { display: none; width: 44px; padding: 10px; gap: 4px; flex-direction: column; justify-content: center; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: currentColor; margin: 2px auto; }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; padding: 12vh 20px 20px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(5,5,6,.78); backdrop-filter: blur(10px); }
.search-dialog { position: relative; z-index: 2; width: min(100%, 650px); background: var(--panel); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.search-dialog h2 { margin: 4px 0 8px; font-size: clamp(28px,4vw,42px); line-height: 1.18; }
.search-dialog p { color: var(--muted); }
.search-close { position: absolute; top: 15px; right: 18px; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; font-size: 24px; }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 24px; }
.search-form input { min-width: 0; border: 1px solid var(--line); background: var(--bg-deep); color: var(--text); border-radius: 12px; padding: 13px 15px; outline: none; }
.search-form input:focus { border-color: rgba(229,154,58,.72); box-shadow: 0 0 0 3px rgba(229,154,58,.12); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #17120f; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: #eda94f; }
.button-ghost { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.035); color: var(--text); }
.button-ghost:hover { border-color: rgba(229,154,58,.55); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #f3b568; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.kicker, .eyebrow { margin: 0 0 8px; color: #e3a15a; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-size: clamp(30px,4vw,48px); line-height: 1.2; letter-spacing: -.03em; }
.section-heading p:not(.kicker) { max-width: 720px; margin: 12px 0 0; color: var(--muted); }
.compact-heading h2 { font-size: clamp(25px,3vw,36px); }

.home-hero { position: relative; overflow: hidden; background: var(--bg-deep); }
.home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 20%, rgba(200,74,90,.18), transparent 34%), radial-gradient(circle at 18% 86%, rgba(208,138,72,.08), transparent 32%); pointer-events: none; }
.hero-grid { position: relative; min-height: 660px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-copy h1 { margin: 0; max-width: 760px; font-size: clamp(42px,6vw,76px); line-height: 1.08; letter-spacing: -.045em; }
.hero-lead { max-width: 760px; margin: 24px 0 0; color: #ccc6c8; font-size: 18px; line-height: 1.85; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-facts { margin: 38px 0 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-facts div { min-width: 0; }
.hero-facts dt { color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; word-break: break-word; }
.hero-visual { margin: 0; align-self: stretch; position: relative; min-height: 500px; display: grid; align-items: end; }
.hero-visual img { width: 100%; height: min(540px, 62vw); max-height: 590px; object-fit: cover; border-radius: 34px 34px 12px 34px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08); }
.hero-visual figcaption { position: absolute; left: -28px; bottom: 28px; max-width: 260px; background: rgba(34,34,38,.94); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; color: #d7d1d3; font-size: 13px; box-shadow: 0 18px 40px rgba(0,0,0,.22); }

.access-strip { border-bottom: 1px solid var(--line); background: #1a1a1e; }
.access-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 52px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.compact-heading { margin: 0; }
.access-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.access-line li { position: relative; min-height: 118px; padding: 18px; display: grid; align-content: center; gap: 2px; background: rgba(255,255,255,.018); }
.access-line li + li { border-left: 1px solid var(--line); }
.access-line span { position: absolute; top: 10px; right: 12px; color: rgba(255,255,255,.18); font-size: 12px; }
.access-line strong { font-size: 15px; }
.access-line small { color: var(--muted); }

.home-editorial { padding: 100px 0; }
.editorial-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 90px; align-items: start; }
.sticky-heading { position: sticky; top: 120px; }
.heading-image { margin-top: 30px; border-radius: 24px; width: 100%; max-height: 320px; object-fit: cover; border: 1px solid var(--line); }
.editorial-list { border-top: 1px solid var(--line); }
.editorial-item { display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 36px 0 38px; border-bottom: 1px solid var(--line); }
.editorial-number { color: rgba(255,255,255,.26); font-size: 14px; padding-top: 4px; }
.editorial-item h3 { margin: 2px 0 10px; font-size: 25px; line-height: 1.34; }
.editorial-item p:not(.eyebrow) { color: var(--muted); margin: 0 0 14px; }

.domain-check { padding: 96px 0; background: var(--bg-deep); border-block: 1px solid var(--line); }
.domain-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.domain-visual img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 28px; border: 1px solid rgba(255,255,255,.08); }
.domain-copy h2 { margin: 0 0 18px; font-size: clamp(32px,4.5vw,52px); line-height: 1.18; }
.check-list { margin: 28px 0 30px; border-top: 1px solid var(--line); }
.check-row { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check-row strong { color: #edb36a; }
.check-row p { margin: 0; color: var(--muted); }

.app-bridge { padding: 100px 0; }
.bridge-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.bridge-copy h2 { margin: 0; font-size: clamp(34px,4.7vw,54px); line-height: 1.18; }
.bridge-copy > p:not(.kicker) { color: var(--muted); font-size: 17px; }
.plain-list { margin: 24px 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 22px; color: #d6d1d2; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.bridge-visual { margin: 0; }
.bridge-visual img { width: 100%; min-height: 480px; object-fit: cover; border-radius: 18px 36px 36px 18px; border: 1px solid var(--line); }

.topic-note { padding: 84px 0; background: #1a1a1d; }
.topic-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 64px; align-items: center; }
.topic-art img { width: 100%; height: 410px; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); }
.topic-copy h2 { margin: 0 0 16px; font-size: clamp(32px,4vw,48px); line-height: 1.2; }
.topic-copy p:not(.kicker) { color: var(--muted); }

.scope-section { padding: 78px 0; border-top: 1px solid var(--line); }
.scope-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 66px; align-items: start; }
.scope-points { border-top: 1px solid var(--line); }
.scope-points > div { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.scope-points strong { color: #e7aa61; }
.scope-points p { margin: 0; color: var(--muted); }
.submit-bridge { padding: 72px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(200,74,90,.11), rgba(208,138,72,.055)); }
.split-note { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-note h2 { margin: 0; font-size: clamp(30px,4vw,46px); line-height: 1.24; }
.split-note p { color: var(--muted); }
.home-help { padding: 94px 0; }
.help-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.help-copy h2 { margin: 0; font-size: clamp(32px,4vw,48px); line-height: 1.2; }
.help-copy p:not(.kicker) { color: var(--muted); }
.help-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.help-links a { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); }
.help-links a:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.help-links strong, .help-links span { display: block; }
.help-links strong { font-size: 18px; }
.help-links span { margin-top: 6px; color: var(--muted); font-size: 13px; }
.search-band { padding: 54px 0; background: var(--bg-deep); border-top: 1px solid var(--line); }
.search-band-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 46px; }
.search-band h2 { margin: 0; font-size: clamp(26px,3.5vw,40px); line-height: 1.25; }
.inline-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.inline-search input { min-width: 0; border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 12px; padding: 13px 15px; outline: none; }

.page-main { padding-bottom: 90px; }
.breadcrumbs { padding: 28px 0 14px; }
.breadcrumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.28); }
.breadcrumbs a:hover { color: var(--text); }
.page-intro { padding: 58px 0 64px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: 0; max-width: 900px; font-size: clamp(42px,6vw,70px); line-height: 1.1; letter-spacing: -.04em; }
.page-lead { max-width: 820px; margin: 22px 0 0; color: #c9c3c5; font-size: 18px; }
.page-intro-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.intro-visual { margin: 0; }
.intro-visual img { width: 100%; min-height: 420px; object-fit: cover; border-radius: 28px; border: 1px solid var(--line); }
.action-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.content-stack { padding: 70px 0 34px; display: grid; gap: 0; }
.prose-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.prose-section:first-child { border-top: 1px solid var(--line); }
.prose-section h2 { margin: 0 0 14px; font-size: clamp(26px,3vw,36px); line-height: 1.32; }
.prose-section p { margin: 10px 0 0; color: var(--muted); }
.steps-section { padding: 66px 0 70px; }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.steps-grid li { min-height: 270px; padding: 24px; background: rgba(255,255,255,.018); }
.steps-grid li + li { border-left: 1px solid var(--line); }
.steps-grid span { color: var(--brand); font-size: 13px; font-weight: 800; }
.steps-grid h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.3; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.device-note { margin: 0 0 68px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 54px; align-items: center; padding: 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; }
.device-note figure { margin: 0; }
.device-note img { width: 100%; height: 350px; object-fit: cover; border-radius: 18px; }
.device-note h2 { margin: 0; font-size: clamp(28px,3.5vw,42px); line-height: 1.23; }
.device-note p:not(.kicker) { color: var(--muted); }
.related-paths { padding: 30px 0 16px; }
.link-rail { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.link-rail a { padding: 22px 22px 22px 0; }
.link-rail a + a { border-left: 1px solid var(--line); padding-left: 22px; }
.link-rail strong, .link-rail span { display: block; }
.link-rail strong { font-size: 16px; }
.link-rail span { margin-top: 5px; color: var(--muted); font-size: 13px; }

.guide-layout { display: grid; grid-template-columns: 340px 1fr; gap: 70px; padding-top: 70px; }
.guide-aside { align-self: start; position: sticky; top: 116px; display: grid; gap: 18px; }
.guide-aside img { width: 100%; height: 410px; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); }
.aside-card { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.aside-card strong { display: block; font-size: 18px; word-break: break-word; }
.aside-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.guide-articles { border-top: 1px solid var(--line); }
.guide-article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.guide-index { color: rgba(255,255,255,.26); }
.guide-article h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.3; }
.guide-article p { margin: 0; color: var(--muted); }
.scenario-table { padding-top: 80px; }
.scenario-rows { border-top: 1px solid var(--line); }
.scenario-rows > div { display: grid; grid-template-columns: 150px 190px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.scenario-rows span { color: #e3a15a; font-size: 14px; }
.scenario-rows p { margin: 0; color: var(--muted); }

.compact-intro { padding-bottom: 46px; }
.wide-figure { margin: 42px 0 24px; }
.wide-figure img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 28px; border: 1px solid var(--line); }
.submit-stack { padding-top: 22px; }
.numbered-prose { display: grid; grid-template-columns: 64px 1fr; gap: 22px; }
.numbered-prose > span { color: rgba(255,255,255,.25); }
.submission-checklist { padding: 58px 0 42px; }
.checklist-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.checklist-grid li { background: var(--panel); padding: 24px; }
.checklist-grid strong, .checklist-grid span { display: block; }
.checklist-grid span { margin-top: 7px; color: var(--muted); }
.notice-box { margin: 38px 0 44px; padding: 26px 28px; background: rgba(229,154,58,.07); border: 1px solid rgba(229,154,58,.28); border-radius: 18px; }
.notice-box strong { color: #efb66c; }
.notice-box p { margin-bottom: 0; color: #c8c1c3; }
.warning-note { background: rgba(200,74,90,.08); border-color: rgba(200,74,90,.3); }
.warning-note strong { color: #e6828f; }

.faq-intro, .safety-intro, .privacy-intro, .contact-intro { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: center; }
.faq-intro img, .safety-intro img, .privacy-intro img, .contact-intro img { width: 100%; height: 300px; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); }
.faq-list { padding: 58px 0 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h2 { margin: 0; font-size: inherit; }
.faq-item button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; text-align: left; padding: 24px 0; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 18px; }
.faq-item button b { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); transition: transform .2s ease; }
.faq-item button[aria-expanded="true"] b { transform: rotate(45deg); }
.faq-panel[hidden] { display: none; }
.faq-panel { padding: 0 60px 24px 0; }
.faq-panel p { margin: 0; color: var(--muted); }

.about-prose { padding: 64px 0 22px; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.about-prose article { padding: 0 28px; }
.about-prose article:first-child { padding-left: 0; }
.about-prose article + article { border-left: 1px solid var(--line); }
.about-prose h2 { margin: 0; font-size: 23px; }
.about-prose p { color: var(--muted); }
.principle-grid { padding: 70px 0 20px; }
.principle-items { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.principle-items div { min-height: 220px; padding: 24px; }
.principle-items div + div { border-left: 1px solid var(--line); }
.principle-items h3 { margin: 0; }
.principle-items p { color: var(--muted); font-size: 14px; }

.safety-list { padding: 56px 0 24px; }
.safety-list article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.safety-list article:first-child { border-top: 1px solid var(--line); }
.safety-list > article > span { color: rgba(255,255,255,.25); }
.safety-list h2 { margin: 0; font-size: 24px; }
.safety-list p { margin: 6px 0 0; color: var(--muted); }
.privacy-sections { padding: 56px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.privacy-sections article { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.privacy-sections h2 { margin: 0; font-size: 21px; }
.privacy-sections p { color: var(--muted); margin-bottom: 0; }
.contact-grid { padding: 56px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.contact-grid article { background: var(--panel); padding: 28px; }
.contact-grid h2 { margin: 0; font-size: 22px; }
.contact-grid p { color: var(--muted); }

.search-page-intro { text-align: left; }
.page-search-form { max-width: 720px; }
.search-results { padding: 50px 0 0; }
.empty-state { padding: 38px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.empty-state h2 { margin-top: 0; }
.empty-state p { color: var(--muted); }
.result-summary { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.result-list { border-top: 1px solid var(--line); }
.result-list article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.result-list h2 { margin: 0; font-size: 24px; }
.result-list h2 a:hover { color: #efb66c; }
.result-list p { color: var(--muted); }
.error-panel { margin-top: 70px; padding: 58px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; }
.error-panel h1 { margin: 0; font-size: clamp(40px,6vw,68px); line-height: 1.1; }
.error-panel > p:not(.kicker) { color: var(--muted); max-width: 640px; }

.site-footer { margin-top: 20px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { padding: 62px 0 44px; display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; }
.footer-brand p { max-width: 560px; color: var(--muted); font-size: 14px; }
.footer-lockup { margin-bottom: 18px; }
.footer-nav { display: grid; align-content: start; gap: 8px; }
.footer-nav h2 { margin: 0 0 8px; font-size: 14px; color: #d7d1d3; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #777276; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(34,34,38,.9); color: var(--text); cursor: pointer; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
.back-to-top[hidden] { display: none; }

@media (max-width: 1100px) {
    .header-inner { grid-template-columns: auto auto 1fr auto; gap: 14px; }
    .nav-toggle { display: flex; }
    .primary-nav { position: absolute; left: 24px; right: 24px; top: 68px; display: none; padding: 14px; background: #202024; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
    .primary-nav[data-open="true"] { display: grid; grid-template-columns: repeat(3,1fr); }
    .primary-nav a { text-align: center; }
    .hero-grid, .page-intro-split { gap: 42px; }
    .access-layout, .help-layout { grid-template-columns: 1fr; gap: 30px; }
    .domain-grid, .bridge-layout, .topic-layout { gap: 46px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .steps-grid li:nth-child(4) { border-top: 1px solid var(--line); }
    .guide-layout { grid-template-columns: 290px 1fr; gap: 44px; }
    .principle-items { grid-template-columns: 1fr 1fr; }
    .principle-items div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .principle-items div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
    .shell, .shell.narrow { width: min(calc(100% - 36px), var(--max)); }
    .hero-grid, .domain-grid, .bridge-layout, .topic-layout, .page-intro-split, .device-note, .footer-grid { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; padding-top: 54px; }
    .hero-visual { min-height: 0; }
    .hero-visual img { height: 460px; }
    .hero-visual figcaption { left: 18px; }
    .access-line { grid-template-columns: 1fr 1fr; }
    .access-line li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .access-line li:nth-child(4) { border-top: 1px solid var(--line); }
    .editorial-grid { grid-template-columns: 1fr; gap: 38px; }
    .sticky-heading, .guide-aside { position: static; }
    .heading-image { max-width: 560px; }
    .domain-visual { order: 2; }
    .domain-visual img, .bridge-visual img { min-height: 420px; }
    .split-note, .search-band-inner, .scope-layout { grid-template-columns: 1fr; gap: 24px; }
    .help-links { grid-template-columns: 1fr; }
    .help-links a:nth-child(even) { padding-left: 0; border-left: 0; }
    .guide-layout { grid-template-columns: 1fr; }
    .guide-aside { grid-template-columns: .9fr 1.1fr; align-items: stretch; }
    .guide-aside img { height: 300px; }
    .faq-intro, .safety-intro, .privacy-intro, .contact-intro { grid-template-columns: 1fr; }
    .faq-intro img, .safety-intro img, .privacy-intro img, .contact-intro img { max-width: 520px; }
    .about-prose { grid-template-columns: 1fr; }
    .about-prose article { padding: 24px 0; }
    .about-prose article + article { border-left: 0; border-top: 1px solid var(--line); }
    .footer-grid { gap: 36px; }
    .footer-grid .footer-brand { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .header-inner { min-height: 68px; grid-template-columns: auto 1fr auto; }
    .nav-toggle { order: 3; }
    .primary-nav { top: 64px; }
    .primary-nav[data-open="true"] { grid-template-columns: 1fr; }
    .search-trigger { width: 42px; padding: 0; justify-content: center; }
    .search-trigger span:last-child { display: none; }
    .brand-copy small { display: none; }
    .hero-copy h1 { font-size: clamp(38px,12vw,58px); }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts div + div { padding-top: 12px; border-top: 1px solid var(--line); }
    .hero-visual img { height: 360px; }
    .access-line { grid-template-columns: 1fr; }
    .access-line li { min-height: 88px; }
    .access-line li + li { border-left: 0; border-top: 1px solid var(--line); }
    .editorial-item { grid-template-columns: 48px 1fr; gap: 14px; }
    .domain-visual img, .bridge-visual img, .topic-art img { height: 340px; min-height: 0; }
    .check-row, .scope-points > div { grid-template-columns: 1fr; gap: 6px; }
    .help-links, .steps-grid, .link-rail, .checklist-grid, .privacy-sections, .contact-grid, .principle-items { grid-template-columns: 1fr; }
    .steps-grid li + li, .steps-grid li:nth-child(3), .steps-grid li:nth-child(4), .link-rail a + a, .principle-items div + div, .principle-items div:nth-child(3), .principle-items div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
    .link-rail a, .link-rail a + a { padding: 20px 0; }
    .device-note { padding: 24px; }
    .device-note img { height: 280px; }
    .guide-aside { grid-template-columns: 1fr; }
    .scenario-rows > div { grid-template-columns: 1fr; gap: 5px; }
    .numbered-prose { grid-template-columns: 44px 1fr; gap: 12px; }
    .faq-panel { padding-right: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
}

@media (max-width: 520px) {
    .shell, .shell.narrow { width: min(calc(100% - 28px), var(--max)); }
    .search-dialog { padding: 28px 20px; }
    .search-form, .inline-search { grid-template-columns: 1fr; }
    .hero-grid { padding-top: 44px; padding-bottom: 48px; }
    .hero-copy h1 { font-size: 40px; }
    .hero-lead, .page-lead { font-size: 16px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-visual img { height: 300px; border-radius: 24px; }
    .hero-visual figcaption { position: static; max-width: none; margin-top: 10px; }
    .home-editorial, .app-bridge, .home-help { padding: 70px 0; }
    .domain-check { padding: 68px 0; }
    .topic-note { padding: 62px 0; }
    .section-heading h2, .domain-copy h2, .bridge-copy h2, .topic-copy h2 { font-size: 31px; }
    .page-intro { padding: 42px 0 48px; }
    .page-intro h1 { font-size: 42px; }
    .intro-visual img { min-height: 0; height: 320px; }
    .guide-article { grid-template-columns: 42px 1fr; gap: 12px; }
    .guide-article h2 { font-size: 23px; }
    .error-panel { padding: 34px 24px; }
}
