/* ============================================================
   셔틀아이디 — 홈페이지 리뉴얼 (white + blue + yellow accent)
   사이트 전용 토큰. 디자인 시스템 tokens.css 위에 얹는다.
   ============================================================ */

:root {
  /* ---- site palette ---- */
  --sid-blue: #4584FF;
  --sid-blue-deep: #2862E0;
  --sid-blue-link: #375BDB;
  --sid-blue-tint: #EEF6FF;
  --sid-blue-soft: #DCE9FF;

  --sid-yellow: #FFD300;
  --sid-yellow-soft: #FFF4D6;

  --sid-ink: #0B1326;          /* 텍스트 최진 */
  --sid-ink-2: #1F2B45;
  --sid-fg: #2A3146;
  --sid-fg-mid: #5A6479;
  --sid-fg-sub: #8A93A8;
  --sid-fg-light: #B8C0D0;

  --sid-bg: #FFFFFF;
  --sid-bg-soft: #F6F8FC;
  --sid-bg-tint: #F0F4FB;
  --sid-line: #E5EAF2;
  --sid-line-soft: #EEF1F6;

  --sid-success: #18A957;
  --sid-warn: #F59E0B;
  --sid-danger: #EF4444;

  --site-radius-card: 18px;
  --site-radius-lg: 24px;
  --site-radius-pill: 999px;

  --site-shadow-card: 0 1px 2px rgba(11, 19, 38, 0.04), 0 8px 28px rgba(11, 19, 38, 0.06);
  --site-shadow-lifted: 0 4px 12px rgba(11, 19, 38, 0.06), 0 24px 60px rgba(11, 19, 38, 0.12);
  --site-shadow-phone: 0 6px 18px rgba(11, 19, 38, 0.08), 0 36px 80px rgba(11, 19, 38, 0.18);

  --site-shell-max: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--sid-bg);
  color: var(--sid-fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sid-blue); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---- shell ---- */
.shell {
  max-width: var(--site-shell-max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .shell { padding: 0 20px; }
}

/* ---- typography ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sid-blue);
  text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 3px; background: var(--sid-blue); }

.section-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--sid-ink);
  margin: 0;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sid-fg-mid);
  margin: 14px 0 0;
  max-width: 720px;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .section-title { font-size: 32px; }
  .section-sub { font-size: 15px; }
}

/* ---- section spacing ---- */
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}
.section-head--center { text-align: center; align-items: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px;
  border-radius: var(--site-radius-pill);
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sid-blue); color: #fff; }
.btn-primary:hover { background: var(--sid-blue-deep); }
.btn-yellow { background: var(--sid-yellow); color: var(--sid-ink); }
.btn-yellow:hover { background: #F5C400; }
.btn-outline { background: #fff; color: var(--sid-ink); border-color: var(--sid-line); }
.btn-outline:hover { border-color: var(--sid-blue); color: var(--sid-blue); }
.btn-ghost { background: transparent; color: var(--sid-fg-mid); }
.btn-ghost:hover { color: var(--sid-ink); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }

/* ---- card ---- */
.card {
  background: #fff;
  border: 1px solid var(--sid-line);
  border-radius: var(--site-radius-card);
  padding: 28px;
  transition: border-color 160ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { border-color: var(--sid-blue-soft); box-shadow: var(--site-shadow-card); }
.card--flat { border: none; background: var(--sid-bg-soft); }
.card--flat:hover { background: var(--sid-blue-tint); box-shadow: none; }

/* ---- chip ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--site-radius-pill);
  font-size: 12px; font-weight: 700;
  background: var(--sid-blue-tint);
  color: var(--sid-blue-link);
  letter-spacing: -0.01em;
}
.chip--yellow { background: var(--sid-yellow-soft); color: #6B4F00; }
.chip--green { background: #E6F8EE; color: #097A3E; }
.chip--gray { background: var(--sid-bg-tint); color: var(--sid-fg-mid); }

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, background 160ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--sid-line); }
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--sid-ink);
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sid-fg-mid);
  border-radius: 8px;
  transition: color 120ms ease, background 120ms ease;
}
.nav a:hover { color: var(--sid-ink); background: var(--sid-bg-soft); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--sid-line);
  color: var(--sid-ink);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--sid-line);
  box-shadow: 0 12px 32px rgba(11,19,38,0.06);
  animation: slideDown 200ms ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta-guide { display: none; }
}

/* ---- bg variants ---- */
.bg-soft { background: var(--sid-bg-soft); }
.bg-tint { background: var(--sid-blue-tint); }
.bg-ink { background: var(--sid-ink); color: #fff; }

/* ---- KPI numbers ---- */
.stat-num {
  font-family: var(--font-numeric);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--sid-ink);
}

/* Hero A floating tags — hide on mobile to prevent overflow */
@media (max-width: 720px) {
  .hero-float-tag { display: none !important; }
}

/* Variant B overrides — applied via [data-variant="B"] on <html> */
[data-variant="B"] .section-title { letter-spacing: -0.04em; }
[data-variant="B"] .btn-primary { background: var(--sid-yellow); color: var(--sid-ink); }
[data-variant="B"] .btn-primary:hover { background: #F5C400; }
[data-variant="B"] .chip { background: var(--sid-yellow-soft); color: #6B4F00; }
[data-variant="B"] .eyebrow { color: var(--sid-ink); }
[data-variant="B"] .eyebrow .dot { background: var(--sid-yellow); }

/* utilities */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* keep nice column gap separate from row gap when wanted */
.row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
