/* TCSK — screen.css */
:root {
  --charcoal: #2B2B2D;
  --charcoal-light: #4A4A4E;
  --cyan: #1CA9BC;
  --lime: #A6C838;
  --bg: #ffffff;
  --bg-alt: #F5F6F7;
  --border: #E3E5E7;
  --text: #333336;
  --muted: #6E6E73;
  --radius: 12px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--charcoal); line-height: 1.35; margin: 0 0 .6em; }
h1 { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; min-width: 0; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--cyan); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.section-head p { color: var(--muted); }

/* Header / Navigation */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 24px; height: 68px; min-width: 0;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--charcoal); font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { height: 40px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; align-items: center; }
.nav-links a { color: var(--charcoal-light); font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); text-decoration: none; }
.nav-links .highlight a {
  background: var(--charcoal); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav-links .highlight a:hover { color: #fff; opacity: .88; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.5rem; color: var(--charcoal); cursor: pointer; }

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: opacity .15s ease;
}
.btn-primary { background: var(--charcoal); color: #fff; border: 1px solid var(--charcoal); }
.btn-primary:hover { text-decoration: none; opacity: .88; }
.btn-outline { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn-outline:hover { text-decoration: none; background: var(--bg-alt); }
.btn-accent { background: var(--cyan); border-color: var(--cyan); }

/* Hero */
.hero { position: relative; color: #fff; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,22,.82) 0%, rgba(20,20,22,.55) 55%, rgba(20,20,22,.25) 100%); }
.hero-content { position: relative; padding: 110px 0 96px; max-width: 720px; }
.hero-content h1 { color: #fff; font-size: 2.7rem; }
.hero-content .lead { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero-content .eyebrow { color: var(--lime); font-weight: 700; letter-spacing: .05em; font-size: .92rem; margin-bottom: 14px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--cyan); border-color: var(--cyan); }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }

/* Page hero (sub pages) */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 64px 0 52px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: var(--cyan); font-weight: 700; font-size: .9rem; letter-spacing: .04em; margin-bottom: 10px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; min-width: 0; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); flex: 1; }
.card .card-link { font-weight: 600; margin-top: 6px; }
.card.featured { border: 2px solid var(--cyan); position: relative; }
.card .badge {
  position: absolute; top: -13px; left: 24px; background: var(--cyan); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.card ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); }
.card ul li { margin-bottom: 5px; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split .body p { color: var(--muted); }

/* Strengths */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.strength { padding: 6px 0 0; min-width: 0; }
.strength .num { font-size: 1.9rem; font-weight: 800; color: var(--cyan); line-height: 1; margin-bottom: 10px; }
.strength p { color: var(--muted); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; min-width: 0; }
.step .step-num { display: inline-block; background: var(--charcoal); color: #fff; font-weight: 700; font-size: .85rem; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Tables */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 13px 16px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--bg-alt); color: var(--charcoal); width: 180px; font-weight: 600; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* Cases */
.case { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; background: #fff; min-width: 0; }
.case .case-tag { display: inline-block; background: var(--bg-alt); border: 1px solid var(--border); color: var(--charcoal-light); font-size: .82rem; font-weight: 600; padding: 3px 11px; border-radius: 999px; margin-bottom: 14px; }
.case p { color: var(--muted); }
.case dl { display: grid; grid-template-columns: 92px 1fr; gap: 6px 14px; margin: 16px 0 0; }
.case dt { font-weight: 600; color: var(--charcoal); }
.case dd { margin: 0; color: var(--muted); min-width: 0; }

/* CTA */
.cta-section { background: var(--charcoal); color: #fff; padding: 64px 0; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 26px; }
.cta-section .btn-primary { background: var(--cyan); border-color: var(--cyan); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; }
.contact-grid > * { min-width: 0; }
.contact-form label { display: block; font-weight: 600; color: var(--charcoal); margin: 18px 0 7px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; color: var(--text); background: #fff;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .privacy-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.contact-form button { margin-top: 20px; cursor: pointer; }
.info-item { display: flex; gap: 14px; margin-bottom: 26px; }
.info-item .icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
}
.info-item h4 { margin-bottom: 4px; }
.info-item p { color: var(--muted); margin: 0; }

/* Success page */
.success-page { padding: 110px 0; text-align: center; }
.success-icon {
  width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--lime); color: #fff; font-size: 2rem; line-height: 74px; font-weight: 700;
}

/* Prose (privacy 등 문서형 페이지) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 38px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 13px; text-align: left; }
.prose th { background: var(--bg-alt); }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.78); padding: 60px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-grid > * { min-width: 0; }
.site-footer h3 { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-contact { font-size: .94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .card-grid, .strength-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 76px 0 68px; }
  .hero-content h1 { font-size: 2.15rem; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 10px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 9px 0; }
  .nav-links .highlight a { display: inline-block; }
  .nav-toggle { display: block; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 52px 0; }
  .card-grid, .card-grid.cols-2, .strength-grid, .steps, .steps.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 108px; white-space: normal; }
  .case dl { grid-template-columns: 74px 1fr; }
}
