/* ============================================================
   moat — 스포츠 에디토리얼. index / features / faq 세 페이지 공통 스타일시트.
   종이(paper) + 잉크(ink) + 브랜드 블루 스팟 컬러 하나로 구성한 자기완결형 시스템.
   ============================================================ */

/* ---------- 1. 토큰 : 기본 = 종이(light), [data-theme="dark"] = 잉크 ---------- */
:root {
  --paper:      #EFECE4;   /* 신문지 톤 오프화이트 */
  --paper-2:    #E6E2D7;   /* 한 단계 진한 지면 */
  --paper-3:    #DCD7C9;
  --ink:        #16150F;   /* 본문 잉크 */
  --ink-2:      #55524A;
  --ink-3:      #8A8478;
  --ink-inv:    #EFECE4;   /* 잉크 블록 위 글자 */
  --spot:       #BBD7FF;   /* 연파랑 — 하이라이트/마커 배경 전용 */
  --spot-deep:  #3182F6;   /* 브랜드 블루 — 밑줄·액센트·강조 버튼 */
  --on-spot:    #FFFFFF;   /* spot-deep 위 글자색 */
  --rule:       rgba(22, 21, 15, 0.16);
  --rule-strong:rgba(22, 21, 15, 0.55);
  --veil:       rgba(22, 21, 15, 0.045);
  --scrim:      rgba(22, 21, 15, 0.55);
  --shadow-hard: 5px 5px 0 var(--ink);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --paper:      #100F0C;
  --paper-2:    #18170F;
  --paper-3:    #211F16;
  --ink:        #F2EFE5;
  --ink-2:      #A8A296;
  --ink-3:      #6E6A60;
  --ink-inv:    #100F0C;
  --spot:       rgba(76, 141, 255, .42);
  --spot-deep:  #4C8DFF;
  --on-spot:    #0B1220;
  --rule:       rgba(242, 239, 229, 0.16);
  --rule-strong:rgba(242, 239, 229, 0.5);
  --veil:       rgba(242, 239, 229, 0.05);
  --scrim:      rgba(0, 0, 0, 0.68);
  --shadow-hard: 5px 5px 0 var(--ink);
}

/* ---------- 2. 리셋 / 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;   /* 한국어 단어 중간에서 줄바꿈되지 않게 */
  overflow-wrap: anywhere; /* 단, 긴 URL 등은 넘치지 않도록 */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.03; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--spot-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* 모노 라벨 — 매거진 캡션 톤 */
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* 강조 — 장식 없이 브랜드 블루로만. 형광펜/밑줄은 쓰지 않는다 */
.hl {
  color: var(--spot-deep);
  font-weight: 700;
}
/* 표제는 이미 900이라 굵기를 건드리면 오히려 가늘어짐 */
.hero h1 .hl,
.page-hero h1 .hl,
.spread h3 .hl,
.h2 .hl {
  font-weight: inherit;
}

/* 코트 라인 구분선 — 가운데 네트 */
.rule-court {
  position: relative;
  height: 1px;
  background: var(--rule-strong);
  margin: 0;
}
.rule-court::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 64px;
  height: 15px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, var(--rule-strong) 0 2px, transparent 2px 6px);
}

/* ---------- 3. 네비 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--rule-strong); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.05em;
  margin-right: auto;
}
.brand-mark { width: 24px; height: 24px; border-radius: 6px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--spot-deep); }
.nav-menu { display: flex; align-items: center; gap: 20px; }
/* 데스크톱에선 래퍼가 없는 것처럼 — 모바일에서만 아이콘 두 개를 한 줄로 묶는다 */
.nav-utils { display: contents; }

.theme-toggle, .nav-ig {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.theme-toggle:hover, .nav-ig:hover { border-color: var(--ink); color: var(--ink); }
.ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: none; }
:root[data-theme="dark"] .ico-moon { display: block; }

.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper);
  transition: background .15s;
}
.nav-cta:hover { background: var(--spot-deep); color: var(--on-spot); }

.nav-toggle { display: none; }

