/* wikiai.kr — 위키씨드 공개 화면 v2
   색: 밤 #0B1420 · 새싹 #8FCB5A · 종이 #FBFBF9 · 먹 #16202B
   글꼴: Pretendard 한 가족 (굵기로 위계) */

:root {
  --night: #0B1420;
  --night-2: #101B2A;
  --night-3: #16243A;
  --ink: #16202B;
  --paper: #FBFBF9;
  --bg-2: #F3F6F1;
  --card: #FFFFFF;
  --line: #E4E9E2;
  --line-2: #D3DBD1;
  --line-dark: rgba(255,255,255,.09);
  --sprout: #8FCB5A;
  --sprout-hi: #A9DC7C;
  --mint: #5ED3B0;
  --sprout-ink: #3F7A1F;
  --sprout-tint: #EAF5DF;
  --red: #E5675C;
  --red-ink: #B4413A;
  --red-tint: #FCEBE9;
  --muted: #5E6B78;
  --muted-n: #93A2B2;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR', sans-serif;
  --wrap: 1200px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(11,20,32,.04), 0 8px 24px rgba(11,20,32,.06);
  --shadow-lg: 0 2px 6px rgba(11,20,32,.05), 0 24px 60px rgba(11,20,32,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--sans); letter-spacing: -0.011em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--sprout); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sprout); color: var(--night); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-sprout { background: var(--sprout); color: var(--night); box-shadow: 0 0 0 0 rgba(143,203,90,0), 0 8px 24px -8px rgba(143,203,90,.7); }
