/* ENTER 서브페이지 전용 — 기획서/클로드코드_서브페이지7_지시서.md 기준.
   공통 토큰·헤더·푸터·알약은 static/site.css. 여기는 소개형/게시판형 템플릿이
   공유하는 부품(이미지 히어로, 검은 카드 3장, 상세목록, FAQ 아코디언, CTA 띠)만. */

.sp-section{ max-width:1200px; margin:160px auto 0; padding:0 24px; }
.sp-section--center{ text-align:center; }

/* ---------- 1. 이미지 히어로(tall/compact) ----------
   Stitch가 넣은 구글 서버 이미지 URL은 쓰지 않는다 — 페이지별 static/photos/hero-<page>.jpg
   경로를 배경으로 걸되, 파일이 없으면 CSS background-color(#2a2d33)만 그대로 보인다
   (background-image 로드 실패는 broken-image 아이콘 없이 조용히 무시되는 표준 동작). */
.sp-hero{
  max-width:1200px; margin:24px auto 0; padding:0 24px;
}
.sp-hero-frame{
  position:relative; border-radius:var(--radius-card); overflow:hidden;
  background-color:#2a2d33; background-size:cover; background-position:center;
}
.sp-hero--tall .sp-hero-frame{ height:420px; }
.sp-hero--compact .sp-hero-frame{ height:260px; }
.sp-hero-tint{ position:absolute; inset:0; background:rgba(11,13,18,.55); }
.sp-hero-body{ position:relative; z-index:1; height:100%; padding:32px; display:flex; flex-direction:column; justify-content:space-between; color:var(--hp-white); }
.sp-hero-label{ font-size:12px; color:rgba(255,255,250,.7); letter-spacing:.08em; margin:0 0 12px; font-weight:600; text-transform:uppercase; }
/* 헤드라인-소개 문구 간격(2026-11-12) — 모바일 28px, 데스크톱(1024px~) 40px(아래 미디어쿼리).
   헤드라인 자체의 margin-bottom이라 소개 문구가 없는 blog·faq에서도 헤드라인→버튼 간격이
   똑같이 적용된다(소개 문구는 pages.json에 없으면 아예 렌더링 안 됨). */
.sp-hero-headline{ font-size:var(--fs-h1); font-weight:800; line-height:1.15; letter-spacing:-.01em; margin:0 0 28px; }
.sp-hero-headline br{ content:''; }
.sp-hero-sub{ font-size:15px; color:rgba(255,255,250,.8); max-width:560px; line-height:1.55; margin:0 0 20px; }
.sp-hero-ctas{ display:flex; flex-wrap:wrap; gap:10px; }
.sp-hero-facts{ display:grid; grid-auto-flow:column; grid-auto-columns:1fr; max-width:620px; width:100%; padding-top:20px; }
.sp-hero-fact{ border-left:1px solid rgba(255,255,250,.2); padding:0 18px; }
.sp-hero-fact:first-child{ border-left:none; padding-left:0; }
.sp-hero-fact-value{ display:block; font-size:24px; font-weight:800; line-height:1; font-variant-numeric:tabular-nums; }
.sp-hero-fact-label{ display:block; font-size:11px; color:rgba(255,255,250,.7); margin-top:6px; }
.sp-hero-caption{ position:absolute; right:16px; bottom:12px; z-index:1; font-size:10px; color:rgba(255,255,250,.5); }

/* ---------- 2. 선언(두 톤 제목, 레거시 — 더 이상 어느 페이지에서도 쓰지 않지만
   콘텐츠는 pages.json에 남아 있어 스타일도 지우지 않는다) ---------- */
.sp-statement h2{ font-size:28px; font-weight:800; letter-spacing:-.01em; line-height:1.25; margin:0 0 16px; }
.sp-statement p{ font-size:15px; color:var(--hp-grey); max-width:560px; margin:0 auto; line-height:1.6; }

/* ---------- 2b. 근거 띠(히어로 숫자 줄 + 가운데 문구를 합친 구성, 2026-11-02) ----------
   위쪽 2px 주황 선 — 히어로 그림 바닥선 바로 아래에서 땅선이 이어지는 것처럼 보이게 한다
   (강조색 R2 §4, 2026-11-09). 바탕색은 없음. common.css의 전역 section{border-bottom}은
   여기서 끈다(아래쪽 구분선 없음). */
