:root {
  --ink: #10242f;
  --ink-soft: #4c6270;
  --line: #dde7ec;
  --paper: #ffffff;
  --mist: #f3f7f9;
  --sky: #0d94c9;
  --sky-deep: #0a739e;
  --sky-pale: #e4f5fb;
  --night: #0d2230;
  --night-line: #27424f;
  --warn: #b3361f;
  --radius: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.75; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2 { word-break: keep-all; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--sky-deep); }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); font-size: 14px; }

.preview-banner { background: #fff3cd; color: #6b4e00; font-size: 13px; text-align: center; padding: 6px 16px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 700; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); font-size: 15px; text-decoration: none; }
.site-nav a:hover { color: var(--sky-deep); }
.site-nav .nav-cta { background: var(--sky-pale); color: var(--sky-deep); border-radius: 999px; font-weight: 600; padding: 7px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font: inherit; font-size: 14px; padding: 5px 14px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 22px; border: 1px solid var(--sky-deep); border-radius: 10px; background: var(--sky-deep); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: #085f83; }
.button:disabled { opacity: 0.55; cursor: not-allowed; }
.button.ghost { background: transparent; color: var(--sky-deep); }
.button.ghost:hover { background: var(--sky-pale); }
.button.light { background: #fff; border-color: #fff; color: var(--night); }
.button.large { min-height: 52px; padding: 10px 30px; font-size: 17px; }
.text-button { background: none; border: 0; color: var(--sky-deep); cursor: pointer; font: inherit; font-size: 14px; padding: 4px 0; text-align: left; }
.text-link { font-size: 14px; }
:focus-visible { outline: 3px solid #7fd0ec; outline-offset: 2px; }

.eyebrow { color: var(--sky-deep); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 10px; }

.hero { background: linear-gradient(180deg, #e6f6fb 0%, #f6fbfd 62%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-top: 72px; padding-bottom: 56px; }
.hero-copy { align-self: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; line-height: 1.16; letter-spacing: 0.01em; }
.lead { color: var(--ink-soft); font-size: 18px; margin-top: 22px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-price { color: var(--sky-deep); font-size: 16px; font-weight: 600; margin-top: 18px; }
.hero-art { min-width: 0; }
.tunnel { background: var(--night); border-radius: 20px; color: #fff; padding: 24px 24px 20px; }
.tunnel svg { width: 100%; }
.tunnel text { fill: #d5e8f0; font-size: 17px; font-weight: 600; text-anchor: middle; }
.tunnel-pipe { fill: #142f3f; stroke: #2f6a80; stroke-width: 2; }
.tunnel-flow { fill: none; stroke: #3cc4f2; stroke-dasharray: 14 18; stroke-linecap: round; stroke-width: 5; animation: tunnel-flow 1.1s linear infinite; }
.tunnel-flow-back { stroke: #7fd9d0; }
@keyframes tunnel-flow { to { stroke-dashoffset: -32; } }
.tunnel-node { fill: #1c3b4c; stroke: #2f6a80; stroke-width: 2; }
.tunnel-screen, .tunnel-line { fill: none; stroke: #d5e8f0; stroke-linecap: round; stroke-width: 3; }
.tunnel-lock-bg { fill: var(--night); stroke: #3cc4f2; stroke-width: 3; }
.tunnel-shackle { fill: none; stroke: #7fd9d0; stroke-width: 7; }
.tunnel-lock { fill: #7fd9d0; }
.tunnel-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--night-line); color: #b9d3df; font-size: 14px; margin-top: 8px; padding-top: 14px; text-align: center; }
.tunnel-facts strong { color: #fff; display: block; font-size: 19px; }

.device-strip { background: var(--night); color: #d5e8f0; }
.device-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 15px; font-weight: 600; padding-top: 16px; padding-bottom: 16px; }

.section-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.3; }
.section-lead { color: var(--ink-soft); margin-top: 10px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.section-center { text-align: center; }
.section-title b { color: var(--sky-deep); }
.section-head .section-title::after, .section-center .section-title::after { content: ""; background: linear-gradient(90deg, #3cc4f2, #7fd9d0); border-radius: 2px; display: block; height: 3px; margin: 14px auto 0; width: 56px; }

.ghost-word { color: #f1f6f8; font-size: clamp(150px, 26vw, 340px); font-weight: 800; left: 50%; letter-spacing: 0.04em; line-height: 1; pointer-events: none; position: absolute; top: 28px; transform: translateX(-50%); user-select: none; white-space: nowrap; }
.pricing .ghost-word { color: #e8f0f4; }
.features, .pricing { overflow: hidden; position: relative; }
.features .wrap, .pricing .wrap { position: relative; }

.features { padding: 88px 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 52px; }
.feature { padding: 0 12px; text-align: center; }
.feature-icon { align-items: center; background: #fff; border-radius: 50%; display: inline-flex; height: 76px; justify-content: center; width: 76px; }
.icon-sky { box-shadow: 0 10px 26px rgba(13, 148, 201, 0.2); color: var(--sky); }
.icon-mint { box-shadow: 0 10px 26px rgba(47, 170, 155, 0.2); color: #23a08f; }
.icon-peach { box-shadow: 0 10px 26px rgba(214, 130, 96, 0.2); color: #d0754f; }
.feature-icon svg { fill: none; height: 32px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 32px; }
.feature h3 { font-size: 20px; margin-top: 18px; }
.feature p { color: var(--ink-soft); font-size: 15px; margin: 6px auto 0; max-width: 21em; }

.compare { background: var(--mist); padding: 88px 0; }
.compare-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 32px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 24px; border-top: 1px solid var(--line); padding: 18px 28px; }
.compare-row:first-child { border-top: 0; }
.compare-head { background: var(--night); color: #fff; font-weight: 700; }
.compare-row span:nth-child(2) { color: var(--ink-soft); }
.compare-head span:nth-child(2) { color: #b9d3df; }
.compare-row b { color: var(--sky-deep); }

.scenes { padding: 88px 0 72px; }
.scene-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 2px solid var(--ink); }
.scene { padding: 24px 28px 8px 0; }
.scene + .scene { border-left: 1px solid var(--line); padding-left: 28px; }
.scene h3 { font-size: 22px; }
.scene p { color: var(--ink-soft); margin-top: 8px; }

.estimate { background: var(--night); color: #fff; padding: 88px 0; }
.estimate .section-lead { color: #b9d3df; }
.estimate-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.range { color: #fff; font-size: 15px; margin-top: 24px; }
.range span { display: flex; justify-content: space-between; gap: 12px; }
.range output { color: #7fd9d0; font-weight: 700; }
.range input { accent-color: #3cc4f2; background: none; border: 0; min-height: 32px; padding: 0; }
.quality { border: 0; margin: 24px 0 0; padding: 0; }
.quality legend { font-size: 15px; margin-bottom: 8px; padding: 0; }
.quality { display: flex; gap: 8px; flex-wrap: wrap; }
.quality legend { width: 100%; }
.quality label { flex: 1; min-width: 72px; }
.quality input { height: 1px; min-height: 0; opacity: 0; position: absolute; width: 1px; }
.quality span { display: block; border: 1px solid var(--night-line); border-radius: 10px; color: #d5e8f0; cursor: pointer; font-size: 15px; padding: 9px 8px; text-align: center; }
.quality input:checked + span { background: #fff; border-color: #fff; color: var(--night); font-weight: 700; }
.quality input:focus-visible + span { outline: 3px solid #7fd0ec; outline-offset: 2px; }
.estimate-result { background: #142f3f; border-radius: var(--radius); padding: 32px; }
.estimate-meter { background: #1c3b4c; border-radius: 999px; height: 12px; margin-top: 14px; overflow: hidden; }
.estimate-fill { background: linear-gradient(90deg, #7fd9d0, #3cc4f2); height: 100%; transition: width 300ms ease-out; width: 0; }
.estimate-label { color: #b9d3df; font-size: 14px; }
.estimate-total { font-size: clamp(36px, 4.4vw, 50px); font-weight: 800; line-height: 1.2; white-space: nowrap; }
.estimate-verdict { color: #7fd9d0; font-size: 20px; font-weight: 700; margin-top: 14px; }
.estimate-detail { color: #b9d3df; font-size: 15px; margin: 6px 0 10px; }
.estimate-result .text-link { color: #fff; }

.pricing { background: var(--mist); padding: 88px 0; }
.period-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.period-tabs button { background: none; border: 0; border-radius: 9px; color: var(--ink-soft); cursor: pointer; font: inherit; font-size: 15px; min-height: 40px; padding: 4px 20px; }
.period-tabs button[aria-pressed="true"] { background: var(--sky-deep); color: #fff; font-weight: 600; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.plan-feature { background: var(--night); border-color: var(--night); color: #fff; }
.plan-matched { box-shadow: 0 0 0 3px var(--sky); }
.plan-match { background: var(--sky); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; padding: 2px 14px; position: absolute; right: 20px; top: -13px; }
.plan h3 { font-size: 19px; font-weight: 700; line-height: 1.4; }
.plan-tier { color: var(--ink-soft); font-size: 14px; }
.plan-price { font-size: 48px; font-weight: 800; line-height: 1.2; margin-top: 20px; }
.plan-price span { color: var(--ink-soft); font-size: 16px; font-weight: 400; }
.plan-saving { color: var(--sky-deep); font-size: 14px; font-weight: 600; }
.plan-feature .plan-saving { color: #7fd9d0; }
.plan-feature .plan-price span, .plan-feature .plan-tier, .plan-feature .plan-stat dt { color: #b9d3df; }
.plan-stats { margin: 16px 0 0; }
.plan-stat { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 15px; padding: 9px 0; }
.plan-feature .plan-stat { border-color: var(--night-line); }
.plan-stat dt { color: var(--ink-soft); }
.plan-stat dd { font-weight: 600; margin: 0; text-align: right; }
.plan-action { margin-top: 12px; width: 100%; }
.plan-feature .plan-action { background: #fff; border-color: #fff; color: var(--night); }
.plan-feature .plan-action:hover { background: var(--sky-pale); }
.fine-print { color: var(--ink-soft); font-size: 14px; margin-top: 18px; }
.empty-state { color: var(--ink-soft); grid-column: 1 / -1; padding: 24px 0; }

.routes { padding: 88px 0 0; }
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.route-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.route-tabs button { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; font: inherit; font-size: 15px; min-height: 42px; padding: 4px 18px; }
.route-tabs button[aria-pressed="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; font-weight: 600; }
.route-card { background: var(--sky-pale); border-radius: var(--radius); padding: 28px 32px 32px; }
.route-steps { counter-reset: route; }
.route-steps li { counter-increment: route; display: grid; grid-template-columns: 44px 1fr; border-bottom: 1px solid #c8e6f1; padding: 14px 0; }
.route-steps li::before { content: counter(route); color: var(--sky-deep); font-size: 26px; font-weight: 800; grid-row: span 2; line-height: 1.3; }
.route-steps strong { font-size: 17px; }
.route-steps span { color: var(--ink-soft); font-size: 15px; }
.route-hint { color: var(--ink-soft); font-size: 14px; margin: 14px 0 16px; }

.download { padding: 88px 0; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.platform.current { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.platform-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform h3 { font-size: 20px; }
.badge { background: var(--sky-pale); border-radius: 999px; color: var(--sky-deep); font-size: 13px; padding: 2px 12px; white-space: nowrap; }
.asset-list { margin-top: 10px; }
.asset { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 10px 0; font-size: 15px; }
.asset:first-child { border-top: 0; }
.asset-pending { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.asset-link { white-space: nowrap; }
.asset-tag { background: var(--sky-pale); border-radius: 6px; color: var(--sky-deep); font-size: 12px; margin-left: 8px; padding: 1px 7px; white-space: nowrap; }
.platform-hint { border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; padding-top: 10px; }

.faq { padding: 88px 0; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 16px 0; }
.faq-list details p { color: var(--ink-soft); padding-bottom: 18px; }

.closing { background: var(--sky-pale); padding: 72px 0; }
.closing-row { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

.site-footer { background: var(--night); color: #b9d3df; font-size: 14px; padding: 32px 0; }
.site-footer .brand { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand p { margin-top: 2px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row nav a { color: #b9d3df; text-decoration: none; }

.guide-hero { background: var(--night); color: #fff; padding: 56px 0; }
.guide-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; line-height: 1.25; }
.guide-hero .eyebrow { color: #7fd9d0; }
.guide-hero .lead { color: #b9d3df; }
.guide-hero .text-link { color: #fff; display: inline-block; font-size: 15px; margin-top: 14px; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 24px; padding-bottom: 80px; }
.guide-steps { counter-reset: guide; }
.guide-steps > li { counter-increment: guide; display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 26px 0; position: relative; }
.guide-steps > li::before { content: counter(guide); align-items: center; background: var(--sky-pale); border-radius: 50%; color: var(--sky-deep); display: flex; font-size: 17px; font-weight: 800; height: 36px; justify-content: center; position: relative; width: 36px; z-index: 1; }
.guide-steps > li:not(:last-child)::after { content: ""; background: var(--line); bottom: -26px; left: 17px; position: absolute; top: 62px; width: 2px; }
.guide-steps h2 { font-size: 20px; line-height: 36px; margin-bottom: 4px; }
.guide-aside { background: var(--mist); border-radius: var(--radius); margin-top: 26px; padding: 22px 24px; position: sticky; top: 92px; }
.guide-aside h2 { font-size: 17px; margin-bottom: 6px; }
.guide-aside li { border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; padding: 9px 0; }
.guide-aside li:first-child { border-top: 0; }
.guide-aside strong { color: var(--ink); display: block; }
.rules { margin-top: 12px; background: var(--mist); border-radius: 10px; padding: 12px 18px; font-size: 15px; }
.rules li { padding: 2px 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h2 { font-size: 19px; margin-bottom: 6px; }
.apple-card { margin-top: 16px; }
.ios-install-figure { margin: 18px 0; min-width: 0; }
.ios-install-image-link { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ios-install-image-link img { display: block; width: 100%; height: auto; }
.ios-install-figure figcaption { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.ios-install-image-link:focus-visible, .ios-install-text summary:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 4px; }
.ios-install-text { border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; padding: 14px 18px; }
.ios-install-text summary { cursor: pointer; font-weight: 600; min-height: 24px; }
.ios-install-text ol { list-style: decimal; margin: 14px 0 0; padding-left: 1.5em; }
.ios-install-text li { line-height: 1.8; padding: 4px 0; }
.ios-guide-viewer { background: var(--mist); min-height: 100vh; }
.ios-guide-toolbar { background: #fff; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.ios-guide-toolbar nav { display: flex; gap: 16px; }
.ios-guide-toolbar a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.ios-guide-toolbar p { color: var(--ink-soft); flex-basis: 100%; font-size: 14px; }
.ios-guide-canvas { margin: 16px; overflow: auto; max-height: calc(100dvh - 160px); border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.ios-guide-canvas img { display: block; width: 100%; height: auto; }
.ios-guide-canvas:target img { width: 1536px; max-width: none; }
.ios-guide-canvas:focus-visible, .ios-guide-toolbar a:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.apple-fields { display: grid; gap: 12px; margin-top: 4px; }
.copy-row { display: flex; gap: 8px; margin-top: 4px; }
.copy-row input { flex: 1; min-width: 0; }
label { display: block; color: var(--ink-soft); font-size: 14px; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #c9d7de; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; padding: 8px 12px; }
label > input, label > select, label > textarea { margin-top: 4px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row select { width: auto; }
.stack { display: grid; gap: 14px; }
.stack-lg { display: grid; gap: 16px; }
.form-error { color: var(--warn); font-size: 14px; }
.form-error:empty { display: none; }

.account-page { background: var(--mist); min-height: 100vh; }
.account-main { padding-top: 40px; padding-bottom: 80px; max-width: 820px; }
.auth { max-width: 420px; margin: 0 auto; }
.auth h1, .gate h1 { font-size: 24px; }
.auth-mark { margin: 0 auto 12px; }
.auth-intro { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; text-align: center; }
.gate { display: grid; gap: 14px; }
.console-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; margin: 8px 0 0; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }
.meter { background: var(--sky-pale); border-radius: 999px; height: 8px; margin-top: 14px; overflow: hidden; }
.meter-fill { background: var(--sky); height: 100%; }
.renew-grid, .console-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.choice { display: grid; gap: 2px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; font: inherit; padding: 12px 16px; text-align: left; }
.choice:hover { border-color: var(--sky); }
.choice span { color: var(--ink-soft); font-size: 14px; }
.order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.order .muted { overflow-wrap: anywhere; }
.notice { background: #fff3cd; border-radius: 10px; color: #6b4e00; font-size: 14px; padding: 10px 16px; }
.bubble { background: var(--mist); border-radius: 10px; padding: 8px 14px; overflow-wrap: anywhere; }
.bubble.mine { background: var(--sky-pale); }
.order-dialog { border: 0; border-radius: var(--radius); box-shadow: 0 18px 60px rgba(13, 34, 48, 0.28); color: var(--ink); max-width: min(420px, calc(100vw - 32px)); padding: 24px; width: 100%; }
.order-dialog::backdrop { background: rgba(13, 34, 48, 0.45); }
.order-dialog h2 { font-size: 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; background: var(--night); border-radius: 10px; color: #fff; font-size: 14px; max-width: calc(100vw - 32px); padding: 10px 18px; }

@media (max-width: 900px) {
  .hero-grid, .estimate-grid, .routes-grid, .faq-grid, .guide { grid-template-columns: 1fr; }
  .feature-list { gap: 36px 20px; grid-template-columns: repeat(2, 1fr); }
  .hero-grid { padding-top: 48px; padding-bottom: 40px; }
  .hero-art { justify-self: center; max-width: 520px; width: 100%; }
  .compare-row { gap: 8px 16px; grid-template-columns: 1fr 1fr; padding: 14px 18px; }
  .compare-row span:first-child { font-weight: 600; grid-column: 1 / -1; }
  .compare-head span:first-child { display: none; }
  .scene-list { grid-template-columns: 1fr; }
  .scene, .scene + .scene { border-left: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .plan-grid { grid-template-columns: 1fr; gap: 24px; }
  .features, .compare, .scenes, .estimate, .pricing, .download, .faq { padding: 60px 0; }
  .routes { padding: 60px 0 0; }
  .estimate-grid, .routes-grid, .faq-grid { gap: 32px; }
  .guide { gap: 8px; }
  .guide-aside { margin-top: 0; position: static; }
}

@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-toggle { display: block; }
  .site-nav:not(.always) { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav:not(.always) a { padding: 12px 0; }
  .site-nav:not(.always) .nav-cta { margin-top: 6px; text-align: center; }
  .platform-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .period-tabs { display: flex; width: 100%; }
  .period-tabs button { flex: 1; padding: 4px 8px; }
  .panel, .platform { padding: 18px; }
  .feature-list { grid-template-columns: 1fr; }
  .estimate-result { padding: 20px; }
  .route-card { padding: 16px 18px 22px; }
  .guide-hero { padding: 40px 0; }
  .tunnel { padding: 14px 12px 14px; }
  .asset { flex-wrap: wrap; }
}

/* Announcement UI only; do not restyle other account panels or public pages. */
.notice-center { min-width: 0; }
.notice-center-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 8px 2px 24px; }
.notice-center-head h1 { font-size: 26px; letter-spacing: -.5px; line-height: 1.4; margin-bottom: 8px; }
.notice-center-head p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.notice-count { color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; font-size: 12px; margin-top: 6px; }
.notice-list { display: grid; gap: 16px; }
.notice-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; min-width: 0; overflow: hidden; }
.notice-card summary { list-style: none; cursor: pointer; padding: 24px 28px; overflow-wrap: anywhere; }
.notice-card summary::-webkit-details-marker { display: none; }
.notice-card summary:focus-visible { outline: 3px solid var(--sky); outline-offset: -4px; border-radius: 18px; }
.notice-card summary:hover { background: #f8fcfe; }
.notice-card h2 { font-size: 20px; line-height: 1.55; margin: 14px 0 10px; }
.notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 12px; }
.notice-label { color: #176184; background: var(--sky-pale); padding: 3px 9px; border-radius: 6px; }
.notice-excerpt { color: var(--ink-soft); font-size: 14px; line-height: 1.85; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.notice-expand { display: flex; align-items: center; gap: 9px; color: #176184; font-size: 13px; font-weight: 600; margin-top: 18px; }
.notice-expand::after { content: ''; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; width: 6px; height: 6px; transform: rotate(45deg); margin-top: -3px; }
.notice-close, .notice-card[open] .notice-read, .notice-card[open] summary .notice-excerpt { display: none; }
.notice-card[open] .notice-close { display: inline; }
.notice-card[open] .notice-expand::after { transform: rotate(225deg); margin-top: 3px; }
.notice-card[open] summary { padding-bottom: 20px; }
.notice-article { margin: 0 28px 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.95; color: #2d4350; overflow-wrap: anywhere; white-space: pre-line; }
.notice-article p { margin: 0 0 16px; }
.notice-article h2, .notice-article h3, .notice-article h4 { color: var(--ink); font-size: 17px; line-height: 1.65; margin: 24px 0 12px; }
.notice-article > :first-child { margin-top: 0; }
.notice-article > :last-child { margin-bottom: 0; }
.notice-article ul, .notice-article ol { padding-left: 22px; margin: 12px 0 20px; }
.notice-article ul { list-style: disc; }
.notice-article ol { list-style: decimal; }
.notice-article li { padding-left: 3px; margin: 7px 0; }
.notice-article blockquote { margin: 20px 0; border-left: 3px solid #66abc7; background: #f2f8fb; border-radius: 0 8px 8px 0; padding: 12px 16px; color: #385769; }
.notice-article a[href] { color: #14698d; text-decoration: underline; text-underline-offset: 3px; }
.notice-article pre { white-space: pre-wrap; padding: 14px; background: var(--mist); border-radius: 8px; }
.notice-article code { font-size: .9em; }
.notice-content-warning { color: #77521a; }
.notice-state { padding: 40px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.notice-state h2 { font-size: 19px; margin-bottom: 10px; }
.notice-state p { color: var(--ink-soft); font-size: 14px; }
.notice-state .button { margin-top: 12px; }
.notice-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.notice-section-head h2 { margin: 0; }
.notice-section-head .text-button { min-height: 44px; white-space: nowrap; }
.notice-digest-row { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 18px; }
.notice-digest-row h3 { font-size: 16px; line-height: 1.6; margin: 8px 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .notice-center-head { gap: 12px; padding-bottom: 20px; }
  .notice-center-head h1 { font-size: 24px; }
  .notice-count { padding: 4px 9px; }
  .notice-card summary { padding: 22px; }
  .notice-card h2 { font-size: 19px; }
  .notice-article { margin: 0 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .estimate-fill { transition: none; }
  .tunnel-flow { animation: none; }
}

/* Homepage device strip: seamless loop; all selectors stay inside this strip. */
.device-strip { position: relative; overflow: hidden; }
.device-strip .device-scroll-viewport { overflow: hidden; margin-right: 0; }
.device-strip .device-scroll-track { display: flex; width: max-content; animation: device-marquee 30s linear infinite; }
.device-strip .device-list { flex: 0 0 auto; width: max-content; min-width: 100vw; flex-wrap: nowrap; justify-content: space-around; gap: clamp(32px, 6vw, 88px); padding: 18px clamp(20px, 4vw, 60px); }
.device-strip .device-list li { flex: 0 0 auto; white-space: nowrap; }
.device-strip::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 24px; background: linear-gradient(90deg, transparent, var(--night)); pointer-events: none; }
.device-strip .device-scroll-viewport:focus-visible { outline: 2px solid #7fd9d0; outline-offset: -2px; }
.device-strip .device-scroll-viewport:focus-within .device-scroll-track { animation-play-state: paused; }
@media (hover: hover) {
  .device-strip .device-scroll-viewport:hover .device-scroll-track { animation-play-state: paused; }
}
@keyframes device-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .device-strip .device-scroll-track { animation: none; }
  .device-strip .device-scroll-viewport { overflow-x: auto; margin-right: 0; scrollbar-width: thin; }
  .device-strip .device-list { min-width: 0; }
  .device-strip .device-list[aria-hidden="true"], .device-strip::after { display: none; }
}

