/* 메인페이지 — 인더스트리얼 하이콘트라스트 */
:root {
  --ink: #101820;
  --ink-2: #1b2733;
  --accent: #FEE715;
  --fg: #EDEFF2;
  --muted: #9AA5B1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-display: swap;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,24,32,0.94);
  border-bottom: 2px solid var(--accent);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; }
.menu-toggle {
  background: none; border: 2px solid var(--accent); border-radius: 0;
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--accent); display: block; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--ink-2); border-bottom: 2px solid var(--accent);
  flex-direction: column; padding: 8px 20px 16px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid #2a3644; min-height: 44px; display: flex; align-items: center; }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  #primary-nav { display: flex; position: static; flex-direction: row; gap: 28px; background: none; border: 0; padding: 0; }
  #primary-nav a { border: 0; padding: 0; min-height: auto; }
}

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-img { width: 100%; height: 56vw; max-height: 620px; object-fit: cover; opacity: 0.55; }
.hero-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
}
.hero h1 { font-size: clamp(2rem, 7vw, 4rem); margin: 0 0 12px; text-transform: uppercase; letter-spacing: -0.02em; }
.hero-sub { max-width: 46ch; color: var(--fg); font-size: 1.05rem; margin: 0 0 24px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; text-decoration: none; font-weight: 800; border: 2px solid var(--accent); border-radius: 0; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-outline { background: transparent; color: var(--accent); }

/* carousel */
.carousel-section { padding: 56px 20px 24px; max-width: 1280px; margin: 0 auto; }
.carousel-section h2, .content-section h2 { font-size: 1.6rem; margin-bottom: 20px; border-left: 6px solid var(--accent); padding-left: 14px; }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.45s ease; }
.carousel-slide {
  flex: 0 0 100%; background: var(--ink-2); padding: 16px; border: 1px solid #2a3644;
}
.carousel-slide h3 { margin: 14px 0 6px; }
.carousel-slide p { color: var(--muted); margin: 0 0 12px; }
.carousel-slide a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.carousel-nav {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 44px; height: 44px; background: var(--accent); color: var(--ink);
  border: 0; font-size: 1.5rem; cursor: pointer; border-radius: 0;
}
.carousel-prev { left: -4px; }
.carousel-next { right: -4px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--accent); background: transparent; padding: 0; cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--accent); }

@media (min-width: 768px) {
  .carousel-slide { flex: 0 0 33.333%; }
}

/* content sections */
.content-section { max-width: 900px; margin: 0 auto; padding: 40px 20px; border-top: 1px solid #24303c; }
.content-section p { margin: 0 0 14px; }
.checklist, .steps { padding-left: 20px; }
.checklist li, .steps li { margin-bottom: 12px; }
.checklist strong { color: var(--accent); display: block; margin-bottom: 2px; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { border: 1px solid #2a3644; padding: 10px 12px; text-align: left; font-size: 0.95rem; }
thead th { background: var(--ink-2); color: var(--accent); }

.accordion-item { border-bottom: 1px solid #2a3644; }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: 0; color: var(--fg);
  font-size: 1rem; font-weight: 700; padding: 16px 4px; min-height: 44px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion-trigger::after { content: '+'; color: var(--accent); font-size: 1.3rem; }
.accordion-trigger[aria-expanded="true"]::after { content: '–'; }
.accordion-panel { padding: 0 4px 16px; color: var(--muted); }

.links-section { max-width: 1280px; }
.link-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.link-card { display: block; background: var(--ink-2); border: 1px solid #2a3644; border-left: 6px solid var(--accent); padding: 20px; text-decoration: none; }
.link-card h3 { margin: 0 0 8px; }
.link-card p { color: var(--muted); margin: 0; }
@media (min-width: 768px) { .link-cards { grid-template-columns: 1fr 1fr; } }

/* footer */
.site-footer { background: #0a0f14; border-top: 2px solid var(--accent); padding: 32px 20px; margin-top: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; max-width: 1280px; margin: 0 auto 20px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 0.9rem; }
.site-footer address { max-width: 1280px; margin: 0 auto; font-style: normal; color: var(--muted); font-size: 0.85rem; line-height: 1.8; }
.site-footer address a { color: var(--accent); }
.site-footer p { max-width: 1280px; margin: 16px auto 0; color: #5a6572; font-size: 0.8rem; }
