:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #10233d;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --primary: #245bd8;
  --secondary: #536378;
  --border: #dce3ec;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: var(--primary); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
p, li { line-height: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.guide-container { width: min(calc(100% - 96px), 1120px); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1; padding: 12px 18px; background: #fff; border: 2px solid var(--primary); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.guide-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 0; }
.guide-brand { display: flex; align-items: center; gap: 16px; color: inherit; font-size: 22px; font-weight: 760; letter-spacing: -0.035em; text-decoration: none; }
.guide-brand img { flex: 0 0 auto; object-fit: fill; }
.header-link { flex: 0 0 auto; font-size: 15px; font-weight: 650; text-decoration: none; }
.header-link span { margin-left: 8px; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 64px; padding: 64px 0 60px; }
.eyebrow { margin-bottom: 16px; color: var(--primary); font-size: 13px; font-weight: 730; letter-spacing: 0.07em; line-height: 1.5; text-transform: uppercase; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(42px, 5.2vw, 64px); font-weight: 780; letter-spacing: -0.055em; line-height: 1.12; }
.hero-description { max-width: 660px; margin-bottom: 30px; color: var(--secondary); font-size: 19px; line-height: 1.65; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 14px 22px; border: 1px solid var(--primary); border-radius: 10px; color: #fff; background: var(--primary); font-size: 16px; font-weight: 680; line-height: 1.4; text-decoration: none; box-shadow: 0 8px 22px rgb(36 91 216 / 12%); }
.primary-link:hover { background: #1d4dbb; border-color: #1d4dbb; }
.primary-link span { font-size: 24px; font-weight: 400; line-height: 1; }
.small-note { max-width: 580px; margin: 18px 0 0; color: var(--secondary); font-size: 12px; }
.exam-overview { padding: 26px; border: 1px solid #cddbf7; border-radius: 16px; background: #f5f8ff; }
.exam-overview h2 { font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; }
.exam-overview dl { margin: 20px 0; }
.exam-overview dl div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid #dbe5f7; }
.exam-overview dt { max-width: 145px; color: var(--secondary); font-size: 14px; line-height: 1.5; }
.exam-overview dd { margin: 0; color: var(--primary); font-size: 36px; font-weight: 750; letter-spacing: -0.06em; line-height: 1; }
.exam-overview > p { margin: 0; font-size: 12px; }
.contents-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contents-nav a { font-size: 14px; font-weight: 650; text-decoration: none; }
.guide-section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.guide-section h2 { max-width: 780px; margin-bottom: 22px; font-size: clamp(28px, 3vw, 36px); font-weight: 760; letter-spacing: -0.04em; line-height: 1.22; }
.section-intro { max-width: 760px; margin-bottom: 32px; color: var(--secondary); font-size: 17px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mode-card { padding: 26px; border: 1px solid var(--border); border-radius: 13px; }
.card-number { display: inline-block; margin-bottom: 20px; color: var(--primary); font-size: 14px; font-weight: 750; }
.mode-card h3 { margin-bottom: 14px; font-size: 21px; line-height: 1.3; letter-spacing: -0.03em; }
.mode-card p { margin: 0; color: var(--secondary); font-size: 15px; }
.translation-note { margin: 24px 0 0; color: var(--secondary); font-size: 14px; }
.split-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; }
.prose { padding-top: 6px; }
.prose p { margin-bottom: 20px; font-size: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose .source-note { padding: 18px 20px; border-left: 3px solid #b5c9f3; background: #f5f8ff; color: var(--secondary); font-size: 14px; }
.study-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; margin: 0; padding-left: 24px; }
.study-steps li { padding-left: 10px; }
.study-steps li::marker { color: var(--primary); font-weight: 750; }
.study-steps h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.4; }
.study-steps p { margin: 0; color: var(--secondary); font-size: 15px; }
.faq-section h2 { margin-bottom: 30px; }
details { padding: 20px 0; border-top: 1px solid var(--border); }
summary { cursor: pointer; font-size: 17px; font-weight: 680; line-height: 1.5; }
summary::marker { color: var(--primary); }
details p { max-width: 840px; margin: 14px 0 0; color: var(--secondary); font-size: 16px; }
.start-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 56px 0; padding: 36px; border-radius: 16px; background: #f0f5ff; }
.start-panel h2 { margin-bottom: 10px; font-size: 28px; letter-spacing: -0.035em; line-height: 1.25; }
.start-panel p { margin: 0; color: var(--secondary); font-size: 16px; }
.start-panel .primary-link { flex-shrink: 0; }
.guide-footer { padding: 30px 0 36px; border-top: 1px solid var(--border); color: var(--secondary); font-size: 13px; }
.guide-footer > p:first-child { margin-bottom: 14px; color: #10233d; font-weight: 650; }
.guide-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-note { max-width: 800px; margin: 20px 0 0; font-size: 12px; }

@media (max-width: 900px) {
  .guide-container { width: min(calc(100% - 48px), 760px); }
  .guide-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 42px; }
  .exam-overview { padding: 22px; }
  .exam-overview dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 12px 0 20px; }
  .exam-overview dl div { display: flex; flex-direction: column-reverse; align-items: start; gap: 12px; padding-bottom: 0; }
  .mode-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mode-card { padding: 24px; }
  .card-number { margin-bottom: 12px; }
  .split-section { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .study-steps { gap: 28px; }
  .start-panel { align-items: start; flex-direction: column; padding: 28px; }
}

@media (max-width: 560px) {
  .guide-header { align-items: start; gap: 16px; padding: 24px 0; }
  .guide-brand { gap: 12px; max-width: 225px; font-size: 18px; line-height: 1.3; }
  .guide-brand img { width: 12px; height: 40px; }
  .header-link { max-width: 72px; padding-top: 2px; font-size: 12px; line-height: 1.5; }
  .header-link span { margin-left: 0; }
  .guide-hero { padding: 30px 0 36px; }
  h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-description { font-size: 17px; }
  .eyebrow { font-size: 11px; }
  .exam-overview { padding: 20px; }
  .exam-overview dl { gap: 14px; }
  .exam-overview dt { font-size: 12px; }
  .exam-overview dd { font-size: 32px; }
  .contents-nav { gap: 14px 20px; }
  .contents-nav a { font-size: 13px; }
  .guide-section { padding: 44px 0; }
  .section-intro { font-size: 16px; }
  .study-steps { grid-template-columns: minmax(0, 1fr); }
  summary { font-size: 16px; }
  .start-panel { margin: 36px 0; padding: 24px; }
  .start-panel h2 { font-size: 25px; }
  .start-panel .primary-link { gap: 16px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