.btn-sprout:hover { background: var(--sprout-hi); box-shadow: 0 0 0 4px rgba(143,203,90,.18), 0 10px 30px -8px rgba(143,203,90,.8); }
.btn-glass { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--paper); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #26354A; }
.btn-line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.2); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-ghost-ink { border-color: var(--line-2); color: var(--ink); background: var(--card); }
.btn-ghost-ink:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.link { color: var(--sprout-ink); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.link:hover { color: var(--ink); }
.link-quiet { color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-quiet:hover { color: var(--ink); }

/* ── 안내 띠·머리(떠 있는 유리 막대) ── */
.notice { background: linear-gradient(90deg, var(--sprout), var(--mint)); color: var(--night); font-size: 14px; font-weight: 700; text-align: center; padding: 8px 0; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.top { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; pointer-events: none; }
.top-in {
  pointer-events: auto; display: flex; align-items: center; gap: 16px; height: 62px; max-width: calc(var(--wrap) - 32px);
  padding: 0 10px 0 22px; border-radius: 999px; color: var(--paper);
  background: rgba(13,23,36,.72); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.45);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.04em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: #C3CEDA; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.nav a[aria-current]:not(.nav-cta) { color: var(--paper); background: rgba(255,255,255,.1); }
.nav .nav-cta { margin-left: 6px; background: var(--sprout); color: var(--night); padding: 10px 18px; font-weight: 700; }
.nav .nav-cta:hover { background: var(--sprout-hi); color: var(--night); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 999px; }
.nav-toggle span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .2s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
/* 머리가 어두운 첫 구역 위에 겹치게 */
main > .hero:first-child, main > .page-hero:first-child { margin-top: -76px; }

.flash { margin: 0; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; }
.toasts { position: fixed; z-index: 80; top: 92px; left: 0; right: 0; margin: 0 auto; width: min(560px, calc(100vw - 32px)); display: grid; gap: 8px; animation: rise .4s cubic-bezier(.2,.8,.2,1); }
.toasts .flash { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; box-shadow: var(--shadow-lg); border: 1px solid rgba(11,20,32,.06); }
.toast-x { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; opacity: .6; padding: 0 2px; }
.toast-x:hover { opacity: 1; }
.flash-ok { background: #F1F9EA; color: #2C5A14; }
.flash-error { background: #FFF1EF; color: #8A2A24; }
.flash-info { background: var(--bg-2); }

/* ── 첫 화면 ── */
.hero {
  position: relative; overflow: hidden; color: var(--paper);
  background: var(--night);
  padding: 168px 0 112px; min-height: min(100vh, 920px); display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 420px at 78% 18%, rgba(143,203,90,.28), transparent 70%),
    radial-gradient(520px 380px at 92% 72%, rgba(94,211,176,.18), transparent 70%),
    radial-gradient(700px 500px at 8% 100%, rgba(63,122,31,.22), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; opacity: .9; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; pointer-events: none; }
.hero-in a, .hero-in button, .hero-panel { pointer-events: auto; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 16px 7px 12px;
  border-radius: 999px; font-size: 14px; font-weight: 600; color: #C3CEDA;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.eyebrow-pill b { color: var(--sprout); font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sprout); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143,203,90,.6); } 70% { box-shadow: 0 0 0 10px rgba(143,203,90,0); } 100% { box-shadow: 0 0 0 0 rgba(143,203,90,0); } }
.hero h1 {
  font-size: clamp(44px, 6.6vw, 86px); font-weight: 800; line-height: 1.08; letter-spacing: -0.05em; margin-bottom: 26px;
  background: linear-gradient(180deg, #FFFFFF 30%, #C7D3DE 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.7; color: #B3C0CD; max-width: 32em; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 52px 0 0; display: flex; gap: 36px; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--paper); line-height: 1.1; }
.hero-facts span { font-size: 13.5px; color: var(--muted-n); }
.hero-facts li + li { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.1); }

.hero-panel {
  position: relative; border-radius: 22px; padding: 6px 6px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  animation: rise .9s cubic-bezier(.2,.8,.2,1) .15s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.panel-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px 14px; font-size: 13px; color: var(--muted-n); font-weight: 600; }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.panel-bar span { margin-left: 8px; color: #C3CEDA; }
.panel-bar .live { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: 7px; color: var(--sprout); font-size: 12px; }
.panel-list { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 6px; }
.panel-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px 14px; border-radius: 14px; background: rgba(11,20,32,.55); border: 1px solid rgba(255,255,255,.06);
  font-size: 14.5px; transition: background-color .4s, border-color .4s;
}
.panel-list li.is-new { background: rgba(143,203,90,.1); border-color: rgba(143,203,90,.3); }
.panel-list li.enter { animation: slidein .55s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } }
.pl-title { color: var(--paper); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.panel-list time { font-size: 12.5px; color: var(--muted-n); font-variant-numeric: tabular-nums; }
.panel-typing { margin: 14px 16px 0; font-size: 13px; color: var(--muted-n); display: flex; align-items: center; gap: 10px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-n); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.hero-badge {
  position: absolute; right: 28px; bottom: -64px; margin: 0; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--paper);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px);
}
.ok-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--sprout); position: relative; flex: none; }
.ok-dot::after { content: ""; position: absolute; left: 6px; top: 4px; width: 4px; height: 8px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero-hint { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 22px; margin: 0; font-size: 12.5px; color: rgba(147,162,178,.7); pointer-events: none; }

/* 상태 칩 */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-ok { background: rgba(143,203,90,.16); color: #4E8A2A; }
.chip-fail { background: rgba(229,103,92,.14); color: var(--red-ink); }
.chip-note { background: rgba(22,32,43,.07); color: var(--muted); }
.hero-panel .chip-ok { color: var(--sprout); }
.hero-panel .chip-fail { color: #FF9389; }

/* ── 구역 공통 ── */
.sec { padding: 120px 0; }
.sec-tint { background: var(--bg-2); }
.sec-dark { background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.sec-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 0%, rgba(143,203,90,.14), transparent 70%); pointer-events: none; }
.sec-dark > .wrap { position: relative; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sec-head-row > div { max-width: 680px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--sprout-ink); margin-bottom: 14px; }
.sec-dark .kicker { color: var(--sprout); }
.sec-head h2, .rules-in h2, .faq-in h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; margin-bottom: 16px; }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 0; }
.sec-dark .sec-head p:not(.kicker) { color: #A9B6C3; }
.more { margin: 28px 0 0; }
.empty { color: var(--muted); padding: 32px; list-style: none; text-align: center; background: var(--bg-2); border-radius: var(--r-md); }
.fine { font-size: 14px; color: var(--muted); margin-top: 22px; }
.pill-soft { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--sprout-tint); color: #2C5A14; font-size: 13px; font-weight: 700; }

/* 써 보기 카드 */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.tool-card.is-lead { background: linear-gradient(160deg, #F1F9E9 0%, #FFFFFF 55%); border-color: #D9EBC8; }
.tool-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.tool-price { font-size: 14px; font-weight: 700; color: var(--muted); }
.tool-card h3 { font-size: 28px; margin-bottom: 10px; }
.tool-card h3 a { text-decoration: none; }
.tool-sum { color: var(--muted); margin-bottom: 22px; }
.tool-feat, .checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.tool-feat li, .checks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.tool-feat li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sprout-tint);
}
.tool-feat li::after, .checks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 4px; height: 8px; border: solid var(--sprout-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.tool-act { margin-top: auto; display: flex; align-items: center; gap: 18px; }

/* 장부 카드 */
.ledger { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ledger-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 26px; }
.ledger-item.is-fail { background: linear-gradient(160deg, #FFF7F6 0%, #FFFFFF 60%); }
.ledger-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ledger-meta time { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ledger-title { font-weight: 700; font-size: 18.5px; margin: 0 0 6px; line-height: 1.45; letter-spacing: -0.025em; }
.ledger-body { color: var(--muted); margin: 0; font-size: 15.5px; }
.tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.tag-sprout { padding: 2px 10px; border-radius: 999px; background: var(--sprout-tint); color: #2C5A14; font-size: 12px; }
.month { font-size: 20px; margin: 56px 0 18px; }
.month:first-of-type { margin-top: 32px; }

/* 맡길 일 (벤토) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-item { padding: 30px; border-radius: var(--r-lg); background: var(--bg-2); }
.bento-wide { grid-column: span 2; background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.bento-wide::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(143,203,90,.35), transparent 70%); }
.bento-item:nth-child(4) { grid-column: span 2; background: linear-gradient(120deg, var(--sprout-tint), #EAF8F3); }
.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--card); color: var(--sprout-ink); margin-bottom: 22px; box-shadow: var(--shadow); }
.bento-wide .ico { background: rgba(143,203,90,.16); color: var(--sprout); box-shadow: none; }
.bento-item h3 { font-size: 22px; margin-bottom: 8px; }
.bento-item p { color: var(--muted); margin: 0; }
.bento-wide p { color: #A9B6C3; max-width: 30em; }
.work-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.work-list div { padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); }
.work-list dt { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; margin-bottom: 8px; }
.work-list dd { margin: 0; color: var(--muted); }

/* 설치 순서 */
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { position: relative; padding: 26px 24px 28px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(143,203,90,.15); color: var(--sprout); font-weight: 800; font-size: 15px; margin-bottom: 22px; }
.steps b { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.025em; }
.steps span:not(.step-n) { display: block; color: #A9B6C3; font-size: 15px; }
.steps-light li { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.steps-light .step-n { background: var(--sprout-tint); color: var(--sprout-ink); }
.steps-light span:not(.step-n) { color: var(--muted); }
.steps-light { margin-bottom: 0; }
.kit-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px; border-radius: var(--r-md); background: linear-gradient(100deg, rgba(143,203,90,.16), rgba(94,211,176,.08)); border: 1px solid rgba(143,203,90,.25); }
.kit-strip p { margin: 0; max-width: 44em; color: #C3CEDA; }
.kit-strip b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.035em; color: var(--paper); margin-bottom: 2px; }

/* 장터 미리보기 */
.market-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.market-in .sec-head { margin-bottom: 0; }
.sec-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px !important; }
.rank-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-lg); }
.rank-card-head { display: flex; justify-content: space-between; padding: 16px 18px 10px; margin: 0; font-size: 14px; }
.rank-card-head span { color: var(--muted); }

.rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rank-row {
  display: grid; grid-template-columns: 44px 70px 1fr 90px 130px 110px; gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.rank-row:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.rank-mini { gap: 2px; }
.rank-mini .rank-row { grid-template-columns: 36px 1fr auto; border: 0; padding: 14px 14px; border-radius: var(--r-sm); }
.rank-mini .rank-row:hover { background: var(--bg-2); box-shadow: none; }
.rank-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--bg-2); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums;
}
.rank-row:nth-child(-n+3):not(.is-soon) .rank-no { background: var(--night); color: var(--sprout); }
.rank-name { font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -0.02em; }
.rank-name:hover { color: var(--sprout-ink); }
.rank-sum { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.rank-cat, .rank-uses { font-size: 14px; color: var(--muted); }
.rank-meta { font-size: 15px; font-weight: 700; text-align: right; }
.rank-uses { text-align: right; font-variant-numeric: tabular-nums; }
.rank-move { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank-move .up { color: #4E8A2A; }
.rank-move .down { color: var(--red-ink); }
.rank-move .same { color: var(--line-2); }
.rank-move .rise { background: linear-gradient(90deg, var(--sprout), var(--mint)); color: var(--night); padding: 3px 9px; border-radius: 999px; font-size: 12px; }
.is-soon .rank-name { color: #8794A1; }
.soon { font-size: 12.5px; color: var(--muted); background: var(--bg-2); padding: 3px 10px; border-radius: 999px; font-weight: 700; }

.rank-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-2); }
.tabs a { padding: 8px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); transition: background-color .15s, color .15s; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(11,20,32,.12); }
.tabs small { font-weight: 600; color: #8794A1; margin-left: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); background: var(--card); }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sec .wrap > .chips { margin-bottom: 8px; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { padding: 30px; border-radius: var(--r-lg); background: var(--bg-2); display: flex; flex-direction: column; align-items: flex-start; }
.role h3 { font-size: 22px; margin-bottom: 10px; }
.role p { color: var(--muted); }
.role .link { margin-top: auto; }

/* 아래 띠 */
.sec-cta { padding-top: 0; }
.cta-card {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 60px; border-radius: 32px; background: var(--night); color: var(--paper);
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 120%, rgba(143,203,90,.4), transparent 70%), radial-gradient(400px 260px at 0% 0%, rgba(94,211,176,.16), transparent 70%); pointer-events: none; }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; line-height: 1.25; }
.cta-card p { color: #A9B6C3; margin: 0; max-width: 36em; }
.cta-band { padding: 0 0 120px; }
.cta-in {
  position: relative; overflow: hidden; padding: 56px 60px; border-radius: 32px; background: var(--night); color: var(--paper);
}
.cta-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 120%, rgba(143,203,90,.4), transparent 70%); pointer-events: none; }
.cta-in > * { position: relative; max-width: 760px; }
.cta-in h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; line-height: 1.25; }
.cta-in p { color: #A9B6C3; margin-bottom: 28px; }

/* ── 하위 페이지 머리 ── */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: var(--paper); padding: 172px 0 88px; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 380px at 85% 10%, rgba(143,203,90,.24), transparent 70%), radial-gradient(520px 320px at 100% 100%, rgba(94,211,176,.14), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 75%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.12; letter-spacing: -0.05em; margin-bottom: 22px; }
.page-hero .h1-sm { font-size: clamp(28px, 3.6vw, 44px); max-width: 22em; }
.page-hero .lead { color: #B3C0CD; font-size: 19px; max-width: 36em; margin: 0; }
.page-hero-center { text-align: center; padding: 200px 0 140px; }
.page-hero-center .lead { margin: 0 auto 36px; }
.page-hero-center .btn { margin: 0 4px; }
.crumb { font-size: 14px; color: var(--muted-n); margin-bottom: 18px; }
.crumb a { color: var(--muted-n); text-decoration: none; }
.crumb a:hover { color: var(--paper); }
.big-stamp { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 26px; background: rgba(229,103,92,.14); color: #FF9389; font-size: 44px; font-weight: 800; margin-bottom: 30px; }
.big-stamp-ok { background: rgba(143,203,90,.16); color: var(--sprout); }

/* 키트·등급 */
.sec-tiers { background: var(--bg-2); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.tier h3 { font-size: 16px; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: -0.01em; }
.tier-price { font-weight: 800; font-size: 36px; letter-spacing: -0.045em; margin: 0 0 14px; line-height: 1.1; }
.tier-for { font-size: 15px; font-weight: 600; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier ul { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--muted); display: grid; gap: 9px; }
.tier li { padding-left: 26px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--sprout-tint); }
.tier li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 3.5px; height: 7px; border: solid var(--sprout-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tier.is-match { border-color: transparent; transform: translateY(-6px); box-shadow: 0 0 0 2px var(--sprout), var(--shadow-lg); }
.tier.is-match::after { content: "진단 결과"; position: absolute; top: -13px; left: 24px; background: linear-gradient(90deg, var(--sprout), var(--mint)); color: var(--night); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }

.diag-in { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.diag { display: grid; gap: 28px; }
.diag-q { border: 0; padding: 0; margin: 0; }
.diag-q legend { font-weight: 700; margin-bottom: 12px; padding: 0; font-size: 16px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.seg-2 { grid-template-columns: repeat(2, max-content); margin-bottom: 14px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; font-size: 15px; line-height: 1.45; background: var(--card); transition: background-color .15s, border-color .15s, box-shadow .15s; }
.seg i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; padding: 1px 8px; border-radius: 999px; background: var(--bg-2); }
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--night); border-color: var(--night); color: var(--paper); box-shadow: 0 8px 20px -10px rgba(11,20,32,.6); }
.seg input:checked + span i { color: var(--night); background: var(--sprout); }
.seg input:focus-visible + span { outline: 2px solid var(--sprout-ink); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--sprout-ink); flex: none; }

.diag-result { position: sticky; top: 100px; overflow: hidden; background: var(--night); color: var(--paper); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow-lg); }
.diag-result::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px 220px at 100% 0%, rgba(143,203,90,.3), transparent 70%); pointer-events: none; }
.diag-result > * { position: relative; }
.dr-label { font-size: 14px; color: var(--muted-n); margin: 0; }
.dr-score { margin: 0 0 20px; font-variant-numeric: tabular-nums; }
.dr-score b { font-size: 84px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--sprout); }
.dr-score span { color: var(--muted-n); margin-left: 6px; font-size: 18px; }
.dr-meter { position: relative; height: 10px; background: rgba(255,255,255,.08); border-radius: 99px; margin-bottom: 26px; }
.dr-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--sprout), var(--mint)); border-radius: 99px; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.dr-meter span { position: absolute; top: 0; width: 2px; height: 10px; background: var(--night); }
.dr-tier { font-size: 22px; font-weight: 800; margin: 0 0 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; letter-spacing: -0.03em; }
.dr-tier b { font-size: 28px; letter-spacing: -0.04em; }
.dr-rule { font-size: 13px; color: var(--muted-n); margin-bottom: 26px; }
.diag-result .btn { width: 100%; }

