:root {
  --navy: #0b1737;
  --navy-2: #142752;
  --blue: #1769e0;
  --blue-soft: #e9f1ff;
  --green: #159447;
  --green-soft: #e7f7ed;
  --amber: #d97915;
  --cream: #f7f5ef;
  --paper: #ffffff;
  --ink: #18223a;
  --muted: #687189;
  --line: #e2e6ef;
  --shadow: 0 18px 50px rgba(16, 33, 73, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.top-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  background: radial-gradient(circle at 78% 10%, rgba(29, 105, 224, .16), transparent 35%), linear-gradient(160deg, #fbfcff 0%, #f2f6ff 52%, #fff 100%);
  pointer-events: none;
  z-index: -1;
}
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid rgba(11, 23, 55, .08); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--navy); font-weight: 900; font-size: 22px; }
.brand strong, .brand small { display: block; line-height: 1.1; letter-spacing: .08em; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .72); }
.nav-link { padding: 8px 15px; color: var(--muted); border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 800; transition: .2s ease; }
.nav-link:hover { color: var(--blue); background: var(--blue-soft); }
.nav-link.active { color: #fff; background: var(--navy); box-shadow: 0 6px 16px rgba(11, 23, 55, .16); }
.nav-link.console-link { color: #fff; background: var(--blue); }
.nav-link.console-link:hover { color: #fff; background: #0e55bd; }
.nav-link.console-link span { margin-left: 3px; font-size: 11px; }
.header-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.header-meta span + span { padding-left: 12px; border-left: 1px solid var(--line); }
.live-dot { width: 8px; height: 8px; padding: 0 !important; border: 0 !important; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(21, 148, 71, .11); }

.hero { padding: 74px 0 66px; }
.eyebrow, .card-kicker { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .14em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 64px; align-items: center; }
h1 { margin: 12px 0 20px; max-width: 760px; color: var(--navy); font-size: clamp(42px, 6.2vw, 76px); line-height: 1.08; letter-spacing: -.045em; }
.hero-summary { max-width: 760px; }
.hero-lead { margin: 0 0 18px; color: #34435f; font-size: clamp(17px, 2vw, 21px); font-weight: 700; line-height: 1.65; }
.hero-points, .status-card ul, .progress-basis ul { margin: 0; padding: 0; list-style: none; }
.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.hero-points li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; align-items: start; }
.hero-points li span { color: var(--blue); font-weight: 900; }
.hero-points p { margin: 0; color: #596780; font-size: 15px; line-height: 1.65; }
.status-card { max-width: 760px; margin-top: 26px; padding: 18px 20px; color: #116c38; background: var(--green-soft); border: 1px solid #ccebd8; border-radius: 18px; }
.status-title { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.status-title span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status-title strong { font-size: 14px; }
.status-card li { display: grid; grid-template-columns: 14px 1fr; gap: 7px; }
.status-card li::before { content: "—"; color: #55a875; }
.status-card li span:empty { display: none; }
.status-card li p { margin: 2px 0; font-size: 14px; font-weight: 600; line-height: 1.55; }
.progress-panel { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 32px 24px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(19, 55, 118, .1); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.progress-ring { --progress: 0; width: 220px; height: 220px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--progress) * 1%), #e8edf5 0); position: relative; }
.progress-ring::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #fff; }
.progress-ring > div { position: relative; z-index: 1; text-align: center; }
.progress-ring strong, .progress-ring span { display: block; }
.progress-ring strong { color: var(--navy); font-size: 54px; line-height: 1; letter-spacing: -.05em; }
.progress-ring span { margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.progress-basis { width: 100%; padding-top: 2px; text-align: left; }
.progress-basis > strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 13px; text-align: center; }
.progress-basis li { display: grid; grid-template-columns: 14px 1fr; gap: 7px; }
.progress-basis li::before { content: "•"; color: var(--blue); font-weight: 900; }
.progress-basis li span:empty { display: none; }
.progress-basis li p, .progress-basis > p { margin: 2px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.progress-basis > p { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-weight: 600; text-align: center; }

.quick-section, .detail-section, .schedule-section { padding: 82px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.section-heading > div { display: flex; align-items: baseline; gap: 14px; }
.section-number { color: var(--blue); font-size: 13px; font-weight: 900; }
h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; }
.section-heading p { margin: 0 0 7px; color: var(--muted); font-size: 14px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card { min-height: 154px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.metric-card span, .metric-card small { color: var(--muted); }
.metric-card span { font-size: 13px; font-weight: 700; }
.metric-card strong { color: var(--navy); font-size: 31px; line-height: 1.1; }
.metric-card small { font-size: 12px; }
.now-next-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.focus-card { min-height: 196px; padding: 30px; border-radius: 24px; }
.focus-card h3 { margin: 46px 0 0; max-width: 520px; font-size: 24px; line-height: 1.5; }
.focus-card.current { color: #fff; background: var(--navy); }
.focus-card.current .card-kicker { color: #80b1ff; }
.focus-card.next { background: var(--blue-soft); border: 1px solid #d5e4ff; }
.focus-card.next h3 { color: var(--navy-2); }
.stage-board { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stage-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; }
.stage-top { display: flex; align-items: center; justify-content: space-between; }
.stage-index { color: #a2acc0; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.stage-status { padding: 5px 9px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; font-size: 11px; font-weight: 700; }
.stage-card h3 { min-height: 56px; margin: 17px 0 22px; color: var(--navy); font-size: 19px; }
.stage-bar { height: 7px; overflow: hidden; border-radius: 99px; background: #e9edf4; }
.stage-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #48a1ff); }
.stage-progress { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.stage-progress strong { color: var(--blue); font-size: 22px; }
.stage-progress span { color: var(--muted); font-size: 12px; line-height: 1.7; }

.section-tint { background: var(--cream); }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.panel, .timeline-panel { padding: 32px; background: #fff; border: 1px solid rgba(11, 23, 55, .07); border-radius: 24px; box-shadow: 0 14px 38px rgba(32, 40, 58, .045); }
.panel-title { display: flex; align-items: center; gap: 12px; }
.panel-title h3 { margin: 0; color: var(--navy); font-size: 21px; }
.icon-check, .icon-alert, .icon-history { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
.icon-check { color: var(--green); background: var(--green-soft); }
.icon-alert { color: var(--amber); background: #fff1df; }
.icon-history { color: var(--blue); background: var(--blue-soft); }
.plain-list { margin: 25px 0 0; padding: 0; list-style: none; }
.plain-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.plain-list li span { color: var(--green); font-weight: 900; }
.plain-list p { margin: 0; font-size: 14px; }
.blocker-row { padding: 18px 0; border-top: 1px solid var(--line); }
.blocker-row:first-child { margin-top: 17px; }
.blocker-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.blocker-level { color: var(--amber); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.blocker-owner { color: var(--muted); font-size: 11px; }
.blocker-row h4 { margin: 6px 0 4px; color: var(--navy); font-size: 15px; }
.blocker-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.timeline-panel { margin-top: 20px; }
.timeline { margin-top: 26px; }
.timeline-row { min-height: 94px; display: grid; grid-template-columns: 60px 20px 1fr; gap: 12px; position: relative; }
.timeline-row:not(:last-child)::after { content: ""; position: absolute; left: 69px; top: 25px; bottom: 0; width: 1px; background: var(--line); }
.timeline-row time { padding-top: 2px; color: var(--muted); font-size: 13px; font-weight: 700; }
.timeline-dot { z-index: 1; width: 12px; height: 12px; margin-top: 6px; border: 3px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #bae9ca; }
.timeline-dot.next-dot { background: var(--blue); box-shadow: 0 0 0 3px #c9dcff; }
.timeline-copy > div { display: flex; gap: 12px; align-items: center; }
.timeline-copy h4 { margin: 0; color: var(--navy); font-size: 15px; }
.timeline-copy span { color: var(--green); font-size: 11px; font-weight: 800; }
.timeline-copy p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.legend { display: flex; justify-content: flex-end; gap: 20px; margin: -18px 0 20px; color: var(--muted); font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend-build { background: var(--green); }
.legend-accept { background: var(--blue); }
.legend-today { background: #fff1c7; border: 1px solid #ebc45a; }
.gantt-wrap { overflow-x: auto; border: 1px solid #cfd5e1; border-radius: 18px; box-shadow: var(--shadow); }
.gantt { min-width: 1080px; background: #fff; }
.gantt-row { display: grid; grid-template-columns: 255px repeat(var(--date-count), minmax(66px, 1fr)); }
.gantt-row + .gantt-row { border-top: 1px solid #d8dde7; }
.task-head, .task-name { padding: 13px 16px; border-right: 1px solid #d8dde7; }
.task-head { display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 800; }
.phase-cell { padding: 12px 6px; color: var(--green); border-right: 1px solid #d8dde7; text-align: center; font-size: 13px; font-weight: 800; }
.phase-cell:nth-child(n+3) { color: var(--blue); }
.date-cell, .gantt-cell { min-height: 48px; display: grid; place-items: center; border-right: 1px solid #d8dde7; }
.date-cell { color: var(--navy); font-size: 13px; font-weight: 800; }
.subhead { font-size: 12px; color: var(--muted); }
.task-name { display: flex; align-items: center; gap: 10px; min-height: 55px; }
.task-name span { min-width: 24px; color: #9da7ba; font-size: 12px; font-weight: 800; }
.task-name strong { color: var(--navy); font-size: 14px; }
.gantt-cell { min-height: 55px; color: #fff; font-size: 12px; font-weight: 900; }
.today-col:not(.build-cell):not(.accept-cell) { background: #fffaf0; }
.build-cell { background: linear-gradient(145deg, #1aa34f, #13853e); }
.accept-cell { background: linear-gradient(145deg, #2379eb, #0b58ca); }
.goal-note { margin-top: 20px; padding: 18px 22px; color: var(--navy); background: #f4f7fc; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; font-size: 14px; font-weight: 600; }

footer { color: #d8dfef; background: var(--navy); }
.footer-inner { min-height: 120px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner strong { color: #fff; font-size: 16px; }
.footer-inner span { color: #8fa0c2; font-size: 12px; }
.footer-inner p { margin: 0; color: #8fa0c2; font-size: 12px; text-align: right; }
.load-error .progress-panel { border-color: #f0cfc7; }

/* Glossary */
.learning-dot { width: 25px; height: 25px; display: grid; place-items: center; padding: 0 !important; color: #fff; border: 0 !important; border-radius: 50%; background: var(--blue); font-size: 13px; font-weight: 900; }
.glossary-hero { padding: 74px 0 78px; }
.glossary-category-tabs { display: flex; gap: 12px; padding-top: 28px; }
.glossary-category-tabs a { min-width: 230px; display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 11px; padding: 16px 20px; color: #66738a; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .72); text-decoration: none; }
.glossary-category-tabs a > span { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; align-self: center; color: #fff; border-radius: 11px; background: #9da8b9; font-size: 11px; font-weight: 900; }
.glossary-category-tabs strong, .glossary-category-tabs small { display: block; }
.glossary-category-tabs strong { color: var(--navy); font-size: 15px; }
.glossary-category-tabs small { margin-top: 2px; font-size: 11px; }
.glossary-category-tabs a.active { color: #3d5f93; border-color: #a9c6f1; background: #eef5ff; box-shadow: 0 8px 24px rgba(35, 121, 235, .08); }
.glossary-category-tabs a.active > span { background: var(--blue); }
.glossary-hero h1 { max-width: 900px; }
.glossary-lead { max-width: 840px; margin: 0; color: #44536e; font-size: clamp(17px, 2vw, 21px); font-weight: 600; }
.memory-strip { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.memory-card { min-height: 150px; display: grid; grid-template-columns: 54px 1fr; gap: 17px; align-items: start; padding: 24px; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .82); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.memory-card:hover { transform: translateY(-3px); border-color: #b7caf0; }
.memory-icon { width: 54px; height: 54px; display: grid; place-items: center; color: #fff; border-radius: 17px; background: var(--blue); font-size: 20px; font-weight: 900; }
.mcp-memory .memory-icon { background: var(--navy); }
.webhook-memory .memory-icon { background: var(--green); }
.dns-memory .memory-icon { background: var(--blue); }
.tunnel-memory .memory-icon { background: var(--navy); }
.access-memory .memory-icon { background: #7d50c7; }
.database-memory .memory-icon { background: #159b74; }
.environment-memory .memory-icon { background: var(--navy); }
.backup-memory .memory-icon { background: #d28416; }
.memory-card small, .memory-card strong { display: block; }
.memory-card small { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.memory-card strong { margin-top: 3px; color: var(--navy); font-size: 19px; }
.memory-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.glossary-flow-section, .why-section, .faq-section { padding: 82px 0; }
.glossary-heading { margin-bottom: 38px; }
.story-flow { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: center; }
.story-step { min-height: 240px; padding: 25px 22px; position: relative; border: 1px solid rgba(11, 23, 55, .08); border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(32, 40, 58, .05); }
.story-number { position: absolute; top: 16px; right: 18px; color: #b5bdca; font-size: 12px; font-weight: 900; }
.story-emoji { font-size: 38px; }
.story-step h3 { margin: 25px 0 8px; color: var(--navy); font-size: 17px; }
.story-step p { margin: 0; color: var(--muted); font-size: 13px; }
.webhook-step { border-top: 4px solid var(--green); }
.api-step { border-top: 4px solid var(--blue); }
.mcp-step { border-top: 4px solid var(--navy); }
.flow-arrow { color: #9aa6bb; font-size: 24px; font-weight: 900; text-align: center; }
.plain-note { margin-top: 20px; padding: 18px 22px; display: flex; gap: 9px; color: #225238; border: 1px solid #ccebd8; border-radius: 16px; background: var(--green-soft); font-size: 14px; }
.glossary-detail-section, .safety-section { padding: 82px 0; }
.term-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 30px; }
.term-card + .term-card { margin-top: 26px; }
.term-side { padding: 34px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(155deg, #2379eb, #104db3); text-align: center; }
.mcp-card .term-side { background: linear-gradient(155deg, #1b3268, #09152f); }
.webhook-card .term-side { background: linear-gradient(155deg, #22a758, #0c6c36); }
.term-badge { font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.term-symbol { width: 82px; height: 82px; margin: 22px 0 14px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 25px; background: rgba(255, 255, 255, .12); font-size: 31px; font-weight: 900; }
.term-side p { margin: 0; font-size: 15px; font-weight: 800; }
.term-content { padding: 38px 42px; }
.term-question { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.term-content h3 { margin: 7px 0 12px; color: var(--navy); font-size: clamp(23px, 3vw, 31px); line-height: 1.4; }
.term-intro { margin: 0; color: #4f5d76; font-size: 15px; line-height: 1.85; }
.ability-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ability-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fafbfe; }
.ability-grid h4 { margin: 0 0 10px; color: var(--navy); font-size: 14px; }
.ability-grid ul { margin: 0; padding-left: 20px; }
.ability-grid li { margin: 5px 0; color: #56637a; font-size: 13px; }
.limit-box { margin-top: 18px; padding: 16px 18px; color: #6e4a17; border-left: 4px solid var(--amber); border-radius: 0 13px 13px 0; background: #fff8ec; font-size: 13px; }
.project-state { margin-top: 16px; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
.project-state span { padding: 5px 9px; color: #fff; border-radius: 999px; background: var(--green); font-size: 11px; font-weight: 800; text-align: center; }
.project-state p { margin: 1px 0 0; color: var(--muted); font-size: 13px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid article { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.why-grid span { color: var(--amber); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.why-grid h3 { margin: 38px 0 9px; color: var(--navy); font-size: 18px; line-height: 1.5; }
.why-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.why-grid .all-three { color: #fff; border-color: var(--navy); background: var(--navy); }
.why-grid .all-three span { color: #80b1ff; }
.why-grid .all-three h3 { color: #fff; }
.why-grid .all-three p { color: #b8c5df; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safety-grid article { min-height: 214px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; }
.safety-grid span { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 11px; background: var(--blue); font-size: 13px; font-weight: 900; }
.safety-grid h3 { margin: 28px 0 8px; color: var(--navy); font-size: 18px; }
.safety-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.cloudflare-term-section { padding: 82px 0; }
.compact-term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compact-term-grid article { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(32, 40, 58, .04); scroll-margin-top: 30px; }
.compact-term-grid article > span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.compact-term-grid h3 { margin: 8px 0 12px; color: var(--navy); font-size: 21px; }
.compact-term-grid p { margin: 0; color: #4f5d76; font-size: 14px; line-height: 1.8; }
.compact-term-grid small { display: block; margin-top: 18px; padding: 13px 14px; color: #52617a; border-left: 3px solid #80abef; border-radius: 0 10px 10px 0; background: #f1f6fd; font-size: 12px; line-height: 1.7; }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-list details { border-top: 1px solid #d9dedf; }
.faq-list details:last-child { border-bottom: 1px solid #d9dedf; }
.faq-list summary { padding: 22px 48px 22px 0; position: relative; color: var(--navy); cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--blue); font-size: 23px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 24px; max-width: 820px; color: var(--muted); font-size: 14px; line-height: 1.85; }

@media (max-width: 900px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .progress-panel { flex-direction: row; }
  .progress-ring { flex: 0 0 auto; width: 170px; height: 170px; }
  .progress-ring strong { font-size: 42px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .stage-board { grid-template-columns: 1fr; }
  .memory-strip { grid-template-columns: 1fr; }
  .story-flow { grid-template-columns: 1fr 24px 1fr; gap: 10px 0; }
  .story-flow .story-step:nth-of-type(3) { grid-column: 1; }
  .story-flow .story-step:nth-of-type(4) { grid-column: 3; }
  .story-flow .flow-arrow:nth-of-type(2) { display: none; }
  .term-card { grid-template-columns: 170px 1fr; }
  .term-content { padding: 32px; }
  .why-grid, .safety-grid { grid-template-columns: 1fr 1fr; }
  .compact-term-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; padding: 12px 0; gap: 10px; }
  .header-meta, .brand small { display: none; }
  .site-nav { order: 3; width: 100%; }
  .nav-link { flex: 1; min-width: 0; padding-inline: 5px; text-align: center; font-size: 12px; white-space: nowrap; }
  .nav-link.console-link span { display: none; }
  .hero { padding: 50px 0; }
  .hero-grid { gap: 30px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-points { grid-template-columns: 1fr; gap: 8px; }
  .hero-points p { font-size: 14px; }
  .status-card { margin-top: 22px; padding: 16px; }
  .progress-panel { flex-direction: column; }
  .quick-section, .detail-section, .schedule-section { padding: 58px 0; }
  .section-heading { align-items: flex-start; }
  .section-heading p { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { min-height: 138px; padding: 18px; }
  .metric-card strong { font-size: 26px; }
  .now-next-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 170px; padding: 24px; }
  .focus-card h3 { margin-top: 34px; font-size: 20px; }
  .panel, .timeline-panel { padding: 24px 20px; }
  .timeline-row { grid-template-columns: 48px 18px 1fr; }
  .timeline-row:not(:last-child)::after { left: 56px; }
  .legend { justify-content: flex-start; flex-wrap: wrap; margin-top: -10px; }
  .footer-inner { padding: 28px 0; flex-direction: column; align-items: flex-start; }
  .footer-inner p { text-align: left; }
  .glossary-hero { padding: 50px 0 58px; }
  .glossary-category-tabs { flex-direction: column; padding-top: 20px; }
  .glossary-category-tabs a { width: 100%; min-width: 0; }
  .glossary-hero h1 { font-size: 40px; }
  .memory-card { padding: 19px; }
  .glossary-flow-section, .glossary-detail-section, .why-section, .safety-section, .faq-section { padding: 58px 0; }
  .story-flow { grid-template-columns: 1fr; }
  .story-step, .story-flow .story-step:nth-of-type(3), .story-flow .story-step:nth-of-type(4) { grid-column: 1; min-height: 190px; }
  .flow-arrow { transform: rotate(90deg); }
  .story-flow .flow-arrow:nth-of-type(2) { display: block; }
  .plain-note { display: block; }
  .plain-note strong { display: block; margin-bottom: 4px; }
  .term-card { grid-template-columns: 1fr; }
  .term-side { padding: 26px; }
  .term-symbol { width: 66px; height: 66px; margin: 15px 0 10px; }
  .term-content { padding: 26px 20px; }
  .ability-grid, .why-grid, .safety-grid { grid-template-columns: 1fr; }
  .compact-term-grid { grid-template-columns: 1fr; }
  .project-state { grid-template-columns: 1fr; gap: 7px; }
  .project-state span { width: fit-content; }
}
