:root {
  --paper: #f6f7f9;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #3a4759;
  --muted: #5d6879;
  --line: #dce1e8;
  --accent: #2450e6;
  --accent-bright: #3d6bff;
  --tint: #eceff4;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(246 247 249 / 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 750; font-size: 19px; letter-spacing: -0.02em; text-decoration: none;
}
.wordmark svg circle { fill: #a3aec0; }
.wordmark svg circle.lit { fill: var(--accent); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-inner > .wordmark + .header-actions { margin-left: auto; }
.lang {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 5px 10px; cursor: pointer;
}
.lang:hover { border-color: var(--ink-soft); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 8px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-soft); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent-bright); color: #fff; border-color: var(--accent-bright); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); overflow-x: clip; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.18; letter-spacing: -0.035em; font-weight: 750;
}
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Dot field */
.field { position: relative; width: 100%; }
.field svg { display: block; width: 100%; height: auto; overflow: visible; }
.dot { fill: var(--ink); opacity: 0; transition: opacity .5s ease; }
.field.is-on .dot { opacity: .2; }
.need-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.need-core { fill: var(--accent); opacity: 0; transition: opacity .4s ease; }
.field.is-found .need-ring { opacity: .35; transform: scale(1); }
.field.is-found .need-core { opacity: 1; }
.need-label {
  position: absolute; transform: translate(14px, -50%);
  padding: 5px 10px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 6px 18px -10px rgb(14 26 43 / .35);
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
  opacity: 0; transition: opacity .5s ease;
}
.need-label.left { transform: translate(calc(-100% - 14px), -50%); }
.field.is-found .need-label { opacity: 1; }

/* Sections */
.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section h2, .contact h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.3; letter-spacing: -0.03em; font-weight: 720;
}
.section-head p { margin-top: 14px; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service { padding: clamp(28px, 4vw, 48px); border-radius: 14px; display: flex; flex-direction: column; }
.service h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.025em; line-height: 1.3; margin: 8px 0 16px; font-weight: 700; }
.service-audience { font-size: 15px; font-weight: 600; }
.service-note { margin-top: auto; padding-top: 28px; font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5;
}

