/* 주식투자법인 랜딩 — 사무소 안내문 같은 톤.
   흰 바탕 · 검정 글씨 · 가는 선 · 번호 섹션 · 표. 색은 로고의 빨강 하나만. 그라데이션·아이콘 카드·그림자 남발 없음. */
:root { --ink: #111; --sub: #5f5f5f; --line: #e4e4e4; --soft: #f6f5f2; --red: #e5392b; --w: 1080px; }
*, button, input, select, textarea { letter-spacing: -0.02em; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; }
.in { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* 상단 */
.bar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.bar .in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mark img { width: 28px; height: 28px; }
.mark span { font-weight: 900; font-size: 18px; }
.mark em { font-style: normal; color: var(--sub); font-size: 13px; font-weight: 600; padding-left: 8px; border-left: 1px solid var(--line); }
.bar nav { display: flex; gap: 18px; align-items: center; font-size: 15px; font-weight: 700; }
.bar nav a { text-decoration: none; }
.bar nav .cta { border: 1.5px solid var(--ink); padding: 6px 14px; border-radius: 4px; }

/* 첫 화면 */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 800; color: var(--red); }
.hero h1 { margin: 0; font-size: 46px; line-height: 1.22; font-weight: 900; }
.lead { margin: 22px 0 0; font-size: 17.5px; color: #333; max-width: 34em; }
.who { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--ink); }
.who li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.who li { padding-left: 14px; position: relative; }
.who li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; background: var(--red); }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; padding: 14px 22px; border-radius: 4px; border: 1.5px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn.line { background: #fff; color: var(--ink); }
.btn.wide { width: 100%; padding: 16px; font-size: 17px; }

.phone { margin: 0; justify-self: center; }
.phone-in { width: 330px; height: 640px; border: 10px solid #111; border-radius: 38px; overflow: hidden; background: #fff; }
.phone iframe { width: 390px; height: 756px; border: 0; transform: scale(.8205); transform-origin: 0 0; display: block; }
.phone figcaption { text-align: center; font-size: 13px; color: var(--sub); margin-top: 12px; }

/* 번호 섹션 */
.block { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--ink); }
.num { font-size: 15px; font-weight: 900; color: var(--red); padding-top: 8px; }
.block h2 { margin: 0 0 24px; font-size: 30px; font-weight: 900; line-height: 1.3; }
.rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rows article { padding: 20px 22px 20px 0; border-right: 1px solid var(--line); }
.rows article + article { padding-left: 22px; }
.rows article:last-child { border-right: 0; }
.rows h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.rows p { margin: 0; color: #333; font-size: 15.5px; }

table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.compare thead th { font-size: 13px; color: var(--sub); font-weight: 800; border-bottom: 1.5px solid var(--ink); }
.compare tbody th { font-weight: 800; width: 28%; }
.compare td small { display: block; color: var(--sub); font-size: 12.5px; margin-top: 2px; }
.compare td:last-child { font-weight: 700; }
.aside { margin: 24px 0 0; font-size: 16.5px; padding: 18px 20px; background: var(--soft); border-left: 3px solid var(--red); }
.fine { font-size: 13px; color: var(--sub); margin: 14px 0 0; }

.benefits { border-top: 1px solid var(--line); }
.benefits article { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.benefit-key { color: var(--red); font-size: 20px; font-weight: 900; }
.benefits h3 { margin: 0 0 5px; font-size: 18px; font-weight: 800; }
.benefits p { margin: 0; color: #333; font-size: 15.5px; line-height: 1.7; }
.benefits-actions { margin: 24px 0 0; }


.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li.hl { background: var(--soft); padding-left: 12px; padding-right: 12px; }
.steps li.hl span { font-weight: 800; color: var(--ink); }
.lead b { font-weight: 900; box-shadow: inset 0 -8px 0 rgba(229,57,43,.18); }
.steps b { font-size: 17px; font-weight: 800; }
.steps b::before { content: counter(s, decimal-leading-zero) "  "; color: var(--red); font-weight: 900; }
.steps span { color: #333; font-size: 15.5px; }

/* 비용 */
.price h2 { margin-bottom: 6px; }
.sub { margin: 0 0 26px; color: var(--sub); font-size: 15px; }
.tt { font-size: 18px; font-weight: 800; margin: 26px 0 10px; }
.fee th, .fee td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: middle; }
.fee thead th { font-size: 13px; color: var(--sub); font-weight: 800; border-bottom: 1.5px solid var(--ink); }
.fee tbody th { font-weight: 700; }
.fee { max-width: 560px; border-top: 1.5px solid var(--ink); }
.fee .won { font-size: 24px; font-weight: 900; white-space: nowrap; text-align: right; }
.fee td:last-child { color: #333; }
.incl { margin: 12px 0 0; font-size: 14.5px; color: #333; }
.notes { margin: 20px 0 0; padding-left: 18px; color: var(--sub); font-size: 14px; }
.notes li { margin: 4px 0; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-weight: 400; font-size: 22px; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: #333; font-size: 15.5px; }

/* 연락 */
.contact { background: var(--ink); color: #fff; padding: 72px 0; }
.contact-head h2 { margin: 0; font-size: 32px; font-weight: 900; }
.contact-head p { margin: 8px 0 0; color: #bdbdbd; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 30px 0; border-top: 1px solid #444; border-bottom: 1px solid #444; }
.q { text-decoration: none; padding: 20px 18px; border-right: 1px solid #444; display: block; }
.q:last-child { border-right: 0; }
.q b { display: block; font-size: 18px; font-weight: 800; }
.q span { color: #bdbdbd; font-size: 14px; }
.q:hover b { text-decoration: underline; }
#lead { max-width: 640px; }
#lead .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#lead label { display: block; font-size: 14px; font-weight: 700; color: #ddd; margin-bottom: 14px; }
#lead input:not([type=radio]):not([type=checkbox]), #lead select, #lead textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 12px; font: inherit; font-size: 16px; color: #fff; background: #1d1d1d; border: 1px solid #444; border-radius: 4px; }
#lead textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-size: 14px; font-weight: 700; color: #ddd; margin-bottom: 6px; }
.pick { display: inline-block !important; margin: 0 6px 6px 0 !important; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 9px 14px; border: 1px solid #555; border-radius: 4px; font-weight: 700; color: #ddd; cursor: pointer; }
.pick input:checked + span { background: #fff; color: #111; border-color: #fff; }
.agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.agree input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.agree small { display: block; color: #9b9b9b; font-size: 12.5px; margin-top: 2px; }
.contact .btn { background: #fff; color: #111; border-color: #fff; }
.form-msg { min-height: 1.5em; margin: 12px 0 0; font-weight: 700; }
.form-msg.ok { color: #9fe3a4; } .form-msg.err { color: #ff9b91; }

.foot { padding: 28px 0 60px; font-size: 14px; }
.foot p { margin: 4px 0; }
.office { color: var(--sub); }

/* 분기 보고서 미리보기: 장부 화면과 같은 톤(회색 바탕, 흰 카드, 이익 빨강·손실 파랑) */
#report .sub { margin: -12px 0 22px; color: #555; }
.rp { background: #f2f4f6; border-radius: 20px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-card { background: #fff; border-radius: 16px; padding: 18px 18px 14px; }
.rp-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #191f28; }
.rp-hero { grid-column: 1 / -1; }
.rp-co { margin: 0; font-size: 13px; color: #8b95a1; }
.rp-lb { margin: 10px 0 0; font-size: 14px; color: #4e5968; }
.rp-big { margin: 2px 0 0; font-size: 30px; font-weight: 700; }
.rp .up { color: #f04452; } .rp .down { color: #3182f6; }
.rp-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rp-t th { text-align: left; font-weight: 400; color: #4e5968; padding: 8px 0; vertical-align: top; }
.rp-t th small { display: block; font-size: 12px; color: #8b95a1; }
.rp-t td { text-align: right; font-weight: 600; color: #191f28; padding: 8px 0; white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: top; }
.rp-t td.up { color: #f04452; }
.rp-t tr.sum th, .rp-t tr.sum td { border-top: 1px solid #e5e8eb; padding-top: 11px; font-weight: 700; color: #191f28; }
.rp-t tr.sum td.up { color: #f04452; }
.rp-t tr.sum th small { font-weight: 400; color: #8b95a1; }
.rp-bar { height: 9px; border-radius: 5px; background: #f2f4f6; overflow: hidden; margin-top: 4px; }
.rp-bar i { display: block; height: 100%; background: #3182f6; border-radius: 5px; }
.rp-bar-l { display: flex; justify-content: space-between; margin: 5px 0 4px; font-size: 12px; color: #8b95a1; }
.rp-card:last-child { grid-column: 1 / -1; }
.rp-s { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-s th { font-size: 12px; font-weight: 400; color: #8b95a1; text-align: right; padding: 4px 4px 8px; }
.rp-s th:first-child, .rp-s td:first-child { text-align: left; }
.rp-s td { text-align: right; padding: 10px 4px; border-top: 1px solid #f2f4f6; white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: top; }
.rp-s td.nm { font-weight: 600; color: #191f28; }
.rp-s td.nm span { display: block; font-size: 11.5px; color: #8b95a1; font-weight: 400; }
.rp .hb { margin: 0 0 10px; }
.rp .hb-row { display: grid; grid-template-columns: 32% 1fr 84px; gap: 8px; align-items: center; padding: 6px 0; }
.rp .hb-l { font-size: 13.5px; color: #4e5968; }
.rp .hb-t { display: flex; height: 14px; }
.rp .hb-t .half { display: flex; }
.rp .hb-t .half.neg { flex: 0 0 18%; justify-content: flex-end; border-right: 1px solid #e5e8eb; }
.rp .hb-t .half.pos { flex: 1; }
.rp .hb-t i { display: block; height: 100%; border-radius: 4px; }
.rp .hb-t i.upb { background: #f04452; } .rp .hb-t i.dn { background: #3182f6; }
.rp .hb-v { text-align: right; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.rp-unit { margin: -4px 0 0; text-align: right; font-size: 12px; color: #8b95a1; }
.rp-chart { width: 100%; height: auto; display: block; }
.rp-chart .tk { font-size: 12px; fill: #8b95a1; text-anchor: middle; }
.rp-chart .vl { font-size: 11px; font-weight: 600; text-anchor: middle; }
.rp .wbar { display: flex; height: 16px; border-radius: 6px; overflow: hidden; margin: 2px 0 10px; }
.rp .wbar i { display: block; height: 100%; }
.rp .wbar i + i { border-left: 2px solid #fff; }
.rp-s td.nm b { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.rp-notes { list-style: none; padding: 0; margin: 16px 0 18px; font-size: 13.5px; color: #666; }
.rp-notes li { margin: 3px 0; }

@media (max-width: 860px) {
  .rp { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .rp-big { font-size: 28px; }
  .rp-s { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16.5px; }
  .block { grid-template-columns: 1fr; gap: 8px; padding-top: 40px; padding-bottom: 40px; }
  .block h2 { font-size: 25px; }
  .rows { grid-template-columns: 1fr; }
  .rows article, .rows article + article { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .compare tbody th { width: auto; }
  .fee th, .fee td { padding: 12px 8px; }
  .fee .won { font-size: 20px; }

  .quick { grid-template-columns: 1fr; }
  .q { border-right: 0; border-bottom: 1px solid #444; }
  .q:last-child { border-bottom: 0; }
  #lead .grid { grid-template-columns: 1fr; gap: 0; }
  .mark em { display: none; }
  .contact-head h2 { font-size: 26px; }
}
@media (max-width: 400px) {
  .phone-in { width: 300px; height: 580px; }
  .phone iframe { transform: scale(.746); }
}

/* 개인 vs 법인 금액별 비교표 */
.matrix { margin: 22px 0 6px; }
.matrix img { display: block; width: 100%; max-width: 540px; height: auto; border-radius: 18px; }
.matrix figcaption { margin-top: 8px; font-size: 14px; color: #555; }