.sp-proof{ max-width:1200px; margin:48px auto 0; padding:32px 24px 40px; border-bottom:none; border-top:2px solid var(--hp-accent); }
/* 근거 띠 다음(카드 3장)은 기본 섹션 간격(160px)보다 가깝게 — 숫자 설명 바로 밑에 카드가
   오게 한다. 다른 .sp-section 사이 간격은 그대로 둔다. */
.sp-proof + .sp-section{ margin-top:64px; }
.sp-proof-grid{ display:flex; flex-direction:column; gap:28px; }
.sp-proof-title{ font-size:var(--fs-h2); font-weight:800; line-height:1.3; letter-spacing:-.01em; margin:0; }
.sp-proof-facts{ display:grid; grid-template-columns:1fr; gap:28px; }
.sp-proof-note{ font-size:12px; margin-top:18px; }
.sp-proof-fact-value{ display:block; font-size:24px; font-weight:800; line-height:1; letter-spacing:-.01em; font-variant-numeric:tabular-nums; color:var(--hp-ink); }
.sp-proof-fact-label{ display:block; font-size:13px; color:var(--hp-grey); margin-top:8px; }
.sp-proof-fact-desc{ font-size:15px; color:var(--hp-ink); line-height:1.6; margin:8px 0 0; }
@media (min-width:1024px){
  .sp-proof{ padding:40px 24px 48px; }
  .sp-proof-grid{ display:grid; grid-template-columns:40% 60%; gap:40px; align-items:start; }
  .sp-proof-facts{ grid-template-columns:repeat(3,1fr); gap:32px; }
  .sp-proof-fact-value{ font-size:30px; }
}

