/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --brand-900: #22407f;
  --brand-700: #2c50a3;
  --brand-500: #4f6fbc;
  --brand-100: #e9edf7;
  --amber: #e8a23b;
  --ink: #1b1f1e;
  --ink-soft: #4a5553;
  --ink-mute: #7a8583;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --pink-100: #fde4ec;
  --pink-200: #f6d3e1;
  --sky-100: #dcedf5;
  --sky-200: #c6e2ee;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(34, 64, 127, 0.10);
  --container: 1120px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}


/* ─── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brand-500); text-transform: uppercase; margin-bottom: .75rem;
}
.eyebrow.light { color: var(--brand-700); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 44ch; }
.section-desc { color: var(--ink-soft); max-width: 60ch; margin-bottom: 2rem; }
.note { font-size: .85rem; color: var(--ink-mute); margin-top: 1.5rem; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 6px 18px rgba(44,80,163,.3); }
.btn-primary:hover { background: var(--brand-900); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--brand-500); }
.btn-light { background: var(--brand-700); color: #fff; box-shadow: 0 6px 18px rgba(44,80,163,.25); }
.btn-light:hover { background: var(--brand-900); }
.btn-ghost { border-color: var(--brand-500); color: var(--brand-700); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; }
.btn-ico {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 6px;
  font-size: .75rem; font-weight: 900; color: #fff; line-height: 1;
}
.btn-ico.naver { background: #03c75a; }
.btn-ico.coupang { background: #e5322d; }
.btn-ico.kakao { background: #fee500; color: #191919; }
button.btn { cursor: pointer; font-family: inherit; line-height: inherit; }
.copy-hint { font-size: .78rem; font-weight: 600; opacity: .7; padding: .15rem .5rem; border-radius: 999px; background: rgba(0,0,0,.06); }
.btn-light .copy-hint { background: rgba(255,255,255,.2); }

/* ─── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.brand-footer img { height: 32px; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.site-nav a:not(.btn):hover { color: var(--brand-700); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(180deg, var(--pink-100) 0%, var(--pink-200) 48%, var(--sky-200) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-soft); font-size: .92rem; }
.hero-badges li::before { content: "✓"; color: var(--brand-500); font-weight: 900; margin-right: .4rem; }

.hero-visual { position: relative; min-height: 380px; }
.hero-card {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem; display: grid; gap: .25rem; max-width: 300px;
}
.hero-card strong { font-size: 1rem; }
.hero-card small { color: var(--ink-mute); font-size: .85rem; }
.card-a { top: 0; left: 8%; animation: float 7s ease-in-out infinite; }
.card-b { top: 42%; right: 0; animation: float 8s ease-in-out infinite 1s; }
.card-c { bottom: 0; left: 0; animation: float 9s ease-in-out infinite 2s; }
.pill {
  display: inline-block; width: fit-content; font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  padding: .25rem .6rem; border-radius: 999px; background: var(--brand-700); color: #fff; margin-bottom: .35rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-500); margin-bottom: .35rem; }
.dot-2 { background: var(--amber); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }

/* ─── Sections ──────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.prose p { color: var(--ink-soft); font-size: 1.05rem; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature, .product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: transform .2s, box-shadow .2s;
}
.feature:hover, .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p, .product-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.feature-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700); font-weight: 900; font-size: 1.2rem; margin-bottom: 1rem;
}
.product-card h3 { margin-bottom: .35rem; }
.tag {
  display: inline-block; margin-top: 1rem; font-size: .78rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: 999px; background: var(--brand-100); color: var(--brand-700);
}

/* ─── Steps ─────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-5 h3 { font-size: 1.05rem; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-700); color: #fff; font-weight: 800; margin-bottom: 1rem;
}
.callout {
  background: var(--card); border-left: 4px solid var(--amber); border-radius: 12px;
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow);
}
.callout h3 { font-size: 1rem; margin-bottom: .4rem; }
.callout p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.callout-request { margin-top: 1.5rem; border-left-color: var(--brand-500); }

/* ─── Values / Partners / Guide ─────────────────────────── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.value { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.25rem; border-top: 2px solid var(--brand-500); }
.value-num { position: absolute; left: 1.5rem; top: 1.6rem; font-weight: 800; color: var(--brand-500); letter-spacing: .05em; }
.value h3 { margin-bottom: .35rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.certs { margin-top: 2.5rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand-700); border-radius: var(--radius); padding: 1.75rem 2rem; box-shadow: var(--shadow); }
.certs-copy h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.certs-copy p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.certs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.certs-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem .9rem; border-radius: 10px; background: var(--brand-100); font-size: .9rem; }
.certs-list span { color: var(--ink-soft); }
.certs-list strong { color: var(--brand-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-main { border-color: var(--brand-500); }
.tag-strong { background: var(--brand-700); color: #fff; margin: 0 0 .75rem; }
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.guide-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.footer-links { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-links a { color: var(--ink-soft); font-weight: 600; }
.footer-links a:hover { color: var(--brand-700); }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list { display: grid; gap: .75rem; margin-top: 2rem; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.25rem; }
details[open] { border-color: var(--brand-500); }
summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 1.1rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; color: var(--brand-500); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); padding-bottom: 1.1rem; margin: 0; }

/* ─── CTA / Contact ─────────────────────────────────────── */
.section-cta { background: linear-gradient(135deg, var(--sky-100), var(--pink-100)); color: var(--ink); }
.section-cta .lead { color: var(--ink-soft); }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.contact-list { margin: 0; display: grid; gap: .9rem; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: .5rem; }
.contact-list dt { color: var(--ink-mute); font-size: .9rem; }
.contact-list dd { margin: 0; font-weight: 600; }

