:root {
  --ground: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #141416;
  --ink-2: #4A4A52;
  --ink-3: #6B6B73;
  --rule: #E4E4E0;
  --rule-soft: #ECECE8;
  --chip-border: #C9C9C2;
  --easyop: #2563EB;
  --easyop-tint: #F4F7FE;
  --easyop-tint-border: #DCE5FB;
  --sositjeok: #A74E30;
  --sositjeok-tint: #FBF5F1;
  --sositjeok-tint-border: #F0E1D8;
  --font-sans: "IBM Plex Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--ink-2); }
a:focus-visible { outline: 2px solid var(--easyop); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, p { margin: 0; }

.mono { font-family: var(--font-mono); }

.container { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand-en { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 15px; font-weight: 500; text-decoration: none;
}

/* Shared */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-3); }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 700; }
.section { padding-block: clamp(72px, 9vw, 128px); display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head.split { flex-flow: row wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section-head.split > div { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.section-desc { flex: 1 1 340px; min-width: 0; max-width: 460px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(64px, 8vw, 112px);
}
.hero-copy { flex: 1.4 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.14; letter-spacing: -0.035em; font-weight: 700; }
.lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--ink-2); }
.lead strong { color: var(--ink); font-weight: 600; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px;
  background: var(--surface); border: 1px solid #D6D6D0; border-radius: 999px;
  text-decoration: none; font-size: 16px; font-weight: 600;
  transition: border-color 160ms ease, transform 160ms ease;
}
.pill-link:hover { color: var(--ink); border-color: var(--ink); }
.pill-domain { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.dot { width: 8px; height: 8px; border-radius: 999px; }
.dot-easyop { background: var(--easyop); }
.dot-sositjeok { background: var(--sositjeok); }

.flow-panel {
  flex: 1 1 400px; min-width: 0;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 28px;
  box-shadow: 0 1px 2px rgba(20, 20, 22, 0.04), 0 16px 40px -16px rgba(20, 20, 22, 0.12);
}
.flow { --accent: var(--easyop); display: flex; flex-direction: column; gap: 14px; }
.flow.sositjeok { --accent: var(--sositjeok); }
.flow-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.flow-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--accent); }
.flow-tag { font-size: 13px; color: var(--ink-3); }
.flow-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { padding: 8px 14px; border: 1px dashed var(--chip-border); border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.chip-result { padding-inline: 16px; border: 0; background: var(--accent); color: #fff; font-weight: 600; }
.flow-arrow { color: #9A9AA2; }
.flow-caption { font-size: 14px; color: var(--ink-3); }
.flow-divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--rule-soft); }

/* Services */
.services { background: var(--surface); border-block: 1px solid var(--rule); }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  --accent: var(--easyop);
  flex: 1 1 440px; min-width: 0;
  background: var(--easyop-tint); border: 1px solid var(--easyop-tint-border); border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 28px;
}
.card.sositjeok { --accent: var(--sositjeok); background: var(--sositjeok-tint); border-color: var(--sositjeok-tint-border); }
.card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.card-index { font-weight: 500; letter-spacing: 0.1em; color: var(--accent); }
.card-domain { color: var(--ink-2); }
.card-body { display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: clamp(30px, 3vw, 38px); letter-spacing: -0.03em; font-weight: 700; }
.card-en { font-size: 0.55em; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.card-lead { font-size: 20px; line-height: 1.5; font-weight: 600; }
.card-body p:not(.card-lead) { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.features { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(20, 20, 22, 0.08); }
.features li {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-top: 1px solid rgba(20, 20, 22, 0.08); font-size: 16px;
}
.features li::before {
  content: ""; flex: none; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fit { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.fit strong { font-weight: 600; color: var(--ink); }
.card-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  background: var(--accent); border-radius: 999px; color: #fff;
  text-decoration: none; font-size: 16px; font-weight: 600;
  transition: filter 160ms ease;
}
.card-cta:hover { color: #fff; filter: brightness(0.9); }

/* Approach */
.principles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px 32px; }
.principles li {
  flex: 1 1 300px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.principle-num { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.principles h3 { font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; font-weight: 700; }
.principles p { font-size: 16px; line-height: 1.75; color: var(--ink-2); }

/* Contact + footer */
.dark { background: var(--ink); color: #F5F5F2; }
.dark .eyebrow { color: #A0A0A8; }
.dark h2 { color: #fff; }
.contact {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 88px);
}
.contact-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-copy > p:last-child { max-width: 520px; font-size: 17px; line-height: 1.75; color: #C4C4CA; }
.contact-actions { flex: 0 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mail-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 24px; background: #fff; border-radius: 16px;
  color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600;
}
.service-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.service-contacts a {
  flex: 1 1 180px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 14px;
  color: #F5F5F2; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: border-color 160ms ease;
}
.service-contacts a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

.site-footer {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 40px;
  padding-top: 32px; padding-bottom: 48px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-info { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #fff; }
.footer-info p { font-size: 13px; line-height: 1.8; color: #A0A0A8; }
.footer-info p a { color: #C4C4CA; }
.footer-info p a:hover { color: #fff; }
.copyright { font-size: 12px; }
.family-sites { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.family-sites a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #C4C4CA; text-decoration: none; }
.family-sites a:hover { color: #fff; }

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