/* ═══════════════════════════════════════════════════════════════
   이음마루 — Web tokens
   앱(brand.css)의 정체성을 유지하되 웹 랜딩에 맞게 확장.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --clay: hsl(20 59% 44%);
  --clay-deep: hsl(19 64% 31%);
  --clay-mid: hsl(20 58% 52%);
  --clay-soft: hsl(24 68% 92%);
  --clay-tint: hsl(26 70% 96%);

  --paper: hsl(36 43% 97%);
  --paper-2: hsl(34 36% 93%);
  --paper-3: hsl(33 26% 86%);
  --surface: hsl(0 0% 100%);
  --ink: hsl(24 26% 11%);
  --ink-2: hsl(25 12% 40%);
  --ink-3: hsl(28 9% 60%);
  --line: hsl(34 26% 87%);
  --line-2: hsl(34 32% 93%);

  --pine: hsl(156 24% 22%);
  --pine-mid: hsl(154 26% 32%);
  --pine-soft: hsl(150 22% 91%);
  --ai: hsl(255 28% 48%);
  --ai-soft: hsl(258 42% 96%);
  --ai-line: hsl(258 34% 89%);

  --st-open: hsl(150 44% 28%);
  --st-open-bg: hsl(150 38% 93%);
  --st-pending: hsl(40 62% 32%);
  --st-pending-bg: hsl(42 68% 92%);
  --star: hsl(33 68% 53%);

  --cta: linear-gradient(152deg, hsl(22 62% 47%) 0%, hsl(20 59% 40%) 55%, hsl(18 62% 32%) 100%);

  --font-ui: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
             'Malgun Gothic', system-ui, sans-serif;
  --font-display: 'Gowun Batang', 'Nanum Myeongjo', serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.3, 0.64, 1);

  --maxw: 1180px;
  --r: 14px;
  --r-lg: 22px;
  --sh-card: 0 1px 2px hsl(28 40% 20% / .04), 0 14px 34px -26px hsl(28 40% 20% / .45);
  --sh-float: 0 2px 6px hsl(28 40% 20% / .05), 0 32px 60px -34px hsl(28 40% 20% / .4);
  --sh-doc: 0 1px 0 hsl(0 0% 100% / .9) inset, 0 2px 4px hsl(30 40% 20% / .06),
            0 30px 50px -30px hsl(30 40% 20% / .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.66;
  letter-spacing: -0.014em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
::selection { background: var(--clay-soft); color: var(--clay-deep); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.2;
  margin: 0;
}

.eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 18px; height: 1.5px; background: var(--clay); opacity: .5;
}

.tnum { font-variant-numeric: tabular-nums; }
.keep { word-break: keep-all; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

.section { padding: 108px 0; position: relative; }
@media (max-width: 860px) { .section { padding: 72px 0; } }

@keyframes reveal {
  from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.reveal {
  animation: reveal 1.15s var(--ease-expo) backwards;
  animation-delay: calc(var(--i, 0) * 95ms);
}
.reveal-group > * {
  animation: reveal 1s var(--ease-expo) both;
  animation-delay: calc(var(--i, 0) * 85ms + 120ms);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px; border-radius: 13px; border: none;
  font-size: 15px; font-weight: 700; letter-spacing: -0.02em; cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .22s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--clay); color: #fff;
  box-shadow: 0 10px 22px -12px hsl(20 60% 35% / .8);
}
.btn-primary:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px hsl(20 60% 30% / .85);
}
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13.5px; border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .reveal-group > * { animation: none; }
}


/* ═══════════════════════════════════════════════════════════════
   이음마루 홈페이지 — 컴포넌트 레이어
   ═══════════════════════════════════════════════════════════════ */

/* ── 배경 결 (그레인) ─────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .30; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

/* ── 상단 내비 ────────────────────────────────────────────────── */
.nav-outer {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: padding .3s var(--ease-out);
}
.nav-outer.stuck { padding: 8px 0; }

