@font-face {
  font-family: "Pretendard";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/PretendardVariable.v2.woff2") format("woff2-variations");
}

:root {
  --navy: #0a1f44;
  --navy-2: #12306a;
  --blue: #1f5ae0;
  --blue-soft: #e8effc;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e3e7ee;
  --tint: #f5f7fa;
  --white: #ffffff;
  --good: #0f9d6b;
  --radius: 6px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
small { font-size: 0.86em; color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 2px 12px rgba(10, 31, 68, .08); }
.utility { background: var(--navy); color: #c5d2ea; font-size: 12.5px; }
.utility-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.utility-links { display: flex; gap: 20px; }
.utility-links a:hover { color: var(--white); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding-left: 16px; border-left: 1px solid rgba(197, 210, 234, .3); font-weight: 600; letter-spacing: .04em; }
.lang-switch b, .lang-switch a { padding: 2px 6px; border-radius: 4px; }
.lang-switch b { background: rgba(255, 255, 255, .14); color: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 19px; color: var(--navy); letter-spacing: -0.01em; }
.logo-text small { font-size: 11px; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.nav-links a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { background: var(--navy); color: var(--white); padding: 10px 20px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--navy-2); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: var(--radius); font-weight: 700; font-size: 16px; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1849b8; }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); margin-top: 32px; }
.btn-navy:hover { background: var(--navy-2); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; padding: 120px 24px 132px; }
.hero-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: #8fb3ff; margin-bottom: 22px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; }
.hero-lead { margin-top: 26px; font-size: 18px; color: #cdd8ee; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* ===== Figures ===== */
.figures { border-bottom: 1px solid var(--line); }
.figures-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: 40px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig strong { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.fig strong em { font-style: normal; font-size: 0.5em; margin-left: 2px; color: var(--blue); }
.fig span { margin-top: 10px; font-weight: 700; color: var(--ink); }
.fig small { margin-top: 2px; }

/* ===== Sections ===== */
.section { padding: 112px 0; }
.section-tint { background: var(--tint); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--blue); }
.title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.body { margin-top: 20px; font-size: 17px; color: var(--text); }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head-center .eyebrow::before { display: none; }
.head-left { max-width: 760px; margin-bottom: 48px; }
.fineprint { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-text .body + .body { margin-top: 14px; }
.about-table { margin: 0; border-top: 2px solid var(--navy); }
.about-table div { display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); padding: 18px 4px; }
.about-table dt { font-weight: 700; color: var(--ink); }
.about-table dd { margin: 0; }
.about-table a { color: var(--blue); }

/* Business */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px 30px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.biz:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(10, 31, 68, .10); transform: translateY(-3px); }
.biz-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; }
.biz-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.biz-no { position: absolute; top: 30px; right: 28px; font-size: 13px; font-weight: 700; color: #b7c2d4; }
.biz h3 { margin-top: 26px; font-size: 21px; }
.biz p { margin-top: 12px; font-size: 15px; flex: 1; }
.biz-more { margin-top: 24px; font-size: 14px; font-weight: 700; color: var(--navy); }
.biz-more::after { content: " →"; color: var(--blue); }

/* Prove */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.checks b { color: var(--ink); }
.panel { background: var(--navy); color: #cdd8ee; border-radius: 10px; padding: 40px 36px; }
.panel-title { color: var(--white); font-weight: 700; font-size: 18px; margin-bottom: 24px; }
.panel-title small { display: block; color: #8fa3c7; font-weight: 500; font-size: 13px; margin-top: 2px; }
.bar-row { display: grid; grid-template-columns: 76px 1fr 56px; align-items: center; gap: 14px; margin: 14px 0; font-size: 14.5px; }
.bar { height: 10px; background: rgba(255,255,255,.08); border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #6c85b5; border-radius: 5px; }
.bar i.good { background: #2fd39a; }
.bar-row b { text-align: right; color: var(--white); }
.bar-row b.good-t { color: #2fd39a; }
.panel-note { font-size: 12.5px; color: #8fa3c7; margin-top: 8px; }
.flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: f; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.flow li { counter-increment: f; font-size: 12.5px; color: var(--white); text-align: center; line-height: 1.4; }
.flow li::before { content: "0" counter(f); display: block; font-size: 11px; color: #8fb3ff; font-weight: 700; margin-bottom: 4px; }

/* Crypto */
.crypto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 30px 28px; }
.card h3 { font-size: 18px; margin-bottom: 16px; }
.card p { font-size: 15px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--blue-soft); color: var(--navy); font-weight: 600; font-size: 13.5px; padding: 6px 12px; border-radius: 4px; }
.list { margin: 0; padding-left: 18px; font-size: 15px; }
.list li { margin: 4px 0; }
.process { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.process li { padding: 26px 22px; border-left: 1px solid var(--line); }
.process li:first-child { border-left: 0; }
.process b { font-size: 13px; color: var(--blue); }
.process h4 { font-size: 16px; margin: 6px 0 8px; }
.process p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Consulting / Education */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--navy); }
.svc { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.svc:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.svc h3 { font-size: 19px; margin-bottom: 8px; }
.svc p { font-size: 15.5px; }
.edu-head { margin-top: 112px; }
.edu-table { border-top: 2px solid var(--navy); }
.edu-row { display: grid; grid-template-columns: 240px 180px 1fr; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.edu-row b { color: var(--ink); }
.edu-th { font-weight: 700; color: var(--muted); font-size: 13.5px; background: var(--tint); padding: 12px 4px; }

/* Trust / Team */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 16px; align-items: flex-start; }
.trust-tag { flex: none; background: var(--navy); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 4px; margin-top: 2px; }
.trust-item p { color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.55; }
.trust-item small { font-weight: 500; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.member .role { display: block; font-weight: 800; color: var(--navy); font-size: 17px; margin-bottom: 10px; }
.member p { font-size: 15px; }

/* Contact */
.contact { background: linear-gradient(120deg, var(--navy) 0%, #143a86 100%); color: #cdd8ee; }
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 24px; flex-wrap: wrap; }
.contact h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.contact p { margin-top: 8px; }

/* Footer */
.footer { background: #071634; color: #8fa3c7; font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; gap: 32px; padding: 48px 24px 28px; flex-wrap: wrap; }
.f-logo { color: var(--white); font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.f-logo span { font-weight: 500; font-size: 13px; color: #8fa3c7; margin-left: 6px; }
.f-info { line-height: 1.85; }
.f-info a, .f-links a:hover { color: var(--white); }
.f-links { display: flex; gap: 24px; align-items: flex-start; }
.f-copy { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px 32px; font-size: 12.5px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .split { grid-template-columns: 1fr; gap: 48px; }
  .process { grid-template-columns: 1fr; }
  .process li { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 200px 1fr; align-items: baseline; gap: 12px; padding: 18px 22px; }
  .process li:first-child { border-top: 0; }
  .process h4 { margin: 0; }
  .br-lg { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 106px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10,31,68,.08); padding: 8px 24px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .figures-in { grid-template-columns: repeat(2, 1fr); }
  .fig, .fig:first-child { border-left: 0; padding: 28px 0; }
  .fig:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .fig:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .crypto-grid, .trust, .team, .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(even) { padding: 24px 0; border-left: 0; }
  .edu-th { display: none; }
  .edu-row { grid-template-columns: 1fr; gap: 4px; }
  .edu-row span:nth-child(2) { color: var(--blue); font-size: 13.5px; font-weight: 600; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .utility-in > span:first-child { display: none; }
  .utility-in { justify-content: flex-end; }
  .utility-links > a:first-child { display: none; }
  .hero-in { padding: 80px 16px 88px; }
  .hero-lead { font-size: 16px; }
  .btn { height: 48px; padding: 0 22px; }
  .section { padding: 80px 0; }
  .edu-head { margin-top: 80px; }
  .biz-grid { grid-template-columns: 1fr; }
  .fig strong { font-size: 32px; }
  .about-table div { grid-template-columns: 110px 1fr; }
  .panel { padding: 28px 20px; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .flow li { font-size: 11px; }
  .process li { grid-template-columns: 32px 1fr; }
  .process li p { grid-column: 2; }
  .contact-in { padding: 56px 16px; }
  .footer-in, .f-copy { padding-left: 16px; padding-right: 16px; }
}

/* ===== Justified body text ===== */
.body, .hero-lead, .biz p, .checks li, .card p, .list li, .svc p, .member p, .edu-row span:last-child, .process p {
  text-align: justify;
  text-justify: inter-character;
}
.head-center .body { text-align: center; }
/* English: justification opens wide gaps between long words on narrow screens */
html[lang="en"] :is(.body, .hero-lead, .biz p, .checks li, .card p, .list li, .svc p, .member p, .edu-row span:last-child, .process p) { text-align: left; }
html[lang="en"] .head-center .body { text-align: center; }
.svc-grid .svc-wide { grid-column: 1 / -1; padding-right: 0; }