/* ---------- 3. 검은 카드 3장 ---------- */
.sp-cards{ display:grid; grid-template-columns:1fr; gap:16px; }
.sp-card{ background:var(--hp-black); color:var(--hp-white); border-radius:var(--radius-card); padding:28px 24px; min-height:320px; display:flex; flex-direction:column; justify-content:space-between; gap:20px; }
.sp-card-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.sp-card-head h3{ font-size:var(--fs-h3); font-weight:600; margin:0; }
.sp-card-index{ font-size:15px; color:var(--hp-grey); font-variant-numeric:tabular-nums; }
.sp-card-desc{ font-size:13px; color:rgba(255,255,250,.7); line-height:1.6; margin:0; }
.sp-card-big{ font-size:30px; font-weight:800; letter-spacing:-.02em; line-height:1; color:var(--hp-white); }
.sp-card-big--green{ color:#F2A16E; }
.sp-card-big-prefix{ font-size:14px; font-weight:600; vertical-align:middle; }
.sp-card-bullets{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px; }
.sp-card-bullets li{ font-size:13px; color:rgba(255,255,250,.85); line-height:1.5; padding-left:14px; position:relative; }
.sp-card-bullets li::before{ content:'·'; position:absolute; left:0; color:#F2A16E; font-weight:800; }

/* 카드 미니 UI — 주 스트립 */
.sp-week{ background:#1A1C22; border:1px solid rgba(255,255,255,.05); border-radius:var(--radius-card); padding:14px; font-family:inherit; }
.sp-week-row{ display:flex; align-items:center; justify-content:space-between; font-size:10px; color:rgba(255,255,250,.6); margin-bottom:6px; }
.sp-week-row + .sp-week-row{ margin-top:10px; padding-top:10px; border-top:1px solid rgba(255,255,255,.05); }
.sp-week-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:4px; }
.sp-week-day{ text-align:center; padding:4px 0; border-radius:4px; font-size:10px; font-weight:600; color:rgba(255,255,250,.5); }
.sp-week-day span{ display:block; font-size:8px; font-weight:600; margin-top:2px; }
.sp-week-day--mid{ background:rgba(227,107,44,.18); border:1px solid rgba(227,107,44,.4); color:var(--hp-white); }
.sp-week-day--out{ background:var(--hp-green); color:var(--hp-white); }

/* 카드 미니 UI — 고객 레코드(하드마킹) */
.sp-record{ background:var(--hp-white); color:var(--hp-ink); border-radius:var(--radius-card); padding:14px; }
.sp-record-tag{ font-size:10px; font-weight:600; color:var(--hp-accent-text); display:block; margin-bottom:10px; }
.sp-record-row{ display:flex; justify-content:space-between; font-size:11px; padding-bottom:6px; margin-bottom:6px; border-bottom:1px solid var(--hp-line); }
.sp-record-row:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.sp-record-row span:first-child{ color:var(--hp-grey); }
.sp-record-row span:last-child{ font-weight:600; }

/* ---------- 4. 상세 목록(원장형 행) ---------- */
.sp-detail-head{ margin-bottom:28px; }
.sp-detail-head h2{ font-size:28px; font-weight:800; letter-spacing:-.01em; margin:10px 0 0; }
.sp-row{ border-top:1px solid var(--hp-line); padding:16px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.sp-row:last-child{ border-bottom:1px solid var(--hp-line); }
.sp-row-title{ font-size:16px; font-weight:600; color:var(--hp-ink); font-variant-numeric:tabular-nums; }
.sp-row-desc{ font-size:13px; color:var(--hp-grey); }
.sp-row-tag{ font-size:11px; font-weight:600; color:var(--hp-accent-text); text-transform:uppercase; letter-spacing:.04em; }
/* 가운데 열(설명) 정렬: flex+space-between은 제목 길이에 따라 설명 시작 x가 행마다
   들쭉날쭉했다 — 데스크톱은 3열 그리드로 고정해 모든 행의 설명이 같은 시작선에서
   왼쪽 정렬되게 한다(창업 체크리스트·인증과 수상·제출 서류 4종 공통 부품). */
@media (min-width:1024px){
  .sp-row{ display:grid; grid-template-columns:280px 1fr auto; column-gap:24px; }
  .sp-row-desc{ text-align:left; }
}
.sp-detail-more{ margin:0; padding:0; }
.sp-detail-more > summary{ list-style:none; cursor:pointer; padding:14px 0 0; }
.sp-detail-more > summary::-webkit-details-marker{ display:none; }
.sp-detail-expand{ font-size:14px; font-weight:600; color:var(--hp-ink); }
.sp-detail-more > summary:hover .sp-detail-expand{ color:var(--hp-accent-text); }
.sp-detail-more[open] .sp-detail-expand::after{ content:' ↑'; }
.sp-detail-foot{ display:flex; width:100%; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-top:4px; }
.sp-detail-source{ font-size:12px; color:var(--hp-grey); }

/* ---------- 4c. 정산 원장: 고정 높이 + 내부 스크롤(90건 전체, 펼치기 없음) ---------- */
.sp-row-scroll{ max-height:336px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--hp-line) transparent; }
.sp-row-scroll .sp-row:first-child{ border-top:none; }
.sp-row-scroll::-webkit-scrollbar{ width:6px; }
.sp-row-scroll::-webkit-scrollbar-track{ background:transparent; }
.sp-row-scroll::-webkit-scrollbar-thumb{ background:var(--hp-line); border-radius:999px; }

/* ---------- 4b. 검은 통신사 쇼케이스(상세 목록의 carriers 변형, 취급상품 페이지) ---------- */
.sp-carriers{ margin-top:160px; background:var(--hp-black); color:var(--hp-white); padding:64px 24px; }
.sp-carriers-head{ max-width:1200px; margin:0 auto; }
.sp-carriers-head h2{ font-size:28px; font-weight:800; letter-spacing:-.01em; margin:10px 0 0; }
.sp-carriers-eyebrow{ font-size:12px; color:#F2A16E; font-weight:600; margin:14px 0 0; }
.sp-carriers-names{ max-width:1200px; margin:18px auto 0; }
.sp-carriers-names div{ font-size:40px; font-weight:800; letter-spacing:-.02em; line-height:1.25; }
.sp-carriers-desc{ max-width:1200px; margin:24px auto 0; font-size:14px; color:rgba(255,255,250,.7); line-height:1.6; }
.sp-carriers-link{ max-width:1200px; display:block; margin:14px auto 0; font-size:14px; font-weight:600; color:var(--hp-white); }
.sp-carriers-link:hover{ color:#F2A16E; }
.sp-carriers-foot{ max-width:1200px; margin:40px auto 0; padding-top:24px; border-top:1px solid rgba(255,255,250,.15); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.sp-carriers-foot a{ font-size:15px; font-weight:600; color:var(--hp-white); }
.sp-carriers-foot a:hover{ color:#F2A16E; }
.sp-carriers-foot span{ font-size:12px; color:rgba(255,255,250,.5); }

/* ---------- 5. 질문 3개(FAQ 아코디언) ---------- */
.sp-faq-item{ border-top:1px solid var(--hp-line); }
.sp-faq-item:last-child{ border-bottom:1px solid var(--hp-line); }
.sp-faq-item > summary{ list-style:none; cursor:pointer; padding:18px 0; display:flex; justify-content:space-between; align-items:flex-start; gap:12px; font-size:16px; font-weight:600; color:var(--hp-ink); }
.sp-faq-item > summary > span:first-child{ flex:1 1 auto; }
.sp-faq-item > summary::-webkit-details-marker{ display:none; }
.sp-faq-item > summary::after{ content:'+'; font-size:18px; color:var(--hp-grey); flex:0 0 auto; }
.sp-faq-item[open] > summary::after{ content:'−'; color:var(--hp-ink); }
.sp-faq-body{ padding:0 0 18px; font-size:14px; color:var(--hp-grey); line-height:1.6; max-width:760px; }

/* ---------- 6. CTA 띠(검은 통 섹션) ---------- */
.sp-cta{ margin-top:160px; background:var(--hp-black); padding:72px 24px; text-align:center; color:var(--hp-white); }
.sp-cta-inner{ max-width:1200px; margin:0 auto; }
.sp-cta h2{ font-size:28px; font-weight:800; letter-spacing:-.01em; line-height:1.3; margin:0 0 24px; }
.sp-cta-ctas{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }

/* ---------- 게시판형: 탭 + 검색 + 목록 ---------- */
.sp-board-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.sp-board-tab{ padding:9px 16px; border-radius:var(--radius-btn); font-size:13px; font-weight:600; color:var(--hp-grey); background:var(--hp-grey-bg); border:1px solid transparent; cursor:pointer; font-family:inherit; }
.sp-board-tab.is-active{ background:var(--hp-black); color:var(--hp-white); }
.sp-board-search{ width:100%; max-width:320px; padding:10px 14px; border-radius:var(--radius-btn); border:1px solid var(--hp-line); font-size:13px; font-family:inherit; margin-bottom:28px; }
.sp-board-featured{ display:grid; grid-template-columns:1fr; gap:16px; margin-bottom:32px; }
.sp-board-feature-card{ display:flex; flex-direction:column; gap:14px; background:var(--hp-black); color:var(--hp-white); border-radius:var(--radius-card); padding:24px; min-height:180px; text-decoration:none; justify-content:space-between; }
.sp-board-feature-card .sp-board-tag{ color:#F2A16E; }
.sp-board-feature-title{ font-size:18px; font-weight:600; line-height:1.4; }
.sp-board-feature-foot{ display:flex; justify-content:space-between; font-size:12px; color:rgba(255,255,250,.6); }

.sp-board-list{ display:flex; flex-direction:column; }
.sp-board-row{ display:flex; gap:16px; align-items:center; border-top:1px solid var(--hp-line); padding:18px 0; text-decoration:none; color:inherit; }
.sp-board-row:last-child{ border-bottom:1px solid var(--hp-line); }
.sp-board-row--pending{ cursor:default; opacity:.6; }
.sp-board-thumb{ width:88px; height:64px; flex:0 0 auto; border-radius:var(--radius-card); background:var(--hp-grey-bg); background-size:cover; background-position:center; }
.sp-board-row-body{ flex:1 1 auto; min-width:0; }
.sp-board-tag{ display:block; font-size:11px; font-weight:600; color:var(--hp-accent-text); text-transform:uppercase; letter-spacing:.04em; }
.sp-board-title{ display:block; font-size:16px; font-weight:600; color:var(--hp-ink); margin:4px 0; }
.sp-board-excerpt{ display:block; font-size:13px; color:var(--hp-grey); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sp-board-date{ font-size:12px; color:var(--hp-grey); flex:0 0 auto; }
.sp-board-foot{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:28px; }
.sp-board-pages{ display:flex; gap:6px; }
.sp-board-page{ width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; font-size:13px; color:var(--hp-grey); }
.sp-board-page.is-active{ background:var(--hp-black); color:var(--hp-white); }
.sp-board-contact{ background:var(--hp-grey-bg); border-radius:var(--radius-card); padding:18px 20px; font-size:13px; color:var(--hp-ink); }

@media (min-width:768px){
  .sp-hero--tall .sp-hero-frame{ height:620px; }
  .sp-hero--compact .sp-hero-frame{ height:360px; }
  .sp-hero-body{ padding:64px; }
  .sp-hero-label{ font-size:12px; }
  .sp-hero-headline{ letter-spacing:-.02em; }
  .sp-hero-sub{ font-size:18px; max-width:620px; }
  .sp-hero-fact-value{ font-size:32px; }
  .sp-cards{ grid-template-columns:repeat(3,1fr); gap:24px; }
  .sp-card{ min-height:420px; padding:36px 32px; }
  .sp-detail-head h2{ font-size:36px; }
  .sp-row-title{ font-size:20px; }
  .sp-cta h2{ font-size:40px; letter-spacing:-.02em; }
  .sp-carriers{ padding:88px 40px; }
  .sp-carriers-head h2{ font-size:36px; }
  .sp-carriers-names div{ font-size:60px; }
  .sp-board-featured{ grid-template-columns:repeat(3,1fr); }
}

@media (min-width:1280px){
  .sp-card-big{ font-size:45px; }
}

/* ---------- 분류별 선 스케치 히어로 (2026-11-02, 회사 분류부터) ----------
   카드 틀 없이 페이지 바탕 위에 바로 놓인다. 그림(투명 webp)의 맨 아래 선 = '땅'.
   땅은 버튼과 숫자 사이에 오고, 숫자(2010·4,000건·310억)는 땅 아래에 놓인다. */
.sp-hero--sketch .sp-hero-frame{ position:relative; height:auto; min-height:0; padding:0;
  background:none; border:0; border-radius:0; overflow:visible; }
/* 숫자 줄(sp-hero-facts)을 근거 띠(#proof)로 옮긴 5곳(정산·취급상품·창업자·회사소개·거래시작)은
   그림을 bottom:0까지 내려서 버튼 → 땅이 히어로의 맨 아래가 된다(지시서 2026-11-02 [A]).
   거래처 이야기(stories)처럼 숫자 줄이 아직 남아있는 페이지는 .sp-hero--has-facts로 분기해
   예전처럼 땅 아래에 숫자가 오는 레이아웃을 그대로 쓴다. */
.sp-hero-sketch{ position:absolute; right:0; bottom:0; width:100%; height:auto; z-index:0;
  pointer-events:none; user-select:none; }
.sp-hero--sketch .sp-hero-body{ position:relative; z-index:1; height:auto; max-width:none;
  padding:24px 0 0; display:block; color:var(--hp-ink); }
.sp-hero--sketch .sp-hero-body > div:first-child{ max-width:600px; padding-bottom:52vw; }
.sp-hero--sketch .sp-hero-label{ color:var(--hp-green); }
.sp-hero--sketch .sp-hero-sub{ color:var(--hp-grey); }
.sp-hero--has-facts .sp-hero-sketch{ bottom:96px; }
.sp-hero--has-facts.sp-hero--sketch .sp-hero-body > div:first-child{ padding-bottom:calc(52vw + 96px); }
.sp-hero--sketch .sp-hero-facts{ margin-top:0; padding-top:20px; height:96px; box-sizing:border-box;
  max-width:none; grid-auto-columns:max-content; gap:28px; }
.sp-hero--sketch .sp-hero-fact{ border-left:0; padding-left:0; }
.sp-hero--sketch .sp-hero-fact-label{ color:var(--hp-grey); }
@media (max-width:1023px){
  .sp-hero-sketch{ width:180%; max-width:none; }
}
@media (min-width:1024px){
  .sp-hero-headline{ margin-bottom:40px; }
  .sp-hero--sketch .sp-hero-body{ padding-top:110px; }
  .sp-hero--sketch .sp-hero-body > div:first-child{ max-width:560px; padding-bottom:0; min-height:376px; box-sizing:border-box; }
  .sp-hero--has-facts.sp-hero--sketch .sp-hero-body > div:first-child{ padding-bottom:104px; min-height:472px; }
  .sp-hero--sketch .sp-hero-facts{ gap:64px; }
  /* 헤드라인만 글 영역보다 넓게: 정산·창업자·회사소개 2줄 헤드라인이 560px 안에서
     한 번 더 줄바꿈되어 3줄이 되는 걸 막는다. sub(소개 문구)는 폭 그대로 두고
     헤드라인만 넓힌다 — 오른쪽 스케치와 살짝 겹쳐도 무방(지시서 기준).
     max-width만으로는 부모(div:first-child, 560px)보다 넓어지지 않으므로
     width를 직접 지정해 부모 박스 밖으로 벗어나게 한다(부모는 overflow:visible). */
  .sp-hero--sketch .sp-hero-headline{ width:780px; max-width:none; }
}
/* 게시판형(FAQ·블로그): 원래부터 숫자 줄이 없어 높이만 낮다(땅은 위의 공통 규칙으로 이미 bottom:0) */
@media (min-width:1024px){
  .sp-hero--compact.sp-hero--sketch .sp-hero-body{ padding-top:72px; }
  .sp-hero--compact.sp-hero--sketch .sp-hero-body > div:first-child{ min-height:400px; }
}
