/* 해미글로 사이트 공통 스타일 — 남색 바탕, 노란 버튼, 앱 화면 중심 */
:root {
  --navy: #16205C;
  --navy-deep: #0E1542;
  --navy-2: #1F2C78;
  --sky: #1E9BF0;
  --sky-2: #3CD2FF;
  --yellow: #FFC21A;
  --yellow-ledge: #E89A00;
  --yellow-ledge-2: #C98500;
  --orange: #FF8A00;
  --paper: #F4F7FF;
  --white: #FFFFFF;
  --ink: #141A3D;
  --muted: #5A6490;
  --line: #DCE3F5;
  --todo-bg: #FFF1B8;
  --todo-ink: #7A4B00;
  --radius: 20px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-display: "Lilita One", var(--font);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--navy-deep); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 900; }
h2 { font-size: clamp(27px, 4vw, 42px); font-weight: 850; }
h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky-2); outline-offset: 3px; border-radius: 6px; }

mark.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px dashed #E0B000;
  white-space: nowrap;
}

/* ---------- 머리 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 21, 66, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: 25px; letter-spacing: .01em; line-height: 1; }
.brand small { display: block; font-size: 11px; font-weight: 700; color: #AFC0FF; letter-spacing: .02em; margin-top: 2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: #DDE5FF; text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy-deep); padding: 10px var(--gutter) 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 13px 12px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  font: inherit; font-weight: 850; font-size: 17px; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 0; border-radius: 16px; cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, filter .15s;
}
.btn-yellow {
  background: linear-gradient(180deg, #FFD54A 0%, var(--yellow) 60%);
  color: var(--navy-deep);
  box-shadow: 0 5px 0 var(--yellow-ledge), 0 9px 18px rgba(14,21,66,.28), inset 0 2px 0 rgba(255,255,255,.55);
}
.btn-yellow:hover { color: var(--navy-deep); filter: brightness(1.04); }
.btn-yellow:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--yellow-ledge), 0 4px 10px rgba(14,21,66,.25), inset 0 2px 0 rgba(255,255,255,.55); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-sm.btn-yellow { box-shadow: 0 4px 0 var(--yellow-ledge), inset 0 2px 0 rgba(255,255,255,.55); }
.btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-line:hover { color: var(--white); background: rgba(255,255,255,.08); }
.on-paper .btn-line, .btn-line.dark { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.on-paper .btn-line:hover, .btn-line.dark:hover { color: var(--navy); background: rgba(22,32,92,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* 스토어 버튼: 출시 전이라 눌리지 않는다 */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 18px 8px 14px; border-radius: 14px;
  background: #05091F; color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28);
  cursor: not-allowed; user-select: none;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: block; line-height: 1.15; }
