:root {
  color-scheme: dark;
  --ink: #f7f2e5;
  --muted: #a9bdb4;
  --night: #071713;
  --panel: #0c251e;
  --line: rgba(221,205,160,.18);
  --gold: #e9c979;
  --mint: #6ee7c6;
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--night); }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 8% 0%, rgba(40,145,117,.2), transparent 32rem), linear-gradient(145deg, #071713, #0b241d 52%, #071512); }
a { color: inherit; }
.content-shell { width: min(980px, calc(100% - 32px)); margin-inline: auto; }
.content-header { width: min(1180px, calc(100% - 24px)); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 12px auto 0; padding: 9px 13px; border: 1px solid var(--line); border-radius: 22px; background: rgba(8,30,24,.94); box-shadow: 0 14px 42px rgba(0,0,0,.22); }
.content-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.content-brand > i { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #1e9d87, #0c5f53); }
.content-brand > i::before { content: ""; width: 14px; height: 14px; border: 4px solid #fffbed; border-radius: 50%; }
.content-brand span { display: grid; gap: 1px; }
.content-brand small { color: #a9c5bb; font-size: .6rem; font-weight: 900; letter-spacing: .18em; }
.content-brand b { font-size: .94rem; }
.content-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.content-nav a { padding: 7px 9px; color: #b7cbc3; border-radius: 999px; font-size: .65rem; font-weight: 800; text-decoration: none; }
.content-nav a:hover, .content-nav a:focus-visible { color: #fff7df; background: rgba(110,231,198,.09); outline: 1px solid rgba(110,231,198,.28); }
.content-main { padding: 54px 0 70px; }
.content-hero { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.content-kicker { margin: 0 0 13px; color: var(--mint); font: 900 .68rem/1.2 ui-monospace, monospace; letter-spacing: .14em; }
.content-hero h1 { max-width: 880px; margin: 0; font-size: clamp(2.05rem, 6vw, 4.4rem); line-height: 1.16; letter-spacing: -.045em; }
.content-hero .summary { max-width: 760px; margin: 20px 0 0; color: #b5c8c0; font-size: 1rem; line-height: 1.95; }
.content-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 17px 0 0; color: #77938a; font-size: .7rem; }
.content-toc { margin: 28px 0 42px; padding: 18px 20px; border: 1px solid rgba(110,231,198,.15); border-radius: 16px; background: rgba(110,231,198,.04); }
.content-toc strong { display: block; margin-bottom: 9px; color: var(--gold); font-size: .78rem; }
.content-toc ol { display: grid; gap: 6px; margin: 0; padding-left: 1.35rem; }
.content-toc a { color: #bdd2c9; font-size: .78rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.content-section { margin-top: 46px; scroll-margin-top: 24px; }
.content-section h2 { margin: 0 0 15px; padding-left: 14px; border-left: 3px solid var(--mint); font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.45; }
.content-section h3 { margin: 28px 0 10px; color: #f5e4b6; font-size: 1rem; }
.content-section p, .content-section li { color: #adc1b9; font-size: .88rem; line-height: 1.95; }
.content-section ul, .content-section ol { padding-left: 1.4rem; }
.content-section li + li { margin-top: 6px; }
.content-callout { margin: 22px 0; padding: 15px 17px; border: 1px solid rgba(233,201,121,.22); border-radius: 14px; background: rgba(233,201,121,.055); }
.content-callout b { color: #f2d98f; }
.content-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 !important; list-style: none; counter-reset: steps; }
.content-steps li { counter-increment: steps; padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.025); }
.content-steps li::before { content: "0" counter(steps); display: block; margin-bottom: 8px; color: var(--gold); font: 900 .65rem/1 ui-monospace, monospace; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.spec-table th, .spec-table td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; vertical-align: top; font-size: .78rem; line-height: 1.7; }
.spec-table th { width: 28%; color: #f0dda8; background: rgba(255,255,255,.04); }
.spec-table td { color: #adbbb6; }
.content-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 52px; padding: 20px; border: 1px solid rgba(110,231,198,.22); border-radius: 18px; background: linear-gradient(130deg, rgba(233,201,121,.1), rgba(110,231,198,.09)); }
.content-cta p { margin: 0; color: #c5d5cf; font-size: .8rem; line-height: 1.7; }
.content-cta a { flex: 0 0 auto; padding: 11px 16px; color: #0b241c; border-radius: 999px; background: linear-gradient(135deg, #f0d58d, #70dbbe); font-size: .74rem; font-weight: 900; text-decoration: none; }
.content-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 0 30px; color: #708b82; border-top: 1px solid var(--line); font-size: .65rem; }
.content-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px; }
.content-footer a { color: #9fb6ad; text-decoration: none; }

@media (max-width: 720px) {
  .content-header { align-items: flex-start; }
  .content-nav a:nth-child(2) { display: none; }
  .content-main { padding-top: 38px; }
  .content-steps { grid-template-columns: 1fr; }
  .content-cta { align-items: stretch; flex-direction: column; }
  .content-cta a { text-align: center; }
}

@media (max-width: 480px) {
  .content-shell { width: min(100% - 24px, 980px); }
  .content-header { width: calc(100% - 12px); margin-top: 6px; padding: 7px 8px; border-radius: 16px; }
  .content-brand > i { width: 34px; height: 34px; }
  .content-brand small { display: none; }
  .content-brand b { font-size: .8rem; }
  .content-nav a { padding: 6px; font-size: .58rem; }
  .content-hero h1 { font-size: 2.2rem; }
  .content-hero .summary { font-size: .9rem; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 5px; border-bottom: 0; }
  .spec-table td { padding-top: 5px; }
  .content-footer { align-items: flex-start; flex-direction: column; }
  .content-footer nav { justify-content: flex-start; }
}