.service-b2b { background: var(--ink); color: #e6ebf2; }
.service-b2b h3 { color: #fff; }
.service-b2b .service-audience { color: #8fa9ff; }
.service-b2b .ticks li::before { background: var(--accent-bright); opacity: 1; }
.service-b2b .service-note { color: #a3aec0; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 32px; }

.service-b2c { background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.service-b2c h3 { color: var(--ink); }
.service-b2c .service-audience { color: var(--accent); }
.service-b2c .ticks li::before { background: var(--accent); opacity: 1; }
.service-b2c .service-note { color: var(--muted); border-top: 1px solid var(--line); margin-top: 32px; }

/* Process */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 56px 28px 0 0; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--ink);
  font-size: 14px; font-weight: 700; z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; top: 17px; left: 34px; right: 0;
  border-top: 1.5px dashed #a3aec0;
}
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* Principles */
.principles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); }
.principles dl { display: grid; }
.principles dl > div { padding: 28px 0; border-top: 1px solid var(--line); }
.principles dl > div:first-child { padding-top: 0; border-top: 0; }
.principles dt { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.principles dd { margin-top: 8px; color: var(--ink-soft); max-width: 36em; }

/* Work */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 3.5vw, 40px); }
.case-media { position: relative; aspect-ratio: 16 / 10; margin-bottom: 28px; border-radius: 10px; overflow: hidden; background: #e8ecf3; }
.case-media img { position: absolute; display: block; height: auto; }
.case-media-web img { left: 7%; top: 9%; width: 100%; border-radius: 8px; box-shadow: 0 18px 40px -20px rgb(14 26 43 / .45); }
.case-media-phone img { left: 50%; top: 6%; width: 64%; transform: translateX(-50%); }
.case-tag { font-size: 14px; font-weight: 600; color: var(--accent); }
.case h3 { font-size: clamp(21px, 2vw, 25px); line-height: 1.35; letter-spacing: -0.025em; margin-top: 8px; }
.case-client { margin-top: 6px; color: var(--muted); font-size: 15px; }
.case-body { margin-top: 28px; border-top: 1px solid var(--line); }
.case-body > div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.case-body > div:last-child { border-bottom: 0; padding-bottom: 0; }
.case-body dt { font-size: 14px; font-weight: 700; padding-top: 2px; }
.case-body dd { color: var(--ink-soft); font-size: 16px; }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.product-name { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 14px; }
.status { font-size: 13px; font-weight: 600; color: var(--accent); background: #e4eaff; border-radius: 999px; padding: 3px 10px; letter-spacing: 0; }
.product-lead { margin-top: 18px; color: var(--ink-soft); }
.product .ticks li::before { background: var(--accent); opacity: 1; }
.product-media { display: grid; place-items: center; border-radius: 18px; background: radial-gradient(circle at 50% 45%, #dfe6fb 0%, #eceff4 62%); padding: 24px 0 0; overflow: hidden; }
.product-media img { display: block; width: min(100%, 380px); height: auto; margin-bottom: -6%; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.founder-intro > p { margin-top: 16px; color: var(--ink-soft); max-width: 34em; }
.founder-id { display: flex; align-items: center; gap: 16px; margin: 32px 0 8px; }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; font-weight: 700; }
.founder-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.founder-role { font-size: 15px; color: var(--muted); }
.timeline { list-style: none; padding: 0; align-self: center; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 0 0 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li > div { position: relative; padding-left: 24px; }
.timeline li > div::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: #a3aec0; }
.timeline li > div::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: -24px; border-left: 1px solid #c4ccd8; }
.timeline li:last-child > div::after { display: none; }
.tl-year { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 1px; }
.tl-title { font-weight: 700; }
.tl-meta { font-size: 15px; color: var(--muted); }
.tl-now .tl-year { color: var(--accent); }
.tl-now > div::before { background: var(--accent); box-shadow: 0 0 0 4px #d6defd; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 96px) 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact p { margin-top: 12px; color: #b9c3d2; max-width: 34em; }

/* Footer */
.site-footer { background: var(--ink); color: #8c99ad; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; }
.footer-inner { padding-top: 32px; padding-bottom: 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-link { color: #d5dce6; font-weight: 600; text-decoration: none; }
.footer-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 18px 0 0; }
.footer-info > div { display: flex; gap: 8px; }
.footer-info dt { color: #6f7d92; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-copy { margin-top: 10px; color: #6f7d92; }
.wordmark-small { color: #fff; font-weight: 700; letter-spacing: -0.02em; }

/* Legal page */
.legal { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.25; }
.legal-meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal-intro { margin-top: 28px; color: var(--ink-soft); }
.legal h2 { font-size: 21px; letter-spacing: -0.02em; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2 + * { margin-top: 12px; }
.legal p + p { margin-top: 10px; }
.legal p, .legal li, .legal td { color: var(--ink-soft); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 10px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal table + p { margin-top: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; color: var(--ink); width: 34%; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal-en { margin-top: 80px; padding-top: 48px; border-top: 1.5px solid var(--ink); }
.legal-en h1 { font-size: clamp(26px, 3vw, 34px); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .field { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
  .principles, .product, .founder { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 0 0 32px 54px; }
  .steps li::after { display: block; top: 34px; bottom: 0; left: 17px; right: auto; border-top: 0; border-left: 1.5px dashed #a3aec0; }
  .steps li:nth-child(2)::after { display: block; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::after { display: none; }
  .need-label.hide-sm { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 24px; }
  .timeline li > div { position: static; padding-left: 0; }
  .timeline li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: #a3aec0; }
  .timeline li { position: relative; }
  .timeline li::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: 4px; border-left: 1px solid #c4ccd8; }
  .timeline li:last-child::after { display: none; }
  .timeline li > div::before, .timeline li > div::after { display: none; }
  .tl-now::before { background: var(--accent) !important; box-shadow: 0 0 0 4px #d6defd; }
  .case-media-phone img { width: 72%; }
  .need-label { font-size: 12px; white-space: normal; width: max-content; max-width: 38vw; }
}

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