:root {
  color-scheme: light;
  --navy: #11253a;
  --deep: #091c2c;
  --ink: #152b3d;
  --muted: #52636d;
  --teal: #0f615d;
  --aqua: #cae7dd;
  --gold: #f1ce87;
  --line: #dbe4e6;
  --paper: #f5f7f8;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(16, 45, 63, .07);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 22px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #a86802;
  outline-offset: 4px;
}
.home-hero :focus-visible, .site-footer :focus-visible, .page-heading :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.039em; }
p { margin: 0 0 1em; }
.shell { width: min(1160px, calc(100% - 60px)); margin-inline: auto; }
.skip-link {
  position: absolute; z-index: 5; top: 8px; left: 8px;
  transform: translateY(-160%); padding: 8px 14px; border-radius: 8px; background: white;
}
.skip-link:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--navy); color: var(--gold);
  border: 1px solid #395568; font-size: 21px; font-weight: 830;
}
.brand strong { display: block; font-size: 21px; line-height: 1.13; letter-spacing: -.06em; }
.brand small { margin-left: 2px; color: var(--muted); font-size: 12px; }
.brand-topic { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; }
.main-nav a {
  padding: 9px 12px; border-radius: 8px; color: var(--ink);
  font-size: 14px; font-weight: 680; text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current] { background: #e8f1ef; color: var(--teal); }
.main-nav a:last-child { background: var(--navy); color: white; padding-inline: 17px; }
.main-nav a:last-child:hover, .main-nav a:last-child[aria-current] { background: var(--teal); }
.site-footer { background: var(--deep); color: #cad7df; margin-top: clamp(44px, 7vw, 82px); }
.footer-inner { min-height: 146px; padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-footer .brand { color: white; }
.site-footer .brand-topic, .site-footer .brand small { color: #c3d1d8; }
.site-footer p { margin: 10px 0 0; font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { color: #ecf4f8; font-size: 14px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

.home-hero, .page-heading, .lecture-banner {
  color: white;
  background-color: var(--navy);
  background-image: radial-gradient(ellipse at 86% 4%, #235e62b8 0, transparent 60%), linear-gradient(105deg, var(--deep), #16354c);
}
.home-hero, .page-heading { position: relative; isolation: isolate; border-bottom: 3px solid #c49e60; }
.home-hero::before, .page-heading::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(128deg, transparent 0 48px, #d5f4e50b 49px 50px, transparent 51px 92px);
  mask-image: linear-gradient(to right, transparent 15%, black);
}
.hero-grid { min-height: 520px; display: grid; grid-template-columns: 1fr clamp(250px, 29vw, 365px); gap: clamp(36px, 8vw, 110px); align-items: center; padding-block: 46px; }
.eyebrow { color: var(--teal); margin: 0 0 14px; font-size: 14px; font-weight: 820; letter-spacing: .02em; }
.home-hero .eyebrow, .page-heading .eyebrow, .lecture-banner .eyebrow { color: var(--gold); }
.hero-copy h1 { font-size: clamp(40px, 5.8vw, 83px); line-height: 1.10; letter-spacing: -.065em; font-weight: 850; }
.hero-copy em { color: var(--gold); font-style: normal; }
.hero-description { max-width: 520px; margin: 22px 0 26px; color: #d4e1e7; font-size: clamp(16px, 1.65vw, 19px); }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; }
.button, .cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 45px; padding: 9px 16px; border: 1px solid transparent; border-radius: 9px;
  background: var(--teal); color: white; font-weight: 760; font-size: 14px;
  text-decoration: none; cursor: pointer;
}
.button:hover, .cta:hover, .btn:hover { background: #074d48; text-decoration: none; }
.button-gold { background: var(--gold); color: #241e16; }
.button-gold:hover { background: #ffe2a5; }
.button-outline { border-color: #76939e; color: white; background: transparent; }
.button-outline:hover { background: #285365; }
.btn.sec { color: var(--teal); border-color: #b9cfcb; background: white; }
.btn.sec:hover { background: #edf5f2; }
.hero-profile {
  display: grid; position: relative; isolation: isolate; align-self: center; overflow: hidden;
  border: 1px solid #83aba680; border-radius: 22px; color: white;
  background: #eef3f1; box-shadow: 0 22px 50px #0716246b; text-decoration: none;
}
.hero-profile:hover { text-decoration: none; }
.hero-profile:hover .profile-action { text-decoration: underline; }
.hero-profile img { width: 100%; height: clamp(244px, 29vw, 340px); object-fit: cover; object-position: center 23%; }
.hero-caption {
  display: flex; align-items: end; justify-content: space-between; gap: 8px;
  padding: 14px 16px; background: #112b3c; font-size: 13px; color: #c9dcdf;
}
.hero-caption strong { display: block; color: white; font-size: 23px; line-height: 1.24; letter-spacing: -.05em; }
.hero-caption small { color: var(--gold); font-size: 13px; }
.hero-caption .profile-action { color: var(--gold); white-space: nowrap; }

.home-section { margin-top: clamp(31px, 6vw, 68px); }
.channel-section { margin-top: clamp(26px, 4vw, 48px); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 17px; }
.section-head .eyebrow { margin-bottom: 7px; }
.section-head h2, .lecture-banner h2 { font-size: clamp(26px, 3.7vw, 41px); font-weight: 820; }
.text-link { font-weight: 720; font-size: 14px; text-decoration: none; }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.channel-card {
  background: white; border: 1px solid var(--line); border-top: 4px solid;
  border-radius: var(--radius); padding: clamp(18px, 3vw, 29px); box-shadow: var(--shadow);
}
.channel-blog { border-top-color: #008855; }
.channel-video { border-top-color: #b63d38; }
.channel-label { display: flex; gap: 9px; align-items: center; color: #40535d; font-size: 14px; font-weight: 790; }
.media-mark {
  display: grid; place-items: center; width: 27px; height: 27px;
  border-radius: 7px; color: white; font-size: 14px; font-weight: 850;
}
.blog-mark { background: #067344; }
.video-mark { background: #b33632; font-size: 12px; }
.channel-card h3 { margin-top: 14px; font-size: clamp(23px, 3.1vw, 31px); }
.channel-card p { color: var(--muted); margin: 9px 0 12px; }
.channel-main, .channel-example { width: fit-content; display: block; }
.channel-main { padding: 4px 0; font-weight: 790; text-decoration: none; }
.channel-example { margin-top: 7px; color: var(--muted); font-size: 14px; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.preview-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 11px;
  padding: 19px; min-height: 157px; border: 1px solid var(--line); border-radius: 14px;
  background: white; text-decoration: none; color: var(--ink);
}
.preview-card:hover { border-color: var(--teal); box-shadow: var(--shadow); text-decoration: none; }
.preview-card strong { line-height: 1.42; font-size: 19px; }
.preview-action { margin-top: auto; color: var(--teal); font-size: 13px; font-weight: 740; }
.topic { display: inline-block; border-radius: 6px; padding: 3px 8px; background: #e8f2ef; color: var(--teal); font-size: 12px; font-weight: 770; }
.tool-strip { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px 19px; align-items: center; padding: 13px 17px; background: #e7eeef; border-radius: 11px; font-size: 14px; }
.tool-strip a { text-decoration: none; }
.tool-strip a:hover { text-decoration: underline; }
.lecture-banner { border-radius: var(--radius); padding: clamp(21px, 4vw, 42px); display: flex; gap: 15px 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.lecture-banner p:last-child { margin: 9px 0 0; color: #d7e5eb; }

.heading-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: clamp(35px, 5.7vw, 68px); }
.heading-inner h1 { font-size: clamp(30px, 5vw, 57px); max-width: 990px; }
.heading-inner .eyebrow { margin-bottom: 9px; }
.page-lede { font-size: clamp(15px, 2vw, 18px); margin: 13px 0 0; max-width: 780px; color: #d6e4e9; }
.heading-byline { margin: 11px 0 0; color: #d6e4e9; font-size: 14px; }
.heading-byline a { color: var(--gold); }
.heading-inner .button { margin-top: 15px; }
.heading-actions { margin-top: 16px; }
.heading-inner .heading-actions .button { margin-top: 0; }
.mini-portrait { flex: none; width: 100px; height: 108px; object-fit: cover; border-radius: 11px; border: 1px solid #95b8b4; }

.answer-section { margin-top: 23px; }
.topic-map { margin-bottom: 22px; }
.topic-map h2 { margin-bottom: 11px; font-size: clamp(20px, 2.7vw, 26px); }
.topic-map ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 9px; padding: 0; margin: 0; list-style: none;
}
.topic-map a {
  display: grid; align-content: start; height: 100%; gap: 3px; padding: 10px 12px;
  border: 1px solid var(--line); border-top: 3px solid #4f9284; border-radius: 9px;
  background: var(--white); text-decoration: none;
}
.topic-map a:hover { border-color: var(--teal); }
.topic-map a:hover strong { text-decoration: underline; }
.topic-map span { color: var(--muted); font-size: 13px; }
.answer-toolbar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.answer-toolbar button {
  border-radius: 100px; border: 1px solid var(--line); padding: 8px 14px;
  min-height: 41px; background: var(--white); color: var(--ink);
  cursor: pointer; font-size: 14px; font-weight: 700;
}
.answer-toolbar button:hover { border-color: #739c96; }
.answer-toolbar button[aria-pressed="true"] { background: var(--teal); color: white; border-color: var(--teal); }
.answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.answer-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(17px, 2.7vw, 27px); border: 1px solid var(--line); border-radius: 15px; background: white;
}
.answer-card:target { border-color: var(--teal); box-shadow: 0 0 0 3px #0f615d20; }
.answer-card h2 { font-size: clamp(20px, 2.5vw, 25px); }
.answer-card > p:not(.topic) { margin: 10px 0 15px; color: var(--muted); }
.answer-card .topic { margin: 0 0 10px; }
.answer-links, .field-next { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: auto; }
.answer-links a, .field-next a { color: var(--teal); font-size: 14px; font-weight: 750; }
.answer-more { margin-top: 16px; padding: 14px 19px; border-radius: 12px; background: #e7efef; display: flex; gap: 9px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.answer-more p { margin: 0; }

.reading-panel {
  max-width: 960px; margin: 25px auto 0; padding: clamp(18px, 4.5vw, 46px);
  background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.reading-panel h2 { font-size: clamp(22px, 3vw, 28px); margin: 29px 0 12px; }
.reading-panel h2:first-child { margin-top: 0; }
.reading-panel h3 { font-size: 18px; margin: 0 0 7px; }
.reading-panel .lede { font-size: 19px; color: var(--teal); font-weight: 730; }
.reading-panel .small, .reading-panel .meta { color: var(--muted); font-size: 14px; }
.reading-panel .note, .reading-panel .warn, .reading-panel .box, .field-answer, .field-quote {
  border: 1px solid var(--line); border-left: 4px solid #4f9284; background: #edf5f2;
  padding: 15px 17px; border-radius: 9px; margin: 0 0 14px;
}
.reading-panel .warn { background: #faf4e8; border-left-color: #a16a14; }
.reading-panel .note p:last-child, .reading-panel .box p:last-child, .field-answer p:last-child { margin-bottom: 0; }
.reading-panel .card, .reading-panel .q { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 16px; }
.reading-panel .card { background: #f8fafb; border-top: 3px solid #4f9284; }
.reading-panel .qt { font-weight: 760; margin-bottom: 4px; }
.reading-panel .opts { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.reading-panel .q input { accent-color: var(--teal); }
.reading-panel .q .hint { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.reading-panel .byline { margin-top: 26px; border-top: 1px solid var(--line); padding: 15px 0 0; font-size: 14px; }
.reading-panel .nm, .reading-panel .score { color: var(--teal); font-weight: 800; }
.reading-panel .score { font-size: 19px; }
#result { display: none; padding: 15px; background: #edf5f2; border-radius: 10px; }
.table-wrap { overflow: auto; margin: 0 0 15px; border: 1px solid var(--line); border-radius: 9px; }
.reading-panel table { border-collapse: collapse; width: 100%; font-size: 15px; }
.reading-panel th, .reading-panel td { padding: 9px 11px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.reading-panel tr:last-child > * { border-bottom: 0; }
.reading-panel th { color: #213c4a; background: #eaf0f2; }
.reading-panel td.num, .reading-panel th.num { text-align: right; }
.reading-panel input[type="number"] { width: 100%; min-width: 86px; border: 1px solid #9bafba; border-radius: 6px; padding: 4px 6px; background: white; }
.reading-panel input[readonly] { background: #edf1f2; }
.reading-panel svg { width: 100%; max-width: 720px; height: auto; }
.field-next { border-top: 1px solid var(--line); padding-top: 15px; }
.field-answer h2 { margin: 0 0 8px; font-size: 19px; }
.field-quote { margin-top: 16px; border-left-color: #a16a14; background: #faf4e8; }
.contact-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px;
}
.contact-card {
  display: grid; gap: 4px; padding: 13px 16px; text-decoration: none;
  border: 1px solid var(--line); border-top: 3px solid #4f9284; border-radius: 10px; background: #edf5f2;
}
.contact-card span { color: var(--muted); font-size: 14px; font-weight: 700; }
.contact-card strong { font-size: clamp(16px, 2.5vw, 22px); }
.contact-card:hover strong { text-decoration: underline; }
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.credential-grid details { padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; }
.credential-grid summary { cursor: pointer; font-weight: 750; color: var(--teal); }
.credential-grid figure { margin: 10px 0 0; }
.credential-grid figcaption { color: var(--muted); font-size: 13px; margin-top: 7px; }

@media (max-width: 850px) {
  .shell { width: calc(100% - 40px); }
  .hero-grid { gap: 28px; min-height: 440px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding-inline: 8px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { display: block; padding-block: 10px 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; border-radius: 8px; }
  .brand strong { font-size: 19px; }
  .main-nav { margin-top: 9px; gap: 3px; }
  .main-nav a { font-size: 12px; padding: 7px 7px; }
  .main-nav a:last-child { padding-inline: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 19px; min-height: auto; padding-block: 29px 24px; }
  .hero-copy h1 { font-size: clamp(40px, 9.5vw, 62px); }
  .hero-description { margin: 13px 0 16px; }
  .hero-profile { grid-template-columns: 65px 1fr; width: min(100%, 355px); border-radius: 11px; }
  .hero-profile img { width: 65px; height: 68px; }
  .hero-caption { padding: 8px 10px; align-items: center; }
  .hero-caption strong { font-size: 17px; }
  .hero-caption small, .hero-caption span { font-size: 12px; }
  .channel-grid, .preview-grid, .answer-grid, .credential-grid, .contact-grid { grid-template-columns: 1fr; }
  .preview-card { min-height: auto; gap: 7px; }
  .mini-portrait { width: 65px; height: 74px; }
  .heading-inner { align-items: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .reading-panel th, .reading-panel td { padding: 6px 7px; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .shell { width: 100%; }
  .page-heading { color: var(--ink); background: none; border: 0; }
  .page-heading .eyebrow, .page-heading p, .page-heading a { color: var(--ink); }
  .reading-panel { box-shadow: none; border: 0; }
}
