:root {
  --ink: #101828;
  --muted: #5b6b7c;
  --line: rgba(16, 24, 40, 0.1);
  --paper: #f3efe7;
  --panel: #ffffff;
  --accent: #0a5c45;
  --accent-soft: rgba(10, 92, 69, 0.12);
  --warm: #b85a2a;
  --danger: #a61f14;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.09);
  --radius: 20px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --display: "Shippori Mincho", "Noto Serif KR", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(10, 92, 69, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(184, 90, 42, 0.1), transparent 50%),
    linear-gradient(180deg, #f8f5ef 0%, var(--paper) 35%, #ebe4d8 100%);
}

.wrap {
  width: min(740px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(248, 245, 239, 0.78);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0d7356, #074536);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(10, 92, 69, 0.28);
}
.brand__name {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn--sm {
  padding: 8px 14px;
  font-size: 0.86rem;
  background: var(--ink);
  color: #fff;
}
.btn--primary {
  background: linear-gradient(135deg, #0d7356, #074536);
  color: #fff;
  box-shadow: 0 12px 30px rgba(10, 92, 69, 0.32);
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.btn--lg {
  padding: 16px 26px;
  font-size: 1.02rem;
  width: 100%;
  max-width: 360px;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(10, 92, 69, 0.28); }
  50% { box-shadow: 0 14px 36px rgba(10, 92, 69, 0.45); }
}

/* Full-bleed hero */
.hero-stage {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  z-index: 1;
}
.hero-stage__media {
  position: absolute;
  inset: 0;
}
.hero-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out both;
}
.hero-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.35) 0%, rgba(10, 18, 28, 0.55) 45%, rgba(10, 18, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 40, 30, 0.35), transparent 55%);
}
.hero-stage__copy {
  position: relative;
  z-index: 2;
  padding: 0 0 48px;
  color: #fff;
  animation: rise .8s ease both;
}
.brand-hero {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 18em;
}
.hero__title em {
  font-style: normal;
  color: #f0c9a8;
}
.hero__lead {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  font-weight: 500;
  max-width: 28em;
  line-height: 1.65;
}
.hero__cta { display: flex; }

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.04); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Article body */
.article {
  padding: 28px 0 72px;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* KOSPI visual board */
.kospi-board {
  margin: 8px 0 32px;
  padding: 18px 18px 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.kospi-board__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.84rem;
}
.kospi-board__head span { color: var(--muted); font-weight: 600; }
.kospi-board__head strong { color: var(--accent); }
.kospi-chart {
  width: 100%;
  height: 140px;
  display: block;
}
.kospi-chart__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 1.6s ease forwards .2s;
}
.kospi-chart__area {
  opacity: 0;
  animation: fadeArea .8s ease forwards 1s;
}
.kospi-board__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeArea {
  to { opacity: 1; }
}

.block { margin: 34px 0; }
.block h2 {
  margin: 0 0 16px;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}
.block h2 span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  flex: none;
}
.block p { margin: 0 0 14px; color: #243247; }
.block p b, .block li b { color: var(--ink); }

.callout, .warn {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.callout {
  border-left: 4px solid var(--accent);
  margin: 18px 0;
}
.callout strong { display: block; margin-bottom: 8px; font-size: 1.02rem; }
.warn {
  border-left: 4px solid var(--danger);
  margin: 18px 0;
  background: #fff7f5;
}
.warn strong { color: var(--danger); display: block; margin-bottom: 8px; }

.chain, .risk-list, .fit-list, .quotes, .steps, .comment-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.chain { counter-reset: step; }
.chain li {
  position: relative;
  padding: 12px 14px 12px 48px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.chain li:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(16,24,40,0.06);
}
.chain li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.risk-list li, .fit-list li {
  padding: 12px 14px 12px 36px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.72);
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
}
.risk-list li::before, .fit-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
}
.highlight {
  font-weight: 700;
  color: var(--ink) !important;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-radius: 12px;
  padding: 12px 14px !important;
}
blockquote {
  margin: 16px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 14px 14px 0;
  color: var(--ink);
  font-weight: 500;
}
.quotes li {
  margin-bottom: 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0 !important;
}
.pill-row a {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  color: #dff5eb;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
  cursor: pointer;
}
.pill-row span {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  color: #dff5eb;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}
.pill-row a:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
  color: #fff;
}

.brand-banner {
  padding: 32px 26px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(184,90,42,0.28), transparent 50%),
    linear-gradient(145deg, #0a5c45 0%, #063528 100%);
  box-shadow: 0 24px 50px rgba(6, 53, 40, 0.28);
}
.brand-banner .eyebrow { color: #b8e6d4; }
.brand-banner h2 {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin-bottom: 12px;
  display: block;
}
.brand-banner p { color: rgba(255,255,255,0.86); }

.method { display: grid; gap: 12px; }
.method article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.method article:hover { transform: translateY(-3px); }
.method em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.method h3 { margin: 8px 0 10px; font-size: 1.08rem; }
.method .note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
}

.steps { display: grid; gap: 8px; }
.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.cta-panel {
  text-align: center;
  margin: 44px 0;
  padding: 40px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(10,92,69,0.14), transparent 60%),
    #fff;
  box-shadow: var(--shadow);
}
.cta-panel__brand {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.cta-panel h2 {
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: block;
}
/* Document images */
.doc-figure {
  margin: 8px 0 28px;
  padding: 0;
}
.doc-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.doc-figure figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.fig-cta {
  display: block;
  margin: 12px auto 0;
  text-align: center;
  font-size: clamp(1.05rem, 3.2vw, 1.28rem);
  font-weight: 800;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  transition: color .2s ease, opacity .2s ease;
}
.fig-cta:hover {
  color: #084636;
  opacity: 0.92;
}
.doc-figure--side {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.life-strip {
  margin: 28px 0 36px;
  padding: 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.life-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.life-strip__grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}
.life-strip p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.life-strip .fig-cta {
  margin-top: 14px;
}

/* Lead form (doc image11 style) */
.lead-form {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #141414;
  color: #fff;
  text-align: left;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 8px;
}
.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 13px 12px;
  font: inherit;
  font-size: 0.92rem;
}
.lead-form__btn {
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: #0a6eb8;
  color: #fff;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .15s;
}
.lead-form__btn:hover { filter: brightness(1.08); }
.lead-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
}
.lead-form__agree a { color: #8ec8ff; }
.lead-form__privacy {
  margin: 8px 0 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.lead-form__msg {
  margin: 10px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #7dffa8;
}
.lead-form__msg.is-error { color: #ff8f8f; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(16,24,40,0.12);
}

@media (max-width: 640px) {
  .life-strip__grid { grid-template-columns: 1fr; }
  .life-strip__grid img { height: 180px; }
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__btn { padding: 13px 16px; }
}

.comments {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.comments__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.comments__head h2 { margin: 0; font-size: 1.12rem; }
.comments__head span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.comment-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.comment-list li:first-child { border-top: 0; padding-top: 0; }
.comment-list strong { display: block; margin-bottom: 4px; }
.comment-list p { margin: 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.8rem;
  background: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}
.site-footer__brand {
  color: var(--ink);
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.disclaimer {
  margin-top: 12px;
  line-height: 1.55;
  color: #7a8699;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .hero-stage { min-height: 78vh; }
  .hero-stage__copy { padding-bottom: 36px; }
  .brand-banner, .cta-panel { padding: 28px 18px; }
  .method article, .comments, .callout, .warn, .kospi-board { padding: 16px; }
}
