:root {
  --bg: #07100d;
  --panel: #0f1c17;
  --mint: #a7f3c8;
  --text: #f5faf7;
  --text-2: #c7d8d0;
  --light: #f3f7f4;
  --white: #ffffff;
  --ink: #0e1a15;
  --ink-2: #33453c;
  --ink-muted: #5b6d64;
  --line-light: #dce7e1;
  --green: #16804d;
  --green-tint: #dff8e9;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --logo: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #6fe3a6; outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 820px; margin-inline: auto; padding-inline: 24px; }

.top { background: var(--bg); color: var(--text); }
.top-in { max-width: 1240px; margin-inline: auto; padding-inline: 24px; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: .3em; font-family: var(--logo); font-weight: 800; font-size: 26px; letter-spacing: -1px; text-decoration: none; color: var(--text); line-height: 1; }
.logo-mark { height: 1.12em; width: auto; overflow: visible; flex: none; }
.lm-r { fill: currentColor; }
.lm-s { fill: var(--mint); stroke: var(--bg); stroke-width: 4.5; stroke-linejoin: round; paint-order: stroke; }
.back { color: var(--text-2); text-decoration: none; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.back:hover { color: var(--mint); }

.hero { background: var(--bg); color: var(--text); padding-block: 40px 64px; }
.hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 em { font-family: var(--serif); font-weight: 400; color: var(--mint); }
.hero p { margin: 14px 0 0; color: var(--text-2); }

main.wrap { padding-block: 56px 90px; }
h2 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 48px 0 12px; text-wrap: balance; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 28px 0 8px; }
p, ul, ol, address { margin: 0 0 14px; color: var(--ink-2); }
address { font-style: normal; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }
.toc { background: var(--light); border-radius: 18px; padding: 20px 24px; margin-bottom: 40px; }
.toc p { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; }
.note { background: #fff6dc; border-radius: 14px; padding: 16px 18px; color: var(--ink); margin-bottom: 36px; font-size: .95rem; }
mark.todo { background: #ffe58a; color: var(--ink); padding: 1px 5px; border-radius: 4px; }

.foot { background: #050c09; color: #93a79d; padding-block: 36px; font-size: .92rem; }
.foot-in { max-width: 1240px; margin-inline: auto; padding-inline: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot a { color: #93a79d; text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--mint); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; }
