/* 쏠쏠 브랜드 사이트 — 베이스 + 공용 컴포넌트 (목업) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-b1);
  line-height: var(--lh-normal);
  color: var(--c-text-900);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4,h5,h6 { line-height: var(--lh-tight); font-weight: var(--fw-bold); letter-spacing: -0.02em; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--c-ink-0); color: var(--c-text-on); }
.section--soft { background: var(--c-bg-soft); }
.eyebrow {
  display: inline-block; font-size: var(--fs-b3); font-weight: var(--fw-bold);
  color: var(--c-primary); letter-spacing: .02em; margin-bottom: 14px;
}
.section--dark .eyebrow { color: #ff5a60; }
.section-title { font-size: var(--fs-h3); margin-bottom: 14px; }
.section-desc { font-size: var(--fs-b1); color: var(--c-text-500); line-height: var(--lh-relaxed); }
.section--dark .section-desc { color: var(--c-text-200); }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding-inline: 22px; border-radius: var(--r-md);
  font-size: var(--fs-b1); font-weight: var(--fw-semibold); white-space: nowrap;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-press); }
.btn--dark { background: var(--c-ink-1); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--c-text-900); border: 1px solid var(--c-line-strong); }
.btn--ghost:hover { border-color: var(--c-text-900); }
.btn--on-dark { background: #fff; color: var(--c-ink-0); }
.btn--on-dark:hover { background: #f1f1f1; }
.btn--block { width: 100%; }
.btn--sm { height: 38px; padding-inline: 14px; font-size: var(--fs-b2); }
.btn--lg { height: 54px; padding-inline: 30px; font-size: 17px; }

/* ── Card ── */
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }

/* ── Badge / Pill ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding-inline: 11px;
  border-radius: var(--r-full); font-size: var(--fs-cap); font-weight: var(--fw-semibold);
  background: var(--c-primary-soft); color: var(--c-primary);
}
.badge--dark { background: rgba(255,255,255,.12); color: #fff; }

/* ── Form ── */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > label { font-size: var(--fs-b2); font-weight: var(--fw-semibold); color: var(--c-text-700); }
.input {
  height: 50px; padding-inline: 16px; border: 1px solid var(--c-line-strong);
  border-radius: var(--r-md); font-size: var(--fs-b1); color: var(--c-text-900); background: #fff;
  width: 100%; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--c-text-300); }
.input:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }

/* ── Auth / status centered card ── */
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 64px 20px; background: var(--c-bg-softer); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-2xl); padding: 40px 36px; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: var(--fs-h4); text-align: center; }
.auth-sub { text-align: center; color: var(--c-text-500); font-size: var(--fs-b2); margin-top: 8px; margin-bottom: 28px; }
.auth-foot { text-align: center; font-size: var(--fs-b2); color: var(--c-text-500); margin-top: 20px; }
.auth-foot a { color: var(--c-primary); font-weight: var(--fw-semibold); }

.status-icon { width: 72px; height: 72px; border-radius: var(--r-full); display: grid; place-items: center; margin: 0 auto 22px; font-size: 34px; }
.status-icon--ok { background: #e9f9e8; color: var(--c-success); }
.status-icon--warn { background: #fff4e6; color: var(--c-warning); }
.status-icon--err { background: var(--c-primary-soft); color: var(--c-primary); }
.status-icon--info { background: #e6f2fd; color: var(--c-info); }

/* ── Header (chrome.js 가 주입) ── */
.gnb { position: sticky; top: 0; z-index: 50; height: 64px; background: rgba(16,16,16,.98); color: #fff; }
.gnb-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.gnb-brand { display: flex; align-items: center; gap: 8px; font-weight: var(--fw-bold); font-size: 20px; letter-spacing: -.02em; }
.gnb-brand .dot { width: 22px; height: 22px; border-radius: 6px; background: var(--c-primary); display: inline-block; }
.gnb-nav { display: flex; gap: 26px; margin-right: auto; }
.gnb-nav a { font-size: var(--fs-b2); font-weight: var(--fw-medium); color: #d8d8d8; }
.gnb-nav a:hover { color: #fff; }
.gnb-actions { display: flex; align-items: center; gap: 10px; }
.gnb-login { font-size: var(--fs-b2); font-weight: var(--fw-medium); color: #d8d8d8; }
.gnb-login:hover { color: #fff; }

/* ── Footer ── */
.footer { background: var(--c-ink-0); color: #b8b8b8; padding-block: 56px 40px; font-size: var(--fs-b2); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-size: 20px; font-weight: var(--fw-bold); color: #fff; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: var(--fs-b2); color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; color: #9a9a9a; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; color: #7a7a7a; font-size: var(--fs-b3); }

/* ── Responsive ── */
@media (max-width: 880px) {
  :root { --fs-h1: 32px; --fs-h2: 28px; --fs-h3: 24px; --section-y: 64px; }
  .gnb-nav { display: none; }
}
