/* ANSC — clean product-site style (white, zinc, hairline borders, square corners).
   Colours are referenced only through --c-* variables (injected by app.jsx).
   Derived tones are color-mix() of those tokens, so every palette (incl. dark) stays consistent. */

:root {
  --c-ivory: #FFFFFF; --c-pinkSoft: #F7EBD3; --c-pink: #D9A441; --c-pinkDeep: #93620F;
  --c-sage: #3D8201; --c-sageSoft: #F3F5EF; --c-ink: #1A2414; --c-muted: #666E60;
  --headline-weight: 600;
  --radius: 0px;

  --line: color-mix(in srgb, var(--c-ink) 12%, var(--c-ivory));
  --line-soft: color-mix(in srgb, var(--c-ink) 6%, var(--c-ivory));
  --line-strong: color-mix(in srgb, var(--c-ink) 22%, var(--c-ivory));
  --hover: color-mix(in srgb, var(--c-ink) 4%, var(--c-ivory));

  --sans: 'Geist', 'Noto Sans KR', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', 'Noto Sans KR', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  background: var(--c-ivory); color: var(--c-ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.18; font-weight: var(--headline-weight); letter-spacing: -.03em; }
.h1 em { color: var(--c-sage); white-space: nowrap; }
.h2 { max-width: 24ch; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; font-weight: var(--headline-weight); letter-spacing: -.025em; text-wrap: balance; }
.lead { margin-top: 14px; max-width: 54ch; font-size: 18px; line-height: 1.65; color: var(--c-muted); text-wrap: pretty; }
.lead--hero { margin-top: 22px; }
.lead--flush { margin-top: 0; }

/* ---------- buttons / badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 500;
  border-radius: var(--radius); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s ease;
}
.btn--dark { background: var(--c-ink); color: var(--c-ivory); }
.btn--dark:hover { background: color-mix(in srgb, var(--c-ink) 78%, var(--c-ivory)); }
.btn--line { background: var(--c-ivory); color: var(--c-ink); border-color: var(--line-strong); }
.btn--line:hover { background: var(--hover); }
.btn--kakao { border-color: transparent; }
.btn--kakao:hover { filter: brightness(.96); }
.btn--sm { padding: 7px 13px; font-size: 13px; }
.btn--block { width: 100%; }
.badge { display: inline-block; padding: 2px 6px; border-radius: 4px; background: var(--c-pinkSoft); color: var(--c-pinkDeep); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--c-ivory) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.nav__brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__links { display: flex; gap: 24px; margin-right: 18px; }
.nav__links a { font-size: 14px; color: var(--c-muted); text-decoration: none; }
.nav__links a:hover { color: var(--c-ink); }

/* ---------- hero ---------- */
.hero { padding: 80px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); margin-bottom: 20px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--c-muted); }
.trust-row li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; margin: 0 18px 3px 0; }
.trust-row b { color: var(--c-ink); font-weight: 600; margin-right: 4px; }
/* hero visual — clean frame, tight crop on the logo, one-time entrance */
.visual {
  margin: 0; width: 100%; max-width: 480px; justify-self: end;
  display: grid; place-items: center;
  animation: rise .9s cubic-bezier(.19, 1, .22, 1) both;
}
.visual img { display: block; width: 66%; height: auto; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* icon chips */
.chip {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: color-mix(in srgb, var(--c-sage) 10%, var(--c-ivory));
}
.chip--lg { width: 48px; height: 48px; border-radius: 12px; }
.chip--brand { border-radius: 12px; }

.cats { margin-top: 64px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cats li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 12px; background: var(--c-sageSoft); font-weight: 600; letter-spacing: -.01em; transition: background .2s; }
.cats li:hover { background: color-mix(in srgb, var(--c-sage) 8%, var(--c-ivory)); }
.cats .chip { background: var(--c-ivory); }

/* ---------- sections ---------- */
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.sec--invert { background: var(--c-ink); color: var(--c-ivory); border-top: 0; }

/* features 2×2 with inner rules */
.features { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; }
.features > div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.features > div:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.features > div:nth-child(even) { padding-left: 32px; }
.features > div:nth-last-child(-n+2) { border-bottom: 0; }
.features dt { margin-top: 16px; font-weight: 600; font-size: 17px; }
.features dd { margin-top: 6px; color: var(--c-muted); text-wrap: pretty; }

/* 셀러 공구 진행 방식 (타임라인) */
.sec--tint { background: var(--c-sageSoft); }
.flow { margin-top: 48px; display: grid; grid-template-columns: repeat(6, 1fr); }
.flow li { position: relative; padding-right: 20px; border-top: 1px solid var(--line-strong); }
.flow__n {
  display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -15px 0 16px;
  background: var(--c-ivory); border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.flow h3 { font-size: 16px; font-weight: 600; }
.flow p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--c-muted); text-wrap: pretty; }
.flow__note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--c-muted); }

