/* 마루스터디 marustudy.com — 화상 수업 원페이지 */

/* 기본값은 다크. 시스템이 라이트를 선호하면 라이트로 내려가고,
   사용자가 토글을 누르면 data-theme 값이 둘 다를 덮어쓴다. */
:root {
  --bg: #10131A;
  --bg-2: #0C0F15;
  --card: #1A1F2B;
  --card-2: #212838;
  --edge: #2C3444;
  --edge-soft: #222A38;
  --text: #E7EBF3;
  --dim: #8A93A6;
  --mint: #35D6C4;
  --mint-ink: #35D6C4;
  --mint-wash: rgba(53, 214, 196, 0.12);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-line: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);

  --fs: 16px;
  --fs-xs: 13px;
  --fs-sm: 14.5px;
  --fs-lead: 18px;
  --fs-h3: 20px;
  --fs-h2: 30px;
  --fs-h1: 44px;

  --s1: 8px;
  --s2: 14px;
  --s3: 22px;
  --s4: 34px;
  --s5: 52px;
  --s6: 80px;

  --round: 20px;
  --round-sm: 12px;
  --wrap: 1160px;
  --bar: 64px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F4F7FA;
    --bg-2: #EAEFF5;
    --card: #FFFFFF;
    --card-2: #F7FAFC;
    --edge: #D7DEE8;
    --edge-soft: #E4EAF1;
    --text: #131822;
    --dim: #566072;
    --mint-ink: #0E7C6E;
    --mint-wash: rgba(14, 124, 110, 0.1);
    --glass: rgba(19, 24, 34, 0.04);
    --glass-line: rgba(19, 24, 34, 0.09);
    --shadow: 0 14px 34px rgba(24, 34, 52, 0.12);
  }
}

:root[data-theme="light"] {
  --bg: #F4F7FA;
  --bg-2: #EAEFF5;
  --card: #FFFFFF;
  --card-2: #F7FAFC;
  --edge: #D7DEE8;
  --edge-soft: #E4EAF1;
  --text: #131822;
  --dim: #566072;
  --mint-ink: #0E7C6E;
  --mint-wash: rgba(14, 124, 110, 0.1);
  --glass: rgba(19, 24, 34, 0.04);
  --glass-line: rgba(19, 24, 34, 0.09);
  --shadow: 0 14px 34px rgba(24, 34, 52, 0.12);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs);
  line-height: 1.78;
  overflow-x: hidden;
  word-break: keep-all;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--mint-ink); }
svg { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -9999px; background: var(--card); color: var(--text); padding: 10px 16px; border-radius: 0 0 var(--round-sm) 0; z-index: 90; }
.skip:focus { left: 0; top: 0; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.shown { opacity: 1; transform: none; }
.motion-off .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.001ms !important; }
}

/* 상단 바 */
.bar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-line);
}
.bar-row { min-height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.sign { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.04em; }
.sign small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--dim); letter-spacing: 0; }
.sign-text { display: flex; flex-direction: column; line-height: 1.25; }

.bar-tools { display: flex; align-items: center; gap: var(--s2); }

.theme-btn, .menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 8px 15px;
  cursor: pointer;
}
.theme-btn:hover, .menu-btn:hover { border-color: var(--mint); }
.menu-btn { display: none; }
.menu-btn .lines { display: block; width: 15px; }
.menu-btn .lines span { display: block; height: 2px; background: var(--mint); margin: 3px 0; border-radius: 2px; }

.page-nav ul { display: flex; align-items: center; gap: var(--s3); }
.page-nav a { text-decoration: none; color: var(--dim); font-size: var(--fs-sm); font-weight: 600; }
.page-nav a:hover { color: var(--text); }
.page-nav .go {
  background: var(--mint);
  color: #06231F;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
}
.page-nav .go:hover { color: #06231F; opacity: 0.88; }

/* 버튼 */
.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
}
.act-mint { background: var(--mint); color: #06231F; }
.act-mint:hover { opacity: 0.88; color: #06231F; }
.act-line { background: transparent; color: var(--text); border-color: var(--edge); }
.act-line:hover { border-color: var(--mint); }
.act:disabled { background: var(--edge-soft); color: var(--dim); cursor: not-allowed; border-color: transparent; }

/* 섹션 */
.screenful { min-height: 100vh; display: flex; align-items: center; padding: var(--s6) 0; }
.zone { padding: var(--s6) 0; }
.zone-2 { background: var(--bg-2); }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint-ink);
  background: var(--mint-wash);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: var(--s2);
}
.zone-head { max-width: 640px; margin-bottom: var(--s5); }
.zone-head p { color: var(--dim); margin-top: var(--s2); }

