:root {
  --bg: #07111a;
  --panel: rgba(10, 23, 34, 0.82);
  --panel-soft: rgba(15, 31, 45, 0.7);
  --text: #eef4f8;
  --muted: #b3c1cd;
  --line: rgba(214, 226, 236, 0.12);
  --accent: #ffb347;
  --accent-ink: #221507;
  --cyan: #63d2ff;
  --red: #ff6b5f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.site-body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Bahnschrift", "Noto Sans KR", "Segoe UI Variable", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(99, 210, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 179, 71, 0.14), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 107, 95, 0.16), transparent 22%),
    linear-gradient(145deg, #07111a 0%, #0d1d2b 48%, #0a1722 100%);
}

.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.site-shell {
  position: relative;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  position: sticky;
  top: 16px;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 19, 29, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ffd59c);
  color: var(--accent-ink);
  font-weight: 800;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.hero-panel,
.section-block {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 26px;
  margin-top: 24px;
  padding: 34px;
}

.section-kicker,
.card-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-copy h1,
.hero-card h2,
.section-head h2,
.feature-card h3,
.split-card h2,
.highlight-card h3,
.step-card h3,
.timeline-card strong {
  margin: 0;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.95;
}

.hero-lead,
.section-head p,
.feature-card p,
.split-card p,
.highlight-card p,
.step-card p,
.timeline-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 150ms ease, opacity 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ffd59c);
  color: var(--accent-ink);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.feature-card,
.split-card,
.highlight-card,
.step-card,
.timeline-card,
.cta-strip {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel-soft);
}

.hero-card {
  padding: 24px;
}

.hero-card ul,
.split-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section-block {
  margin-top: 24px;
  padding: 30px;
}

.section-head {
  max-width: 760px;
}

.feature-grid,
.highlight-grid,
.step-grid,
.timeline,
.split-block {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.highlight-card,
.step-card,
.timeline-card,
.split-card {
  padding: 22px;
}

.feature-card h3,
.highlight-card h3,
.step-card h3 {
  margin-bottom: 10px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 800;
}

.feature-link:hover {
  text-decoration: underline;
}

.split-block {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.muted-card {
  background:
    linear-gradient(180deg, rgba(255, 107, 95, 0.09), rgba(255, 255, 255, 0.03)),
    var(--panel-soft);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
}

.cta-strip h3 {
  margin: 0 0 8px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), #ffd59c);
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.section-action {
  margin-top: 20px;
}

.contact-tags span {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.subpage-hero {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(140deg, rgba(255, 179, 71, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(99, 210, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1;
}

.subpage-hero p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.75;
}

.subpage-actions,
.badge-row,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

.info-grid,
.detail-grid-site,
.contact-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid-site,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.detail-card-site,
.contact-card,
.wide-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  background: var(--panel-soft);
}

.info-card h3,
.detail-card-site h3,
.contact-card h3,
.wide-panel h2 {
  margin: 0 0 10px;
}

.info-card p,
.detail-card-site p,
.contact-card p,
.wide-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.page-list li + li {
  margin-top: 6px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.quick-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wide-panel {
  margin-top: 24px;
}

.muted-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero-panel,
  .feature-grid,
  .step-grid,
  .timeline,
  .split-block,
  .info-grid,
  .detail-grid-site,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 20px, 1220px);
    padding-top: 12px;
  }

  .topbar,
  .hero-panel,
  .section-block,
  .subpage-hero,
  .cta-strip,
  .split-block,
  .feature-grid,
  .step-grid,
  .timeline,
  .info-grid,
  .detail-grid-site,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    padding: 16px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-panel,
  .section-block,
  .subpage-hero {
    padding: 22px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .cta-strip {
    align-items: flex-start;
  }
}