.store small { display: block; font-size: 11px; color: #AFC0FF; font-weight: 600; }
.store b { font-size: 17px; font-weight: 800; }
.store em {
  position: absolute; top: -16px; right: -8px;
  font-style: normal; font-size: 12px; font-weight: 900;
  background: var(--yellow); color: var(--navy-deep);
  padding: 3px 8px; border-radius: 8px; transform: rotate(4deg);
  box-shadow: 0 2px 0 var(--yellow-ledge);
}

/* ---------- 작은 표지 (게임 HUD 느낌) ---------- */
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 14px; font-weight: 900; letter-spacing: .02em;
  color: var(--navy-deep); background: var(--yellow);
  padding: 5px 14px; border-radius: 6px;
  transform: skewX(-10deg);
  box-shadow: 0 3px 0 var(--yellow-ledge);
}
.kicker > span { display: inline-block; transform: skewX(10deg); }
.kicker.sky { background: var(--sky-2); box-shadow: 0 3px 0 #1A8FC4; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.on-navy .lead { color: #C8D3FF; }

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(60,210,255,.30) 0%, rgba(60,210,255,0) 60%),
    radial-gradient(50% 60% at 12% 100%, rgba(30,155,240,.30) 0%, rgba(30,155,240,0) 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  padding: 72px 0 120px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .hl { color: var(--yellow); }
.hero .lead { color: #D3DCFF; max-width: 34em; margin-bottom: 28px; }
.hero .store-row { margin-top: 26px; }
.hero-note { font-size: 14px; color: #9FB0EE; margin: 14px 0 0; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual .phone { position: absolute; width: 56%; max-width: 270px; }
.hero-visual .phone.a { right: 6%; top: 10px; transform: rotate(4deg); z-index: 1; }
.hero-visual .phone.b { right: 42%; top: 64px; transform: rotate(-6deg) scale(.92); filter: brightness(.82); }
.hero-visual .haemi { position: absolute; width: 46%; max-width: 260px; left: -12%; bottom: -84px; z-index: 2; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 96px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-visual { min-height: 0; height: 430px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { width: 52%; }
  .hero-visual .phone.a { right: 2%; }
  .hero-visual .phone.b { right: 38%; top: 40px; }
  .hero-visual .haemi { width: 48%; left: -4%; bottom: -36px; }
}

/* ---------- 폰 틀 ---------- */
.phone {
  border-radius: 34px; padding: 7px;
  background: linear-gradient(160deg, #2A3890, #0B1138);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.14) inset, 0 24px 50px rgba(5,9,31,.45), 0 4px 0 #070C2C;
}
.phone img { border-radius: 28px; width: 100%; background: #0B1138; }
.phone.flat { box-shadow: 0 18px 40px rgba(22,32,92,.22), 0 4px 0 #070C2C; }

/* ---------- 해미 리그 ---------- */
.haemi { position: relative; aspect-ratio: 1 / 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.haemi > img { width: 100%; height: 100%; object-fit: contain; }
.hm-stage { position: absolute; left: 0; top: 0; width: 1254px; height: 1254px; transform-origin: 0 0; pointer-events: none; }
.hm-body { position: absolute; inset: 0; transform-origin: 627px 1100px; will-change: transform; }
.hm-part {
  position: absolute;
  background-image: url("img/haemi-atlas.webp");
  background-size: 2048px 1263px;
  background-repeat: no-repeat;
}
.hm-eye {
  position: absolute;
  -webkit-mask-image: url("img/haemi-atlas.webp");
  mask-image: url("img/haemi-atlas.webp");
  -webkit-mask-size: 2048px 1263px;
  mask-size: 2048px 1263px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hm-shadow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(5,9,31,.42), rgba(5,9,31,0));
}
.hm-bang { position: absolute; left: 850px; top: 10px; width: 250px; height: 312px; opacity: 0; transform-origin: 40% 100%; filter: drop-shadow(0 10px 0 rgba(5,9,31,.25)); }
.hm-bang svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ---------- 구획 ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.white { background: var(--white); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* 문제 한 줄 */
.problem { text-align: center; }
.problem .big { font-size: clamp(24px, 3.6vw, 38px); font-weight: 850; line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 16px; }
.problem .big .y { color: var(--orange); }
.problem .research { font-size: 15px; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* 기능 블록 */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature-num { font-family: var(--font-display); font-size: 22px; color: var(--sky); display: block; margin-bottom: 4px; }
.feature h3 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 14px; }
.feature p { color: #3B4470; }
.feature ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 30px; color: #2D3563; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 6px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%2316205C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  box-shadow: 0 2px 0 var(--yellow-ledge);
}
.feature-visual { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.feature-visual .phone { width: 46%; max-width: 250px; }
.feature-visual .phone:nth-child(2) { margin-top: 48px; }
.feature-visual.single .phone { width: 62%; max-width: 280px; }
.feature-visual.stack { flex-direction: column; align-items: stretch; gap: 16px; max-width: 460px; margin: 0 auto; }
.small-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 0; }
  .feature.flip .feature-text { order: 0; }
}

/* 앱 화면 띠 (연속 기록) */
.strip { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px rgba(22,32,92,.18); background: #1C6FE0; }
.strip img { width: 100%; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(245,247,255,.96); border-radius: 22px; padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(22,32,92,.18), 0 0 0 1px var(--line);
  font-size: 15px; line-height: 1.4;
}
.notice img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.notice .meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.notice b { display: block; color: var(--ink); }
.notice .body { color: #2D3563; }
.notice-wrap { position: relative; }
.notice-wrap figcaption, .strip-cap { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 특허 띠 */
.patent {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-2));
  border-radius: 28px; padding: 44px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  box-shadow: 0 24px 50px rgba(14,21,66,.28);
}
.patent::after {
  content: "!"; position: absolute; right: -10px; bottom: -70px;
  font-family: var(--font-display); font-size: 300px; line-height: 1; color: rgba(255,194,26,.10);
  pointer-events: none;
}
.patent h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); }
.patent p { color: #C8D3FF; margin-bottom: .6em; }
.patent .numbers { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.patent .numbers span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; font-size: 17px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px; border-radius: 10px; color: var(--white);
}
.patent .disclaimer { font-size: 14px; color: #9FB0EE; }
.patent-seal {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #FFE07A, var(--yellow) 55%, var(--yellow-ledge));
  color: var(--navy-deep); font-weight: 900; line-height: 1.2; font-size: 15px;
  box-shadow: 0 6px 0 var(--yellow-ledge-2), inset 0 0 0 6px rgba(255,255,255,.35);
  transform: rotate(-8deg);
}
.patent-seal b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: .02em; }
@media (max-width: 760px) {
  .patent { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; }
  .patent-seal { width: 112px; height: 112px; font-size: 13px; order: -1; }
  .patent-seal b { font-size: 24px; }
}

/* 숫자·후기 자리 (출시 전이라 비움) */
.empty-slot {
  border: 2px dashed #B9C5EA; border-radius: 18px; padding: 22px; text-align: center;
  color: var(--muted); font-size: 15px; background: rgba(255,255,255,.5);
}

/* 자주 묻는 질문 */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(22,32,92,.05); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 800; font-size: 18px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 8px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2316205C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; color: #3B4470; }
.faq .answer p:last-child { margin-bottom: 0; }

/* 마지막 권유 */
.cta {
  text-align: center; color: var(--white);
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(60,210,255,.28), rgba(60,210,255,0) 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 88px 0 96px;
}
.cta h2 { color: var(--white); }
.cta .haemi { width: 180px; margin: -20px auto 6px; }
.cta .store-row { justify-content: center; margin-top: 26px; }
.cta p { color: #C8D3FF; }

/* ---------- 단체 도입 ---------- */
.page-hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(55% 80% at 85% 20%, rgba(60,210,255,.25), rgba(60,210,255,0) 65%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  padding: 72px 0 104px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 52px); }
.page-hero .lead { color: #D3DCFF; max-width: 40em; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero.small { padding: 56px 0 84px; }
.page-hero.small h1 { font-size: clamp(30px, 4.4vw, 44px); }
.page-hero .wrap { position: relative; }
.page-hero .haemi { position: absolute; right: var(--gutter); bottom: -64px; width: 210px; }
@media (max-width: 760px) { .page-hero .haemi { display: none; } }

.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; max-width: 900px; }
.who div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 18px; }
.who b { display: block; color: var(--yellow); font-size: 18px; margin-bottom: 2px; }
.who span { color: #D3DCFF; font-size: 15.5px; line-height: 1.5; display: block; }
@media (max-width: 760px) { .who { grid-template-columns: minmax(0, 1fr); } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(22,32,92,.06); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: #3B4470; margin: 0; font-size: 16px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); font-family: var(--font-display); font-size: 22px; margin-bottom: 14px; box-shadow: 0 3px 0 #070C2C; }
@media (max-width: 860px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr); } }

.learn-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.learn-grid .feature-visual .phone { width: 48%; }
@media (max-width: 860px) { .learn-grid { grid-template-columns: minmax(0, 1fr); } }

.ladder { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.ladder li { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.ladder li b { flex: none; min-width: 78px; color: var(--navy); font-weight: 900; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.flow li { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px 20px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(22,32,92,.06); }
.flow li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px;
  background: var(--yellow); color: var(--navy-deep); font-family: var(--font-display); font-size: 22px;
  box-shadow: 0 3px 0 var(--yellow-ledge);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 40px; width: 12px; height: 12px; z-index: 1;
  border-top: 3px solid var(--sky); border-right: 3px solid var(--sky); transform: rotate(45deg);
}
.flow b { display: block; font-size: 20px; margin-bottom: 6px; }
.flow span { color: #3B4470; font-size: 15.5px; display: block; }
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li:not(:last-child)::after { right: auto; left: 38px; top: auto; bottom: -14px; transform: rotate(135deg); }
}

.notice-box { background: #EAF3FF; border-left: 5px solid var(--sky); border-radius: 12px; padding: 16px 18px; color: #22305F; font-size: 15.5px; margin-top: 24px; }
.notice-box p:last-child { margin-bottom: 0; }

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.price-empty {
  border: 2px dashed #B9C5EA; border-radius: 24px; background: rgba(255,255,255,.6);
  display: grid; place-items: center; text-align: center; padding: 40px 24px; color: var(--muted); min-height: 220px;
}
.price-empty b { display: block; font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.price-ask { background: var(--navy); color: var(--white); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.price-ask h3 { color: var(--white); }
.price-ask p { color: #C8D3FF; }
.price-ask .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) { .pricing { grid-template-columns: minmax(0, 1fr); } }

/* 문의 양식 */
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.form { background: var(--white); border-radius: 24px; padding: 30px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(22,32,92,.08); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; } }
.field label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 600; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid #C9D3EE; border-radius: 12px; padding: 12px 14px; background: #FBFCFF;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #FBFCFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2316205C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(30,155,240,.2); }
.form .submit-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form .hint { font-size: 14px; color: var(--muted); margin: 0; }
.mail-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; font-size: 15px; }
.mail-fallback code { font-size: 16px; font-weight: 800; color: var(--navy); background: var(--paper); padding: 6px 10px; border-radius: 8px; }
.copy-btn { font: inherit; font-size: 14px; font-weight: 800; border: 0; border-radius: 10px; padding: 8px 12px; background: var(--navy); color: var(--white); cursor: pointer; }
.copy-btn.done { background: #1E8E5A; }

/* ---------- 회사 소개 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.name-card { background: var(--navy); color: var(--white); border-radius: 28px; padding: 30px; position: relative; overflow: hidden; }
.name-card .haemi { width: 170px; margin: -6px auto 0; }
.name-card dl { margin: 10px 0 0; display: grid; gap: 14px; }
.name-card dt { font-family: var(--font-display); font-size: 24px; color: var(--yellow); line-height: 1.1; }
.name-card dd { margin: 2px 0 0; color: #C8D3FF; font-size: 15.5px; }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contacts .card a { font-weight: 800; font-size: 17px; word-break: break-all; }
@media (max-width: 860px) { .contacts { grid-template-columns: minmax(0, 1fr); } }
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.info-table th, .info-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 34%; background: #F7F9FF; font-weight: 800; color: var(--navy); }
@media (max-width: 520px) { .info-table th { width: 40%; } .info-table th, .info-table td { padding: 12px; font-size: 15px; } }

/* ---------- 약관·방침 ---------- */
.draft-banner {
  background: var(--todo-bg); color: var(--todo-ink); border-bottom: 2px dashed #E0B000;
  font-weight: 800; text-align: center; padding: 12px var(--gutter); font-size: 15.5px;
}
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; padding: 56px 0 96px; }
.legal-toc { position: sticky; top: 92px; font-size: 14.5px; background: var(--white); border-radius: 16px; padding: 18px; box-shadow: 0 0 0 1px var(--line); max-height: calc(100vh - 120px); overflow: auto; }
.legal-toc b { display: block; margin-bottom: 8px; color: var(--navy); }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal-toc a { color: #3B4470; text-decoration: none; }
.legal-toc a:hover { color: var(--sky); }
.legal-body { background: var(--white); border-radius: 22px; padding: 40px 44px; box-shadow: 0 0 0 1px var(--line); }
.legal-body h2 { font-size: 22px; margin: 2em 0 .6em; padding-top: .2em; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.legal-body p, .legal-body li { font-size: 16px; color: #2D3563; }
.legal-body ol, .legal-body ul { padding-left: 1.4em; }
.legal-body li { margin-bottom: .35em; }
.legal-body .meta { color: var(--muted); font-size: 15px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-body th { background: #F7F9FF; color: var(--navy); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 600px; }
.table-scroll th:first-child, .table-scroll td:first-child { min-width: 7em; }
.review-note { background: #FFF7DA; border: 1px dashed #E0B000; border-radius: 10px; padding: 10px 12px; color: var(--todo-ink); font-size: 14.5px; margin: 8px 0 14px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0 72px; }
  .legal-toc { position: static; max-height: none; }
  .legal-body { padding: 26px 18px; }
}

/* ---------- 바닥 ---------- */
.site-footer { background: var(--navy-deep); color: #AFC0FF; padding: 56px 0 40px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { margin-bottom: 12px; }
.site-footer h4 { color: var(--white); font-size: 15px; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #DDE5FF; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer a.strong { font-weight: 800; color: var(--white); }
.biz-info { margin-top: 22px; display: grid; gap: 4px; line-height: 1.6; }
.biz-info span { display: inline-block; margin-right: 14px; }
.site-footer mark.todo { font-size: 13px; padding: 0 5px; }
.copyright { margin-top: 16px; color: #8193D6; font-size: 13.5px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
