:root {
  --ink: #142326;
  --muted: #5e6e70;
  --soft: #839193;
  --paper: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #eaf1ef;
  --line: #d5dfdc;
  --line-strong: #b8c8c3;
  --night: #0b1a20;
  --night-soft: #163039;
  --teal: #187c80;
  --teal-dark: #0d5b60;
  --teal-wash: #e0f1ef;
  --coral: #c45b43;
  --coral-wash: #fae9e4;
  --gold: #a87518;
  --gold-wash: #fff3d8;
  --green: #2b7758;
  --green-wash: #e2f1e8;
  --red: #aa4148;
  --red-wash: #f9e9ea;
  --shadow: 0 18px 45px rgba(12, 31, 36, 0.09);
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

:where(a, button):focus-visible {
  outline: 3px solid #70d1d4;
  outline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

button {
  letter-spacing: 0;
}

code,
pre,
.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  padding: 0.12em 0.32em;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #edf2f0;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 9px 13px;
  color: #fff;
  background: var(--night);
  border-radius: 4px;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: #fff;
  background: rgba(11, 26, 32, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--night);
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  margin-top: 3px;
  color: #aebdc0;
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: #d5dfe1;
  font-size: 14px;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  cursor: pointer;
}

.page-width {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home-main {
  padding: 64px 0 88px;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 72px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow,
.section-kicker,
.article-meta,
.toc-label {
  display: block;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-intro h1 {
  max-width: 780px;
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-intro h1 span {
  color: var(--teal);
}

.home-intro p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-note {
  padding: 22px 0 6px 24px;
  border-left: 3px solid var(--coral);
}

.intro-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.intro-note p {
  margin: 0;
  font-size: 14px;
}

.content-section {
  padding-top: 56px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 18px;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  color: inherit;
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
}

.article-thumb-codex {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 20px;
  color: #fff;
  background: var(--night);
  overflow: hidden;
}

.article-thumb-codex > span {
  color: #9eb2b6;
  font-size: 10px;
  font-weight: 800;
}

.article-thumb-icons {
  display: flex;
  align-items: center;
  gap: 13px;
}

.article-thumb-icons img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 13px;
}

.article-thumb-icons b {
  color: #54c4c8;
  font-size: 20px;
}

.article-thumb-wifi {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  color: var(--night);
  background: #dfe9e6;
  overflow: hidden;
}

.article-thumb-wifi img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(12, 31, 36, 0.13);
}

.article-thumb-wifi div {
  min-width: 0;
}

.article-thumb-wifi span,
.article-thumb-wifi strong,
.article-thumb-wifi small {
  display: block;
}

.article-thumb-wifi span {
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
}

.article-thumb-wifi strong {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.25;
}

.article-thumb-wifi small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.article-card-copy small {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.article-card-copy h3 {
  margin: 7px 0 8px;
  font-size: 24px;
  line-height: 1.3;
}

.article-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-card-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal-dark);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.about-band {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 64px;
  margin-top: 64px;
  padding: 42px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.about-band h2,
.articles-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.about-band p {
  margin: 0;
  color: var(--muted);
}

.articles-main {
  min-height: calc(100vh - var(--header-height) - 120px);
  padding: 64px 0 88px;
}

.articles-hero {
  max-width: 760px;
  margin-bottom: 42px;
}

.articles-hero p {
  margin: 16px 0 0;
  color: var(--muted);
}

.article-page {
  padding: 44px 0 96px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: center;
  padding: 46px 0 54px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.article-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-hero h1 span {
  color: var(--teal);
}

.article-dek {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 24px;
  color: var(--soft);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  padding: 32px;
  color: #fff;
  background: var(--night);
  border-radius: 7px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 74px;
  height: 3px;
  background: var(--coral);
}

.visual-label {
  color: #9eb2b6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0 28px;
}

.product-icons img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.product-icons span {
  color: #55c7cb;
  font-size: 30px;
  font-weight: 500;
}

.hero-visual strong {
  display: block;
  font-size: 25px;
}

.hero-visual small {
  color: #a9b9bc;
}

.hero-visual-wifi {
  color: var(--night);
  background: #dfe9e6;
}

.hero-visual-wifi .visual-label {
  color: var(--teal-dark);
}

.hero-visual-wifi small {
  color: var(--muted);
}

.case-app-icon {
  width: 104px;
  height: 104px;
  margin: 34px 0 20px;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(12, 31, 36, 0.16);
}

.article-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  margin-top: 54px;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.article-toc nav {
  display: grid;
  gap: 6px;
}

.article-toc a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--teal-dark);
}

.article-body {
  min-width: 0;
  max-width: 860px;
}

.article-section {
  padding: 12px 0 58px;
  border-bottom: 1px solid var(--line);
}

.article-section + .article-section {
  padding-top: 54px;
}

.article-section:last-child {
  border-bottom: 0;
}

.article-section h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.28;
}

.article-section h3 {
  margin: 34px 0 12px;
  font-size: 21px;
  line-height: 1.35;
}

.article-section > p:first-of-type {
  margin-top: 0;
}

.article-section p,
.article-section li {
  color: var(--muted);
}

.article-section ul,
.article-section ol {
  padding-left: 22px;
}

.route-grid,
.tool-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.route-item,
.tool-card,
.safety-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.route-item strong,
.safety-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.route-item p,
.safety-item p {
  margin: 0;
  font-size: 14px;
}

.callout {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 13px;
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--teal-wash);
  border-left: 3px solid var(--teal);
  border-radius: 0 5px 5px 0;
}

.callout.warning {
  background: var(--gold-wash);
  border-left-color: var(--gold);
}

.callout.danger {
  background: var(--red-wash);
  border-left-color: var(--red);
}

.callout.success {
  background: var(--green-wash);
  border-left-color: var(--green);
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.callout p {
  margin: 0;
  font-size: 14px;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 16px;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  cursor: pointer;
}

.tab-button[aria-selected="true"] {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.tab-panel[hidden],
.mode-panel[hidden] {
  display: none;
}

.steps {
  display: grid;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.step p {
  margin: 0;
  font-size: 14px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 19px;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.table-wrap {
  width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 13px;
}

td {
  color: var(--muted);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.tool-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}

.tool-head img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.tool-head strong,
.tool-head small {
  display: block;
}

.tool-head small {
  color: var(--soft);
  font-size: 12px;
}

.tool-card p {
  margin: 0 0 14px;
  font-size: 14px;
}

.tool-card > strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--teal-dark);
  background: var(--teal-wash);
  border-radius: 5px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 14px;
}

.mode-button {
  min-height: 74px;
  padding: 13px 15px;
  text-align: left;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.mode-button strong,
.mode-button span {
  display: block;
}

.mode-button span {
  margin-top: 3px;
  font-size: 12px;
}

.mode-button[aria-selected="true"] {
  color: #fff;
  background: var(--night-soft);
  border-color: var(--night-soft);
}

.mode-panel {
  padding: 18px 20px;
  background: var(--surface-soft);
  border-left: 3px solid var(--teal);
}

.mode-panel strong {
  display: block;
  margin-bottom: 4px;
}

.mode-panel p {
  margin: 0;
  font-size: 14px;
}

.code-wrap {
  position: relative;
  margin: 20px 0;
}

.code-wrap pre {
  margin: 0;
  padding: 20px 54px 20px 20px;
  color: #d9e7e9;
  background: var(--night);
  border: 1px solid #1d3942;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #b7c7ca;
  background: #17313a;
  border: 1px solid #2c4b54;
  border-radius: 4px;
  cursor: pointer;
}

.copy-button.copied {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.case-metrics-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-metric {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.case-metric:first-child {
  padding-left: 0;
}

.case-metric:last-child {
  padding-right: 0;
  border-right: 0;
}

.case-metric span,
.case-metric strong,
.case-metric small {
  display: block;
}

.case-metric span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.case-metric strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.case-metric small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.case-thesis {
  margin-top: 28px;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--coral);
}

.case-thesis span,
.case-thesis strong {
  display: block;
}

.case-thesis span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.case-thesis strong {
  max-width: 720px;
  margin-top: 7px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.5;
}

.case-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.case-flow > div {
  min-height: 138px;
  padding-top: 16px;
  border-top: 3px solid var(--teal);
}

.case-flow > i,
.case-flow > svg {
  color: var(--coral);
}

.case-flow span,
.case-flow strong {
  display: block;
}

.case-flow span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.case-flow strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
}

.case-flow p {
  margin: 5px 0 0;
  font-size: 13px;
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.source-list strong {
  color: var(--ink);
}

.source-list a {
  overflow-wrap: anywhere;
}

.article-end {
  margin-top: 54px;
  padding: 32px;
  color: #fff;
  background: var(--night);
  border-radius: 7px;
}

.article-end h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.article-end p {
  margin: 0;
  color: #bcc9cc;
  font-size: 14px;
}

.article-end a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: #70d1d4;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  color: #b9c5c8;
  background: var(--night);
  border-top: 1px solid #1f3941;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  font-size: 13px;
}

.footer-main,
.footer-records {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-records {
  align-items: flex-end;
  flex: 0 0 auto;
  text-align: right;
}

.footer-inner a {
  color: #d9e2e4;
  text-decoration: none;
}

.notice-main {
  padding: 52px 0 88px;
}

.notice-width {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.notice-hero {
  padding: 42px 0 44px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.notice-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
}

.notice-hero p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
}

.notice-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice-summary > div {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.notice-summary > div:first-child {
  padding-left: 0;
}

.notice-summary > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.notice-summary span,
.notice-summary strong {
  display: block;
}

.notice-summary span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.notice-summary strong {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
}

.notice-sections > section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.notice-sections > section:last-child {
  border-bottom: 0;
}

.notice-sections h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
}

.notice-sections p {
  color: var(--muted);
}

.notice-sections p:last-child {
  margin-bottom: 0;
}

.record-list {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.record-list > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.record-list dt {
  color: var(--ink);
  font-weight: 700;
}

.record-list dd {
  margin: 0;
  color: var(--muted);
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 60px 20px;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--teal);
  font-size: 72px;
  line-height: 1;
}

.not-found h1 {
  margin: 16px 0 8px;
  font-size: 32px;
}

.not-found p {
  margin: 0;
  color: var(--muted);
}

.not-found a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .home-intro,
  .article-hero,
  .article-shell,
  .about-band {
    grid-template-columns: 1fr;
  }

  .home-intro {
    gap: 34px;
  }

  .home-intro h1 {
    font-size: 48px;
  }

  .article-hero {
    gap: 34px;
  }

  .article-hero h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .article-shell {
    gap: 32px;
  }

  .article-toc {
    position: static;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card {
    grid-template-columns: 220px minmax(0, 1fr) auto;
  }

  .case-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .case-metric,
  .case-metric:first-child,
  .case-metric:last-child {
    padding: 0 18px;
  }

  .case-metric:nth-child(2n) {
    border-right: 0;
  }

  .notice-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .notice-summary > div,
  .notice-summary > div:first-child,
  .notice-summary > div:last-child {
    padding: 0 18px;
  }

  .notice-summary > div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 62px;
  }

  body {
    font-size: 15px;
  }

  .header-inner,
  .page-width,
  .notice-width {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 14px 18px;
    background: var(--night);
    border-top: 1px solid #274049;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 11px 8px;
    border-bottom: 1px solid #243c44;
  }

  .home-main,
  .articles-main,
  .notice-main {
    padding: 42px 0 64px;
  }

  .home-intro {
    gap: 26px;
    padding-bottom: 36px;
  }

  .home-intro h1 {
    font-size: 40px;
  }

  .home-intro p {
    margin-top: 18px;
    font-size: 16px;
  }

  .intro-note {
    padding: 8px 0 4px 17px;
  }

  .content-section {
    padding-top: 42px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .section-heading h2,
  .article-section h2 {
    font-size: 26px;
  }

  .article-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .article-card-arrow {
    display: none;
  }

  .article-card-copy h3 {
    font-size: 21px;
  }

  .about-band {
    gap: 18px;
    margin-top: 48px;
    padding: 34px 0;
  }

  .article-page {
    padding: 28px 0 70px;
  }

  .article-hero {
    padding: 30px 0 38px;
  }

  .article-hero h1 {
    font-size: 35px;
  }

  .article-dek {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 230px;
    padding: 26px;
  }

  .product-icons {
    margin: 38px 0 24px;
  }

  .product-icons img {
    width: 68px;
    height: 68px;
  }

  .case-app-icon {
    width: 92px;
    height: 92px;
    margin-top: 28px;
  }

  .article-shell {
    margin-top: 36px;
  }

  .article-toc nav,
  .route-grid,
  .tool-grid,
  .safety-grid,
  .check-list,
  .mode-tabs {
    grid-template-columns: 1fr;
  }

  .case-metrics,
  .case-metrics-three,
  .case-flow {
    grid-template-columns: 1fr;
  }

  .case-metric,
  .case-metric:first-child,
  .case-metric:last-child {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-metric:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .case-flow > div {
    min-height: 0;
  }

  .case-flow > i,
  .case-flow > svg {
    display: none;
  }

  .article-section {
    padding-bottom: 44px;
  }

  .article-section + .article-section {
    padding-top: 42px;
  }

  .source-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .notice-hero {
    padding: 30px 0 34px;
  }

  .notice-hero h1 {
    font-size: 35px;
  }

  .notice-summary {
    grid-template-columns: 1fr;
  }

  .notice-summary > div,
  .notice-summary > div:first-child,
  .notice-summary > div:last-child {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice-summary > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .notice-sections > section {
    padding: 36px 0;
  }

  .notice-sections h2 {
    font-size: 25px;
  }

  .record-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }

  .footer-records {
    align-items: flex-start;
    text-align: left;
  }

}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
