/* =========================================================
   TERRA 인사이트 — 한국 증시 학습 시스템
   Palette: 테라코타 가마 (Terracotta Kiln)
   ========================================================= */

:root {
  --clay:    #B86F4F;   /* 주 색 */
  --clay-dk: #9C5B3C;
  --clay-dp: #7E4731;
  --sand:    #D4A574;   /* 보조 / 골드 */
  --sand-lt: #E8C9A0;
  --cream:   #F2E7D5;   /* 배경 */
  --cream-lt:#FAF4EA;
  --ink:     #2C1F18;   /* 본문 */
  --ink-soft:#6A574B;
  --line:    rgba(124, 81, 56, .16);
  --up:      #C2462F;   /* 한국식: 상승=빨강 */
  --down:    #2E6FB0;   /* 하락=파랑 */
  --white:   #FFFFFF;

  --shadow-sm: 0 4px 14px rgba(124, 71, 47, .12);
  --shadow-md: 0 18px 44px rgba(124, 71, 47, .16);
  --shadow-lg: 0 34px 80px rgba(108, 60, 38, .22);

  --serif: "Noto Serif KR", serif;
  --sans:  "Noto Sans KR", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 12% -8%, #FBF2E4 0%, rgba(251,242,228,0) 55%),
    radial-gradient(900px 640px at 100% 6%, #F6E4CF 0%, rgba(246,228,207,0) 50%),
    linear-gradient(180deg, #FBF5EC 0%, #F2E7D5 100%);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px; /* dock 공간 */
}

img { max-width: 100%; display: block; }
b, strong { font-weight: 700; }

/* ---------- 그레인 텍스처 ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   버튼
   ========================================================= */
.btn {
  --pad-y: .82rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  line-height: 1.1; letter-spacing: -.01em;
  padding: var(--pad-y) var(--pad-x);
  border: none; border-radius: 100px; cursor: pointer;
  text-decoration: none; color: inherit;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, background .22s;
  white-space: nowrap;
}
.btn .btn-icon { width: 1.32em; height: 1.32em; border-radius: 6px; object-fit: cover; }
.btn i { font-size: .95em; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #C8794F 0%, var(--clay) 45%, var(--clay-dk) 100%);
  box-shadow: 0 10px 26px rgba(159, 86, 52, .38), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(159, 86, 52, .46), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255,255,255,.6); color: var(--clay-dp);
  border: 1.5px solid var(--line); backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; border-color: var(--clay); transform: translateY(-2px); }

.btn--text { background: transparent; color: var(--clay-dp); padding-left: .4rem; padding-right: .4rem; }
.btn--text:hover { color: var(--clay); }

.btn--sm  { --pad-y: .58rem; --pad-x: 1.05rem; font-size: .9rem; }
.btn--lg  { --pad-y: 1rem;  --pad-x: 1.9rem; font-size: 1.08rem; }
.btn--xl  { --pad-y: 1.15rem; --pad-x: 2.3rem; font-size: 1.18rem; }

/* =========================================================
   실시간 티커
   ========================================================= */
.ticker {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: .8rem;
  background: linear-gradient(90deg, #2C1F18, #3A2A20);
  color: var(--cream-lt);
  padding: .5rem 1rem; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ticker__tag {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .12em;
  color: #1b130e; background: var(--sand); padding: .26rem .6rem; border-radius: 6px;
}
.ticker__tag i { color: var(--up); }
.ticker__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: inline-flex; white-space: nowrap; animation: tickerScroll 46s linear infinite; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: baseline; gap: .5rem; padding: 0 1.5rem; font-family: var(--sans); font-size: .86rem; border-right: 1px solid rgba(255,255,255,.08); }
.tick__name { font-weight: 500; color: #EAD9C2; }
.tick__px { color: #fff; font-weight: 700; }
.tick__chg { font-weight: 700; font-size: .82rem; }
.tick__chg.up { color: #FF8A6E; } .tick__chg.down { color: #7FB4E8; }

/* =========================================================
   헤더
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: .85rem 1.4rem;
  background: rgba(250,244,234,.78); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(135deg, var(--clay), var(--clay-dp)); color: var(--sand-lt);
  font-size: 1.1rem; box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.18rem; font-weight: 900; letter-spacing: .04em; }
.brand__text em { font-style: normal; font-size: .72rem; color: var(--ink-soft); letter-spacing: .22em; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-size: .96rem; font-weight: 500; transition: color .2s; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--clay); transition: width .25s; }
.site-nav a:hover { color: var(--clay); } .site-nav a:hover::after { width: 100%; }

/* =========================================================
   히어로
   ========================================================= */
.hero { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 3.4rem 1.4rem 2rem; }
.hero__bg { position: absolute; inset: -40px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; }
.orb--1 { width: 420px; height: 420px; top: -90px; right: -60px; background: radial-gradient(circle, rgba(212,165,116,.85), transparent 70%); }
.orb--2 { width: 360px; height: 360px; bottom: -120px; left: -80px; background: radial-gradient(circle, rgba(184,111,79,.55), transparent 70%); }
.hero__candles { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 230px; opacity: .5; }

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }

.hero__brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; }
.hero__brand .brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--clay), var(--clay-dp)); color: var(--sand-lt); font-size: 1rem; box-shadow: var(--shadow-sm); }
.hero__brand .brand__text { display: flex; flex-direction: column; line-height: 1; }
.hero__brand .brand__text strong { font-size: 1.12rem; font-weight: 900; letter-spacing: .04em; }
.hero__brand .brand__text em { font-style: normal; font-size: .68rem; color: var(--ink-soft); letter-spacing: .22em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--clay-dp);
  background: rgba(255,255,255,.6); border: 1px solid var(--line);
  padding: .4rem .85rem; border-radius: 100px; margin-bottom: 1.3rem;
}
.eyebrow i { color: var(--clay); }
.eyebrow--center { margin-left: auto; margin-right: auto; }

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.08;
  letter-spacing: -.02em; margin-bottom: 1.3rem;
}
.hl {
  background: linear-gradient(120deg, var(--clay) 0%, var(--clay-dk) 40%, var(--sand) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: relative; white-space: nowrap;
}
.hero__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 33ch; margin-bottom: 1.9rem; font-weight: 400; }
.hero__lead b { color: var(--clay-dp); font-weight: 700; }

