:root {
  color-scheme: light;
  --ink: #101c2c;
  --ink-soft: #233349;
  --muted: #5d6a7c;
  --line: #dbe2e9;
  --line-strong: #c6d0da;
  --surface: #f4f7f9;
  --surface-deep: #eaf0f3;
  --brand: #075f71;
  --brand-dark: #064452;
  --accent: #d2e9e8;
  --white: #fff;
  --max: 74rem;
  --radius: 0.35rem;
  --shadow: 0 1.4rem 4rem rgba(16, 28, 44, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, Pretendard, "Noto Sans KR", "Noto Sans", Arial, system-ui, sans-serif; line-height: 1.65; }
a { color: var(--brand); text-underline-offset: 0.22em; }
a:hover { color: var(--brand-dark); }
a:focus-visible { outline: 3px solid #46aabd; outline-offset: 4px; border-radius: 0.1rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; padding: 0.7rem 1rem; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.97); }
.header-inner, main, .footer-inner { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.header-inner { display: grid; gap: 1rem; padding: 1rem 0; }
.brand { width: fit-content; color: var(--ink); text-decoration: none; line-height: 1; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 1rem; letter-spacing: 0.075em; }
.brand span { margin-top: 0.3rem; color: var(--muted); font-size: 0.67rem; letter-spacing: 0.22em; }
.header-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; }
nav ul, .language-list, .footer-links { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
nav ul { gap: 0.45rem 1rem; }
nav a { color: var(--ink-soft); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.language-list { gap: 0; border: 1px solid var(--line-strong); border-radius: 99rem; }
.language-list li + li { border-left: 1px solid var(--line-strong); }
.language-list a { display: block; min-width: 2.4rem; padding: 0.32rem 0.55rem; color: var(--muted); font-size: 0.7rem; font-weight: 800; text-align: center; text-decoration: none; }
.language-list a[aria-current="page"] { background: var(--ink); color: var(--white); }
.language-list li:first-child a { border-radius: 99rem 0 0 99rem; }
.language-list li:last-child a { border-radius: 0 99rem 99rem 0; }

main { padding-bottom: 0; }
.hero { position: relative; display: grid; gap: 2rem; min-height: min(39rem, 72vh); align-items: center; overflow: hidden; padding: clamp(3.75rem, 8vw, 6.75rem) 0; }
.hero-copy { position: relative; z-index: 2; max-width: 47rem; }
.eyebrow { margin: 0 0 1.1rem; color: var(--brand); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 15ch; margin-bottom: 1.5rem; font-size: clamp(2.55rem, 7.5vw, 5.5rem); text-wrap: balance; }
.ko-hero-title { max-width: none; font-size: clamp(2rem, 9vw, 5rem); word-break: keep-all; overflow-wrap: normal; text-wrap: wrap; }
.ko-hero-title .headline-line { display: block; width: fit-content; max-width: 100%; white-space: nowrap; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { margin-bottom: 0.8rem; font-size: 1.25rem; }
.lede { max-width: 40rem; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; min-height: 3rem; border: 1px solid var(--brand); border-radius: var(--radius); padding: 0.7rem 1.15rem; background: var(--brand); color: var(--white); font-weight: 780; text-decoration: none; }
.button.secondary { background: transparent; color: var(--brand); }
.button:hover { background: var(--brand-dark); color: var(--white); }
.hero-motif { position: absolute; right: -2rem; bottom: 2.5rem; width: min(38vw, 28rem); aspect-ratio: 1.15; opacity: 0.72; }
.hero-motif::before, .hero-motif::after { content: ""; position: absolute; left: 15%; right: 15%; border-top: 1px solid var(--line-strong); transform-origin: center; }
.hero-motif::before { top: 40%; transform: rotate(24deg); }
.hero-motif::after { top: 58%; transform: rotate(-24deg); }
.motif-core, .motif-node { position: absolute; display: block; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); }
.motif-core { z-index: 2; left: 42%; top: 35%; width: 16%; aspect-ratio: 1; background: var(--accent); }
.motif-node { width: 7%; aspect-ratio: 1; }
.motif-node:nth-child(2) { left: 8%; top: 18%; }
.motif-node:nth-child(3) { right: 8%; top: 18%; }
.motif-node:nth-child(4) { left: 8%; bottom: 14%; }
.motif-node:nth-child(5) { right: 8%; bottom: 14%; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--line); }
.section.surface { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.section-inner { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section-heading { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.section-heading p, .section-intro { max-width: 43rem; margin: 0; color: var(--muted); }
.about-grid { display: grid; gap: 1.5rem; }
.about-statement { max-width: 37rem; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.45; }
.principles { display: grid; gap: 1rem; margin: 0; }
.principles div { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
.principles dt { font-weight: 800; }
.principles dd { margin: 0.3rem 0 0; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.service-grid { grid-template-columns: 1fr; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--white); }
.service-card { position: relative; min-height: 14rem; padding-top: 4.25rem; }
.service-number { position: absolute; top: 1.3rem; left: 1.5rem; color: var(--brand); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.card p { margin-bottom: 0; color: var(--muted); }
.platform-panel { display: grid; gap: 2rem; align-items: center; border: 1px solid var(--line-strong); padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); box-shadow: var(--shadow); }
.platform-panel h3 { font-size: clamp(1.8rem, 4vw, 3rem); }
.platform-panel p { max-width: 39rem; margin-bottom: 0; color: var(--muted); }
.direction-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.direction-list li { border: 1px solid var(--line-strong); border-radius: 99rem; padding: 0.55rem 0.85rem; background: var(--surface); font-size: 0.86rem; font-weight: 750; }
.direction-list .future { border-style: dashed; color: var(--muted); }
.product-grid { display: grid; gap: 1rem; }
.product-card { display: grid; gap: 1.5rem; align-content: space-between; min-height: 19rem; padding: clamp(1.6rem, 4vw, 2.5rem); border-color: var(--line-strong); }
.product-card:first-child { box-shadow: var(--shadow); }
.product-label { display: inline-block; margin-bottom: 1.4rem; border: 1px solid var(--line-strong); border-radius: 99rem; padding: 0.25rem 0.65rem; color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.product-card h3 { font-size: clamp(2rem, 5vw, 3.5rem); }
.text-link { font-weight: 800; }
.contact-panel { display: grid; gap: 2rem; align-items: center; border: 1px solid var(--line-strong); padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--ink); color: var(--white); }
.contact-panel h2 { margin-bottom: 0.7rem; }
.contact-panel p { max-width: 40rem; margin: 0; color: #c5d0dc; }
.contact-panel .button { border-color: var(--white); background: var(--white); color: var(--ink); }

.page-header { max-width: 49rem; padding: clamp(4rem, 9vw, 7rem) 0 3rem; }
.page-header h1 { max-width: none; font-size: clamp(2.35rem, 7vw, 4.5rem); }
.prose { max-width: 49rem; padding-bottom: 5rem; }
.prose h2 { margin-top: 2.7rem; font-size: 1.7rem; }
.link-list { padding-left: 1.2rem; }
.notice { margin: 1.5rem 0; border-left: 4px solid #b17c19; padding: 1rem 1.1rem; background: #fff9ec; }
.notice strong { display: block; margin-bottom: 0.25rem; }
.muted { color: var(--muted); }

.site-footer { background: #0a1523; color: #dbe4ec; }
.footer-inner { display: grid; gap: 2rem; padding: 3rem 0; }
.footer-brand { margin: 0; font-weight: 850; letter-spacing: 0.055em; }
.footer-note { margin: 0.35rem 0 0; color: #97a7b7; font-size: 0.85rem; }
.footer-links { gap: 0.7rem 1.3rem; }
.site-footer a { color: var(--white); }
.footer-languages { display: flex; gap: 1rem; margin-top: 1rem; font-size: 0.78rem; }

@media (min-width: 42rem) {
  .header-inner { grid-template-columns: auto 1fr; align-items: center; }
  .header-tools { justify-content: flex-end; }
  .section-heading { grid-template-columns: minmax(14rem, 0.7fr) 1fr; align-items: end; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { grid-template-columns: 1.25fr 0.75fr; }
  .platform-panel { grid-template-columns: 0.9fr 1.1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr auto; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-links { justify-content: flex-end; }
  .footer-languages { justify-content: flex-end; }
}

@media (min-width: 68rem) {
  .header-inner { grid-template-columns: auto 1fr; padding: 1.15rem 0; }
  nav ul { gap: 0.5rem 1.5rem; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { min-height: 17rem; }
}

@media (max-width: 28rem) {
  .header-inner { gap: 0.7rem; padding: 0.75rem 0; }
  .brand strong { font-size: 0.9rem; }
  .brand span { margin-top: 0.22rem; font-size: 0.59rem; }
  .header-tools { gap: 0.55rem; }
  .header-tools { align-items: flex-start; }
  nav { width: 100%; }
  nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav a { display: block; padding: 0.2rem 0; overflow-wrap: anywhere; }
  .hero-motif { display: none; }
  .hero { min-height: 0; padding: 3.25rem 0 3.75rem; }
  .section { padding: 3.75rem 0; }
}

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