/* 히어로 */
.hero-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: var(--s5); align-items: center; width: 100%; }
.hero-2 h1 { margin-bottom: var(--s3); }
.hero-2 .lead { font-size: var(--fs-lead); color: var(--dim); max-width: 42ch; }
.hero-acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); font-size: var(--fs-sm); color: var(--dim); }
.hero-tags li { border: 1px solid var(--edge); border-radius: 999px; padding: 5px 14px; }

/* 가짜 화상 수업 화면 */
.screen {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: 12px;
  box-shadow: var(--shadow);
}
.screen-top { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; }
.screen-top .dots { display: flex; gap: 6px; }
.screen-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--edge); display: block; }
.screen-top .title { font-size: var(--fs-xs); color: var(--dim); margin-left: 6px; }
.screen-top .live { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--mint-ink); background: var(--mint-wash); border-radius: 999px; padding: 3px 10px; }

.screen-body { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 10px; }
.share {
  position: relative;
  background: var(--card-2);
  border: 1px solid var(--edge-soft);
  border-radius: var(--round-sm);
  min-height: 250px;
  padding: 16px;
  overflow: hidden;
}
.share .paper-line { color: var(--dim); font-size: var(--fs-xs); margin-bottom: 10px; }
.share-side { display: flex; flex-direction: column; gap: 10px; }

.cam {
  background: linear-gradient(160deg, #22303f 0%, #1b2634 60%, #243b3a 100%);
  border: 1px solid var(--edge-soft);
  border-radius: var(--round-sm);
  min-height: 112px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.cam .who { font-size: 11px; color: #D6E4E2; background: rgba(0, 0, 0, 0.45); border-radius: 999px; padding: 3px 9px; }
.cam .avatar { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.chat {
  background: var(--card-2);
  border: 1px solid var(--edge-soft);
  border-radius: var(--round-sm);
  padding: 12px;
  flex: 1;
}
.chat h3 { font-size: var(--fs-xs); color: var(--dim); font-weight: 700; margin-bottom: 9px; }
.chat li { font-size: var(--fs-xs); color: var(--text); background: var(--glass); border-radius: 10px; padding: 7px 10px; margin-bottom: 7px; }
.chat li b { color: var(--mint-ink); font-weight: 700; }

.tools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; padding: 10px 6px 4px; border-top: 1px solid var(--edge-soft); }
.tools span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--dim);
  border: 1px solid var(--edge-soft);
  border-radius: 999px;
  padding: 5px 11px;
}
.tools span.on { color: var(--mint-ink); border-color: var(--mint); background: var(--mint-wash); }

/* 설명 목록 */
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.panel {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: var(--s3);
}
.panel h3 { margin-bottom: 6px; }
.panel p { color: var(--dim); font-size: var(--fs-sm); }
.panel .ico { color: var(--mint-ink); margin-bottom: 12px; }

/* 가로 스크롤 갤러리 */
.rail {
  display: flex;
  gap: var(--s3);
  overflow-x: auto;
  padding: 4px 22px var(--s3);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail > figure {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: var(--s2);
  margin: 0;
}
.rail figcaption { font-size: var(--fs-sm); color: var(--dim); padding: var(--s2) 4px 2px; }
.rail figcaption b { display: block; color: var(--text); font-size: var(--fs); }
.shot {
  height: 168px;
  border-radius: var(--round-sm);
  border: 1px solid var(--edge-soft);
  background: var(--card-2);
  padding: 12px;
  overflow: hidden;
}
.rail-hint { font-size: var(--fs-xs); color: var(--dim); padding: 0 22px; }

/* 체크리스트 */
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.kit-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: 16px 18px;
  cursor: pointer;
}
.kit-item:hover { border-color: var(--mint); }
.kit-item .box {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid var(--edge);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.kit-item[aria-pressed="true"] .box { background: var(--mint); border-color: var(--mint); color: #06231F; }
.kit-item[aria-pressed="true"] .nm { color: var(--mint-ink); }
.kit-item .nm { font-weight: 700; font-size: var(--fs-sm); }
.kit-item .sub { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--dim); }
.kit-count { font-size: var(--fs-sm); color: var(--dim); margin-top: var(--s3); }
.kit-count b { color: var(--mint-ink); font-size: 20px; font-weight: 700; }

/* 자가 진단 */
.diag { background: var(--card); border: 1px solid var(--edge); border-radius: var(--round); padding: var(--s3); }
.diag dl { margin: 0; }
.diag .row { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--edge-soft); font-size: var(--fs-sm); }
.diag .row:last-child { border-bottom: none; }
.diag dt { color: var(--dim); }
.diag dd { margin: 0; font-weight: 700; text-align: right; min-width: 0; overflow-wrap: break-word; }
.diag-note { font-size: var(--fs-xs); color: var(--dim); margin-top: var(--s3); }

/* 녹화 목업 */
.replay { background: var(--card); border: 1px solid var(--edge); border-radius: var(--round); padding: var(--s3); }
.replay-screen { background: var(--card-2); border: 1px solid var(--edge-soft); border-radius: var(--round-sm); padding: 14px; }
.timeline { height: 6px; border-radius: 999px; background: var(--edge); position: relative; margin: 14px 0 8px; }
.timeline i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 999px; background: var(--mint); }
.timeline b { position: absolute; left: 38%; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); transform: translateX(-50%); }
.time-row { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--dim); }
.marks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--s3); }
.marks span { font-size: var(--fs-xs); color: var(--dim); border: 1px solid var(--edge-soft); border-radius: 999px; padding: 5px 11px; }