/* ---------- 4. 히어로 (매거진 표지) ---------- */
.hero { padding: 34px 0 0; }
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 52px 0 46px;
}
.hero h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero h1 .l2 { display: block; margin-top: .08em; }
.hero-sub {
  margin-top: 26px;
  max-width: 30ch;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink-2);
  line-height: 1.62;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1.5px solid var(--ink);
  transition: transform .12s, box-shadow .12s, background .15s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--spot-deep); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }

/* 폰 목업 — 아이폰 규격: 큰 모서리 반경 + 다이내믹 아일랜드, 반경은 동심원(외곽 − 패딩) */
.hero-stage { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(288px, 74vw);
  aspect-ratio: 9 / 19.5;
  padding: 6px;
  background: #0F1115;
  border-radius: 44px;
  box-shadow: 0 30px 60px -20px rgba(22, 21, 15, .3), 0 12px 24px -8px rgba(22, 21, 15, .14);
}
.phone::before {   /* 다이내믹 아일랜드 */
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 24px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--paper-2);
}
.phone-screen .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.phone-screen .slide img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen .slide.active { opacity: 1; }

/* 러너 — 코트 라인으로 3분할 */
.hero-runner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.hero-runner div {
  padding: 15px 4px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-runner div + div { border-left: 1px solid var(--rule); }
.hero-runner b { color: var(--ink); font-weight: 800; }

/* ---------- 5. 섹션 공통 ---------- */
section { padding: 88px 0; }
.sec-head { margin-bottom: 46px; }
.sec-head .label { display: block; margin-bottom: 16px; }
.sec-head .lede { max-width: 46ch; }
.h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.lede { margin-top: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.68; }

/* ---------- 6. 문제 — 카드 대신 판면 리스트 ---------- */
.pain { background: var(--paper-2); }
.pain-list { border-top: 1.5px solid var(--ink); }
.pain-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}
.pain-item .n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.pain-item h3 {
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: -0.04em;
}
.pain-item p { color: var(--ink-2); font-size: 15px; }

/* ---------- 7. 기능 스프레드 — 지그재그 대신 좌캡션 고정 ---------- */
.spread {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 40px;
  padding: 46px 0;
  border-top: 1px solid var(--rule);
  align-items: start;   /* 번호·제목·목업이 같은 기준선에서 시작 */
}
.spread:first-of-type { border-top: 1.5px solid var(--ink); }
.spread-idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  align-self: start;
  padding-top: 6px;
}
.spread-idx b { display: block; color: var(--ink); font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.spread h3 {
  font-size: clamp(24px, 3.1vw, 36px);
  letter-spacing: -0.045em;
  max-width: 16ch;
}
.spread p { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; max-width: 44ch; }
.spread-points { margin-top: 20px; border-top: 1px solid var(--rule); }
.spread-points li {
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
}
.spread-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 9px; height: 1.5px;
  background: var(--spot-deep);
}
.spread-points b { color: var(--ink); font-weight: 700; }
/* 히어로와 같은 아이폰 목업 (에셋은 1170×2532 = 9:19.5) */
.spread-shot {
  position: relative;
  padding: 5px;
  background: #0F1115;
  border-radius: 40px;
  box-shadow: 0 26px 50px -20px rgba(22, 21, 15, .28), 0 10px 20px -8px rgba(22, 21, 15, .12);
  justify-self: end;
  width: min(258px, 100%);
}
.spread-shot::before {
  content: "";
  position: absolute;
  top: 15px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 21px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}
.spread-shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 35px;
  background: var(--paper-2);
}

/* ---------- 8. 운영진 / 멤버 대비 ---------- */
.duo { background: var(--paper-2); }
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--ink);
}
.duo-col { padding: 34px 30px; }
.duo-col + .duo-col { border-left: 1.5px solid var(--ink); }
.duo-col .label { display: block; margin-bottom: 18px; }
.duo-col h3 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.04em; }
.duo-col p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.duo-fig {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.duo-fig .big {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.duo-fig .was { font-size: 15px; color: var(--ink-3); text-decoration: line-through; }
.duo-fig .cap { font-size: 12px; color: var(--ink-3); margin-left: auto; text-align: right; }

/* ---------- 9. 비교표 — ✓/✗ 아이콘 대신 활자 대비 ---------- */
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 15px 16px; text-align: left; font-size: 14.5px; }
.cmp thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1.5px solid var(--ink);
  font-weight: 400;
}
.cmp thead th.us { color: var(--ink); font-weight: 700; }
.cmp tbody tr { border-bottom: 1px solid var(--rule); }
.cmp td:first-child { color: var(--ink-2); }
.cmp td.old { color: var(--ink-3); }
.cmp td.us { font-weight: 700; }
.cmp td.us::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 9px;
  background: var(--spot-deep);
  vertical-align: 1px;
}

