.plan-page {
  --bg: #0d0d0d;
  --surface: #151515;
  --surface-2: #1b1b1b;
  --text: #ffffff;
  --soft: #d7d7d7;
  --muted: #a7a7a7;
  --line: rgba(179, 179, 179, 0.16);
  --green: #1ed760;
  --blue: #8ab4ff;
  --red: #ff6b5f;
  --gold: #d7c48a;
  background: var(--bg);
  color: var(--text);
}

.plan-page .site-header {
  background: rgba(18, 18, 18, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.plan-page .brand,
.plan-page .nav-links a {
  color: var(--text);
}

.plan-page .brand::before {
  background: var(--green);
}

.plan-page .nav-links a {
  color: var(--muted);
}

.plan-page main {
  background: var(--bg);
  overflow-x: hidden;
}

section {
  scroll-margin-top: 84px;
}

.plan-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: 118px clamp(22px, 5.6vw, 78px) 56px;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.9) 54%, rgba(13, 13, 13, 0.64) 100%),
    #111111;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.plan-hero h1,
.section-head h2,
.verdict-section h2,
.ask-section h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
  word-break: keep-all;
}

.hero-line {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--soft);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.45;
  font-weight: 750;
  word-break: keep-all;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: clamp(34px, 5vw, 58px) 0 0;
}

.hero-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-facts dt,
.hero-facts dd {
  margin: 0;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-facts dd {
  margin-top: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.24;
  word-break: keep-all;
}

.hero-product {
  margin: 0;
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--line);
}

.verdict-section,
.problem-section,
.room-section,
.loop-section,
.journey-section,
.instagram-section,
.market-section,
.success-section,
.tool-section,
.economics-section,
.unit-section,
.finance-section,
.milestone-section,
.risk-section,
.ask-section {
  padding: clamp(70px, 8vw, 118px) clamp(22px, 5.6vw, 78px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.verdict-section:nth-of-type(even),
.problem-section:nth-of-type(even),
.room-section:nth-of-type(even),
.loop-section:nth-of-type(even),
.journey-section:nth-of-type(even),
.instagram-section:nth-of-type(even),
.market-section:nth-of-type(even),
.success-section:nth-of-type(even),
.tool-section:nth-of-type(even),
.economics-section:nth-of-type(even),
.unit-section:nth-of-type(even),
.finance-section:nth-of-type(even),
.milestone-section:nth-of-type(even),
.risk-section:nth-of-type(even) {
  background: #111111;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 1000px;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  word-break: keep-all;
}

.section-head h2,
.verdict-section h2,
.ask-section h2 {
  max-width: 980px;
  font-size: clamp(36px, 5vw, 70px);
}

.verdict-grid,
.plain-grid,
.risk-grid,
.ask-grid,
.revenue-map,
.unit-table,
.instagram-flow,
.mobile-flow,
.state-flow {
  display: grid;
  gap: 1px;
  margin-top: clamp(34px, 5vw, 62px);
  background: var(--line);
  border: 1px solid var(--line);
}

.verdict-grid,
.plain-grid,
.revenue-map,
.mobile-flow,
.state-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instagram-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.unit-table {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.finance-summary,
.mix-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(34px, 5vw, 62px);
  background: var(--line);
  border: 1px solid var(--line);
}

.finance-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mix-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.finance-summary div,
.mix-grid div {
  min-height: 140px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.finance-summary span,
.mix-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  word-break: keep-all;
}

.finance-summary strong,
.mix-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.08;
  word-break: keep-all;
}

.mix-grid em {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.risk-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.verdict-grid div,
.plain-grid div,
.risk-grid div,
.ask-grid div,
.revenue-map div,
.unit-table div,
.instagram-flow div,
.mobile-flow div,
.state-flow div {
  min-height: 170px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.verdict-grid span,
.plain-grid span,
.risk-grid span,
.ask-grid span,
.revenue-map span,
.unit-table span,
.milestone-list span,
.instagram-flow span,
.state-flow span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  word-break: keep-all;
}

.instagram-flow span,
.state-flow span {
  color: var(--green);
}

.verdict-grid strong,
.plain-grid strong,
.risk-grid strong,
.ask-grid strong,
.revenue-map strong,
.unit-table strong,
.milestone-list strong,
.instagram-flow strong,
.mobile-flow strong,
.state-flow strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.12;
  word-break: keep-all;
}

.verdict-grid p,
.plain-grid p,
.milestone-list p,
.instagram-flow p,
.mobile-flow p,
.state-flow p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.problem-table,
.milestone-list {
  margin-top: clamp(34px, 5vw, 62px);
  border-top: 2px solid var(--text);
}

.problem-table div,
.milestone-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(280px, 1fr);
  gap: clamp(22px, 5vw, 72px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.problem-table span {
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
}

.problem-table strong {
  color: var(--text);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.14;
  word-break: keep-all;
}

.room-grid {
  display: grid;
  grid-template-columns: 250px 250px minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 68px);
}

figure {
  margin: 0;
}

.room-grid img,
.phone-strip img,
.tool-layout img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--line);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.room-copy h3,
.tool-copy h3 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1;
}

.room-copy ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-copy li,
.tool-copy p {
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  word-break: keep-all;
}