/* ─── Footer ────────────────────────────────────────────── */
.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--line); background: var(--bg-alt); font-size: .88rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.footer-desc { margin-top: .75rem; color: var(--ink-mute); }
.biz-info { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 1.5rem; }
.biz-info div { display: flex; gap: .5rem; }
.biz-info dt { color: var(--ink-mute); flex: 0 0 auto; }
.biz-info dd { margin: 0; }
.legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: .8rem; }
.legal p { margin-bottom: .5rem; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .two-col, .cta-grid, .footer-grid, .certs { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-4, .steps, .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .75rem; justify-content: center; border-bottom: 0; }
  .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); }
  .grid-4, .grid-3, .steps, .steps-5, .values { grid-template-columns: 1fr; }
  .biz-info { grid-template-columns: 1fr; }
  .certs { padding: 1.25rem; }
  .certs-list li { flex-direction: column; gap: .15rem; }
  .contact-list div { grid-template-columns: 1fr; gap: .1rem; }
  .btn { width: 100%; justify-content: center; }
}

/* ─── Legal pages (terms / privacy) ─────────────────────── */
.site-nav-simple { display: flex !important; position: static; }
.site-nav-simple a[aria-current="page"] { color: var(--brand-700); }
.legal-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
.legal-page h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.legal-page h2 { font-size: 1.15rem; margin: 2.25rem 0 .6rem; }
.legal-meta { color: var(--ink-mute); font-size: .9rem; }
.legal-notice { background: var(--bg-alt); border-left: 4px solid var(--amber); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.5rem 0 2rem; }
.legal-notice p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: .97rem; }
.legal-page ol, .legal-page ul { padding-left: 1.4rem; margin: 0 0 1em; }
.legal-page li { margin-bottom: .4rem; }
.legal-page li ul { margin-top: .4rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: .75rem 0 1em; font-size: .92rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-table th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.legal-contact { margin: .75rem 0 1em; display: grid; gap: .4rem; }
.legal-contact div { display: grid; grid-template-columns: 160px 1fr; gap: .5rem; }
.legal-contact dt { color: var(--ink-mute); }
.legal-contact dd { margin: 0; font-weight: 600; color: var(--ink); }
.legal-back { margin-top: 3rem; }
@media (max-width: 720px) {
  .site-nav-simple { position: static; flex-direction: row; gap: 1rem; padding: 0; border: 0; background: none; font-size: .85rem; }
  .site-nav-simple a { padding: 0; border: 0; }
  .site-header:has(.site-nav-simple) .brand img { height: 32px; }
  .legal-contact div { grid-template-columns: 1fr; gap: .1rem; }
  .legal-table { display: block; overflow-x: auto; }
}