.hero__cta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.hero__chips li { font-family: var(--sans); font-size: .9rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .45rem; }
.hero__chips i { color: var(--clay); font-size: .8rem; }

/* 히어로 비주얼 */
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: 4% 6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(212,165,116,.55), rgba(184,111,79,.16) 52%, transparent 72%);
  filter: blur(4px);
}
.hero__img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 50px rgba(120,66,40,.28)); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.quote-card {
  position: absolute; left: -8%; bottom: 6%; width: 240px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px;
  padding: 1rem 1.1rem .7rem; box-shadow: var(--shadow-md);
  animation: floatY 6s ease-in-out infinite .6s;
}
.quote-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.quote-card__label { font-family: var(--sans); font-weight: 700; font-size: .72rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .35rem; }
.quote-card__label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(194,70,47,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,70,47,.5);} 70%{ box-shadow: 0 0 0 8px rgba(194,70,47,0);} 100%{box-shadow:0 0 0 0 rgba(194,70,47,0);} }
.quote-card__time { font-family: var(--sans); font-size: .66rem; color: #fff; background: var(--clay); padding: .12rem .45rem; border-radius: 5px; }
.quote-card__value { font-family: var(--sans); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; color: var(--ink); }
.quote-card__delta { font-family: var(--sans); font-weight: 700; font-size: .86rem; margin-top: .1rem; }
.quote-card__delta.is-up { color: var(--up); } .quote-card__delta.is-down { color: var(--down); }
.quote-card__spark { width: 100%; height: 46px; margin-top: .4rem; }

.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border-radius: 14px; padding: .6rem .85rem;
  box-shadow: var(--shadow-md); font-family: var(--sans); font-size: .82rem; color: var(--ink-soft);
  border: 1px solid var(--line);
}
.float-badge b { color: var(--ink); }
.float-badge i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(184,111,79,.12); color: var(--clay); }
.float-badge--a { top: 4%; right: -4%; animation: floatY 5.2s ease-in-out infinite .2s; }
.float-badge--b { top: 40%; right: -8%; animation: floatY 5.6s ease-in-out infinite .9s; }