/* 단계 */
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); counter-reset: f; }
.flow li {
  counter-increment: f;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: var(--s3);
  position: relative;
}
.flow li::before {
  content: counter(f, decimal-leading-zero);
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--mint-ink);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.flow h3 { font-size: var(--fs); margin-bottom: 4px; }
.flow p { font-size: var(--fs-sm); color: var(--dim); }

/* 표 */
.tbl-box { overflow-x: auto; border: 1px solid var(--edge); border-radius: var(--round); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 430px; }
caption { text-align: left; padding: var(--s3) var(--s3) 0; font-size: var(--fs-xs); color: var(--dim); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--edge-soft); }
thead th { color: var(--mint-ink); font-weight: 700; font-size: var(--fs-xs); background: var(--glass); }
tbody th { font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }

/* 후기 자리 */
.note-slot { border: 1px dashed var(--edge); border-radius: var(--round); padding: var(--s3); background: var(--glass); }
.note-slot + .note-slot { margin-top: var(--s2); }
.note-slot p { color: var(--dim); font-size: var(--fs-sm); }
.note-slot .tag { margin-top: var(--s1); font-size: var(--fs-xs); color: var(--dim); }

/* 질문 */
.ask-list { border-top: 1px solid var(--edge); }
.ask-item { border-bottom: 1px solid var(--edge); }
.ask-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  align-items: flex-start;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  text-align: left;
  color: var(--text);
  padding: 20px 2px;
  cursor: pointer;
}
.ask-btn .pm { color: var(--mint-ink); font-size: 20px; line-height: 1.3; flex: 0 0 auto; }
.ask-body { padding: 0 2px 22px; color: var(--dim); font-size: var(--fs-sm); max-width: 70ch; }
.ask-body[hidden] { display: none; }

/* 폼 */
.form-box { background: var(--card); border: 1px solid var(--edge); border-radius: var(--round); padding: var(--s4); }
.row { margin-bottom: var(--s3); }
.row label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 7px; }
.row .tip { font-weight: 500; color: var(--dim); font-size: var(--fs-xs); }
input[type="text"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: var(--round-sm);
  padding: 13px 15px;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--mint); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
option { color: #131822; }

.okay {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--round-sm);
  padding: 15px;
  font-size: var(--fs-xs);
  color: var(--dim);
  margin-bottom: var(--s3);
}
.okay input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--mint); }
.okay strong { color: var(--text); }

.said {
  margin-top: var(--s3);
  border-radius: var(--round-sm);
  padding: 14px 16px;
  font-size: var(--fs-sm);
  background: var(--mint-wash);
  border: 1px solid var(--mint);
  color: var(--text);
}
.said[hidden] { display: none; }
.said.stop { background: var(--glass); border-color: var(--edge); }