/* ---------- 10. 클로징 — 잉크 블록 ---------- */
.closing {
  background: var(--ink);
  color: var(--ink-inv);
}
.closing .h2 { font-size: clamp(32px, 5.4vw, 62px); }
.closing .mark { color: var(--spot-deep); }
.closing p { margin-top: 20px; color: rgba(239, 236, 228, .62); max-width: 34ch; }
:root[data-theme="dark"] .closing p { color: rgba(22, 21, 15, .62); }
.closing .hero-ctas { margin-top: 34px; }
.closing .btn-ink { background: var(--spot-deep); color: var(--on-spot); border-color: var(--spot-deep); }
.closing .btn-ink:hover { box-shadow: 4px 4px 0 var(--ink-inv); }
.closing .btn-paper { background: transparent; color: var(--ink-inv); border-color: var(--ink-inv); }
.closing .btn-paper:hover { box-shadow: 4px 4px 0 var(--spot-deep); }

/* ---------- 10-b. 서브페이지 (features / faq) ---------- */
.page-hero { padding: 34px 0 0; }
.page-hero .masthead { margin-bottom: 46px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}
.back-link:hover { color: var(--ink); border-bottom-color: var(--spot-deep); }
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.page-hero .lede { margin-top: 20px; max-width: 44ch; color: var(--ink-2); }
.page-hero-foot { padding-bottom: 40px; }

/* FAQ — 카드 없이 판면 위 아코디언 */
.faq-list { border-top: 1.5px solid var(--ink); }
.faq {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.faq-list { counter-reset: faq; }
.faq { counter-increment: faq; }
.faq summary::after {
  content: "";
  justify-self: end;
  align-self: center;
  width: 13px; height: 13px;
  background:
    linear-gradient(var(--ink-2) 0 0) center/13px 1.5px no-repeat,
    linear-gradient(var(--ink-2) 0 0) center/1.5px 13px no-repeat;
  transition: transform .2s, background-size .2s;
}
.faq[open] summary::after { background-size: 13px 1.5px, 0 0; }  /* + → − */
.faq summary:hover { color: var(--spot-deep); }
.faq-answer {
  padding: 0 0 26px 72px;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.72;
}
.faq-answer strong { color: var(--ink); font-weight: 700; }

.faq-contact {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.faq-contact p { font-size: 17px; font-weight: 700; letter-spacing: -0.03em; margin-right: auto; }

/* ---------- 11. 푸터 ---------- */
footer { border-top: 1.5px solid var(--ink); padding: 26px 0; }
.foot-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); margin-right: auto; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { font-size: 13px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-social { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rule); color: var(--ink-2); }
.foot-social:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- 12. 스크롤 등장 (절제) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 13. 플로팅 CTA ---------- */
.floating-cta {
  position: fixed;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  z-index: 55;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--spot-deep);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  display: none;
}
.floating-cta.is-visible { transform: translate(-50%, 0); }

/* ---------- 14. 모달 (문의 / 다운로드) ---------- */
.contact-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 20px;
  background: var(--scrim);
  opacity: 0; visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.contact-overlay.is-open { opacity: 1; visibility: visible; }