/* =========================================================
   지표 스트립
   ========================================================= */
.pstats {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 1.6rem auto 0; padding: 1.6rem 1.4rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.pstat { text-align: center; position: relative; }
.pstat + .pstat::before { content: ""; position: absolute; left: -.5rem; top: 50%; transform: translateY(-50%); height: 56%; width: 1px; background: var(--line); }
.pstat__num { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; color: var(--clay-dk); letter-spacing: -.02em; font-family: var(--sans); }
.pstat__cap { font-size: .88rem; color: var(--ink-soft); margin-top: .1rem; }

/* =========================================================
   섹션 공통
   ========================================================= */
section { position: relative; z-index: 2; }
.section-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; }
.section-sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.04rem; }

.why { max-width: var(--maxw); margin: 0 auto; padding: 4.5rem 1.4rem; }

/* 균일 카드 그리드 — PC 4열 */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--cream-lt), #fff);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(184,111,79,.4); }

.feature__no {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  color: var(--clay); margin-bottom: .9rem;
}
.feature__ico {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px;
  font-size: 1.2rem; color: #fff; margin-bottom: .9rem; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--clay), var(--clay-dp));
  box-shadow: 0 8px 18px rgba(159,86,52,.3);
}
.feature h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: -.01em; }
.feature p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }

/* =========================================================
   좌우 분할 모듈
   ========================================================= */
.system { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.4rem 4rem; display: flex; flex-direction: column; gap: 4.5rem; }
/* 오버랩 쇼케이스 */
.split { position: relative; display: flex; align-items: center; }
.split--reverse { flex-direction: row-reverse; }

.split__media { position: relative; width: 62%; flex: 0 0 62%; z-index: 1; }
.split__media img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.split__media::after {
  content: ""; position: absolute; inset: 0; border-radius: 26px; pointer-events: none;
  background: linear-gradient(120deg, rgba(44,31,24,.28), transparent 55%);
}

.split__text {
  position: relative; z-index: 3; width: 44%; flex: 0 0 44%; margin-left: -6%;
  background: rgba(250,244,234,.9); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 22px;
  padding: 2.1rem 2rem; box-shadow: var(--shadow-lg);
}
.split--reverse .split__text { margin-left: 0; margin-right: -6%; }
.split__step { position: absolute; top: 1rem; right: 1.4rem; font-family: var(--sans); font-size: 2.6rem; font-weight: 800; color: rgba(184,111,79,.14); line-height: 1; }
.split__text h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.26; letter-spacing: -.02em; margin-bottom: 1rem; }
.split__text p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1.3rem; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.6rem; }
.ticks li { display: flex; align-items: center; gap: .65rem; font-size: .98rem; color: var(--ink); }
.ticks i { color: var(--clay); font-size: 1.05rem; }

