/* North Pristine. Layout idea: cool glacial ground, deep ink panels, one water-blue accent, thin rules instead of boxes. */
:root {
  --ground: #F3F7F8;
  --pale: #E1ECEF;
  --ink: #0C2A33;
  --text: #35505A;
  --muted: #4E6A74;
  --line: #C9DADF;
  --accent: #0F6E8C;
  --aqua: #8FD3E8;
  --on-dark: #A9C4CC;
  --display: 'Jost', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); }
h1 { font-weight: 300; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; text-wrap: balance; }
h3, h4 { font-weight: 500; font-size: 22px; line-height: 1.3; }
.h-small { font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }

.skip { position: absolute; left: -9999px; top: 16px; background: #FFFFFF; color: var(--ink); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: 1160px; margin: 0 auto; }
.section { padding: 96px 32px; }
.section--pale { background: var(--pale); }
.section--flush { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--start { align-items: flex-start; }
.stack--wide { gap: 40px; }
.cols { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.cols > * { flex: 1 1 380px; min-width: 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; max-width: 52ch; }
.measure { max-width: 56ch; }
.narrow { max-width: 22ch; }
.small { font-size: 15px; color: var(--muted); }
.caption { font-size: 14px; color: var(--muted); }

.btn { display: inline-block; padding: 14px 26px; border: 1px solid var(--accent); border-radius: 2px; background: var(--accent); color: #FFFFFF; font-weight: 500; text-decoration: none; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Header */
.site-header { padding: 16px 32px; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.wordmark { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 19px; letter-spacing: 0.3em; color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; overflow: hidden; }
.lang > * { padding: 11px 14px; color: var(--ink); text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--ground); }
.lang a:hover { background: var(--pale); color: var(--ink); }

/* Hero */
.hero { padding: 72px 32px 96px; }
.hero .cols { align-items: center; }
.hero .stack { gap: 24px; }
.panel { position: relative; min-height: 520px; background: var(--ink); border-radius: 4px; overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.panel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel__top { position: relative; display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--on-dark); }
.panel__bottom { position: relative; display: flex; flex-direction: column; gap: 6px; }
.panel__title { font-family: 'Jost', sans-serif; font-size: 26px; line-height: 1.4; color: var(--ground); }
.panel__text { font-size: 15px; color: var(--on-dark); max-width: 34ch; }

/* Film */
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 4px; }

/* Ruled groups */
.thirds { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.thirds > * { flex: 1 1 260px; min-width: 0; border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.thirds--steps > * { padding-top: 20px; gap: 8px; }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rows > * { border-top: 1px solid var(--ink); padding: 24px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.rows > *:last-child { padding-bottom: 0; }
.step-no { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 32px; }
.card { flex: 1 1 380px; min-width: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-size: 24px; }
.ticks { margin-top: 8px; }
.ticks li { border-top: 1px solid var(--line); padding: 14px 0; }
.ticks li:last-child { padding-bottom: 0; }
.ph { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ph__bar { position: relative; height: 22px; border-left: 2px solid #5F8894; border-right: 2px solid #5F8894; }
.ph__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line); }
.ph__dot { position: absolute; left: calc(50% - 11px); top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 4px solid #FFFFFF; box-shadow: 0 0 0 1px var(--ink); }
.ph__labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; }
.ph__labels strong { color: var(--ink); font-weight: 500; }

/* Product */
.product__photo { background: #F3F4F8; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product__photo img { width: 100%; height: auto; }
.product__info { justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink); }
.chips li { padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; }
.facts { width: 100%; border-bottom: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 14px 0; }
.facts dt { color: var(--ink); font-weight: 500; }
.steps { margin-top: 72px; display: flex; flex-direction: column; gap: 32px; }

/* Story */
.vision { align-self: flex-start; border-top: 1px solid var(--ink); padding-top: 24px; font-family: var(--display); font-size: 24px; line-height: 1.35; color: var(--ink); }

/* Questions */
.faq { display: flex; flex-wrap: wrap; gap: 0 72px; }
.faq > * { flex: 1 1 400px; min-width: 0; border-top: 1px solid var(--line); padding: 24px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.faq h3 { font-size: 21px; }

/* Contact */
.contact h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; }
.contact__mail { align-self: flex-start; border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact__mail a, .contact__mail span { font-size: 19px; overflow-wrap: anywhere; padding: 10px 0; }

/* Footer */
.site-footer { padding: 36px 32px; background: var(--ink); color: var(--on-dark); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.site-footer .wordmark { font-size: 16px; color: var(--ground); padding: 0; }
.site-footer a { display: inline-block; color: var(--aqua); padding: 12px 0; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }

/* Korean pages */
html[lang="ko"] body { font-family: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; line-height: 1.75; word-break: keep-all; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] h4, html[lang="ko"] .vision { font-family: inherit; letter-spacing: -0.02em; }
html[lang="ko"] h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.25; }
html[lang="ko"] h2 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.35; }
html[lang="ko"] h3, html[lang="ko"] h4 { font-size: 21px; }
html[lang="ko"] .card h3 { font-size: 23px; }
html[lang="ko"] .faq h3 { font-size: 20px; }
html[lang="ko"] .h-small { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; }
html[lang="ko"] .eyebrow { font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: none; }
html[lang="ko"] .lead { max-width: 30em; }
html[lang="ko"] .measure { max-width: 32em; }
html[lang="ko"] .narrow { max-width: 17em; }
html[lang="ko"] .panel__text { max-width: 22em; }
html[lang="ko"] .vision { font-size: 22px; line-height: 1.6; }
html[lang="ko"] .contact h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.25; }
html[lang="ko"] .panel__top, html[lang="ko"] .ph__labels { font-family: 'IBM Plex Mono', 'IBM Plex Sans KR', monospace; }
html[lang="ko"] .btn { padding: 12px 26px; }
html[lang="ko"] .nav a { padding: 9px 0; }
html[lang="ko"] .lang > * { padding: 10px 14px; }
html[lang="ko"] .chips li { padding: 4px 14px; }
[lang="en"] { word-break: normal; }

@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .section--flush { padding-top: 0; }
  .hero { padding: 40px 20px 64px; }
  .site-header, .site-footer { padding-left: 20px; padding-right: 20px; }
  .nav { font-size: 14px; gap: 0 16px; }
  .panel { min-height: 380px; }
  .card { padding: 24px; }
  .steps { margin-top: 48px; }
}

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