.rules-in { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rules li { padding: 22px 24px; border-radius: var(--r-md); background: var(--bg-2); color: var(--muted); font-size: 15.5px; }
.rules b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 16.5px; }
.sec-faq { background: var(--bg-2); }
.faq-in > * { max-width: 860px; }
.faq-in h2 { margin-bottom: 28px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; padding: 0 24px; }
summary { cursor: pointer; padding: 22px 36px 22px 0; font-weight: 700; list-style: none; position: relative; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-weight: 500; font-size: 20px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 64ch; }

/* 도구 상세 */
.prod-hero { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; }
.prod-price { font-weight: 800; font-size: 40px; letter-spacing: -0.045em; margin: 0 0 16px; }
.verified { background: rgba(143,203,90,.08); border: 1px solid rgba(143,203,90,.35); border-radius: var(--r-md); color: var(--paper); padding: 0; margin: 0; }
.verified summary { padding: 14px 46px 14px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--sprout); font-size: 15px; }
.verified summary::after { background: rgba(255,255,255,.08); color: var(--paper); right: 12px; }
.verified small { color: var(--muted-n); font-weight: 500; margin-left: auto; }
.verified dl { margin: 0; padding: 0 16px 16px; font-size: 14px; }
.verified dl div { display: grid; grid-template-columns: 84px 1fr; gap: 8px; padding: 4px 0; }
.verified dt { color: var(--muted-n); }
.verified dd { margin: 0; }
.seal { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sprout); color: var(--night); font-size: 13px; font-weight: 900; flex: none; }
.seal-lg { width: 72px; height: 72px; border-radius: 22px; font-size: 32px; margin-bottom: 24px; }
.unverified { color: var(--muted-n); font-size: 14px; }
.prod-in { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.prod-main h2 { font-size: 24px; margin: 44px 0 16px; }
.prod-main h2:first-child { margin-top: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 44px; box-shadow: var(--shadow-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.plain { padding-left: 20px; margin: 0; color: var(--muted); }
.plain li { margin-bottom: 6px; }
.soon-box { margin-top: 44px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); }
.soon-box h2 { margin-top: 0; }
.soon-box p { color: var(--muted); }
.prod-side { position: sticky; top: 100px; display: grid; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.side-note { font-size: 14px; color: var(--muted); margin: 0; }
.refund { font-size: 14px; color: var(--muted); margin: 0 0 4px; padding: 16px; background: #FFF6E5; border-radius: var(--r-sm); }
.refund b { color: var(--ink); }
.seller { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.seller div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 3px 0; }
.seller dt { color: var(--muted); }
.seller dd { margin: 0; }

/* 아이디어 */
.ideas-in { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.idea-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.idea { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.idea:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.vote {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 76px; min-height: 80px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card);
  cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.vote:hover { border-color: var(--ink); }
.vote:active { transform: scale(.95); }
.vote-n { font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.vote-l { font-size: 11px; font-weight: 700; color: var(--muted); }
.vote.is-on { background: var(--sprout); border-color: var(--sprout); box-shadow: 0 8px 20px -8px rgba(143,203,90,.8); }
.vote.is-on .vote-l { color: var(--night); }
.vote-lg { width: 124px; min-height: 124px; border-radius: 24px; }
.vote-lg .vote-n { font-size: 40px; }
.vote-lg .vote-l { font-size: 13px; }
.idea h3 { font-size: 19px; font-weight: 700; margin: 6px 0 6px; line-height: 1.45; letter-spacing: -0.025em; }
.idea h3 a { text-decoration: none; }
.idea h3 a:hover { color: var(--sprout-ink); }
.idea-meta { font-size: 13px; color: var(--muted); margin: 0; }
.idea-meta-lg { color: var(--muted-n); font-size: 14px; }
.idea-sum { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.idea-foot { font-size: 13px; color: #8794A1; margin: 0; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-right: 4px; }
.status-proposed { background: rgba(22,32,43,.07); color: var(--ink); }
.status-building { background: #FFF0CC; color: #6B4A08; }
.status-done { background: var(--sprout); color: var(--night); }
.page-hero .status-proposed { background: rgba(255,255,255,.12); color: var(--paper); }
.ideas-side { position: sticky; top: 100px; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); }
.ideas-side h2 { font-size: 20px; margin-bottom: 20px; }
.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { position: relative; padding: 0 0 22px 42px; counter-increment: f; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--night); color: var(--sprout); font-size: 13px; font-weight: 800; display: grid; place-items: center; z-index: 1; }
.flow li::after { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--line-2); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow b { display: block; }
.flow span { display: block; font-size: 14px; color: var(--muted); }
.write { margin-top: 56px; padding: 36px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.write h2 { font-size: 26px; margin-bottom: 8px; }
.idea-detail { display: grid; grid-template-columns: 1fr 160px; gap: 56px; align-items: start; }
.idea-vote-side { position: sticky; top: 100px; text-align: center; }
.idea-vote-side .vote { margin: 0 auto; }
.idea-detail h2 { font-size: 22px; margin: 48px 0 14px; }
.idea-text { font-size: 18px; }
.progress-track { list-style: none; padding: 0; margin: 0 0 36px; display: flex; gap: 6px; }
.progress-track li { flex: 1; padding-top: 14px; position: relative; font-size: 14px; font-weight: 700; color: #8794A1; }
.progress-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 99px; background: var(--line); }
.progress-track .is-past::before { background: var(--sprout); }
.progress-track .is-now::before { background: linear-gradient(90deg, var(--sprout), var(--mint)); }
.progress-track .is-past { color: #4E8A2A; }
.progress-track .is-now { color: var(--ink); }
.admin-note { padding: 16px 20px; background: var(--sprout-tint); border-radius: var(--r-sm); font-size: 15px; }
.admin-note b { margin-right: 8px; }
.comments { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.comment { padding: 18px 20px; border-radius: var(--r-md); background: var(--bg-2); }
.comment p { margin: 0; }
.c-head { font-size: 14px; margin-bottom: 6px !important; }
.c-head time { color: #8794A1; margin-left: 6px; }
.comment.is-claim { background: var(--sprout-tint); }

/* 폼 */
.form { display: grid; gap: 18px; }
.fld { display: grid; gap: 7px; }
.fld > span { font-size: 14px; font-weight: 700; }
.fld small { font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}
.fld textarea { resize: vertical; line-height: 1.65; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--sprout-ink); box-shadow: 0 0 0 4px rgba(143,203,90,.22); }
.fld .ro { background: var(--bg-2); color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.verify { background: var(--bg-2); border-radius: var(--r-md); padding: 22px; margin: 20px 0 22px; }
.verify-step { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.verify-step b { color: var(--ink); margin-right: 6px; }
.verify-row { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 10px; }
.verify-row .fld { flex: 1; }
.verify-row .btn { min-height: 50px; }
.verify-msg { margin: 0; font-size: 14px; min-height: 1.4em; }
.verify-msg.is-err { color: var(--red-ink); }
.verify-msg.is-ok { color: var(--sprout-ink); }
.verify-done { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; }
form[data-needs-verify].is-locked { opacity: .45; pointer-events: none; filter: grayscale(.4); }

.contact-in { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.contact-form { padding: 36px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-side { padding: 30px; background: var(--bg-2); border-radius: var(--r-lg); }
.contact-side h2 { font-size: 20px; margin-bottom: 14px; }
.sent { max-width: 640px; padding: 48px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sent h2 { font-size: 30px; margin-bottom: 12px; }
.sent p { color: var(--muted); }
.sent .btn { margin-right: 10px; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 23px; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; border-radius: var(--r-sm); background: var(--bg-2); color: var(--muted); }
.prose a { color: var(--sprout-ink); }
.prose-doc { color: #2C3844; }
.prose-doc h2:first-child { margin-top: 0; }

/* ── 바닥 ── */
.foot { background: var(--night); color: #C3CEDA; padding: 80px 0 32px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.3fr .7fr 1.3fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.foot-name { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; color: var(--paper); margin-bottom: 12px; }
.foot-name span { font-weight: 500; font-size: 14px; color: var(--muted-n); margin-left: 6px; letter-spacing: 0; }
.foot-desc { color: var(--muted-n); max-width: 30em; }
.foot a { color: #C3CEDA; }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--paper); }
.foot-biz { margin: 0; display: grid; gap: 6px; }
.foot-biz div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
.foot-biz dt { color: var(--muted-n); }
.foot-biz dd { margin: 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; color: var(--muted-n); }
.foot-bottom p { margin: 0; }
.foot-policy { display: flex; gap: 20px; }
.foot-policy a { text-decoration: none; }
.foot-policy strong { color: var(--paper); }

/* ── 좁은 화면 ── */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 560px; }
  .hero-badge { position: static; justify-self: start; }
  .market-in, .diag-in, .rules-in, .prod-hero, .prod-in, .ideas-in, .contact-in, .idea-detail { grid-template-columns: 1fr; gap: 40px; }
  .diag-result, .prod-side, .ideas-side, .idea-vote-side { position: static; }
  .idea-vote-side { order: -1; display: flex; align-items: center; gap: 16px; text-align: left; }
  .idea-vote-side .vote { margin: 0; width: 100px; min-height: 100px; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rank-row { grid-template-columns: 40px 60px 1fr auto; }
  .rank-cat, .rank-uses { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .top-in { position: relative; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 24px; background: rgba(13,23,36,.96); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; padding: 14px; }
  .tool-grid, .ledger, .bento, .work-list, .rules { grid-template-columns: 1fr; }
  .bento-wide, .bento-item:nth-child(4) { grid-column: auto; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top { padding-top: 10px; }
  .top-in { width: auto; margin: 0 10px; padding-left: 16px; height: 56px; }
  .sec { padding: 80px 0; }
  .hero { padding: 132px 0 96px; min-height: auto; }
  .hero-canvas { opacity: .5; }
  .hero-hint { display: none; }
  .hero-facts { gap: 18px; }
  .hero-facts li + li { padding-left: 18px; }
  .hero-facts b { font-size: 24px; }
  .row2, .roles, .tiers, .steps { grid-template-columns: 1fr; }
  .tool-card, .write, .contact-form, .sent { padding: 26px 22px; }
  .kit-strip { flex-direction: column; align-items: flex-start; padding: 24px; }
  .rank-row { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 14px 16px; }
  .rank-move, .rank-sum { display: none; }
  .seg { grid-template-columns: 1fr; }
  .idea { grid-template-columns: 62px 1fr; gap: 14px; padding: 18px; }
  .vote { width: 62px; min-height: 70px; }
  .verify-row { flex-direction: column; align-items: stretch; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-biz div { grid-template-columns: 96px 1fr; }
  .page-hero { padding: 132px 0 60px; }
  .cta-in { padding: 36px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