/* 미디어 위 실시간 데이터 칩 */
.data-chip {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 4;
  display: flex; flex-direction: column; gap: .1rem; min-width: 130px;
  background: rgba(26,18,13,.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  padding: .7rem .95rem; color: #fff; font-family: var(--sans); box-shadow: var(--shadow-md);
}
.split--reverse .data-chip { left: auto; right: 1.1rem; top: 1.1rem; bottom: auto; }
.data-chip__top { font-size: .72rem; color: #EAD9C2; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.data-chip__top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 1.8s infinite; }
.data-chip__val { font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
.data-chip__val small { font-size: .78rem; color: #C9B6A4; }
.data-chip__val b { color: #6FE08A; }
.data-chip__chg { font-size: .82rem; font-weight: 700; color: #FF8A6E; }
.data-chip__sub { font-size: .72rem; color: #C9B6A4; }

/* =========================================================
   리서치 섹션
   ========================================================= */
/* 풀블리드 리서치 배너 */
.reports {
  position: relative; max-width: var(--maxw); margin: 0 auto 4.5rem;
  border-radius: 30px; overflow: hidden; background: #1A120D; box-shadow: var(--shadow-lg);
  min-height: 460px; display: flex; align-items: center;
}
.reports__media { position: absolute; inset: 0; z-index: 0; }
.reports__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.reports::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(20,13,9,.95) 0%, rgba(20,13,9,.86) 42%, rgba(20,13,9,.3) 100%);
}
.reports__text { position: relative; z-index: 2; max-width: 560px; padding: 3.2rem 2.6rem; color: var(--cream-lt); }
.reports__text .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: var(--sand-lt); }
.reports__text .eyebrow i { color: var(--sand); }
.reports__text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.24; letter-spacing: -.02em; margin-bottom: 1rem; }
.reports__text p { color: rgba(242,231,213,.82); font-size: 1.04rem; margin-bottom: 1.6rem; }
.reports__mini { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; }
.mini {
  display: flex; align-items: center; gap: .9rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: .75rem 1rem; backdrop-filter: blur(6px);
}
.mini__ico { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: rgba(212,165,116,.18); color: var(--sand); font-size: 1.1rem; }
.mini b { display: block; font-size: 1rem; color: #fff; }
.mini small { color: rgba(242,231,213,.7); font-size: .85rem; }

/* =========================================================
   후기 슬라이더
   ========================================================= */
.voices { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.4rem 4.5rem; }
.slider { position: relative; max-width: 1180px; margin: 0 auto; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; gap: 1.2rem; transition: transform .6s cubic-bezier(.22,.8,.2,1); will-change: transform; }
.review {
  flex: 0 0 auto; background: linear-gradient(180deg, #fff, var(--cream-lt));
  border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-height: 246px;
}
.review__stars { color: var(--sand); font-size: .92rem; margin-bottom: .8rem; letter-spacing: .1em; }
.review__body { color: var(--ink); font-size: .98rem; line-height: 1.7; flex: 1; }
.review__who { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.1rem; background: var(--a, var(--clay)); }
.review__who b { display: block; font-size: .96rem; }
.review__who small { color: var(--ink-soft); font-size: .82rem; }

.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--clay-dk); cursor: pointer; font-size: 1rem;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, transform .2s, color .2s;
}
.slider__nav:hover { background: var(--clay); color: #fff; }
.slider__nav--prev { left: -14px; } .slider__nav--next { right: -14px; }
.slider__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(184,111,79,.28); cursor: pointer; transition: width .25s, background .25s; }
.slider__dot.is-active { width: 26px; border-radius: 100px; background: var(--clay); }

/* =========================================================
   최종 CTA
   ========================================================= */
.finale { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.4rem 4rem; }
.finale__card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(140deg, #3A2A20 0%, #5A3826 55%, var(--clay-dk) 100%);
  color: var(--cream-lt); border-radius: 30px; padding: 3.6rem 2rem;
  box-shadow: var(--shadow-lg);
}
.finale__card .orb--3 { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(212,165,116,.5), transparent 70%); opacity: .8; }
.finale__card .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: var(--sand-lt); }
.finale__card .eyebrow i { color: var(--sand); }
.finale__card h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; margin-bottom: 1rem; position: relative; }
.finale__card p { color: rgba(242,231,213,.82); max-width: 46ch; margin: 0 auto 1.9rem; font-size: 1.06rem; position: relative; }
.finale__card .btn--xl { position: relative; }
.finale__fine { font-family: var(--sans); font-size: .84rem; color: rgba(242,231,213,.6); margin-top: 1.1rem; }

/* =========================================================
   푸터
   ========================================================= */