/* 문서 */
.sheet { max-width: 740px; }
.sheet h2 { font-size: 21px; margin-top: var(--s4); }
.sheet p, .sheet li { color: var(--dim); font-size: var(--fs-sm); }
.sheet ul { padding-left: 20px; margin-top: var(--s1); }
.sheet ul li { list-style: disc; }
.crumbs { font-size: var(--fs-xs); color: var(--dim); padding-top: var(--s3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--dim); }

/* 가이드 글 */
.art { max-width: 780px; }
.art-top { border-bottom: 1px solid var(--edge); padding-bottom: var(--s3); margin-bottom: var(--s4); }
.art-top h1 { font-size: 34px; margin-bottom: var(--s2); }
.art-top .sub { color: var(--dim); font-size: var(--fs-lead); }
.art-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin-top: var(--s3); font-size: var(--fs-xs); color: var(--dim); }
.art-meta b { color: var(--text); font-weight: 700; }

.verdict {
  background: var(--mint-wash);
  border: 1px solid var(--mint);
  border-radius: var(--round);
  padding: var(--s3);
  margin-bottom: var(--s4);
}
.verdict h2 { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.verdict p { font-size: var(--fs-sm); }
.verdict p + p { margin-top: var(--s1); }

.art h2 { font-size: 24px; margin: var(--s5) 0 var(--s2); }
.art h3 { font-size: var(--fs-h3); margin: var(--s3) 0 var(--s1); }
.art p { margin-bottom: var(--s2); }
.art p, .art li { color: var(--dim); font-size: var(--fs-sm); }
.art strong { color: var(--text); }
.art ul.bullet, .art ol.order { padding-left: 20px; margin-bottom: var(--s3); }
.art ul.bullet li { list-style: disc; margin-bottom: var(--s1); }
.art ol.order li { list-style: decimal; margin-bottom: var(--s1); }

.judge { border-left: 3px solid var(--mint); padding-left: var(--s3); margin: var(--s3) 0; }
.judge li { margin-bottom: var(--s2); font-size: var(--fs-sm); }
.judge li:last-child { margin-bottom: 0; }
.judge b { color: var(--text); }

.toc { background: var(--card); border: 1px solid var(--edge); border-radius: var(--round); padding: var(--s3); margin-bottom: var(--s4); }
.toc h2 { font-size: var(--fs-sm); color: var(--dim); margin: 0 0 var(--s2); }
.toc li { margin-bottom: 6px; font-size: var(--fs-sm); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.ask-band { background: var(--card); border: 1px solid var(--edge); border-radius: var(--round); padding: var(--s3); margin-top: var(--s5); }
.ask-band h2 { margin: 0 0 var(--s1); font-size: var(--fs-h3); }
.ask-band p { margin-bottom: var(--s3); }

.next-read { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s4); }
.next-read a {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: var(--s3);
}
.next-read a:hover { border-color: var(--mint); }
.next-read span { display: block; font-size: var(--fs-xs); color: var(--dim); margin-bottom: 3px; }
.next-read b { font-size: var(--fs-sm); }

/* 신뢰 지표 */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: var(--s2) var(--s3);
  margin-top: var(--s4);
}
.facts div { font-size: var(--fs-xs); color: var(--dim); }
.facts b { display: block; font-size: var(--fs-sm); color: var(--text); font-weight: 700; }

/* 가이드 목록 */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.guide-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--round);
  padding: var(--s3);
}
.guide-card:hover { border-color: var(--mint); }
.guide-card .no { font-size: var(--fs-xs); font-weight: 700; color: var(--mint-ink); letter-spacing: 0.08em; }
.guide-card h3 { margin: 6px 0; font-size: var(--fs-h3); }
.guide-card p { font-size: var(--fs-sm); color: var(--dim); }

@media (max-width: 560px) {
  .next-read, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .art-top h1 { font-size: 25px; }
}

/* 유틸 */
.dim-line { color: var(--dim); margin: var(--s2) 0 var(--s4); }
.tiny { font-size: var(--fs-xs); color: var(--dim); margin-top: var(--s2); }
.gap-top { margin-top: var(--s4); }

