:root {
  --navy: #081b2f;
  --navy-2: #102d49;
  --ink: #102030;
  --paper: #f4f2eb;
  --white: #fff;
  --teal: #29d3c2;
  --teal-dark: #087f79;
  --line: #d8e1e5;
  --muted: #587083;
  --shadow: 0 24px 60px rgba(1, 16, 29, .16);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-160%); padding: 10px 16px; background: var(--teal); color: var(--navy); font-weight: 800; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: white; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(8,27,47,.86); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px 2px 9px 2px; color: var(--navy); background: var(--teal); font-size: 14px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #dce8ef; text-decoration: none; font-size: .91rem; font-weight: 700; }
.site-nav a:hover { color: var(--teal); }
.site-nav .nav-cta { padding: 8px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; color: white; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: white; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { position: relative; overflow: hidden; min-height: 810px; padding: 150px 0 100px; display: grid; align-items: center; color: white; background: radial-gradient(circle at 80% 32%, rgba(41,211,194,.14), transparent 27%), linear-gradient(120deg, #071a2d 20%, #0b2945 100%); }
.hero::before { content: ""; position: absolute; width: 580px; height: 580px; right: -260px; top: 80px; border: 1px solid rgba(41,211,194,.2); border-radius: 50%; box-shadow: 0 0 0 90px rgba(41,211,194,.025), 0 0 0 180px rgba(41,211,194,.018); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: 80px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .2em; }
.eyebrow.dark { color: var(--teal-dark); }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.04; letter-spacing: -.065em; }
.hero h1 span { color: var(--teal); }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #cbdbe5; font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 850; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--navy); }
.button-secondary { border-color: rgba(255,255,255,.35); color: white; background: rgba(255,255,255,.04); }
.button-light { background: white; color: var(--navy); }
.candidate-note { margin: 24px 0 0; color: #9db1bf; font-size: .82rem; }
.candidate-note span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #f0b54d; }

.hero-panel { padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px 2px 16px 2px; background: rgba(4,19,34,.68); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.panel-topline { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.12); color: #99adba; font: 800 .67rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.signal { color: var(--teal); }
.signal i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.mini-flow { list-style: none; margin: 0; padding: 8px 0; }
.mini-flow li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 0 13px; padding: 17px 12px; border-bottom: 1px solid rgba(255,255,255,.09); }
.mini-flow li:last-child { border-bottom: 0; }
.mini-flow li > span { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #426078; border-radius: 50%; color: #8fa6b5; font: 800 .69rem ui-monospace, monospace; }
.mini-flow strong { color: white; font-size: .96rem; }
.mini-flow small { color: #8fa6b5; font-size: .77rem; }
.mini-flow .is-accent { margin: 4px 0; border: 1px solid rgba(41,211,194,.28); background: rgba(41,211,194,.08); border-radius: 8px; }
.mini-flow .is-accent > span { border-color: var(--teal); color: var(--teal); }
.mini-flow .is-accent small { color: #b8ddd9; }
.panel-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--teal); font-size: .75rem; font-weight: 850; }
.panel-footer svg { width: 88px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.section { padding: 120px 0; }
.section-light { background: white; }
.section-paper { background: var(--paper); }
.section-ink { position: relative; overflow: hidden; color: white; background: var(--navy); }
.section-ink::after { content: ""; position: absolute; inset: auto -180px -280px auto; width: 600px; height: 600px; border: 1px solid rgba(41,211,194,.15); border-radius: 50%; }
.split-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1.12; letter-spacing: -.055em; }
.intro-copy { max-width: 660px; }
.intro-copy .lead { margin-top: 0; color: var(--navy); font-size: 1.45rem; font-weight: 750; line-height: 1.55; }
.intro-copy > p:not(.lead) { color: var(--muted); }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.principles span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--navy-2); font-size: .85rem; font-weight: 800; }

.section-heading { max-width: 760px; margin-bottom: 58px; }
.section-heading h2 { margin-bottom: 22px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-heading.inverse h2 { color: white; }
.section-heading.inverse p:last-child { color: #a9bdc9; }
.section-heading.compact { margin-bottom: 0; }
.process { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.process-step { min-height: 250px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.process-step:last-child { border-right: 0; }
.process-step h3 { margin: 58px 0 12px; font-size: 1.08rem; }
.process-step p { margin: 0; color: #9fb2bf; font-size: .9rem; }
.step-no { color: #688297; font: 800 .72rem ui-monospace, monospace; }
.accent-step { background: var(--teal); color: var(--navy); }
.accent-step .step-no, .accent-step p { color: #17524f; }
.boundary-note { position: relative; z-index: 1; max-width: 900px; margin: 28px 0 0; color: #8da3b1; font-size: .82rem; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { min-width: 0; padding: 30px; border: 1px solid #dde1dc; background: white; box-shadow: 0 8px 30px rgba(8,27,47,.04); }
.case-index { color: var(--teal-dark); font: 850 .7rem ui-monospace, monospace; letter-spacing: .12em; }
.case-card h3 { margin: 22px 0 20px; color: var(--navy); font-size: 1.45rem; }
.case-card > p { min-height: 110px; color: var(--muted); font-size: .92rem; }
.case-card ul { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid #e7e9e4; list-style: none; }
.case-card li { position: relative; padding-left: 16px; color: #334e60; font-size: .85rem; }
.case-card li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.metric { display: flex; align-items: baseline; gap: 6px; min-height: 50px; }
.metric strong { color: var(--navy); font-size: 2rem; letter-spacing: -.05em; }
.metric span { color: var(--muted); font: 700 .7rem ui-monospace, monospace; }
.metric i { width: 1px; height: 30px; margin: 0 8px; background: var(--line); }
.code-line { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 14px; border-left: 3px solid #e45f5f; background: #f7f2ef; font: 800 .76rem ui-monospace, monospace; }
.code-line em { color: #a43c3c; font-style: normal; }
.state-chain { display: flex; min-height: 50px; align-items: center; }
.state-chain span { padding: 6px 8px; border: 1px solid #9eb7ba; color: var(--navy); font: 800 .65rem ui-monospace, monospace; }
.state-chain i { flex: 1; height: 1px; background: var(--teal-dark); }
.evidence-disclaimer { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin-top: 24px; padding: 24px 28px; border-left: 4px solid var(--teal-dark); background: #e7ece8; }
.evidence-disclaimer strong { color: var(--navy); }
.evidence-disclaimer p { margin: 0; color: #4f6672; font-size: .9rem; }

.readiness-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.status-list { border-top: 1px solid var(--line); }
.status-list article { display: grid; grid-template-columns: 76px 1fr; gap: 26px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.status { align-self: start; display: inline-flex; justify-content: center; padding: 4px 8px; border-radius: 3px; font-size: .72rem; font-weight: 900; }
.status-confirmed { background: #d8f1ed; color: #0d675f; }
.status-progress { background: #e5ecf2; color: #34546b; }
.status-boundary { background: #f2e7df; color: #875536; }
.status-list h3 { margin: 0 0 5px; color: var(--navy); font-size: 1.06rem; }
.status-list p { margin: 0; color: var(--muted); font-size: .91rem; }

.priority-note { padding: 82px 0; color: white; background: var(--teal-dark); }
.priority-inner { display: grid; grid-template-columns: .45fr 1fr 1fr; gap: 42px; align-items: start; }
.priority-note .eyebrow { color: #a8f3ec; }
.priority-note h2 { color: white; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.priority-note p:last-child { margin: 0; color: #d6f1ee; }

.contact-section { color: white; background: linear-gradient(115deg, #081b2f 0%, #123a59 100%); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-card h2 { color: white; }
.contact-details dl { margin: 0 0 28px; }
.contact-details dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-details dt { color: #8fa7b7; font-size: .82rem; font-weight: 800; }
.contact-details dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.contact-details dd a:hover { color: var(--teal); }
.contact-caution { max-width: 520px; margin: 16px 0 0; color: #8fa7b7; font-size: .76rem; }
.site-footer { padding: 40px 0; color: #9eb0bb; background: #04101c; }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.footer-inner p { margin: 0; font-size: .78rem; }
.footer-inner strong { color: white; font-size: .95rem; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-panel { max-width: 640px; }
  .split-intro, .readiness-grid, .contact-card { grid-template-columns: 1fr; gap: 46px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid rgba(255,255,255,.12); }
  .case-grid { grid-template-columns: 1fr; }
  .case-card > p { min-height: 0; }
  .priority-inner { grid-template-columns: 1fr 1fr; }
  .priority-inner .eyebrow { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 1180px); }
  body { word-break: normal; }
  .site-header { backdrop-filter: blur(12px); }
  .nav-wrap { min-height: 64px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 64px 0 auto; display: none; padding: 18px 16px 24px; flex-direction: column; align-items: stretch; gap: 4px; background: #081b2f; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 35px rgba(0,0,0,.25); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 116px 0 72px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-panel { padding: 16px; }
  .panel-topline { flex-direction: column; }
  .section { padding: 82px 0; }
  h2 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .intro-copy .lead { font-size: 1.25rem; }
  .process { grid-template-columns: 1fr; }
  .process-step { min-height: 0; border-right: 0; }
  .process-step h3 { margin-top: 28px; }
  .case-card { padding: 24px; }
  .metric { flex-wrap: wrap; }
  .evidence-disclaimer { grid-template-columns: 1fr; }
  .status-list article { grid-template-columns: 64px 1fr; gap: 18px; }
  .priority-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-details dl > div { grid-template-columns: 70px 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