/* 어두운 배경(강점 섹션)용 */
.sec--invert + .sec { border-top: 0; }
.sec--invert .features > div { border-color: color-mix(in srgb, var(--c-ivory) 14%, var(--c-ink)); }
.sec--invert .features dd { color: color-mix(in srgb, var(--c-ivory) 66%, var(--c-ink)); }
.sec--invert .chip { background: color-mix(in srgb, var(--c-ivory) 9%, var(--c-ink)); }

/* partnership cards */
.cards2 { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card__head { display: flex; align-items: center; gap: 14px; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.card__cols { flex: 1; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.card__k { font-size: 12px; font-weight: 500; color: var(--c-muted); margin-bottom: 10px; }
.card__cols li { font-size: 15px; padding: 4px 0; line-height: 1.5; }
.checks li { position: relative; padding-left: 20px !important; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--c-sage); font-weight: 600; }
.card__cta { margin-top: 28px; align-self: flex-start; }


/* about */
.about { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tl { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 1px solid var(--line); }
.tl td { padding: 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tl td:first-child { width: 64px; color: var(--c-sage); font-family: var(--mono); font-size: 13px; padding-top: 16px; }

/* faq */
.faq__list { margin-top: 36px; max-width: 760px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-weight: 500; color: var(--c-ink);
}
.faq__sign { font-size: 20px; color: var(--c-muted); width: 20px; text-align: center; }
.faq__item p { padding: 0 36px 22px 0; color: var(--c-muted); }
.faq__item p a { color: var(--c-ink); text-underline-offset: 3px; }

/* apply */
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.channels { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channels li:last-child:nth-child(odd) { grid-column: span 2; }
.channels a {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.channels a:hover { border-color: var(--line-strong); background: var(--hover); transform: translateY(-1px); }
/* 링크 없는 안내 카드(전화번호) — 모양은 같고 눌림 효과만 없음 */
.channels__static { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.channels__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
.channels__txt small { font-size: 12px; color: var(--c-muted); }
.channels__txt b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channels__go { color: var(--c-muted); opacity: 0; transition: opacity .15s, transform .15s; }
.channels a:hover .channels__go { opacity: 1; transform: translateX(2px); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-card form { display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label > span, .form-card legend { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-card fieldset { border: 0; }
.form-card input:not([type=radio]), .form-card select, .form-card textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--c-ink);
  background: var(--c-ivory); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--c-ink); outline-offset: -1px; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; cursor: pointer; }
.radio input { accent-color: var(--c-ink); }
.radio.is-on { border-color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }
.radios--fill { display: grid; grid-template-columns: repeat(3, 1fr); }
/* 셀러 선택 시 나타나는 SNS 칸 — 부드럽게 등장 */
.reveal { animation: reveal-in .25s ease-out both; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.radios--fill .radio { justify-content: center; padding: 10px 12px; font-size: 15px; }
.err { display: block; margin-top: 6px; font-size: 13px; color: var(--c-pinkDeep); }
.fine { font-size: 12px; color: var(--c-muted); text-align: center; }
.done { text-align: center; padding: 36px 8px; }
.done__check { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--c-sage); font-weight: 600; margin-bottom: 16px; }
.done h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.done p { color: var(--c-muted); margin-bottom: 24px; }

/* ---------- footer ---------- */
.footer { background: var(--c-ink); color: color-mix(in srgb, var(--c-ivory) 62%, var(--c-ink)); padding: 56px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 32px; }
.footer__brand { display: flex; align-items: center; gap: 8px; color: var(--c-ivory); font-weight: 600; letter-spacing: .04em; margin-bottom: 12px; }
.footer h4 { color: var(--c-ivory); font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.footer p { line-height: 1.85; }
.footer a { color: var(--c-ivory); text-underline-offset: 3px; }
.footer__icons { display: flex; gap: 8px; margin-top: 14px; }
.footer__icons a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px;
  background: color-mix(in srgb, var(--c-ivory) 10%, var(--c-ink)); transition: transform .15s;
}
.footer__icons a:hover { transform: translateY(-2px); }
.footer__privacy { font-weight: 600; text-decoration: none; }
.footer__privacy:hover { text-decoration: underline; }

/* consent + send states */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px; background: var(--c-sageSoft); border-radius: var(--radius); }
.consent__check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.consent__check input { width: 16px; height: 16px; accent-color: var(--c-sage); }
.consent__check b { color: var(--c-sage); font-weight: 600; }
.consent__more { background: none; border: 0; font: inherit; font-size: 13px; color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--c-ivory); border: 1px solid var(--line); }
.consent__table th, .consent__table td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.consent__table th { width: 84px; font-weight: 500; color: var(--c-muted); white-space: nowrap; }
.consent__note { width: 100%; font-size: 12px; color: var(--c-muted); }
.consent__note a { color: var(--c-ink); }
.consent .err { width: 100%; margin-top: 0; }
/* 폼 공통 입력칸 스타일(가로 100%·블록 라벨)이 동의 체크박스에 걸리지 않도록 덮어씀 */
.form-card .consent__check input { width: 16px; height: 16px; padding: 0; flex: none; border: 0; }
.form-card .consent__check > span { display: inline; margin: 0; font-size: 14px; font-weight: 400; }
.btn:disabled { opacity: .6; cursor: progress; }
.send-error { font-size: 13px; line-height: 1.6; color: var(--c-pinkDeep); }
.send-error a { color: var(--c-ink); font-weight: 600; }

.footer__copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--c-ivory) 12%, var(--c-ink)); font-size: 12px; }

/* ---------- sticky cta (optional) ---------- */
.sticky-cta { position: fixed; right: 20px; bottom: 20px; z-index: 50; transform: translateY(160%); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.sticky-cta.is-visible { transform: none; opacity: 1; }

/* ---------- tweaks panel (editor only) ---------- */
.tweaks-panel { position: fixed; right: 16px; top: 68px; z-index: 60; font-size: 13px; }
.tweaks-panel__toggle { background: var(--c-ink); color: var(--c-ivory); border: 0; border-radius: var(--radius); padding: 7px 12px; cursor: pointer; font: inherit; font-size: 12px; }
.tweaks-panel__body { margin-top: 8px; width: 240px; background: var(--c-ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--c-ink) 25%, transparent); }
.tweak-section + .tweak-section { margin-top: 14px; }
.tweak-section-title { font-weight: 500; color: var(--c-muted); margin-bottom: 8px; }
.tweak-color-options, .tweak-radio-options { display: flex; gap: 8px; flex-wrap: wrap; }
.tweak-color-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c-ivory); outline: 1px solid var(--line-strong); cursor: pointer; }
.tweak-color-swatch--active { outline: 2px solid var(--c-ink); }
.tweak-radio-btn { border: 1px solid var(--line-strong); background: var(--c-ivory); color: var(--c-ink); border-radius: var(--radius); padding: 5px 10px; cursor: pointer; font: inherit; font-size: 12px; }
.tweak-radio-btn--active { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); }
.tweak-toggle-row { display: flex; justify-content: space-between; align-items: center; }
.tweak-slider-row input { width: 100%; accent-color: var(--c-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .card__cols { grid-template-columns: 1fr; gap: 18px; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .nav__links { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero__grid, .features, .cards2, .about, .apply, .row2 { grid-template-columns: 1fr; }
  /* 모바일: 세로 타임라인 */
  .flow { grid-template-columns: 1fr; row-gap: 0; margin-top: 32px; }
  .flow li { border-top: 0; border-left: 1px solid var(--line-strong); padding: 0 0 24px 28px; margin-left: 15px; }
  .flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .flow__n { position: absolute; left: -15px; top: -4px; margin: 0; }
  .hero__grid { gap: 36px; }
  .lead { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .trust-row li + li::before { display: none; }
  .visual { display: none; }
  .channels { grid-template-columns: 1fr; }
  .channels li:last-child:nth-child(odd) { grid-column: auto; }
  .cats { margin-top: 40px; grid-template-columns: 1fr 1fr; }
  .cats li { justify-content: flex-start; padding: 16px; font-size: 15px; }
  .cats li:last-child { grid-column: span 2; }
  .sec { padding: 64px 0; }
  .features > div, .features > div:nth-child(odd), .features > div:nth-child(even) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sec--invert .features > div { border-bottom-color: color-mix(in srgb, var(--c-ivory) 14%, var(--c-ink)); }
  .features > div:last-child { border-bottom: 0; }
  .card, .form-card { padding: 22px 18px; }
  .about, .apply { gap: 36px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .tweaks-panel { top: auto; bottom: 16px; }
}

/* 아주 좁은 화면(구형 소형폰): 상단 메뉴가 넘치지 않도록 한글 상호만 숨김 */
@media (max-width: 359px) {
  .nav__brand-ko { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .visual { animation: none; }
}
