/* daed 面板站 · 全站样式
   Design: paper grid, ink, lime and cobalt. */

:root {
  --paper: #f2efe5;
  --paper-2: #e9e4d6;
  --card: #fffdf7;
  --ink: #101b16;
  --ink-2: #1b2a22;
  --ink-3: #2a3a31;
  --muted: #647069;
  --muted-2: #89918b;
  --line: #d3d6ca;
  --line-strong: #aeb5a9;
  --lime: #dff36a;
  --lime-deep: #c9e342;
  --blue: #2850f0;
  --blue-deep: #1d3dc4;
  --orange: #f36b3d;
  --paper-on-dark: #f4f1e7;
  --radius: 20px;
  --radius-sm: 13px;
  --wrap: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", "Menlo", "Consolas", monospace;
  --shadow: 8px 8px 0 rgba(16, 27, 22, 0.95);
  --shadow-soft: 0 18px 50px rgba(16, 27, 22, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(16, 27, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 27, 22, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
body.no-scroll { overflow: hidden; }

::selection { background: var(--lime); color: var(--ink); }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- top strip ---------- */
.status-strip {
  background: var(--ink);
  color: #d9ded4;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .01em;
}
.status-strip .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.strip-status,
.strip-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.strip-status b { color: var(--paper); font-weight: 650; }
.strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(223, 243, 106, .12);
}
.strip-rank { color: var(--lime); font-weight: 650; }
.strip-rank span {
  color: #d9ded4;
  font-weight: 400;
  padding-left: 4px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.strip-rank:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(242, 239, 229, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(16, 27, 22, .07); }
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(16,27,22,.14);
  box-shadow: 2px 2px 0 rgba(16,27,22,.9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.035em;
}
.brand-text small {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .16em;
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 550;
}
.site-nav a { position: relative; color: var(--ink-3); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.nav-only-mobile { display: none; }
.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 3px 3px 0 var(--ink);
}
.header-cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle::before { top: 14px; }
.menu-toggle span { top: 20px; }
.menu-toggle::after { top: 26px; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--lime);
}
.btn-primary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--lime); }
.btn-secondary {
  background: var(--card);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(16,27,22,.16);
}
.btn-secondary:hover { background: #fff; transform: translate(2px, 2px); box-shadow: 3px 3px 0 rgba(16,27,22,.16); }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-lime:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244,241,231,.38);
}
.btn-ghost-dark:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 68px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -190px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,243,106,.62), rgba(223,243,106,0) 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -210px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,80,240,.13), rgba(40,80,240,0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: 58px;
}
.hero h1 {
  max-width: 650px;
  font-size: clamp(2.7rem, 5.35vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 760;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2px;
  right: -4px;
  bottom: 4px;
  height: .24em;
  background: var(--lime);
  border-radius: 2px;
  transform: rotate(-.6deg);
}
.hero-lead {
  max-width: 560px;
  margin-top: 25px;
  color: #3f4c45;
  font-size: 16.5px;
  line-height: 1.88;
}
.hero-lead strong { color: var(--ink); font-weight: 700; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
  max-width: 560px;
}
.hero-fact { padding: 14px 16px 0 0; }
.hero-fact + .hero-fact { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-fact dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 600;
}
.hero-fact dd {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-fact dd span { color: var(--muted); font-weight: 500; font-size: 12px; }

/* ---------- console illustration ---------- */
.hero-visual { position: relative; }
.console {
  position: relative;
  z-index: 2;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--lime), 0 24px 70px rgba(16,27,22,.22);
  overflow: hidden;
}
.console-top {
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: #0b1410;
}
.console-dots { display: flex; gap: 5px; }
.console-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46554c;
}
.console-dots i:first-child { background: var(--orange); }
.console-dots i:nth-child(2) { background: var(--lime); }
.console-title {
  font-family: var(--mono);
  font-size: 10px;
  color: #aeb9b1;
  letter-spacing: .02em;
}
.console-addr {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #89958c;
}
.console-body {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  min-height: 392px;
}
.console-side {
  padding: 16px 9px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: #0c1712;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.console-side img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.side-item {
  width: 100%;
  padding: 7px 4px;
  border-radius: 6px;
  text-align: center;
  font-size: 9px;
  color: #7f8d84;
}
.side-item.is-on { background: rgba(223,243,106,.13); color: var(--lime); }
.side-foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: #5e6a62;
}
.console-main { padding: 17px 17px 14px; min-width: 0; }
.console-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.mini-label {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: #7e8b83;
}
.console-head strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: -.01em;
  font-weight: 600;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--lime);
  border-radius: 99px;
  padding: 4px 7px;
}
.live-pill::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}
.console-graph {
  position: relative;
  height: 176px;
  margin: 14px 0 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(223,243,106,.1), transparent 52%);
  background-size: 22px 22px, 22px 22px, auto;
  overflow: hidden;
}
.console-graph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.graph-line {
  fill: none;
  stroke: rgba(223,243,106,.45);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.graph-core {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(223,243,106,.55);
  background: #16251d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 0 0 9px rgba(223,243,106,.055);
}
.graph-core img { width: 24px; height: 24px; border-radius: 6px; }
.graph-core span { font-family: var(--mono); font-size: 7px; color: var(--lime); letter-spacing: .08em; }
.node-chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 7.5px;
  color: #cbd4cc;
  background: #1a2a21;
  border: 1px solid #34473b;
  border-radius: 5px;
  padding: 4px 6px;
  white-space: nowrap;
}
.node-chip i {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 4px;
  vertical-align: 1px;
}
.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  overflow: hidden;
}
.metric {
  padding: 8px 10px;
  min-width: 0;
}
.metric + .metric { border-left: 1px solid rgba(255,255,255,.09); }
.metric span {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  color: #7c8981;
  letter-spacing: .08em;
}
.metric strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: #e7ecdf;
  white-space: nowrap;
}
.console-events {
  margin-top: 9px;
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 8px;
  color: #8d998f;
  display: grid;
  gap: 4px;
}
.console-events b { color: var(--lime); font-weight: 500; }
.console-caption {
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .04em;
  text-align: right;
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 62px 0; }
.section-alt {
  background: rgba(255,253,247,.64);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}