.nav {
  display: flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 10px 0 18px;
  border-radius: 99px;
  background: hsl(36 43% 97% / .72);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 0 0 1px hsl(34 26% 87% / .8), 0 10px 30px -22px hsl(28 40% 20% / .4);
  transition: background .3s, box-shadow .3s;
}
.nav-outer.stuck .nav {
  background: hsl(36 43% 98% / .92);
  box-shadow: inset 0 0 0 1px hsl(34 26% 87%), 0 14px 34px -24px hsl(28 40% 20% / .45);
}

.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand .mark { width: 30px; height: 30px; }
.brand .word {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.04em; color: var(--ink); line-height: 1;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: hsl(0 0% 100% / .7); }

.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-right .btn { height: 42px; padding: 0 20px; font-size: 13.5px; border-radius: 99px; }

.nav-links, .nav-right .btn-ghost { display: none; }
@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-right .btn-ghost { display: inline-flex; }
}

/* ── 히어로 ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 74px 0 96px;
  background:
    radial-gradient(900px 520px at 78% -10%, hsl(24 68% 92% / .95) 0%, transparent 62%),
    radial-gradient(700px 460px at 6% 8%, hsl(34 50% 94%) 0%, transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, hsl(34 40% 95%) 100%);
}
/* 도면 격자 */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(hsl(28 30% 60% / .07) 1px, transparent 1px),
    linear-gradient(90deg, hsl(28 30% 60% / .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 520px at 62% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 520px at 62% 22%, #000 0%, transparent 78%);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 58px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 86px 0 110px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 60px; }
}

.hero-copy { max-width: 560px; }

.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.22; letter-spacing: -0.045em;
  margin: 22px 0 0; color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--clay);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .07em;
  height: .30em; background: var(--clay-soft); z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  margin: 22px 0 0; max-width: 470px;
  font-size: 16.5px; line-height: 1.78; color: var(--ink-2);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px;
  padding-top: 26px; border-top: 1px solid hsl(34 26% 87% / .85);
}
.hero-meta div { min-width: 0; }
.hero-meta .k {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--ink-3); margin-bottom: 3px;
}
.hero-meta .v {
  font-size: 15px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
}
.hero-meta .v small { font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-left: 3px; }

/* ── 히어로 비주얼 스택 ───────────────────────────────────────── */
.stage {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 900px) { .stage { height: 560px; } }

/* 견적서 사진 */
.stage-photo {
  position: absolute; left: -21%; top: 76px;
  width: 26%; max-width: 124px;
  border-radius: 8px; overflow: hidden;
  transform: rotate(-6.5deg);
  box-shadow: 0 2px 4px hsl(30 40% 20% / .1), 0 34px 54px -30px hsl(30 40% 20% / .5);
  border: 5px solid #fff;
  z-index: 1;
  animation: floatA 9s ease-in-out infinite;
}
@media (min-width: 1070px) { .stage-photo { width: 36%; max-width: 172px; left: -19%; top: 64px; } }
.stage-photo img { width: 100%; height: 170px; object-fit: cover; object-position: center 44%; }
@media (min-width: 1070px) { .stage-photo img { height: 224px; } }

@keyframes floatA {
  0%, 100% { transform: rotate(-6.5deg) translateY(0); }
  50%      { transform: rotate(-6.5deg) translateY(-9px); }
}

/* 전문가 문서 카드 */
.doc-card {
  position: relative; z-index: 3;
  width: 100%; max-width: 342px;
  margin-left: auto; margin-right: 4px;
  border-radius: 5px;
  background: linear-gradient(168deg, #FFFDF7 0%, #FBF6EA 62%, #F7F0E1 100%);
  border: 1px solid #EDE3CE;
  box-shadow: var(--sh-doc);
  overflow: hidden;
}
.doc-card > .spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #D8C3A2, #C2A682 40%, #D8C3A2);
}
.doc-card .grain-y {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(0deg, hsl(35 40% 35% / .05) 0 1px, transparent 1px 4px);
}
.doc-inner { position: relative; padding: 20px 20px 20px 24px; }

