:root {
  --blue: #2563eb;
  --blue-dark: #1746b0;
  --ink: #172033;
  --muted: #657087;
  --line: #e5eaf2;
  --surface: #ffffff;
  --soft: #f5f8fd;
  --shadow: 0 22px 60px rgba(35, 54, 91, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  word-break: keep-all;
}
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #3b82f6, #1d4ed8); font-weight: 900;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .25);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.status { display: flex; align-items: center; gap: 8px; color: #3f4b61; font-size: 14px; font-weight: 700; }
.status span { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px #dcfce7; }

.hero {
  position: relative;
  min-height: 620px;
  padding: 88px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(96, 165, 250, .18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 430px; height: 430px; right: -220px; top: -220px; border: 70px solid rgba(37, 99, 235, .04); }
.hero::after { width: 230px; height: 230px; left: -150px; bottom: -150px; border: 50px solid rgba(37, 99, 235, .035); }
.hero-copy, .steps-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.08; letter-spacing: -.055em; }
h1 em { color: var(--blue); font-style: normal; }
.lead { margin: 26px 0 34px; color: #536079; font-size: 18px; line-height: 1.8; }

.primary-download {
  width: min(100%, 470px); min-height: 88px; padding: 15px 20px;
  display: flex; align-items: center; gap: 16px; border-radius: 20px;
  color: #fff; text-decoration: none; background: linear-gradient(135deg, #2873f2, #174fc5);
  box-shadow: 0 16px 32px rgba(37, 99, 235, .28); transition: .2s ease;
}
.primary-download:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(37, 99, 235, .36); }
.download-icon { flex: 0 0 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: 28px; }
.primary-download small, .primary-download strong { display: block; }
.primary-download small { margin-bottom: 4px; color: #dce9ff; font-size: 12px; }
.primary-download strong { font-size: 21px; }
.button-arrow { margin-left: auto; font-size: 25px; }
.ctrl-download-tip { margin: 17px 0 0 4px; color: #34425b; font-size: 16px; line-height: 1.6; }
.ctrl-download-tip kbd { padding: 3px 8px; border: 1px solid #b9c6da; border-bottom-width: 3px; border-radius: 7px; color: var(--blue-dark); background: #fff; font-family: inherit; font-weight: 900; }
.ctrl-download-tip strong { color: var(--blue-dark); }
.download-note { margin: 13px 0 0 6px; color: #7a8599; font-size: 13px; }
.other-agent-link { display: inline-block; margin: 7px 0 0 6px; color: #64748b; font-size: 12px; text-underline-offset: 3px; }
.other-agent-link:hover { color: var(--blue); }

.steps-card { padding: 32px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.steps-heading span, .steps-heading strong { display: block; }
.steps-heading span { margin-bottom: 6px; color: var(--blue); font-size: 12px; font-weight: 800; }
.steps-heading strong { font-size: 24px; letter-spacing: -.03em; }
.steps { margin: 28px 0 22px; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; gap: 16px; padding-bottom: 25px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 5px; width: 1px; background: #dce5f3; }
.steps li > span { flex: 0 0 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--blue); background: #e9f1ff; font-weight: 900; }
.steps strong { display: block; margin: 2px 0 5px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.security-note { margin-top: 26px; padding: 13px 15px; display: flex; align-items: center; gap: 9px; border-radius: 13px; color: #397053; background: #eefaf3; font-size: 13px; font-weight: 700; }
.security-note span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #22a563; }

.programs, .help-section, footer { width: min(1180px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.programs { padding: 92px 0 72px; }
.section-title { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-title h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.section-title > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.program-card { min-height: 112px; padding: 20px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; background: var(--surface); transition: .2s ease; }
.program-card:hover { transform: translateY(-3px); border-color: #c8d6ec; box-shadow: 0 14px 28px rgba(31, 48, 80, .09); }
.program-letter { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; font-weight: 900; font-size: 18px; }
.program-card strong, .program-card small { display: block; }
.program-card strong { margin-bottom: 4px; font-size: 15px; }
.program-card small { color: var(--muted); font-size: 11px; }
.program-card b { margin-left: auto; color: #94a0b3; font-size: 20px; }
.green .program-letter { background: #31a66a; }
.yellow .program-letter { background: #e4ad18; }
.dark .program-letter { background: #354052; }
.purple .program-letter { background: #7655b9; }

.help-section { padding-bottom: 84px; }
details { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
summary { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary strong, summary small { display: block; }
summary strong { margin-bottom: 5px; font-size: 17px; }
summary small { color: var(--muted); font-size: 13px; }
summary b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #edf4ff; font-size: 22px; transition: transform .2s ease; }
details[open] summary b { transform: rotate(45deg); }
.guide-image-wrap { padding: 0 20px 20px; }
.guide-image-wrap img { width: 100%; display: block; border-radius: 16px; border: 1px solid var(--line); }

footer { padding: 25px 0 36px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #7b8597; font-size: 12px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; padding: 14px 18px; border-radius: 13px; color: #fff; background: #172033; box-shadow: 0 12px 30px rgba(0,0,0,.22); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .22s ease; font-size: 14px; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 64px; padding-bottom: 64px; grid-template-columns: 1fr; gap: 46px; }
  .steps-card { max-width: 620px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-header { width: calc(100% - 28px); height: 70px; }
  .status { font-size: 0; }
  .hero { padding: 48px 18px; }
  h1 { font-size: 45px; }
  .lead { font-size: 15px; }
  .primary-download { min-height: 80px; border-radius: 17px; }
  .primary-download strong { font-size: 18px; }
  .steps-card { padding: 25px 20px; border-radius: 22px; }
  .programs, .help-section, footer { width: calc(100% - 28px); }
  .programs { padding: 64px 0 50px; }
  .section-title { align-items: start; flex-direction: column; gap: 12px; }
  .section-title h2 { font-size: 27px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 92px; }
  summary { padding: 21px 18px; }
  summary small { max-width: 240px; line-height: 1.5; }
  footer { flex-direction: column; }
  .toast { left: 14px; right: 14px; bottom: 14px; text-align: center; }
}

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