/* 푸터 */
.end { border-top: 1px solid var(--edge); padding: var(--s5) 0 var(--s4); margin-top: var(--s6); }
.end-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s4); }
.end h2 { font-size: var(--fs); margin-bottom: var(--s1); }
.end p, .end li { font-size: var(--fs-xs); color: var(--dim); line-height: 1.95; }
.end a { color: var(--text); }
.end-row { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--edge-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); font-size: var(--fs-xs); color: var(--dim); }

/* 반응형 */
@media (max-width: 1000px) {
  :root { --fs-h1: 34px; --fs-h2: 25px; --s6: 60px; }
  .hero-2, .end-grid { grid-template-columns: minmax(0, 1fr); }
  .screenful { min-height: auto; }
}

@media (max-width: 780px) {
  .menu-btn { display: inline-flex; }
  .page-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--bar);
    background: var(--card);
    border-bottom: 1px solid var(--edge);
    padding: var(--s2) 22px var(--s3);
  }
  .page-nav.open { display: block; }
  .page-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .page-nav li { border-bottom: 1px solid var(--edge-soft); }
  .page-nav li:last-child { border-bottom: none; padding-top: var(--s2); }
  .page-nav a { display: block; padding: 13px 2px; font-size: var(--fs); }
  .page-nav .go { text-align: center; }
  .bar-row { position: relative; }
  .screen-body { grid-template-columns: minmax(0, 1fr); }
  .share { min-height: 200px; }
}

@media (max-width: 560px) {
  :root { --fs-h1: 27px; --fs-h2: 21px; --s5: 38px; --s6: 46px; }
  .wrap { padding: 0 16px; }
  .spec-grid, .kit, .flow, .row-2 { grid-template-columns: minmax(0, 1fr); }
  .act { width: 100%; }
  .hero-acts { flex-direction: column; align-items: stretch; }
  .rail { padding-left: 16px; padding-right: 16px; }
  .rail > figure { flex-basis: 260px; }
  .rail-hint { padding: 0 16px; }
  .form-box { padding: 20px; }
}
/* 연락처 링크 : 전화 / 카카오톡 */
.lnk-tel, .lnk-kakao { color: inherit; text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lnk-tel { white-space: nowrap; }
.lnk-tel:hover, .lnk-kakao:hover { color: var(--mint-ink); }
.lnk-tel:focus-visible, .lnk-kakao:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: var(--round-sm); }

/* 고정 상담 버튼 - 기본은 보임. 자바스크립트가 꺼져 있어도 쓸 수 있다 */
.quick-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  gap: 8px;
  transition: opacity .18s ease, transform .18s ease;
}
.quick-cta .qc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.quick-cta .qc:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.quick-cta.is-top { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .quick-cta { transition: none; } }
@media (max-width: 560px) {
  .quick-cta { right: 10px; bottom: 10px; gap: 6px; }
  .quick-cta .qc span { display: none; }
}

/* 마루 - 원형 */
.qc-round .qc {
  width: 52px;
  height: 52px;
  justify-content: center;
  border-radius: 999px;
  font-size: var(--fs-xs);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
}
.qc-round .qc span { display: none; }
.qc-round .qc-tel { background: var(--mint); color: #08110F; }
.qc-round .qc-talk { background: var(--card); color: var(--mint-ink); }
.qc-round .qc-tel:hover { filter: brightness(1.08); }
.qc-round .qc-talk:hover { border-color: var(--mint); }
@media (max-width: 560px) { .qc-round .qc { width: 46px; height: 46px; } }

/* 진행 단계 아이콘 */
.cicon { color: var(--mint); display: inline-block; vertical-align: middle; margin-right: var(--s2); }

/* 상담 영역 - 네이버폼, 카카오톡, 전화 세 곳으로 연결 */
.consult-box { background: var(--card); border: 1px solid var(--edge); border-radius: 20px; padding: 22px; margin-top: 18px; }
.consult-pick { font-weight: 700; color: var(--text); background: var(--mint-wash); border-radius: 14px; padding: 12px 14px; margin: 0 0 16px; }
.consult-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consult-btns a { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.consult-note { margin: 14px 0 0; font-size: 0.9em; color: var(--dim); }
.qc-round .qc-form { background: var(--card-2); color: var(--text); }
.qc-round .qc-form:hover { border-color: var(--mint); }
