/* ════════════════════════════════════════════
   주식회사 한지 — 공통 스타일 (랜딩 페이지용)
   index.html 의 디자인 토큰과 동일하게 맞춰져 있습니다.
   ════════════════════════════════════════════ */
:root {
  --bg:        #FBFAF7;
  --bg2:       #F4F1EB;
  --surface:   #FFFFFF;
  --primary:   #2E7D6B;
  --primary-dk:#23624F;
  --primary-lt:#E8F2EE;
  --accent:    #B8956A;
  --accent-lt: #F6EFE3;
  --navy:      #2C3E50;
  --navy-lt:   #ECF1F5;
  --text:      #1F2A37;
  --sub:       #4B5A6B;
  --muted:     #8C97A3;
  --border:    #E5E1D8;
  --line:      #EFEBE2;
  --shadow:    0 2px 16px rgba(31,42,55,0.06);
  --shadow-lg: 0 12px 36px rgba(31,42,55,0.10);
}

* { margin:0; padding:0; box-sizing:border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'SUIT Variable', SUIT, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.018em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── NAV ── */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 60px; height: 72px;
  background: rgba(251,250,247,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); letter-spacing: -0.4px; text-decoration: none;
}
.logo .dot { display:inline-block; width:9px; height:9px; background:var(--primary); border-radius:50%; }
.logo small { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
nav ul { list-style:none; display:flex; gap:36px; align-items:center; }
nav ul a { color: var(--sub); text-decoration: none; font-size: 15px; font-weight: 700; transition: color .2s; }
nav ul a:hover { color: var(--primary); }
.nav-cta { background: var(--primary) !important; color:#fff !important; padding:10px 22px; border-radius:4px; transition: background .2s !important; }
.nav-cta:hover { background: var(--primary-dk) !important; }
.nav-toggle { display:none; background:transparent; border:none; cursor:pointer; padding:10px; width:44px; height:44px; flex-direction:column; justify-content:center; align-items:center; gap:5px; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--primary); color:#fff; padding:15px 32px; border-radius:4px;
  font-size:15px; font-weight:700; text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-1px); }