.site-footer { max-width: var(--maxw); margin: 0 auto; padding: 2.6rem 1.4rem 2rem; border-top: 1px solid var(--line); }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.brand--footer .brand__mark { width: 36px; height: 36px; font-size: 1rem; }
.legal { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.legal button { background: none; border: none; cursor: pointer; font-family: var(--serif); font-size: .94rem; color: var(--ink-soft); transition: color .2s; position: relative; padding: .2rem 0; }
.legal button:hover { color: var(--clay); }
.site-footer__fine { font-size: .86rem; color: var(--ink-soft); max-width: 70ch; margin-bottom: .8rem; }
.site-footer__copy { font-family: var(--sans); font-size: .8rem; color: rgba(106,87,75,.7); }

/* =========================================================
   하단 고정 CTA (항상 표시)
   ========================================================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; justify-content: center;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(250,244,234,0), rgba(250,244,234,.92) 35%);
  backdrop-filter: blur(8px); pointer-events: none;
}
.btn--dock { pointer-events: auto; width: min(520px, 100%); box-shadow: 0 14px 36px rgba(159,86,52,.5); }

/* =========================================================
   모달
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(44,31,24,.55); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal__dialog {
  position: relative; z-index: 2; width: min(560px, 100%); max-height: 84vh; overflow-y: auto;
  background: var(--cream-lt); border-radius: 22px; padding: 2.1rem 1.9rem 1.8rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: popIn .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-soft); font-size: 1rem; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--clay); color: #fff; }
.modal__title { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; color: var(--ink); padding-right: 2rem; }
.modal__content { color: var(--ink-soft); font-size: .96rem; }
.modal__content h4 { color: var(--clay-dp); font-size: 1rem; font-weight: 700; margin: 1.1rem 0 .35rem; }
.modal__content p { margin-bottom: .5rem; }

/* =========================================================
   캔들 / 리빌 애니메이션
   ========================================================= */
.candle { opacity: 0; animation: candleIn .55s ease forwards; }
@keyframes candleIn { from { opacity: 0; } to { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .06s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .26s; } .reveal-d4 { transition-delay: .36s; }
/* 풀블리드 배경은 이동 없이 페이드만 */
.reports__media.reveal { transform: none; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__copy { text-align: center; }
  .hero__brand { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__chips { justify-content: center; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .quote-card { left: -2%; }

  /* 쇼케이스 → 세로 스택 (살짝 겹침 유지) */
  .split, .split--reverse { flex-direction: column; }
  .split__media, .split--reverse .split__media { width: 100%; flex: none; }
  .split__text, .split--reverse .split__text { width: 90%; flex: none; margin: -2.8rem auto 0; }

  /* 리서치 배너 → 세로 오버레이 */
  .reports { min-height: 0; }
  .reports::before { background: linear-gradient(180deg, rgba(20,13,9,.72), rgba(20,13,9,.95)); }
  .reports__text { max-width: 100%; padding: 2.4rem 1.8rem; }

  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 84px; }
  .hero { padding: 2.2rem 1.1rem 1.4rem; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hl { white-space: normal; }
  .hero__lead { font-size: 1.02rem; }
  .hero__chips { gap: .8rem 1rem; }

  .pstats { grid-template-columns: repeat(2, 1fr); gap: .8rem 1rem; padding: 1.3rem 1rem; row-gap: 1.3rem; }
  .pstat:nth-child(3)::before, .pstat:nth-child(2)::before { display: none; }
  .pstat + .pstat::before { display: none; }

  .why { padding: 2.6rem 1.1rem; }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .feature { padding: 1.2rem 1rem; border-radius: 14px; }
  .feature__ico { width: 42px; height: 42px; font-size: 1.05rem; margin-bottom: .7rem; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: .85rem; line-height: 1.55; }

  .system { padding: .5rem 1.1rem 3rem; gap: 2.6rem; }
  .split__text, .split--reverse .split__text { width: 100%; padding: 1.7rem 1.4rem; margin-top: -2.4rem; }
  .reports { margin-bottom: 3rem; }
  .voices { padding: 1.5rem 1.1rem 3.5rem; }
  .section-head { margin-bottom: 2rem; }

  .hero__visual { max-width: 330px; padding-bottom: 2.4rem; }
  .hero__visual::before { inset: 0 2% 18%; }
  .float-badge { font-size: .74rem; padding: .45rem .65rem; }
  .float-badge i { width: 24px; height: 24px; }
  .float-badge--a { top: 0; right: -2%; transform: scale(.82); }
  .float-badge--b { display: none; }
  .quote-card { width: 172px; left: -1%; bottom: 0; padding: .7rem .8rem; }
  .quote-card__value { font-size: 1.25rem; }
  .quote-card__spark { height: 34px; }

  .slider__nav { display: none; }
  .finale__card { padding: 2.6rem 1.3rem; border-radius: 24px; }

  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 380px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
}
