:root {
  color-scheme: light;
  --ink: #162544;
  --muted: #4e5e74;
  --primary: #344e84;
  --line: #d9e2ee;
  --paper: #f3f6fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.72; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #537fe0; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 2; transform: translateY(-200%); padding: .6rem 1rem; background: white; }
.skip:focus { transform: translateY(0); }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #263e68; text-decoration: none; }
.brand img { display: block; width: 44px; height: 44px; border-radius: 10px; }
.brand-name { font-size: 1.25rem; font-weight: 800; line-height: 1.15; }
.brand-name small { display: block; margin-top: 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; }
nav { display: flex; column-gap: clamp(12px, 3vw, 32px); row-gap: 6px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-size: .925rem; font-weight: 700; }
nav a:hover { color: var(--ink); text-decoration: underline; }
.intro { padding: 36px 0 18px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.hero { background: #1f345c; color: white; border-radius: 20px; padding: clamp(22px, 3.6vw, 46px); }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(1.9rem, 3.7vw, 2.7rem); line-height: 1.22; letter-spacing: -.055em; margin-bottom: 20px; }
.hero p { max-width: 49ch; color: #e1eaf9; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: .45rem 1.05rem; border-radius: 8px; background: #dce8ff; color: #162d58; font-weight: 800; text-decoration: none; }
.button:hover { background: white; }
.hero-image { position: relative; margin: 0; min-height: clamp(200px, 29vw, 340px); border-radius: 20px; overflow: hidden; background: #101f39; }
.hero-image img { display: block; position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; }
.guide-links { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 38px; }
.guide-links a { display: block; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: white; text-decoration: none; }
.guide-links a:hover strong { text-decoration: underline; }
.guide-links span { display: block; color: var(--muted); font-size: .9rem; }
.articles { max-width: 790px; padding-bottom: 34px; }
.section { padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.section h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); letter-spacing: -.035em; margin-bottom: 10px; }
.section h3 { font-size: 1.13rem; letter-spacing: -.025em; margin-bottom: .5rem; }
.section p, .steps { color: var(--muted); }
.section a { color: var(--primary); font-weight: 700; text-underline-offset: .2em; }
.section p:last-child { margin-bottom: 0; }
.steps { padding-left: 1.5rem; margin: 0 0 1rem; }
.steps li { padding: 5px 0 5px 4px; }
.section strong { color: var(--ink); }
.inline-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.diagnosis { display: grid; gap: 10px; }
.diagnosis div { background: white; border-left: 3px solid #9fb3da; padding: .55rem .9rem; }
.diagnosis dt { font-weight: 750; }
.diagnosis dd { margin: 0; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 750; }
details p { padding: 8px 0 0 18px; }
.faq > p { margin-top: 1rem; }
.subpage { padding-top: 32px; }
.crumb { font-size: .9rem; margin-bottom: 1rem; }
.subhead { padding-bottom: 18px; }
.subhead h1 { max-width: 26ch; }
.subhead p { font-size: 1.1rem; color: var(--muted); }
.subnav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
footer { padding: 24px 0 34px; background: white; border-top: 1px solid var(--line); }
footer small { display: block; color: var(--muted); font-size: .875rem; }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { flex-direction: column; align-items: flex-start; justify-content: center; padding: 8px 0 12px; gap: 5px; }
  nav { column-gap: 14px; }
  .intro { grid-template-columns: minmax(0, 1fr); padding-top: 18px; gap: 12px; }
  .hero-image { min-height: 0; aspect-ratio: 3 / 2; }
  .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 26px; }
  .guide-links a { padding: 9px 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