.loop-chain {
  display: grid;
  grid-template-columns: repeat(9, minmax(92px, 1fr));
  gap: 1px;
  padding: 0;
  margin: clamp(38px, 6vw, 74px) 0 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.loop-chain li {
  min-height: 150px;
  padding: 18px 14px;
  color: var(--text);
  background: var(--surface);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 950;
  line-height: 1.12;
  word-break: keep-all;
}

.loop-chain li:nth-child(3n + 1) {
  color: var(--blue);
}

.loop-chain li:nth-child(3n + 2) {
  color: var(--green);
}

.loop-chain li:nth-child(3n) {
  color: var(--gold);
}

.phone-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: clamp(18px, 3.4vw, 42px);
  align-items: start;
  margin-top: clamp(38px, 5vw, 66px);
}

.mobile-flow div {
  min-height: 230px;
}

.mobile-flow small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mobile-flow span {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--green);
  color: #000000;
  font-size: 13px;
  font-weight: 900;
}

.state-flow {
  margin-top: 1px;
}

.data-table-wrap {
  margin-top: clamp(34px, 5vw, 62px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}

.data-table th {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--surface-2);
}

.data-table td {
  color: var(--soft);
  font-weight: 750;
}

.data-table td:first-child {
  color: var(--text);
  font-weight: 950;
}

.scenario-table td:nth-child(3),
.scenario-table th:nth-child(3) {
  color: var(--green);
}

.instagram-close {
  max-width: 880px;
  margin: clamp(34px, 5vw, 58px) 0 0;
  color: var(--text);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 950;
  line-height: 1.18;
  word-break: keep-all;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) 290px;
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
  margin-top: clamp(38px, 5vw, 70px);
}

.tool-copy {
  max-width: 780px;
}

.tool-copy p + p {
  margin-top: 18px;
}

.unit-table div {
  min-height: 152px;
}

.unit-table em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.milestone-list {
  display: grid;
  gap: 0;
}

.milestone-list div {
  grid-template-columns: 90px 260px minmax(300px, 1fr);
  align-items: baseline;
}

.milestone-list strong {
  margin-top: 0;
}

.milestone-list p {
  margin-top: 0;
  font-size: clamp(18px, 2vw, 24px);
}

.risk-grid div {
  min-height: 158px;
}

.risk-grid strong {
  font-size: clamp(18px, 2vw, 25px);
}

.risk-grid span {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 750;
}

.ask-section {
  min-height: 88svh;
  display: grid;
  align-content: center;
  background: #0a0a0a;
}

.ask-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ask-detail {
  min-height: 210px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.ask-detail summary {
  cursor: pointer;
  list-style: none;
}

.ask-detail summary::-webkit-details-marker {
  display: none;
}

.ask-detail summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 22px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.ask-detail[open] summary::after {
  content: "-";
}

.ask-detail ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ask-detail li {
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ask-detail b {
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.ask-detail em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.4;
  word-break: keep-all;
}

.spend-section {
  margin-top: clamp(34px, 5vw, 62px);
}

.spend-section h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
}

.spend-table td:last-child {
  color: var(--text);
  font-weight: 950;
}

.ask-close {
  max-width: 900px;
  margin: clamp(34px, 5vw, 58px) 0 0;
  color: var(--soft);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}

@media (max-width: 1080px) {
  .plan-hero,
  .room-grid,
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .hero-product {
    max-width: 820px;
  }

  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 250px));
  }

  .room-copy {
    grid-column: 1 / -1;
  }

  .loop-chain,
  .unit-table,
  .risk-grid,
  .instagram-flow,
  .finance-summary,
  .mix-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-strip,
  .mobile-flow,
  .state-flow,
  .revenue-map,
  .verdict-grid,
  .plain-grid,
  .ask-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .plan-header .nav-links a:nth-child(n + 3) {
    display: none;
  }

  .plan-hero,
  .verdict-section,
  .problem-section,
  .room-section,
  .loop-section,
  .journey-section,
  .instagram-section,
  .market-section,
  .tool-section,
  .economics-section,
  .unit-section,
  .milestone-section,
  .risk-section,
  .ask-section {
    padding-inline: 20px;
  }

  .plan-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-facts,
  .phone-strip,
  .instagram-flow,
  .mobile-flow,
  .state-flow,
  .finance-summary,
  .mix-grid,
  .verdict-grid,
  .plain-grid,
  .ask-grid,
  .revenue-map,
  .unit-table,
  .risk-grid,
  .loop-chain {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-grid figure,
  .tool-layout figure {
    max-width: 280px;
  }

  .problem-table div,
  .milestone-list div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spend-table {
    min-width: 0;
  }

  .spend-table thead {
    display: none;
  }

  .spend-table,
  .spend-table tbody,
  .spend-table tr,
  .spend-table td {
    display: block;
    width: 100%;
  }

  .spend-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .spend-table td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 16px;
    border-bottom: 0;
    white-space: normal;
  }

  .spend-table td::before {
    flex: 0 0 116px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .spend-table td:nth-child(1)::before { content: "기간"; }
  .spend-table td:nth-child(2)::before { content: "제품/인력"; }
  .spend-table td:nth-child(3)::before { content: "서버/AI"; }
  .spend-table td:nth-child(4)::before { content: "콘텐츠/GTM"; }
  .spend-table td:nth-child(5)::before { content: "운영/장비"; }
  .spend-table td:nth-child(6)::before { content: "예비비"; }
  .spend-table td:nth-child(7)::before { content: "합계"; }
}