.doc-head { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.doc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px 5px; border-radius: 4px;
  background: var(--pine); color: #F3EFE2;
  font-size: 9.5px; font-weight: 800; letter-spacing: .02em;
}
.doc-date { font-size: 10.5px; color: #9A8A6E; font-weight: 600; }
.doc-grade {
  margin-left: auto; font-size: 9.5px; font-weight: 700; color: #2C4A3E;
  padding: 3px 7px; border-radius: 4px; background: hsl(156 25% 23% / .08);
}

.doc-headline {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; line-height: 1.52; letter-spacing: -0.02em;
  color: #2E2519; margin: 0 0 10px; word-break: keep-all;
}
.doc-body {
  font-size: 12.5px; line-height: 1.78; color: #5C5140;
  word-break: keep-all; text-wrap: pretty;
}

/* 적정 범위 박스 */
.doc-range {
  margin-top: 16px; padding: 12px 13px; border-radius: 6px;
  background: hsl(0 0% 100% / .62); border: 1px dashed #DECBA8;
}
.range-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 11px;
}
.range-label { font-size: 10px; font-weight: 700; color: #8A7A5C; letter-spacing: .03em; }
.range-value {
  font-size: 14px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--pine); font-variant-numeric: tabular-nums;
}

/* 적정 범위 바 */
.range-track {
  position: relative; height: 8px; border-radius: 9px;
  background: hsl(36 22% 74% / .3);
}
.range-band {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 11px; border-radius: 9px;
  background: hsl(156 25% 23% / .16);
  border: 1px solid hsl(156 25% 23% / .28);
}
.range-mark {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 3px; height: 20px; border-radius: 9px; background: var(--pine);
  box-shadow: 0 0 0 3px #FFFDF7, 0 2px 6px hsl(28 40% 20% / .22);
  z-index: 2;
}
.range-scale {
  display: flex; justify-content: space-between; margin-top: 7px;
  font-size: 9px; font-weight: 600; color: #9A8A6E;
}
.range-note { font-size: 9.5px; color: #9A8A6E; margin-top: 7px; line-height: 1.55; }

/* 서명 */
.doc-sign {
  display: flex; align-items: flex-end; gap: 10px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid hsl(35 30% 60% / .22);
}
.doc-sign .who { flex: 1; }
.doc-sign .role { font-size: 9.5px; color: #9A8A6E; margin-bottom: 3px; }
.doc-sign .name {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: #2E2519;
}
.doc-sign .sub { font-size: 10px; color: #9A8A6E; margin-left: 4px; }
.seal {
  width: 42px; height: 42px; border-radius: 3px; flex-shrink: 0;
  border: 2px solid hsl(4 60% 38% / .6); color: hsl(2 55% 42% / .8);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; letter-spacing: 0; line-height: 1.2;
  text-align: center; transform: rotate(-7deg);
  font-family: var(--font-display);
}

/* AI 칩 (떠 있는) */
.ai-chip {
  position: absolute; z-index: 4;
  left: -2%; bottom: 64px;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px 10px 10px; border-radius: 13px;
  background: linear-gradient(155deg, #FAF7FE, #F1ECFA);
  border: 1px solid #E6DDF6;
  box-shadow: 0 2px 6px hsl(258 30% 40% / .06), 0 22px 40px -22px hsl(258 30% 40% / .45);
  animation: floatB 7s ease-in-out infinite;
}
@media (min-width: 900px) { .ai-chip { left: 0; bottom: 54px; } }
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.orb {
  width: 27px; height: 27px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(from 210deg, #8B7BD8, #B49BE8, #7E96D9, #8B7BD8);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 1px hsl(0 0% 100% / .45);
}
.ai-chip .t { font-size: 11px; font-weight: 800; color: #4E3F86; letter-spacing: -0.02em; }
.ai-chip .d { font-size: 9.5px; color: #8A7DB5; margin-top: 1px; }

/* 상태 배지 (떠 있는) */
.status-float {
  position: absolute; z-index: 4; right: 0; top: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 9px;
  background: hsl(0 0% 100% / .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sh-card), inset 0 0 0 1px hsl(34 26% 87%);
  font-size: 10.5px; font-weight: 700; color: var(--st-open);
}
.dot-live {
  width: 6px; height: 6px; border-radius: 99px; background: var(--st-open);
  box-shadow: 0 0 0 0 hsl(150 44% 28% / .5);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 hsl(150 44% 28% / .45); }
  70%  { box-shadow: 0 0 0 7px hsl(150 44% 28% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(150 44% 28% / 0); }
}

@media (max-width: 899px) {
  .stage { height: auto; padding: 22px 0 12px; }
  .stage-photo { display: none; }
  .doc-card { max-width: 430px; margin: 0 auto; }
  .status-float { top: -6px; right: 4px; }
  .ai-chip { left: 4px; bottom: -14px; }
}

/* ── 로고 띠 ──────────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: hsl(34 40% 95% / .6);
  padding: 22px 0;
}
.strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-3); font-weight: 600;
}
.strip-inner b { color: var(--ink-2); font-weight: 700; }
.strip-sep { width: 3px; height: 3px; border-radius: 99px; background: var(--ink-3); opacity: .5; }

/* ── 섹션 헤더 ────────────────────────────────────────────────── */
.sec-head { max-width: 640px; margin-bottom: 54px; }
.sec-head.center { max-width: 660px; margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.32; letter-spacing: -0.042em;
  margin: 16px 0 0; color: var(--ink);
}
.sec-head p {
  margin: 16px 0 0; font-size: 15.5px; line-height: 1.8; color: var(--ink-2);
  word-break: keep-all; text-wrap: pretty;
}
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ── 3단계 흐름 ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.step {
  position: relative; padding: 28px 26px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-card), inset 0 0 0 1px var(--line-2);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-float), inset 0 0 0 1px var(--line); }

.step-num {
  font-variant-numeric: tabular-nums;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  color: var(--clay); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.step-art { height: 96px; margin-bottom: 20px; display: flex; align-items: center; }
.step h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; line-height: 1.42; letter-spacing: -0.032em;
  margin: 0 0 8px; color: var(--ink); word-break: keep-all;
}
.step p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--ink-2); word-break: keep-all; }

/* 단계 아트 */
.art-doc {
  width: 74px; height: 92px; border-radius: 5px; position: relative;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--clay-soft), var(--sh-card);
  padding: 10px 9px;
}
.art-doc span {
  display: block; height: 3px; border-radius: 2px; background: var(--line);
  margin-bottom: 7px;
}
.art-doc span:last-child { width: 52%; background: var(--clay); }

.art-pair { display: flex; align-items: center; gap: 0; }
.art-paper {
  width: 62px; height: 84px; border-radius: 4px;
  background: linear-gradient(168deg, #FFFDF7, #F7F0E1);
  border: 1px solid #EDE3CE; box-shadow: var(--sh-card);
  padding: 9px 7px; position: relative;
}
.art-paper i {
  display: block; height: 2.5px; border-radius: 2px;
  background: hsl(35 30% 60% / .25); margin-bottom: 5px;
}
.art-paper i:first-child { width: 40%; background: var(--pine); opacity: .8; }
.art-orb-sm {
  width: 42px; height: 42px; border-radius: 50%; margin-left: -12px; margin-top: 40px;
  background: conic-gradient(from 210deg, #8B7BD8, #B49BE8, #7E96D9, #8B7BD8);
  box-shadow: 0 6px 16px -6px hsl(258 30% 40% / .5), inset 0 1px 1px hsl(0 0% 100% / .4);
  display: flex; align-items: center; justify-content: center;
}

.art-bids { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 130px; }
.art-bid {
  height: 26px; border-radius: 6px; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; gap: 6px; padding: 0 8px;
}
.art-bid i { display: block; height: 3px; border-radius: 2px; background: var(--ink-3); opacity: .35; flex: 1; }
.art-bid.on { background: var(--pine-soft); box-shadow: inset 0 0 0 1.5px hsl(156 25% 23% / .55); }
.art-bid.on i { background: var(--pine); opacity: .8; }

/* ── 의견 비교 (전문가 vs AI) ─────────────────────────────────── */
.compare {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  align-items: stretch;
}
@media (min-width: 900px) { .compare { grid-template-columns: 1.06fr 1fr; gap: 26px; } }

.panel-doc {
  position: relative; border-radius: 5px; overflow: hidden;
  background: linear-gradient(168deg, #FFFDF7 0%, #FBF6EA 62%, #F7F0E1 100%);
  border: 1px solid #EDE3CE; box-shadow: var(--sh-doc);
}
.panel-doc .spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #D8C3A2, #C2A682 40%, #D8C3A2);
}
.panel-doc .inner { padding: 30px 28px 30px 32px; }

.panel-ai {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(155deg, #FAF7FE 0%, #F4F0FB 48%, #F1ECFA 100%);
  border: 1px solid #E6DDF6;
  box-shadow: 0 1px 2px hsl(258 30% 40% / .04), 0 24px 46px -34px hsl(258 30% 40% / .5);
}
.panel-ai .glow {
  position: absolute; top: -60px; right: -46px; width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(255 60% 75% / .22), transparent 68%);
}
.panel-ai .inner { position: relative; padding: 30px 28px; }

.p-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.p-tag-doc {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 5px; border-radius: 5px;
  background: var(--pine); color: #F3EFE2;
  font-size: 10px; font-weight: 800; letter-spacing: .02em;
}
.p-title-doc {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; line-height: 1.5; letter-spacing: -0.03em;
  color: #2E2519; margin: 0 0 12px; word-break: keep-all;
}
.p-body-doc { font-size: 13.5px; line-height: 1.82; color: #5C5140; margin: 0; word-break: keep-all; text-wrap: pretty; }

.p-title-ai { font-size: 14px; font-weight: 800; color: #4E3F86; letter-spacing: -0.02em; }
.p-sub-ai { font-size: 10px; color: #8A7DB5; margin-top: 2px; }
.p-ai-card {
  margin-top: 16px; padding: 13px 14px; border-radius: 10px;
  background: hsl(0 0% 100% / .72); border: 1px solid hsl(258 40% 85% / .7);
  font-size: 13px; line-height: 1.76; color: #3A3054; word-break: keep-all;
}
.p-checks { margin: 16px 0 0; padding: 0; list-style: none; }
.p-checks li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.68; color: #4C4270;
  margin-bottom: 9px; word-break: keep-all;
}
.p-checks .box {
  width: 15px; height: 15px; border-radius: 4px; flex-shrink: 0; margin-top: 2px;
  border: 1.5px solid hsl(258 34% 70% / .7); background: hsl(0 0% 100% / .6);
}
.p-disclaim {
  display: flex; gap: 6px; align-items: flex-start;
  margin-top: 18px; padding-top: 13px;
  border-top: 1px solid hsl(258 34% 80% / .45);
  font-size: 10px; line-height: 1.6; color: #8C80B0;
}

/* ── 범위 바 데모 (섹션) ──────────────────────────────────────── */
.band-demo {
  margin-top: 26px; padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-card), inset 0 0 0 1px var(--line-2);
}
.band-legend {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px;
  font-size: 11.5px; color: var(--ink-2); font-weight: 600;
}
.band-legend span { display: inline-flex; align-items: center; gap: 6px; }
.band-legend i { width: 7px; height: 7px; border-radius: 2px; display: block; }

/* ── 숫자 / 신뢰 ──────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-card);
}
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 30px 24px; }
.stat .n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.04em;
  color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums;
}
.stat .n small { font-size: .5em; font-weight: 700; color: var(--ink-3); margin-left: 2px; }
.stat .l { font-size: 12px; color: var(--ink-2); margin-top: 8px; font-weight: 600; }

/* ── 업체용 밴드 ──────────────────────────────────────────────── */
.band-partner {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, hsl(156 24% 22%) 0%, hsl(155 26% 16%) 100%);
  color: #EDF3EE;
  border-radius: 26px;
  padding: 54px 44px;
  box-shadow: 0 2px 6px hsl(30 40% 15% / .18), 0 40px 70px -44px hsl(30 40% 15% / .6);
}
@media (max-width: 760px) { .band-partner { padding: 38px 24px; border-radius: 20px; } }
.band-partner::before {
  content: ''; position: absolute; right: -80px; top: -100px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, hsl(150 40% 60% / .16), transparent 68%);
}
.band-partner .inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 880px) { .band-partner .inner { grid-template-columns: 1.25fr 1fr; gap: 40px; } }
.band-partner h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.36;
  letter-spacing: -0.04em; margin: 12px 0 12px; color: #EDF3EE;
  word-break: keep-all;
}
.band-partner p {
  margin: 0; font-size: 14px; line-height: 1.78;
  color: hsl(150 20% 88% / .74); word-break: keep-all;
}
.band-partner .eyebrow { color: var(--clay-soft); }
.band-partner .eyebrow::before { background: var(--clay-soft); opacity: .55; }
.bp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 12px;
  background: #EDF3EE; color: hsl(156 24% 20%);
  font-size: 14px; font-weight: 800; letter-spacing: -0.02em;
  transition: transform .18s var(--ease-out), background .2s;
}
.bp-btn:hover { transform: translateY(-2px); background: #fff; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px; display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink);
  word-break: keep-all;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q {
  font-family: var(--font-display); color: var(--clay);
  font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.faq summary .ico {
  margin-left: auto; flex-shrink: 0; width: 20px; height: 20px;
  border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out), background .2s;
  margin-top: 1px;
}
.faq details[open] summary .ico { transform: rotate(45deg); background: var(--clay-soft); box-shadow: none; }
.faq summary .ico::before, .faq summary .ico::after {
  content: ''; position: absolute; background: var(--ink-2); border-radius: 2px;
}
.faq summary .ico { position: relative; }
.faq summary .ico::before { width: 9px; height: 1.5px; }
.faq summary .ico::after { width: 1.5px; height: 9px; }
.faq .a {
  padding: 0 4px 24px 30px;
  font-size: 14px; line-height: 1.82; color: var(--ink-2);
  word-break: keep-all; text-wrap: pretty;
}

/* ── 최종 CTA ─────────────────────────────────────────────────── */
.final-cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: 76px 36px;
  background: var(--cta);
  box-shadow: 0 2px 6px hsl(20 60% 30% / .16), 0 44px 80px -48px hsl(20 60% 25% / .7);
}
.final-cta::before {
  content: ''; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image:
    linear-gradient(hsl(0 0% 100% / .5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / .5) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}
.final-cta::after {
  content: ''; position: absolute; left: 50%; top: -40%;
  width: 620px; height: 620px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, hsl(30 70% 60% / .28), transparent 66%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.34;
  letter-spacing: -0.042em; color: #fff; margin: 0 0 14px;
  word-break: keep-all;
}
.final-cta p {
  margin: 0 auto 30px; max-width: 440px;
  font-size: 14.5px; line-height: 1.78; color: hsl(0 0% 100% / .78);
  word-break: keep-all;
}
.final-cta .btn-primary {
  background: #fff; color: var(--clay-deep);
  box-shadow: 0 12px 26px -12px hsl(20 60% 20% / .55);
}
.final-cta .btn-primary:hover { background: #fff; color: var(--clay-deep); }
.final-cta .note { margin-top: 16px; font-size: 11.5px; color: hsl(0 0% 100% / .55); }

/* ── 푸터 ─────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 56px 0 44px; margin-top: 96px; }
.foot-top {
  display: grid; grid-template-columns: 1fr; gap: 34px; margin-bottom: 40px;
}
@media (min-width: 800px) { .foot-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); max-width: 300px; word-break: keep-all; }
.foot-col h4 {
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px;
}
.foot-col a {
  display: block; font-size: 13px; color: var(--ink-2);
  padding: 5px 0; transition: color .16s;
}
.foot-col a:hover { color: var(--clay); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line-2);
  font-size: 11.5px; color: var(--ink-3); line-height: 1.7;
}
.foot-bottom .links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-bottom .links a:hover { color: var(--ink-2); }

/* 법적 고지 (푸터) */
.foot-legal {
  margin: 8px 0 22px; padding: 16px 18px; border-radius: 12px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.75; color: var(--ink-2); word-break: keep-all;
}
.foot-legal b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; }
.foot-legal a { color: inherit; text-decoration: underline; }