.section-head h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.65vw, 3.3rem);
  line-height: 1.13;
  letter-spacing: -.045em;
  font-weight: 740;
}
.section-head h2 em { font-style: normal; color: var(--blue); }
.section-intro {
  max-width: 370px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.section-intro strong { color: var(--ink); }
.section-link { flex: 0 0 auto; padding-bottom: 4px; }

/* ---------- capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cap {
  position: relative;
  min-height: 286px;
  padding: 27px 25px 25px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.cap:nth-child(2) { background: var(--ink); color: var(--paper); }
.cap:nth-child(3) { background: var(--lime); }
.cap-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}
.cap-icon {
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cap-no {
  font-family: var(--mono);
  font-size: 11px;
  opacity: .55;
}
.cap h3 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-bottom: 12px;
}
.cap p {
  font-size: 14px;
  line-height: 1.82;
  color: #536059;
}
.cap:nth-child(2) p { color: #b9c4bc; }
.cap:nth-child(3) p { color: #3f4c28; }
.cap-foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(100,112,105,.32);
  font-size: 11.5px;
  color: var(--muted);
}
.cap:nth-child(2) .cap-foot { border-color: rgba(255,255,255,.16); color: #91a096; }
.cap:nth-child(3) .cap-foot { border-color: rgba(16,27,22,.22); color: #56632e; }
.cap-foot b { font-weight: 700; color: inherit; }

/* ---------- architecture ---------- */
.arch {
  background: var(--ink);
  color: var(--paper-on-dark);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.arch-grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.arch h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -.045em;
  font-weight: 720;
}
.arch h2 em { font-style: normal; color: var(--lime); }
.arch-copy p {
  max-width: 470px;
  margin-top: 22px;
  color: #b5c0b8;
  font-size: 15px;
  line-height: 1.9;
}
.arch-copy .text-link { margin-top: 26px; color: var(--lime); }
.arch-copy .text-link:hover { color: #fff; }
.arch-diagram {
  display: grid;
  gap: 10px;
}
.stack-layer {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}
.stack-layer.top {
  border-color: var(--lime);
  background: rgba(223,243,106,.09);
}
.stack-layer .stack-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .11em;
  color: #7f8e85;
}
.stack-layer.top .stack-label { color: var(--lime); }
.stack-layer strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 650;
}
.stack-layer p {
  color: #9eaaa1;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 3px;
}
.stack-tag {
  font-family: var(--mono);
  font-size: 9px;
  color: #9eaaa1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  padding: 4px 6px;
  white-space: nowrap;
}
.stack-arrow {
  height: 14px;
  width: 1px;
  margin-left: 58px;
  background: rgba(223,243,106,.35);
  position: relative;
}
.stack-arrow::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(223,243,106,.55);
  border-bottom: 1px solid rgba(223,243,106,.55);
  transform: rotate(45deg);
}

/* ---------- ranking banner ---------- */
.rank-banner {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 54px 0;
}
.rank-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -180px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.025);
}
.rank-banner::after {
  content: "10";
  position: absolute;
  right: 6%;
  bottom: -28px;
  font-family: var(--mono);
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.09);
  pointer-events: none;
}
.rank-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 56px;
  align-items: center;
}
.rank-banner h2 {
  font-size: clamp(2.2rem, 4.1vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 760;
}
.rank-banner p {
  max-width: 540px;
  margin-top: 15px;
  color: #d7dfff;
  font-size: 15px;
  line-height: 1.8;
}
.rank-banner-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-left: 34px;
  border-left: 1px solid rgba(255,255,255,.25);
}
.rank-banner-facts {
  display: flex;
  gap: 24px;
}
.rank-banner-facts div { min-width: 78px; }
.rank-banner-facts dt {
  font-size: 10px;
  color: #b8c7ff;
  letter-spacing: .08em;
}
.rank-banner-facts dd {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
}