.btn-primary::after { content:'→'; transition: transform .2s; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost {
  background: var(--surface); border:1px solid var(--border); color:var(--text);
  padding:15px 32px; border-radius:4px; font-size:15px; font-weight:700; text-decoration:none;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 22px 60px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--border); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 60px 60px 72px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(46,125,107,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.page-hero .eyebrow {
  font-size: 13px; font-weight: 800; color: var(--primary);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.25;
  letter-spacing: -0.04em; color: var(--text); max-width: 820px;
}
.page-hero h1 .accent { color: var(--primary); }
.page-hero .lead {
  font-size: 17px; color: var(--sub); line-height: 1.95; margin: 26px 0 34px; max-width: 680px;
}
.page-hero .btns { display:flex; gap:12px; flex-wrap:wrap; }
.page-hero .trust { margin-top: 30px; display:flex; gap:22px; flex-wrap:wrap; }
.page-hero .trust span { font-size:13px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.page-hero .trust span::before { content:'✓'; color:var(--primary); font-weight:700; }

/* ── SECTION COMMONS ── */
.section { padding: 90px 60px; }
.section.alt { background: var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-label { font-size:12px; color:var(--primary); letter-spacing:4px; margin-bottom:14px; font-weight:800; }
.section-title { font-size: clamp(26px, 3vw, 36px); font-weight:800; margin-bottom:18px; line-height:1.35; color:var(--text); letter-spacing:-0.02em; }
.section-title span { color: var(--primary); }
.section-intro { font-size:16px; color:var(--sub); line-height:1.95; margin-bottom:48px; max-width:660px; }

/* ── FEATURE GRID ── */
.feature-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.feature-card {
  background: var(--surface); border:1px solid var(--border); border-radius:10px; padding:32px 28px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.feature-card:hover { border-color:var(--primary); transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.feature-card .ico { width:48px; height:48px; border-radius:8px; background:var(--primary-lt); display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px; }
.feature-card.accent .ico { background: var(--accent-lt); }
.feature-card.navy .ico { background: var(--navy-lt); }
.feature-card h3 { font-size:18px; font-weight:800; margin-bottom:10px; color:var(--text); letter-spacing:-0.02em; }
.feature-card p { font-size:14.5px; color:var(--sub); line-height:1.85; }

/* ── TAGS ── */
.tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:18px; }
.tag { font-size:12px; padding:5px 12px; border-radius:100px; font-weight:700; background:var(--bg2); color:var(--sub); }

/* ── STACK STRIP ── */
.stack-strip { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.stack-col { background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:24px 22px; }
.stack-col h4 { font-size:12px; letter-spacing:2px; font-weight:800; color:var(--primary); margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid var(--border); }
.stack-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.stack-col li { font-size:14px; color:var(--sub); display:flex; align-items:center; gap:9px; }
.stack-col li::before { content:''; width:4px; height:4px; background:var(--primary); border-radius:50%; flex-shrink:0; }

/* ── CHECKLIST ── */
.checklist { display:grid; grid-template-columns: repeat(2,1fr); gap:16px 32px; max-width:880px; }
.checklist .item { display:flex; gap:14px; align-items:flex-start; }
.checklist .item .mark { width:26px; height:26px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; flex-shrink:0; }
.checklist .item .t { font-weight:700; color:var(--text); font-size:15px; margin-bottom:2px; }
.checklist .item .d { font-size:14px; color:var(--sub); line-height:1.7; }

/* ── FAQ ── */
.faq { max-width: 820px; }
.faq details { border:1px solid var(--border); border-radius:10px; padding:0 22px; margin-bottom:12px; background:var(--surface); }
.faq summary { cursor:pointer; font-weight:700; font-size:15.5px; color:var(--text); padding:20px 0; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; color:var(--primary); font-size:22px; font-weight:400; }
.faq details[open] summary::after { content:'−'; }
.faq details p { font-size:14.5px; color:var(--sub); line-height:1.9; padding:0 0 22px; }

/* ── CTA BAND ── */
.cta-band { padding: 80px 60px; background: linear-gradient(135deg, var(--primary-lt), #F4F1EB); text-align:center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight:800; color:var(--text); letter-spacing:-0.02em; margin-bottom:14px; }
.cta-band p { font-size:16px; color:var(--sub); margin-bottom:30px; }

/* ── FOOTER ── */
footer { padding: 56px 60px 36px; background: var(--text); color:#C7CCD3; }
.footer-top { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:48px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-brand .footer-logo { font-size:22px; color:#fff; font-weight:800; margin-bottom:12px; }
.footer-brand p { font-size:13px; color:#8C97A3; line-height:1.85; max-width:360px; }
.footer-col h5 { font-size:13px; color:#fff; font-weight:700; margin-bottom:16px; letter-spacing:1px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col a { font-size:13px; color:#8C97A3; text-decoration:none; transition: color .2s; }
.footer-col a:hover { color:#fff; }
.footer-col p { font-size:13px; color:#8C97A3; line-height:1.85; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; margin-top:28px; font-size:12px; color:#6B7682; flex-wrap:wrap; gap:8px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-toggle { display:flex; }
  nav ul {
    position: absolute; top: 72px; left:0; right:0;
    background: var(--surface); border-bottom:1px solid var(--line);
    flex-direction: column; gap:0; align-items:stretch;
    max-height:0; overflow:hidden; transition: max-height .3s; box-shadow: var(--shadow);
  }
  nav ul.open { max-height: 420px; }
  nav ul li { width:100%; }
  nav ul a { display:block; padding:16px 20px; border-bottom:1px solid var(--line); }
  nav ul li:last-child a { border-bottom:none; }
  nav ul .nav-cta { margin:12px 20px; text-align:center; }
}
@media (max-width: 820px) {
  .page-hero, .section, .cta-band, footer { padding-left:20px; padding-right:20px; }
  .breadcrumb { padding-left:20px; padding-right:20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stack-strip { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap:28px; }
}
@media (max-width: 480px) {
  .stack-strip { grid-template-columns: 1fr; }
}
