/* OURPALETTE 브랜드 모집 랜딩 — 운영센터와 같은 토큰(#191f28 · #3182f6)을 쓰는 라이트 테마 */
:root {
  --text: #191f28; --sub: #4e5968; --muted: #8b95a1; --line: #e5e8eb; --soft: #f2f4f6; --bg: #ffffff; --bg-alt: #f9fafb;
  --blue: #3182f6; --blue-d: #1b64da; --blue-soft: #e8f3ff; --red: #f04452; --ok: #20c997;
  --r: 20px; --r-sm: 14px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(20,30,50,.06);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(49,130,246,.45); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 14px; font: inherit; font-weight: 700; font-size: 16px; padding: 13px 20px; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; } .btn-primary:hover { background: var(--blue-d); }
.btn-ghost { background: var(--soft); color: var(--sub); } .btn-ghost:hover { background: #e8ebed; }
.btn-lg { font-size: 17px; padding: 16px 24px; border-radius: 16px; }
.btn-sm { font-size: 14px; padding: 9px 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(229,232,235,.7); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; text-decoration: none; font-size: 17px; }
.logo-mark { width: 28px; height: 28px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--sub); }
.nav-links a { text-decoration: none; } .nav-links a:hover { color: var(--text); }

/* hero */
.hero { padding: 96px 0 88px; background: linear-gradient(180deg, #f5f9ff 0%, #fff 70%); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--sub); margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.cta-row.center { justify-content: center; margin-top: 48px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 36em; }
.hero-visual { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.chain { display: grid; gap: 10px; }
.chain-item { position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--bg-alt); }
.chain-item + .chain-item::before { content: ''; position: absolute; left: 37px; top: -10px; width: 2px; height: 10px; background: #d1d6db; }
.chain-item .ci-n { grid-row: 1 / 3; align-self: center; font-size: 13px; font-weight: 800; color: var(--muted); }
.chain-item b { font-size: 17px; } .chain-item span:last-child { font-size: 14px; color: var(--sub); }
.chain-item.hot { background: var(--blue-soft); } .chain-item.hot .ci-n, .chain-item.hot b { color: var(--blue); }
.chain-cap { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* principle */
.principle { background: var(--text); color: #fff; padding: 64px 0; text-align: center; }
.principle p { font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.45; }
.principle strong { color: #8cc0ff; }

/* sections */
.sec { padding: 112px 0; }
.sec-alt { background: var(--bg-alt); }
.sec h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.sec-lead { font-size: 18px; color: var(--sub); margin-top: 18px; max-width: 40em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* why group buy */
.flows { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; margin-top: 48px; }
.flow-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: #fff; }
.flow-card.accent { border-color: #cfe3ff; background: #f7fbff; }
.flow-h { font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.flow { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow li { background: var(--soft); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; display: flex; align-items: center; }
.flow-card.accent .flow li { background: #fff; border: 1px solid #d6e6ff; }
.flow li + li::before { content: '→'; color: var(--muted); margin: 0 10px 0 -2px; font-weight: 400; }
.flow-d { color: var(--sub); font-size: 15px; }
.caveat { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* why pallets */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.pcard { background: #fff; border-radius: var(--r); padding: 28px 24px; border: 1px solid var(--line); }
.pcard-n { font-size: 13px; font-weight: 800; color: var(--blue); }
.pcard h3 { font-size: 20px; margin: 14px 0 10px; }
.pcard p { color: var(--sub); font-size: 15px; }

/* problem (3 cards) */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.cards3 .pcard { background: var(--bg-alt); border: 0; }
/* matching structure */
.mflow { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mflow li { position: relative; background: var(--bg-alt); border-radius: var(--r-sm); padding: 20px 16px 22px; display: flex; flex-direction: column; gap: 6px; }
.mflow li::after { content: ''; position: absolute; right: -8px; top: 30px; width: 6px; height: 6px; border-top: 2px solid #c4cad0; border-right: 2px solid #c4cad0; transform: rotate(45deg); }
.mflow li:last-child::after { display: none; }
.mflow li.hot { background: var(--blue-soft); }
.mf-k { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.mflow li.hot .mf-k, .mflow li.hot b { color: var(--blue); }
.mflow b { font-size: 16px; line-height: 1.4; }
.mflow span:last-child { font-size: 13.5px; color: var(--sub); }
.mflow.five { grid-template-columns: repeat(5, 1fr); margin-bottom: 14px; }
.checks.one { grid-template-columns: 1fr; margin-top: 24px; }
/* hero: real collaboration image stack */
.hero { overflow-x: clip; }
.hero-stack { position: relative; display: block; height: 440px; text-decoration: none; }
.hero-stack img { position: absolute; width: 58%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 50px rgba(20,30,50,.18); border: 4px solid #fff; }
.hs-1 { right: 0; top: 0; transform: rotate(4deg); }
.hs-2 { left: 4%; top: 40px; transform: rotate(-5deg); z-index: 2; }
.hs-3 { right: 12%; bottom: 0; width: 46% !important; transform: rotate(1deg); z-index: 3; }
.hs-cap { position: absolute; left: 0; bottom: -6px; z-index: 4; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 7px 12px; }
/* cross link to the other page */
.cross { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.cross a { color: var(--blue); font-weight: 700; text-decoration: none; }
.nav-links a.nav-alt { color: var(--blue); font-weight: 600; }

/* steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.steps li { position: relative; background: var(--bg-alt); border-radius: var(--r-sm); padding: 22px 20px 24px; }
.steps li::after { content: ''; position: absolute; right: -9px; top: 32px; width: 6px; height: 6px; border-top: 2px solid #c4cad0; border-right: 2px solid #c4cad0; transform: rotate(45deg); }
.steps li:nth-child(4n)::after, .steps li:last-child::after { display: none; }
.steps li.loop { grid-column: span 2; }
.steps .st-n { display: block; font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .04em; }
.steps b { display: block; font-size: 17px; margin: 10px 0 6px; }
.steps p { font-size: 14px; color: var(--sub); }
.steps li.loop { background: var(--blue-soft); }

/* after review */
.read { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: r; }
.read li { counter-increment: r; background: #fff; border-radius: var(--r-sm); padding: 18px 20px 18px 56px; position: relative; border: 1px solid var(--line); }
.read li::before { content: counter(r); position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.read b { display: block; font-size: 16px; } .read span { font-size: 14px; color: var(--muted); }

/* fit */
.checks { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { background: var(--bg-alt); border-radius: var(--r-sm); padding: 18px 20px 18px 52px; position: relative; font-size: 16px; font-weight: 600; }
.checks li::before { content: '✓'; position: absolute; left: 20px; top: 17px; color: var(--blue); font-weight: 800; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.cats-l { font-size: 14px; color: var(--muted); margin-right: 6px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.sec details summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.sec details summary::-webkit-details-marker { display: none; }
.sec details summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--muted); font-weight: 400; }
.sec details[open] summary::after { content: '–'; }
.sec details p { color: var(--sub); padding: 0 0 18px; }
#faq h2 { margin-bottom: 24px; }

/* form */
.apply { background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
.form { margin-top: 36px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 32px; border: 1px solid var(--line); }
.progress { margin-bottom: 28px; }
.progress-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.progress-bar { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .3s; }
.progress-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12.5px; color: var(--muted); }
.progress-steps li.on { color: var(--blue); font-weight: 700; } .progress-steps li.done { color: var(--sub); }
fieldset.step { border: 0; padding: 0; margin: 0; display: none; }
fieldset.step.on { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
legend { font-size: 22px; font-weight: 800; margin-bottom: 18px; padding: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--sub); }
.fld.full { grid-column: 1 / -1; }
.req { color: var(--blue); font-style: normal; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; font-weight: 500; color: var(--text); border: 1px solid #d1d6db; border-radius: 12px; padding: 13px 14px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, #8b95a1 50%), linear-gradient(135deg, #8b95a1 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.fld textarea { resize: vertical; min-height: 56px; line-height: 1.55; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,130,246,.15); }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--red); }
.fld .err-msg { color: var(--red); font-size: 13px; font-weight: 600; }
.fld.file input { padding: 11px; background: var(--bg-alt); }
.hint { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .chips label { position: relative; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .chips span { display: inline-block; border: 1px solid #d1d6db; border-radius: 999px; padding: 9px 15px; font-size: 15px; font-weight: 600; color: var(--sub); cursor: pointer; background: #fff; user-select: none; }
.seg input:checked + span, .chips input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.seg input:focus-visible + span, .chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(49,130,246,.25); }
[data-show] { display: none; } [data-show].show { display: flex; }
.consent { background: var(--bg-alt); border-radius: var(--r-sm); padding: 16px 18px; margin-top: 6px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.consent-d { border: 0; margin-top: 8px; }
.consent-d summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 0; font-weight: 500; list-style: revert; }
.consent-d ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--sub); }
.consent-d li { margin: 4px 0; }
.consent.bad { box-shadow: inset 0 0 0 1px var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { color: var(--red); font-size: 14px; font-weight: 600; min-height: 1px; margin: 4px 0 0; }
.form-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.form-nav .btn { min-width: 120px; }

/* done */
.done { margin-top: 36px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 48px 32px; text-align: center; border: 1px solid var(--line); outline: 0; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 30px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 22px; }
.done h2 { font-size: 26px; font-weight: 800; }
.done p { color: var(--sub); margin-top: 14px; }
.done-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 10px; }
.done-steps span { background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 8px 14px; }
.done-steps i { font-style: normal; color: var(--muted); }

/* footer + mobile cta */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.mcta { display: none; }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .mflow, .mflow.five { grid-template-columns: 1fr 1fr 1fr; } .mflow li::after { display: none; }
  .hero-stack { height: 380px; max-width: 520px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 56px; }
  .hero-visual { padding: 16px; border-radius: 22px; }
  .sec { padding: 72px 0; }
  .principle { padding: 48px 0; }
  .sec-lead { font-size: 16px; }
  .flows, .cards4, .checks, .grid2 { grid-template-columns: 1fr; }
  .mflow, .mflow.five { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stack { height: 300px; margin: 0 8px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps li.loop { grid-column: auto; }
  .steps li { padding: 16px 18px; display: grid; grid-template-columns: 74px 1fr; column-gap: 8px; }
  .steps .st-n { grid-row: 1 / 3; padding-top: 3px; }
  .steps b { margin: 0 0 2px; }
  .cta-row .btn { width: 100%; }
  .form { padding: 22px 18px; border-radius: 22px; }
  .done { padding: 36px 20px; }
  .form-nav { position: sticky; bottom: 0; background: #fff; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin: 8px -2px 0; }
  .form-nav .btn { flex: 1; min-width: 0; }
  .progress-steps { font-size: 11.5px; }
  .mcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .2s; }
  .mcta.hide { transform: translateY(110%); }
  .foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
