:root {
  --ink: #17231f;
  --muted: #5d6f82;
  --line: #d8e4ef;
  --paper: #ffffff;
  --soft: #eaf4ff;
  --green: #1768c2;
  --green-dark: #0f4f9a;
  --gold: #d9a441;
  --blue: #1768c2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 60, 105, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Noto Sans KR", AppleSDGothicNeo, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 228, 239, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  background-image: url("assets/favicon.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 34px 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #32475c;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-dark);
  background: var(--soft);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 45, 92, 0.78), rgba(12, 45, 92, 0.46) 42%, rgba(12, 45, 92, 0.08)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 22%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 84px);
  padding-block: 72px 120px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--white);
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(1120px, calc(100% - 36px));
  margin: -72px auto 70px;
}

.quick-panel article,
.info-card,
.side-box,
.steps article,
.timeline article,
.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-panel article {
  padding: 24px;
}

.panel-icon {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.quick-panel h2,
.info-card h2,
.steps h2,
.timeline h2 {
  margin: 8px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.quick-panel p,
.info-card p,
.steps p,
.timeline p,
.side-box p,
.callout p {
  margin: 0;
  color: var(--muted);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 86px;
}

.info-card {
  min-height: 210px;
  padding: 26px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: #a9c5df;
}

.info-card span {
  color: var(--green);
  font-weight: 850;
}

.content-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.page-hero {
  padding: 70px 0 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  padding: 44px 0 84px;
}

.main-copy h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.main-copy h2:first-child {
  margin-top: 0;
}

.main-copy p {
  color: var(--muted);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.comparison article,
.notice-list {
  border-left: 4px solid var(--green);
  padding: 18px;
  background: var(--soft);
}

.comparison h3 {
  margin: 0 0 6px;
}

.comparison p,
.notice-list p {
  margin: 0;
}

.notice-list p + p {
  margin-top: 10px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--muted);
}

.side-box {
  align-self: start;
  padding: 24px;
}

.side-box h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.side-box ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.side-box.emphasis {
  border-color: #e5c56f;
  background: #f4f9ff;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 800;
}

.timeline,
.steps {
  display: grid;
  gap: 16px;
  padding: 44px 0 84px;
}

.timeline article,
.steps article {
  padding: 24px;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px minmax(160px, 220px) 1fr;
  align-items: center;
  gap: 18px;
}

.timeline span {
  color: var(--green);
  font-weight: 900;
}

.timeline h2 {
  margin: 0;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.steps strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.callout {
  margin: 0 0 84px;
  padding: 28px;
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
}

.callout h2 {
  margin: 0 0 10px;
}

.site-footer {
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: #52677c;
  background: #ffffff;
}

.site-footer p {
  margin: 0;
}

.site-footer .operator {
  margin-top: 10px;
  color: var(--green-dark);
  font-weight: 750;
}

.footer-links a {
  color: var(--green-dark);
  font-weight: 750;
}

@media (max-width: 920px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 63px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .quick-panel,
  .page-grid,
  .steps,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .comparison {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 180px;
    white-space: normal;
    line-height: 1.2;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-block: 54px 100px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .quick-panel {
    margin-top: -54px;
  }
}
