:root {
  --primary: #263238;
  --accent: #FFC107;
  --bg: #FFFFFF;
  --bg-alt: #F3F4F5;
  --radius: 2px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: 'IBM Plex Sans KR', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-display: swap;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'IBM Plex Sans KR', sans-serif;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: .6em 1em;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.section-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 2.5rem 1.25rem;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid #E2E5E7;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.brand-word {
  font-family: 'IBM Plex Sans KR', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1rem;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  color: var(--primary);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid #E2E5E7;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .site-nav.is-open { max-height: 480px; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1rem;
  }
  .site-nav li { border-top: 1px solid #EEF0F1; }
  .site-nav a { display: block; padding: .75rem 0; }
}

/* Hero */
.hero {
  background: var(--primary);
  color: #fff;
}
.progress-track {
  display: flex;
  gap: 3px;
  height: 4px;
}
.progress-step {
  flex: 1;
  background: rgba(255,255,255,.25);
}
.progress-step.is-active { background: var(--accent); }

.hero-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 3rem 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: .5rem;
}
.hero-lead {
  color: #E3E6E8;
  max-width: 46ch;
  margin-bottom: 1.5rem;
}
.shot--hero {
  margin: 0;
  max-width: 320px;
  margin-inline: auto;
}
.shot--hero img {
  border-radius: var(--radius);
}
.shot--hero figcaption {
  color: #C7CCD0;
  font-size: .82rem;
  margin-top: .5rem;
  text-align: center;
}

@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; }
  .shot--hero { max-width: 240px; }
}

/* CTA buttons */
.cta {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
}
.cta--hero {
  background: var(--accent);
  color: var(--primary);
}
.cta--hero:hover { background: #FFD34D; }

.cta--block.cta--call {
  background: var(--primary);
  color: #fff;
}
.cta--block.cta--call:hover { background: #37474F; }
.cta--block.cta--sms {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.cta--block.cta--sms:hover { background: var(--bg-alt); }

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections */
.section { background: var(--bg); }
.section--alt { background: var(--bg-alt); }

h2 {
  font-size: 1.4rem;
  padding-left: .8rem;
  border-left: 5px solid var(--accent);
}

h3 {
  font-size: 1.05rem;
}

/* Figures */
.shot {
  margin-inline: auto;
  max-width: 900px;
  margin-top: 2rem;
  margin-bottom: 0;
}
.shot img { border-radius: var(--radius); }
.shot figcaption {
  font-size: .85rem;
  color: #55636A;
  margin-top: .6rem;
  text-align: center;
}

/* Callout */
.callout {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: #FFF8E1;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-top: 1.25rem;
}
.callout svg { flex: none; color: var(--primary); margin-top: 2px; }
.callout p { margin: 0 0 .5rem; }
.callout p:last-child { margin-bottom: 0; }

/* Action box */
.action-box {
  background: var(--bg);
  border: 1px solid #DDE1E3;
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
}
.action-box h3 { margin-bottom: .6rem; }
.action-box ul {
  margin: 0;
  padding-left: 1.2rem;
}
.action-box li { margin-bottom: .4rem; }

/* Table */
.table-wrap {
  overflow-x: auto;
  margin-top: 1.25rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
caption {
  text-align: left;
  font-weight: 500;
  margin-bottom: .5rem;
  color: #55636A;
}
th, td {
  border: 1px solid #DDE1E3;
  padding: .65rem .75rem;
  text-align: left;
}
th {
  background: var(--primary);
  color: #fff;
  font-weight: 500;
}

/* Process */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.process li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #E2E5E7;
}
.process li:first-child { border-top: none; }
.process-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.process strong { display: block; margin-bottom: .25rem; }
.process p { margin: 0; color: #404C52; }

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.checklist li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid #DDE1E3;
  border-radius: var(--radius);
  padding: .75rem .9rem;
}
.checklist svg { flex: none; color: var(--accent); margin-top: 2px; }

/* FAQ */
.faq-list details {
  border-bottom: 1px solid #DDE1E3;
  padding: .9rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: 'Q. ';
  color: var(--accent);
  font-weight: 700;
}
.faq-list details p {
  margin: .7rem 0 0;
  color: #404C52;
}

/* CTA block */
.cta-block {
  background: var(--primary);
  color: #fff;
}
.cta-block h3 {
  color: #fff;
  border-left: 5px solid var(--accent);
  padding-left: .8rem;
  font-size: 1.2rem;
}
.cta-block p { color: #E3E6E8; }

/* Related links */
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.related-list a {
  display: block;
  text-decoration: none;
  padding: .9rem 1.1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-weight: 500;
}
.related-list a:hover { background: #E6E8E9; }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid #E2E5E7;
}
.site-footer address {
  font-style: normal;
  line-height: 1.8;
  font-size: .9rem;
  color: #404C52;
}
.site-footer small {
  display: block;
  margin-top: 1rem;
  color: #6A767B;
  font-size: .8rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