/* ---------- steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: var(--card);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  min-height: 252px;
}
.step-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-no::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.step h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.03em;
  font-weight: 700;
}
.step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.step pre {
  margin: auto 0 0;
  padding-top: 19px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.step code {
  background: #ece8db;
  border: 1px solid #ded9ca;
  border-radius: 5px;
  padding: 2px 5px;
  font-family: var(--mono);
  font-size: .92em;
}
.inline-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.inline-note strong { color: var(--ink); }

/* ---------- notes ---------- */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.note-card {
  grid-column: span 4;
  min-height: 264px;
  padding: 25px 24px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.note-card:nth-child(1) {
  grid-column: span 7;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.note-card:nth-child(2) {
  grid-column: span 5;
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
}
.note-card:nth-child(3),
.note-card:nth-child(4),
.note-card:nth-child(5) { grid-column: span 4; }
.note-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.note-card:nth-child(1):hover,
.note-card:nth-child(2):hover { box-shadow: 6px 6px 0 rgba(16,27,22,.22); }
.note-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -70px;
  bottom: -70px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .12;
  pointer-events: none;
}
.note-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .04em;
  color: var(--muted);
}
.note-card:nth-child(1) .note-meta { color: #9caaa0; }
.note-card:nth-child(2) .note-meta { color: #5a662b; }
.note-meta span + span::before {
  content: "/";
  margin-right: 10px;
  opacity: .45;
}
.note-card h3 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.34;
  letter-spacing: -.035em;
  font-weight: 700;
}
.note-card:nth-child(1) h3 { font-size: 30px; max-width: 430px; }
.note-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
}
.note-card:nth-child(1) p { color: #b6c0b8; }
.note-card:nth-child(2) p { color: #42501e; }
.note-foot {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.note-foot .read-mark {
  width: 27px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.note-card:nth-child(1) .note-foot,
.note-card:nth-child(2) .note-foot { border-top: 1px solid rgba(255,255,255,.15); }
.note-card:nth-child(2) .note-foot { border-color: rgba(16,27,22,.2); }

/* ---------- faq ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 68px;
  align-items: start;
}
.faq-intro h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -.045em;
  font-weight: 740;
}
.faq-intro p {
  max-width: 360px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 21px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "−"; color: var(--ink); border-color: var(--ink); }
.faq-answer {
  padding: 0 42px 21px 0;
  color: #4f5b54;
  font-size: 14px;
  line-height: 1.88;
}
.faq-answer p + p { margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 0 30px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.footer-brand small { display: block; margin-top: 2px; font-size: 9.5px; color: #8d9a91; letter-spacing: .1em; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 12.5px;
  color: #a8b3ab;
}
.footer-nav a:hover { color: var(--lime); }
.footer-copy { font-size: 10.5px; color: #738178; white-space: nowrap; }

/* ---------- mobile dock ---------- */
.mobile-dock {
  display: none;
  position: fixed;
  z-index: 110;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 7px;
  box-shadow: 4px 4px 0 var(--ink);
  gap: 7px;
}
.mobile-dock a {
  flex: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}
.mobile-dock a:first-child { background: var(--paper); border-color: var(--line); }
.mobile-dock a:last-child { background: var(--lime); border-color: var(--ink); }

/* ---------- generic page hero ---------- */
.page-hero { padding: 62px 0 46px; position: relative; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 56px;
  align-items: end;
}
.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.5rem, 4.9vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 760;
}
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-hero-lead {
  max-width: 690px;
  margin-top: 21px;
  color: #46524b;
  font-size: 16px;
  line-height: 1.88;
}
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  font-size: 11.5px;
  color: var(--muted);
}
.page-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-deep);
}
.version-card {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  padding: 25px;
  box-shadow: 7px 7px 0 var(--lime);
}
.version-card .mini-label { color: #89978e; }
.version-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.version-card-top img { width: 42px; height: 42px; border-radius: 10px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--lime);
  border-radius: 99px;
  padding: 5px 8px;
}
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.version-num {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 38px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
}
.version-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.version-meta dt { font-size: 9px; color: #839087; letter-spacing: .08em; }
.version-meta dd { margin-top: 2px; font-size: 12px; color: #e5eadf; }
.archive-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #d3cba9;
  border-radius: 10px;
  background: #f8f2d9;
  color: #615934;
  font-size: 12px;
  line-height: 1.7;
}
.archive-note strong { color: #3e381c; }
.callout {
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(40,80,240,.06);
  color: #38465d;
  font-size: 13.5px;
  line-height: 1.8;
}
.callout strong { color: var(--ink); }
.section-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.section-subhead h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 720;
}
.section-subhead p { color: var(--muted); font-size: 12.5px; }
.divider { height: 1px; background: var(--line); margin: 56px 0; }

/* ---------- download page ---------- */
.dl-section { padding: 58px 0; }
.dl-section + .dl-section { border-top: 1px solid var(--line); }
.arch-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.arch-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}
.arch-card.is-recommended {
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--lime);
}
.arch-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.arch-head h3 {
  font-family: var(--mono);
  font-size: 20px;
  letter-spacing: -.04em;
  font-weight: 600;
}
.arch-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; font-family: var(--font); }
.rec-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 4px 7px;
  white-space: nowrap;
}
.pkg-list { margin-top: 22px; border-top: 1px solid var(--line); }
.pkg-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
}
.pkg-list a:hover { color: var(--blue); padding-left: 5px; padding-right: 5px; }
.pkg-list span { font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); font-weight: 400; }
.arch-note { margin-top: 13px; font-size: 10.5px; color: var(--muted); line-height: 1.6; }
.arch-command {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  word-break: break-all;
}
.arch-command code { background: #ece8db; padding: 2px 4px; border-radius: 3px; }
.table-wrap {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow-x: auto;
  background: var(--card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
  background: rgba(16,27,22,.03);
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
td code { font-family: var(--mono); font-size: 11px; }
td a { font-weight: 650; }
td a:hover { color: var(--blue); }
.pkg-size { color: var(--muted-2); font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.code-block {
  position: relative;
  min-width: 0;
  max-width: 100%;
  margin: 14px 0;
  border: 1px solid #283b30;
  border-radius: 12px;
  background: #0d1813;
  color: #dce5d9;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid #283b30;
  font-family: var(--mono);
  font-size: 9px;
  color: #8c9d92;
  letter-spacing: .05em;
}
.copy-btn {
  border: 1px solid #405246;
  border-radius: 5px;
  background: transparent;
  color: #aabbb0;
  font-size: 9px;
  padding: 3px 7px;
  line-height: 1.4;
}
.copy-btn:hover { border-color: var(--lime); color: var(--lime); }
.code-block pre {
  margin: 0;
  padding: 15px 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
}
.code-block code { font-family: inherit; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.two-col > * { min-width: 0; }
.two-col h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.two-col p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.check-list { display: grid; gap: 10px; margin-top: 17px; }
.check-list li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #46524b;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.platform-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,253,247,.8);
  padding: 18px;
}
.platform-card h3 { font-size: 15px; letter-spacing: -.02em; }
.platform-card p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.platform-card a { display: inline-block; margin-top: 11px; font-size: 11.5px; font-weight: 700; border-bottom: 1px solid currentColor; }
.platform-card a:hover { color: var(--blue); }

/* ---------- ranking page ---------- */
.ranking-hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 58px 0 44px;
}
.ranking-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}
.ranking-hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,243,106,.19), transparent 66%);
}
.ranking-hero .container { position: relative; z-index: 1; }
.ranking-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #93a198;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
}
.ranking-topline span { color: var(--lime); }
.ranking-hero h1 {
  margin-top: 35px;
  max-width: 820px;
  font-size: clamp(2.8rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 760;
}
.ranking-hero h1 em { font-style: normal; color: var(--lime); }
.ranking-lead {
  max-width: 690px;
  margin-top: 20px;
  color: #b9c4bc;
  font-size: 15.5px;
  line-height: 1.85;
}
.ranking-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.ranking-stat { padding: 17px 18px 17px 0; }
.ranking-stat + .ranking-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.ranking-stat dt { font-size: 9.5px; color: #87958b; letter-spacing: .09em; }
.ranking-stat dd { margin-top: 3px; font-size: 21px; font-weight: 680; letter-spacing: -.03em; }
.ranking-stat dd small { font-size: 10px; color: #8c9a90; font-weight: 400; margin-left: 3px; }
.ranking-body { padding: 66px 0 82px; }
.ranking-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}
.ranking-intro h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -.045em;
  font-weight: 730;
}
.ranking-intro p { margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.ranking-criteria {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255,253,247,.8);
  padding: 19px 20px;
}
.criteria-row {
  display: grid;
  grid-template-columns: 76px 1fr 34px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 11.5px;
}
.criteria-row + .criteria-row { border-top: 1px solid var(--line); }
.criteria-bar { height: 4px; border-radius: 99px; background: #e1ded2; overflow: hidden; }
.criteria-bar i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.criteria-row b { font-family: var(--mono); font-size: 10px; color: var(--muted); font-weight: 500; text-align: right; }
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-top: 23px;
}
.airport-card {
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 0;
  padding: 24px 22px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--card);
  position: relative;
}
.airport-card--top { border: 1.5px solid var(--ink); }
.airport-card--top:nth-child(1) { background: var(--lime); }
.airport-card--top:nth-child(2) { background: var(--ink); color: var(--paper); }
.airport-card--top:nth-child(3) { background: var(--paper); }
.airport-rank {
  position: absolute;
  top: 18px;
  right: 19px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
}
.airport-card--top:nth-child(2) .airport-rank { color: #9caaa0; }
.airport-id { display: flex; align-items: center; gap: 12px; padding-right: 45px; }
.airport-monogram {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  background: rgba(255,255,255,.32);
}
.airport-card--top:nth-child(2) .airport-monogram { background: rgba(255,255,255,.08); }
.airport-id h3 { font-size: 22px; letter-spacing: -.04em; line-height: 1.2; }
.airport-id p { margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.airport-card--top:nth-child(2) .airport-id p { color: #9ba89f; }
.airport-score {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding-top: 4px;
}
.airport-score strong { font-family: var(--mono); font-size: 33px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.airport-score span { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.airport-card--top:nth-child(2) .airport-score span { color: #8f9e94; }
.airport-summary { font-size: 12.5px; line-height: 1.75; color: #536059; min-height: 44px; }
.airport-card--top:nth-child(2) .airport-summary { color: #b7c2ba; }
.airport-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(100,112,105,.28);
  border-bottom: 1px solid rgba(100,112,105,.28);
}
.airport-card--top:nth-child(2) .airport-specs { border-color: rgba(255,255,255,.15); }
.airport-spec {
  padding: 10px 0;
}
.airport-spec:nth-child(even) { padding-left: 12px; border-left: 1px solid rgba(100,112,105,.25); }
.airport-card--top:nth-child(2) .airport-spec:nth-child(even) { border-color: rgba(255,255,255,.12); }
.airport-spec dt { font-size: 9px; color: var(--muted); letter-spacing: .06em; }
.airport-card--top:nth-child(2) .airport-spec dt { color: #8d9b92; }
.airport-spec dd { margin-top: 2px; font-size: 12.5px; font-weight: 650; }
.airport-points { display: grid; gap: 5px; font-size: 11.5px; color: #4f5b54; }
.airport-card--top:nth-child(2) .airport-points { color: #b8c3bb; }
.airport-points li { list-style: none; position: relative; padding-left: 12px; }
.airport-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .65;
}
.airport-fit {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 2px;
}
.airport-card--top:nth-child(2) .airport-fit { color: #8f9d93; }
.airport-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.airport-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.airport-card--top:nth-child(2) .airport-cta { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.airport-card--top:nth-child(2) .airport-cta:hover { background: #fff; border-color: #fff; }
.airport-card-foot { margin-top: auto; display: grid; gap: 10px; }
.airport-list-head { margin: 52px 0 19px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.airport-list-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); letter-spacing: -.04em; line-height: 1.16; }
.airport-list-head p { font-size: 11px; color: var(--muted); }
.airport-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.airport-card--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 20px;
  align-items: stretch;
}
.airport-card--compact .airport-card-main { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.airport-card--compact .airport-summary { min-height: 0; }
.airport-card--compact .airport-cta { align-self: end; width: 100%; }
.airport-card--compact .airport-specs { grid-template-columns: 1fr 1fr; }
.airport-card--compact .airport-rank { top: 21px; }
.airport-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.airport-side .airport-score strong { font-size: 28px; }
.airport-note {
  margin-top: 32px;
  padding: 17px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255,253,247,.7);
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}
.airport-note strong { color: var(--ink); }
.ranking-method {
  margin-top: 66px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 58px;
  padding-top: 50px;
  border-top: 1px solid var(--line-strong);
}
.ranking-method h2 { font-size: clamp(1.8rem, 3rem, 2.55rem); line-height: 1.16; letter-spacing: -.045em; }
.ranking-method p { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.method-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.method-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.method-no { font-family: var(--mono); font-size: 10px; color: var(--blue); padding-top: 3px; }
.method-item h3 { font-size: 15.5px; letter-spacing: -.02em; }
.method-item p { margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.risk-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.risk-item b { display: block; font-size: 12px; margin-bottom: 5px; }
.risk-item span { font-size: 11px; color: var(--muted); line-height: 1.65; }
.ranking-faq { margin-top: 66px; }

/* ---------- articles index ---------- */
.notes-page-hero { padding: 62px 0 46px; }
.notes-page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.notes-page-hero p { max-width: 660px; margin-top: 20px; color: #46524b; font-size: 15.5px; line-height: 1.85; }
.notes-page-list { padding: 20px 0 84px; display: grid; gap: 15px; }
.article-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 160px;
  gap: 24px;
  align-items: center;
  padding: 24px 24px 24px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--card);
}
.article-row:hover { border-color: var(--ink); transform: translateX(3px); }
.article-row-index { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.article-row h2 { font-size: 24px; line-height: 1.35; letter-spacing: -.035em; }
.article-row h2 a:hover { color: var(--blue); }
.article-row p { margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.article-row-meta { text-align: right; font-size: 10.5px; color: var(--muted); line-height: 1.8; }
.article-row-meta b { display: block; color: var(--ink); font-size: 11px; font-weight: 650; }
.article-row-meta .read { display: inline-block; margin-top: 5px; border-bottom: 1px solid currentColor; font-weight: 700; color: var(--ink); }
.article-row:hover .read { color: var(--blue); }
.notes-cta {
  margin-top: 22px;
  padding: 28px;
  border-radius: 16px;
  background: var(--lime);
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.notes-cta h2 { font-size: 24px; letter-spacing: -.035em; }
.notes-cta p { margin-top: 4px; font-size: 12.5px; color: #46521f; }

/* ---------- article page ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  z-index: 220;
  transition: width .08s linear;
}
.article-page { padding: 54px 0 84px; }
.article-head { max-width: 920px; }
.article-head h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 4.5vw, 3.95rem);
  line-height: 1.12;
  letter-spacing: -.05em;
  font-weight: 750;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 11.5px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}
.article-meta b { color: var(--ink); font-weight: 650; }
.article-deck {
  max-width: 760px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--lime-deep);
  color: #46524b;
  font-size: 16px;
  line-height: 1.85;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 62px;
  align-items: start;
  margin-top: 42px;
}
.article-body {
  max-width: 750px;
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 16px;
  line-height: 1.94;
  color: #2d3a33;
}
.article-body > p:first-child { font-size: 17px; color: #1b2a22; }
.article-body h2 {
  margin: 48px 0 16px;
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.04em;
  color: var(--ink);
  font-weight: 720;
  scroll-margin-top: 110px;
}
.article-body h3 {
  margin: 30px 0 10px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--ink);
  font-weight: 700;
  scroll-margin-top: 110px;
}
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--blue-deep); }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em { font-style: normal; background: linear-gradient(transparent 62%, rgba(223,243,106,.8) 62%); }
.article-body ul,
.article-body ol { margin: 0 0 20px 1.25em; }
.article-body li { margin: 7px 0; padding-left: 3px; }
.article-body li::marker { color: var(--blue); }
.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--blue);
  background: rgba(255,253,247,.9);
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #435149;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body code {
  font-family: var(--mono);
  font-size: .84em;
  background: #e9e5d7;
  border: 1px solid #dcd7c7;
  border-radius: 4px;
  padding: 2px 5px;
  word-break: break-word;
}
.article-body pre {
  max-width: 100%;
  margin: 18px 0 24px;
  padding: 17px 18px;
  background: #0d1813;
  color: #dce5d9;
  border: 1px solid #283b30;
  border-radius: 11px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
}
.article-body pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; }
.article-body hr { border: 0; height: 1px; background: var(--line); margin: 38px 0; }
.article-body .note-box {
  margin: 24px 0;
  padding: 17px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #faf6e8;
  font-size: 13.5px;
  line-height: 1.8;
  color: #4c574f;
}
.article-body .note-box strong { color: var(--ink); }
.article-body table { margin: 22px 0; font-size: 12.5px; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.article-body th,
.article-body td { padding: 10px 12px; font-size: 12.5px; }
.article-side {
  position: sticky;
  top: 106px;
  border-left: 1px solid var(--line-strong);
  padding-left: 20px;
}
.article-side h2 { font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.article-toc { margin-top: 13px; display: grid; gap: 8px; font-size: 11.5px; line-height: 1.55; }
.article-toc a { color: #66736b; }
.article-toc a:hover { color: var(--blue); }
.article-side-cta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-side-cta p { font-size: 10.5px; color: var(--muted); line-height: 1.6; margin-bottom: 9px; }
.article-side-cta a { font-size: 11.5px; font-weight: 700; color: var(--ink); border-bottom: 1px solid currentColor; }
.article-mobile-toc { display: none; margin: 26px 0 4px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,253,247,.7); padding: 12px 14px; }
.article-mobile-toc summary { cursor: pointer; font-size: 12px; font-weight: 700; }
.article-mobile-toc div { margin-top: 10px; display: grid; gap: 7px; font-size: 12px; }
.article-end {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.article-end p { font-size: 11.5px; color: var(--muted); }
.article-end-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.related-section { margin-top: 55px; }
.related-section h2 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-card {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}
.related-card:hover { border-color: var(--ink); color: var(--blue); }
.related-card span { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); font-weight: 400; }
.article-bottom-banner {
  margin-top: 50px;
  padding: 24px 26px;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.article-bottom-banner h2 { font-size: 23px; letter-spacing: -.035em; }
.article-bottom-banner p { margin-top: 4px; color: #d8e0ff; font-size: 11.5px; }
.article-bottom-banner .btn-lime { min-height: 42px; padding: 9px 15px; font-size: 12px; white-space: nowrap; }

/* ---------- sitemap page ---------- */
.sitemap-page { padding: 62px 0 84px; }
.sitemap-page h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.07; letter-spacing: -.055em; }
.sitemap-page > .container > p { max-width: 640px; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.sitemap-groups { margin-top: 45px; display: grid; gap: 42px; }
.sitemap-group h2 { font-size: 12px; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 9px; }
.sitemap-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.sitemap-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sitemap-link a { font-size: 14px; font-weight: 650; }
.sitemap-link a:hover { color: var(--blue); }
.sitemap-link span { font-family: var(--mono); font-size: 9px; color: var(--muted-2); white-space: nowrap; }

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 70px 0;
}
.error-card {
  max-width: 680px;
  text-align: center;
}
.error-code {
  font-family: var(--mono);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.08em;
  color: var(--blue);
}
.error-card h1 { margin-top: 20px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; }
.error-card p { margin: 14px auto 25px; max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ---------- motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { animation: rise .6s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.hero-visual { animation: rise .7s .12s ease both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 38px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .console-body { grid-template-columns: 60px minmax(0, 1fr); }
  .side-item { font-size: 8px; }
  .site-nav { gap: 20px; }
  .arch-grid { gap: 45px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 40px; }
  .airport-card--compact { grid-template-columns: minmax(0, 1fr) 142px; }
}

@media (max-width: 900px) {
  body { padding-bottom: 72px; }
  .container { width: min(var(--wrap), calc(100% - 36px)); }
  .header-inner { height: 66px; }
  .site-nav {
    position: fixed;
    z-index: 130;
    left: 18px;
    right: 18px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--ink);
    border-radius: 14px;
    background: var(--card);
    box-shadow: 6px 6px 0 var(--ink);
    font-size: 15px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .nav-only-mobile { display: block; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-dock { display: flex; }
  .hero { padding: 45px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { max-width: 720px; }
  .hero-visual { max-width: 620px; width: 100%; }
  .section { padding: 66px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-intro { max-width: 620px; }
  .section-link { padding-top: 4px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { min-height: 0; }
  .arch-grid { grid-template-columns: 1fr; gap: 36px; }
  .arch { padding: 66px 0; }
  .arch-copy p { max-width: 630px; }
  .rank-banner { padding: 46px 0; }
  .rank-banner-inner { grid-template-columns: 1fr; gap: 26px; }
  .rank-banner-side { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding-top: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step pre { margin-top: 17px; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .note-card, .note-card:nth-child(1), .note-card:nth-child(2), .note-card:nth-child(3), .note-card:nth-child(4), .note-card:nth-child(5) { grid-column: span 1; }
  .note-card:nth-child(1) { grid-column: span 2; }
  .note-card:nth-child(2) { grid-column: span 2; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { flex-wrap: wrap; gap: 18px 28px; }
  .footer-copy { width: 100%; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .version-card { max-width: 480px; }
  .arch-cards { grid-template-columns: 1fr; }
  .arch-card.is-recommended { box-shadow: 4px 4px 0 var(--lime); }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .platform-grid { grid-template-columns: 1fr; }
  .ranking-hero { padding: 46px 0 34px; }
  .ranking-intro { grid-template-columns: 1fr; gap: 25px; }
  .podium { grid-template-columns: 1fr; }
  .airport-card--top { padding: 25px 23px 21px; }
  .airport-grid { grid-template-columns: 1fr; }
  .airport-card--compact { grid-template-columns: minmax(0, 1fr) 145px; }
  .ranking-method { grid-template-columns: 1fr; gap: 30px; }
  .risk-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-links { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 50px minmax(0, 1fr); gap: 16px; }
  .article-row-meta { grid-column: 2; text-align: left; display: flex; gap: 14px; align-items: center; }
  .article-row-meta b { display: inline; }
  .article-row-meta .read { margin-top: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; min-width: 0; }
  .article-side { display: none; }
  .article-mobile-toc { display: block; }
  .article-body { max-width: 760px; }
  .article-bottom-banner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 30px); }
  .status-strip .container { min-height: 31px; }
  .strip-status, .strip-rank { font-size: 10.5px; }
  .strip-note { display: none; }
  .strip-rank span { display: none; }
  .header-inner { gap: 12px; }
  .brand img { width: 36px; height: 36px; }
  .brand-text b { font-size: 18px; }
  .brand-text small { font-size: 9px; }
  .site-nav { top: 70px; left: 12px; right: 12px; }
  .hero { padding-top: 35px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.55rem); }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; border-top: 0; }
  .hero-fact { padding: 10px 0; border-top: 1px solid var(--line); }
  .hero-fact + .hero-fact { border-left: 0; padding-left: 0; }
  .hero-fact dt, .hero-fact dd { display: inline; }
  .hero-fact dd { margin-left: 8px; font-size: 13px; }
  .console { border-radius: 14px; box-shadow: 6px 6px 0 var(--lime), 0 18px 50px rgba(16,27,22,.2); }
  .console-top { height: 36px; padding: 0 10px; }
  .console-title { font-size: 8.5px; }
  .console-addr { font-size: 8px; }
  .console-body { grid-template-columns: 1fr; min-height: 0; }
  .console-side { display: none; }
  .console-main { padding: 13px; }
  .console-graph { height: 158px; margin-top: 11px; }
  .console-metrics { grid-template-columns: 1fr 1fr 1fr; }
  .metric { padding: 7px 7px; }
  .metric strong { font-size: 9px; }
  .node-chip { font-size: 6.5px; padding: 3px 4px; }
  .graph-core { width: 56px; height: 56px; }
  .graph-core img { width: 21px; height: 21px; }
  .console-caption { text-align: left; margin-top: 13px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 30px; }
  .cap { padding: 22px 20px; }
  .cap h3 { font-size: 23px; }
  .arch { padding: 52px 0; }
  .arch h2 { font-size: 32px; }
  .stack-layer { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .stack-tag { display: none; }
  .stack-arrow { margin-left: 44px; }
  .rank-banner { padding: 38px 0; }
  .rank-banner h2 { font-size: 34px; }
  .rank-banner-facts { gap: 18px; }
  .rank-banner-facts dd { font-size: 15px; }
  .inline-note { flex-direction: column; align-items: flex-start; gap: 8px; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-card, .note-card:nth-child(1), .note-card:nth-child(2) { grid-column: span 1; }
  .note-card { min-height: 230px; padding: 21px 19px 19px; }
  .note-card:nth-child(1) h3 { font-size: 25px; }
  .note-card h3 { font-size: 22px; }
  .faq-item summary { font-size: 15px; padding: 17px 0; }
  .faq-answer { padding-right: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { gap: 14px 18px; }
  .footer-copy { white-space: normal; }
  .mobile-dock { left: 8px; right: 8px; bottom: 8px; }
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .page-hero-lead { font-size: 14.5px; }
  .version-card { padding: 21px; }
  .version-num { font-size: 34px; }
  .dl-section { padding: 42px 0; }
  .section-subhead { flex-direction: column; align-items: flex-start; gap: 7px; }
  .section-subhead h2 { font-size: 27px; }
  .table-wrap { border-radius: 10px; }
  th, td { padding: 10px 11px; }
  .ranking-hero { padding: 37px 0 28px; }
  .ranking-topline { font-size: 8.5px; }
  .ranking-hero h1 { margin-top: 27px; font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .ranking-lead { font-size: 14px; }
  .ranking-stats { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .ranking-stat { padding: 12px 10px 12px 0; }
  .ranking-stat + .ranking-stat { padding-left: 14px; }
  .ranking-stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .ranking-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
  .ranking-body { padding: 45px 0 62px; }
  .ranking-intro h2 { font-size: 29px; }
  .criteria-row { grid-template-columns: 64px 1fr 30px; }
  .airport-card--compact { grid-template-columns: 1fr; gap: 14px; }
  .airport-side { padding-left: 0; padding-top: 14px; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; }
  .airport-card--compact .airport-cta { width: 100%; }
  .airport-grid { gap: 13px; }
  .airport-score strong { font-size: 29px; }
  .risk-grid { grid-template-columns: 1fr; }
  .ranking-method { margin-top: 48px; padding-top: 38px; }
  .notes-page-hero { padding: 40px 0 28px; }
  .notes-page-hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .article-row { grid-template-columns: 1fr; gap: 12px; padding: 19px; }
  .article-row-index { font-size: 9px; }
  .article-row h2 { font-size: 21px; }
  .article-row-meta { grid-column: 1; }
  .notes-cta { flex-direction: column; align-items: flex-start; }
  .article-page { padding: 35px 0 60px; }
  .article-head h1 { font-size: clamp(2.1rem, 10.4vw, 3rem); }
  .article-deck { font-size: 14.5px; }
  .article-meta { gap: 8px 12px; font-size: 10.5px; }
  .article-layout { margin-top: 28px; }
  .article-body { font-size: 15.5px; }
  .article-body h2 { margin-top: 39px; font-size: 25px; }
  .article-body h3 { font-size: 19px; }
  .article-body pre { font-size: 10.5px; padding: 14px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-end { align-items: flex-start; }
  .sitemap-page { padding: 40px 0 62px; }
  .sitemap-page h1 { font-size: clamp(2.3rem, 11vw, 3.3rem); }
  .sitemap-groups { margin-top: 32px; gap: 32px; }
  .error-code { font-size: 60px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .brand-text small { display: none; }
  .hero h1 { font-size: 2.28rem; }
  .page-hero h1, .ranking-hero h1, .notes-page-hero h1 { font-size: 2.15rem; }
  .console-graph { height: 145px; }
  .metric strong { font-size: 8.5px; }
}

@media print {
  .status-strip, .site-header, .mobile-dock, .site-footer, .article-side, .reading-progress, .article-bottom-banner { display: none !important; }
  body { background: #fff; }
  .article-layout { display: block; }
}