.contact-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: 88dvh;
  overflow-y: auto;
  padding: 34px 30px 30px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transform: translateY(12px);
  transition: transform .22s;
}
.contact-overlay.is-open .contact-modal { transform: none; }
.contact-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  cursor: pointer;
}
.contact-close:hover { border-color: var(--ink); color: var(--ink); }
.contact-head h3, .dl-head h3 { font-size: 26px; letter-spacing: -0.045em; }
.contact-head p, .dl-head p { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.contact-form { margin-top: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 16px; /* iOS 자동 확대 방지 */
  /* body의 1.65가 상속되면 iOS에서 캐럿이 입력칸 아래로 삐져나온다 */
  line-height: 1.4;
  /* body의 overflow-wrap:anywhere가 상속되면 입력 중 단어가 임의로 쪼개진다 */
  overflow-wrap: break-word;
  color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid var(--rule);
  border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.chip-group { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 8px 13px;
  font-size: 13px;
  background: transparent;
  border: 1.5px solid var(--rule);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink-3); }
.chip.is-active { border-color: var(--spot-deep); background: var(--spot-deep); color: var(--on-spot); font-weight: 700; }
.contact-error { display: none; margin-bottom: 12px; font-size: 13px; color: #C0392B; }
.contact-error.visible { display: block; }
:root[data-theme="dark"] .contact-error { color: #FF8A93; }
.contact-submit {
  position: relative;
  width: 100%;
  padding: 14px;
  font-size: 15px; font-weight: 700;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background .15s;
}
.contact-submit:hover:not(:disabled) { background: var(--spot-deep); color: var(--on-spot); }
.contact-submit:disabled { cursor: default; opacity: .75; }
.submit-spinner { display: none; }
.contact-submit.is-loading .submit-label { visibility: hidden; }
.contact-submit.is-loading .submit-spinner {
  display: block;
  position: absolute; inset: 0; margin: auto;
  width: 17px; height: 17px;
  border: 2px solid rgba(239,236,228,.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-success { display: none; text-align: center; padding: 18px 0 8px; }
.contact-modal.is-success .contact-head,
.contact-modal.is-success .contact-form { display: none; }
.contact-modal.is-success .contact-success { display: block; }
.success-check {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--spot-deep);
  color: var(--on-spot);
}
.contact-success h4 { font-size: 22px; letter-spacing: -0.04em; }
.contact-success p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }

.dl-head { text-align: center; }
.dl-app-icon { width: 62px; height: 62px; margin: 0 auto 14px; border: 1.5px solid var(--ink); }
.dl-buttons { display: grid; gap: 10px; margin-top: 24px; }
.dl-btn { justify-content: center; }
.dl-btn--primary { box-shadow: 4px 4px 0 var(--spot-deep); }

/* ---------- 15. 반응형 ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 36px; }
  .hero-stage { justify-content: flex-start; }
  .spread { grid-template-columns: 64px minmax(0, 1fr); }
  .spread-shot { grid-column: 2; justify-self: start; margin-top: 8px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  section { padding: 62px 0; }
  .floating-cta { display: block; }

  .nav-toggle {
    display: grid; place-content: center; gap: 5px;
    width: 38px; height: 38px;
    background: transparent; border: 1px solid var(--rule);
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); }
  .nav-menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    display: none;
  }
  .nav.nav-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 12px; }
  /* 테마 토글·인스타는 열린 메뉴 안에 나란히 (숨기지 않는다) */
  .nav-utils { display: flex; gap: 8px; margin-top: 16px; }
  .nav-cta { text-align: center; margin-top: 12px; }

  .masthead .label:last-child { display: none; }
  .hero h1 { font-size: clamp(38px, 11vw, 58px); }
  .hero-runner { grid-template-columns: 1fr; }
  .hero-runner div + div { border-left: 0; border-top: 1px solid var(--rule); }

  .pain-item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; row-gap: 8px; }
  .pain-item p { grid-column: 2; }

  .spread { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 34px 0; }
  .spread-idx b { font-size: 18px; }
  .spread-shot { width: min(210px, 100%); }

  .duo-grid { grid-template-columns: 1fr; }
  .duo-col + .duo-col { border-left: 0; border-top: 1.5px solid var(--ink); }
  .duo-col { padding: 26px 22px; }

  .contact-modal { padding: 30px 22px 24px; }

  .faq summary { grid-template-columns: 36px minmax(0, 1fr) 22px; gap: 10px; padding: 20px 0; }
  .faq-answer { padding-left: 46px; padding-bottom: 22px; font-size: 15px; }
  .faq-contact { margin-top: 40px; }
}
