:root {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: dark;
  font-synthesis: none;
  --bg: #101917;
  --surface: #18231f;
  --raised: #213029;
  --line: #35473e;
  --text: #f0f5ef;
  --muted: #b3c3b8;
  --accent: #c8ed87;
  background: var(--bg);
  color: var(--text);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f2;
  --surface: #fff;
  --raised: #eef2e9;
  --line: #ced8cb;
  --text: #192e24;
  --muted: #536757;
  --accent: #315d25;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  padding: 8px 14px;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--surface);
  padding: 12px;
  z-index: 2;
}
.skip-link:focus {
  top: 8px;
}
.site-header,
.site-footer {
  max-width: 1120px;
  margin: auto;
  padding: 24px 32px;
}
.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 23px;
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 5px;
}
.theme-toggle {
  margin-left: auto;
  font-size: 14px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
}
nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}
.site-header nav {
  width: 100%;
}
main {
  max-width: 840px;
  padding: 52px 32px 64px;
  margin: auto;
}
.article-heading {
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.card-number {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}
h1 {
  margin: 12px 0 20px;
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.updated {
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 0;
}
h2 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.035em;
  margin: 44px 0 16px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.article-body > h2:first-child {
  margin-top: 0;
}
p {
  margin: 0 0 20px;
}
ul,
ol {
  padding-left: 1.5em;
  margin: 16px 0 24px;
}
li {
  margin-bottom: 12px;
  padding-left: 4px;
}
li ul,
li ol {
  margin: 12px 0 8px;
}
.guide-grid {
  display: grid;
  gap: 18px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
  text-decoration: none;
}
.guide-card h2 {
  margin: 10px 0 12px;
}
.guide-card p {
  color: var(--muted);
  margin-bottom: 16px;
}
.card-link {
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
}
.callout,
.next-steps {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-top: 36px;
}
.callout h2,
.next-steps h2 {
  margin-top: 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.next-steps nav {
  flex-direction: column;
  gap: 8px;
}
.next-steps a {
  text-decoration: underline;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 36px;
}
.site-footer p {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0;
}
.site-footer .contact {
  margin-top: 20px;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  body {
    font-size: 17px;
  }
  .site-header,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  main {
    padding: 34px 20px 48px;
  }
  .site-header {
    gap: 12px;
  }
  .site-header nav,
  .site-footer nav {
    gap: 2px 18px;
  }
  .site-header nav a,
  .site-footer nav a {
    font-size: 14px;
  }
  .brand {
    font-size: 21px;
  }
  .theme-toggle {
    padding: 8px 10px;
    font-size: 13px;
  }
  h2 {
    font-size: 22px;
  }
  .lead {
    font-size: 17px;
  }
  .guide-card,
  .callout,
  .next-steps {
    padding: 20px;
  }
}
@media print {
  :root,
  :root[data-theme="light"] {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --line: #bbb;
    --surface: #fff;
    --accent: #214e1b;
    color-scheme: light;
  }
  .site-header,
  .site-footer,
  .theme-toggle,
  .next-steps,
  .skip-link {
    display: none;
  }
  main {
    max-width: none;
    padding: 0;
  }
  h2 {
    break-after: avoid;
  }
  p,
  li {
    orphans: 3;
    widows: 3;
  }
  .guide-card {
    break-inside: avoid;
  }
}
