:root {
  --brand: oklch(0.58 0.16 250);
  --brand-dark: oklch(0.5 0.14 250);
  --brand-soft-bg: oklch(0.94 0.03 250);
  --brand-soft-text: oklch(0.42 0.13 250);
  --text-primary: oklch(0.18 0.02 250);
  --text-secondary: oklch(0.5 0.012 250);
  --text-tertiary: oklch(0.6 0.012 250);
  --bg-page: oklch(0.96 0.005 250);
  --bg-card: #fff;
  --bg-card-soft: oklch(0.975 0.004 250);
  --border: oklch(0.9 0.008 250);
  --border-soft: oklch(0.93 0.006 250);
  --dark-panel: oklch(0.21 0.03 265);
  --warn-bg: oklch(0.97 0.03 90);
  --warn-text: oklch(0.5 0.13 60);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 100px;
  --shadow-card: 0 1px 2px rgba(20, 25, 40, 0.05);
  --shadow-float: 0 18px 50px -20px rgba(20, 25, 40, 0.18), 0 1px 2px rgba(20, 25, 40, 0.06);
  --font-sans: 'Gothic A1', 'IBM Plex Sans KR', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0 0; }
.section:last-of-type { padding-bottom: 72px; }

.kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 10px 0 26px;
  color: var(--text-primary);
}

.grid {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card-pad { padding: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -12px var(--brand);
}
.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- top nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 24px 0;
}
.nav-pill {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  height: 68px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px -10px rgba(20, 25, 40, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a { color: var(--text-secondary); }
.nav-links a.active,
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
}
.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--bg-card-soft);
  border: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-hamburger span { width: 16px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}
.drawer.open { display: block; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 30, 0.4);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--dark-panel);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer-panel a {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  margin-bottom: 16px;
}
.drawer-contact {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
}
.drawer-contact .phone {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 64px 0 0;
}
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  background: var(--brand-soft-bg);
  color: var(--brand-soft-text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
}
.hero p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 20px 0 0;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  background: repeating-linear-gradient(135deg, oklch(0.94 0.012 250) 0 12px, oklch(0.915 0.016 250) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: oklch(0.45 0.02 250);
  background: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(20, 25, 40, 0.1);
}

/* ---------- stats ---------- */
.stat-card { padding: 24px 22px; }
.stat-value { font-family: var(--font-mono); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.stat-value span { font-size: 15px; margin-left: 3px; }
.stat-label { font-size: 13.5px; color: var(--text-secondary); margin-top: 8px; font-weight: 500; }

/* ---------- audience / feature cards ---------- */
.audience-card, .feature-card, .doc-card, .service-card, .support-card {
  color: inherit;
}
.audience-card { padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.audience-num {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--brand-soft-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--brand-soft-text);
}
.audience-card h3 { font-size: 20px; font-weight: 800; margin: 6px 0 0; }
.audience-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.audience-card .link { font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-top: 6px; }

.feature-card {
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.feature-card .art {
  width: 160px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, oklch(0.94 0.012 250) 0 10px, oklch(0.915 0.016 250) 10px 20px);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 19px; font-weight: 800; margin: 0; }
.feature-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 8px 0 0; }
.feature-card .link { font-size: 14px; font-weight: 700; color: var(--brand-dark); display: inline-block; margin-top: 10px; }

.service-card { overflow: hidden; padding: 0; }
.service-card .art {
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(135deg, oklch(0.94 0.012 250) 0 10px, oklch(0.915 0.016 250) 10px 20px);
  display: flex; align-items: center; justify-content: center;
}
.service-card .body { padding: 24px; }
.service-card h3 { font-size: 19px; font-weight: 800; margin: 0; }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 8px 0 0; }
.service-card .link { font-size: 14px; font-weight: 700; color: var(--brand-dark); display: inline-block; margin-top: 12px; }

.doc-card { background: var(--bg-card-soft); padding: 22px; }
.doc-card h4 { font-size: 15.5px; font-weight: 800; margin: 0; }
.doc-card p { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 8px 0 0; }

.support-card {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.support-card h4 { font-size: 16.5px; font-weight: 800; margin: 0; }
.support-card p { font-size: 13.5px; color: var(--text-secondary); margin: 5px 0 0; }
.support-card .arrow { font-size: 18px; color: var(--text-tertiary); flex-shrink: 0; margin-left: 12px; }

/* ---------- step flow ---------- */
.step-list .step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.step-list .step:last-child { border-bottom: none; }
.step-list .step .num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-soft-text);
  width: 60px;
  flex-shrink: 0;
}

/* ---------- pricing tiers ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.pricing-card:hover { border-color: var(--border); }
.pricing-card--highlight,
.pricing-card--highlight:hover {
  border-color: var(--brand);
  box-shadow: 0 18px 40px -20px var(--brand);
}
.pricing-badge {
  margin-bottom: 12px;
}
.pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 100px;
  background: var(--brand-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.pricing-title { font-size: 15px; font-weight: 700; color: var(--text-secondary); }
.pricing-price { font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--text-primary); margin: 10px 0 20px; letter-spacing: -0.02em; }
.pricing-price span { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-left: 2px; }
.pricing-card .btn { width: 100%; margin-bottom: 22px; }
.pricing-list { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }
.pricing-list .check-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.pricing-list .check-item .mark { color: var(--brand); font-weight: 700; flex-shrink: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--brand);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1.3; }
.cta-banner .sub { font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-phone { text-align: right; }
.cta-phone .label { font-size: 12px; color: rgba(255, 255, 255, 0.7); font-family: var(--font-mono); letter-spacing: 0.1em; }
.cta-phone .num { font-family: var(--font-mono); font-size: 28px; font-weight: 600; }
.cta-banner .btn-outline { background: #fff; color: var(--brand-dark); border: none; }
.cta-banner .btn-line { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }

/* ---------- footer ---------- */
.site-footer {
  padding: 48px 0 96px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.site-footer .company { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
.site-footer .links a { color: var(--brand-dark); }
.site-footer .links a + a { margin-left: 6px; }

/* ---------- mobile bottom bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 15;
  padding: 12px 14px;
  background: linear-gradient(to top, var(--bg-page) 70%, transparent);
  gap: 8px;
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}
.mobile-bar .call { background: #fff; color: var(--text-primary); box-shadow: 0 4px 14px -8px rgba(20, 25, 40, 0.35); }
.mobile-bar .consult { background: var(--brand); color: #fff; }

/* ---------- contact form ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-secondary); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
}
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.chip.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.consent-row input { margin-top: 3px; }
.form-note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--brand-soft-text);
  background: var(--brand-soft-bg);
  border-radius: 12px;
  padding: 14px 16px;
  display: none;
}
.form-note.visible { display: block; }

/* ---------- generic ---------- */
.notice {
  font-size: 12.5px;
  color: var(--warn-text);
  background: var(--warn-bg);
  border-radius: 8px;
  padding: 10px 14px;
}
.divider { height: 1px; background: var(--border-soft); margin: 18px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero h1 { font-size: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .feature-card { flex-direction: column; align-items: flex-start; }
  .feature-card .art { width: 100%; }
  .site-footer { flex-direction: column; }
  .site-footer > div:last-child { text-align: left; }
  .mobile-bar { display: flex; }
  .section { padding-bottom: 96px; }
  body { padding-bottom: 0; }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
