/* studiomoai.app — 스튜디오 + TripPair 랜딩 통합 (2026-08-31)
 *
 * 🔴 방향 전환 기록: 구판은 «활자 케이스»(밝은 종이·GDS 타이포)였다.
 *    사용자 지시(2026-08-31 · superlist.com 벤치마크)로 «다크 프로덕트 랜딩» 으로
 *    갈아탔다. 사유 = Apple 조직 심사 1차 반려(「최소 수준의 콘텐츠」)를 닫으려면
 *    루트가 앱 랜딩을 «품어야» 하고, 그 통합본의 문법을 superlist 로 잡았다.
 *    ⛔ 구 토큰(--ground/--well/--metal-line …)으로 되돌리지 마라 — 이 파일이 진본이다.
 *    앱이 늘면 랜딩을 별도 도메인으로 분리한다(그때 이 파일은 스튜디오만 남긴다).
 *
 * ── superlist 에서 가져온 문법 4개 (그대로 베끼지 않고 우리 값으로 다시 지음) ──
 *   ① 잉크빛 다크 바탕 하나로 페이지 전체를 통일한다.
 *   ② 제목은 «두 톤» 이다 — 첫 줄은 밝고 이어지는 줄은 흐리다(위계를 굵기가 아니라 «밝기»가 만든다).
 *   ③ 스크린샷은 «채도 높은 색면» 위에 얹고 아래로 흘려 잘라낸다.
 *   ④ 강조색은 한 곳에만 쓴다 — 제목 한 줄과 CTA.
 * ⛔ 가져오지 않은 것 = superlist 의 hex 전부 · Haffer/Jersey 서체 · 손글씨 낙서 마크.
 */

:root{
  /* 바탕 — 중립 회색이 아니라 강조색(인디고) 쪽으로 살짝 치우친 어둠 */
  --night:#0A0B12;
  --band:#12141F;
  --card:#171A27;
  --line:#242838;
  --line-soft:#1C2030;

  --ink:#F2F4F9;
  --ink-soft:#9BA3B8;   /* 제목 둘째 톤 · 본문 보조 */
  /* 🔴 4.5:1 을 «두 바탕 모두» 에서 넘겨야 한다 — .fact dt 는 --card 위에 앉는다.
     구 #6F778B = night 4.38:1 · card 3.86:1 로 둘 다 AA 미달이었다(실측).
     현행 = night 5.24:1 · card 4.62:1. 이보다 어둡게 되돌리지 마라. */
  --ink-faint:#7C8497;

  --brand:#8B84FF;      /* 다크 위로 들어 올린 인디고 — 강조 한 줄 · 링크 */
  --brand-deep:#4F46E5; /* TripPair 브랜드 잉크 — 채운 버튼 (PRODUCT.md 고정값) */
  --brand-wash:rgba(139,132,255,.12);

  /* 스크린샷 색면 — 인디고~시안 한 호(arc) 안에서만 고르되 «이웃끼리는 갈린다».
     🔴 초판은 여섯을 전부 인디고 근처에서 골라 격자에서 구별이 안 갔다.
     ⛔ 구 브랜드색 #2563EB 계열은 쓰지 않는다(PRODUCT.md — 폐기된 값). */
  --pan-1:#4F46E5;  /* 브랜드 인디고 */
  --pan-2:#7C3AED;  /* 바이올렛 */
  --pan-3:#0EA5E9;  /* 스카이 */
  --pan-4:#6D28D9;  /* 딥 바이올렛 */
  --pan-5:#4338CA;  /* 딥 인디고 */
  --pan-6:#0891B2;  /* 시안 */

  --head:"Gothic A1","Apple SD Gothic Neo",system-ui,sans-serif;
  --body:"Noto Sans KR","Apple SD Gothic Neo",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;

  --sec:clamp(84px,10vw,140px);
  --ease:cubic-bezier(.2,0,0,1);
  --r:24px;
  color-scheme:dark;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--night); color:var(--ink);
  font-family:var(--body); font-size:16px; line-height:1.75;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
p{ margin:0; word-break:keep-all; }
a{ color:inherit; text-decoration:none; }
ol,ul{ margin:0; padding:0; list-style:none; }
::selection{ background:var(--brand-deep); color:#fff; }
:focus-visible{ outline:2px solid var(--brand); outline-offset:3px; border-radius:6px; }

h1,h2,h3{
  font-family:var(--head); font-weight:800; margin:0;
  letter-spacing:-.035em; line-height:1.16; word-break:keep-all;
  text-wrap:balance;
}
/* ② 두 톤 제목 — <em> 이 «흐린 이어지는 줄» 이다(기울임이 아니다). */
h1 em,h2 em{ font-style:normal; color:var(--ink-soft); }
/* 강조 한 줄만 브랜드색 — ④ */
h1 i,h2 i{ font-style:normal; color:var(--brand); }

.wrap{ width:100%; max-width:1120px; margin:0 auto; padding:0 20px; }
.wrap--narrow{ max-width:760px; }
.sec{ padding:var(--sec) 0; }
.sec--band{ background:var(--band); }
.center{ text-align:center; }

.tag{
  display:inline-block; font-family:var(--head); font-weight:700;
  font-size:12.5px; letter-spacing:.09em; line-height:1;
  color:var(--brand); background:var(--brand-wash);
  padding:8px 11px; border-radius:99px; margin-bottom:18px;
}
.lede{ color:var(--ink-soft); font-size:clamp(15.5px,1.5vw,17.5px); line-height:1.8; }


/* ── 버튼 ─────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--head); font-weight:700; font-size:15px; line-height:1;
  letter-spacing:-.01em; padding:15px 22px; border-radius:99px;
  border:1px solid transparent; white-space:nowrap;
  transition:background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn--fill{ background:var(--brand-deep); color:#fff; }
.btn--fill:hover{ background:#5B52F0; }
.btn--line{ border-color:var(--line); color:var(--ink); }
.btn--line:hover{ border-color:var(--brand); color:var(--brand); }
.btn--sm{ padding:11px 16px; font-size:14px; }
.btn:active{ transform:translateY(1px); }

/* ── 내비게이션 ───────────────────────────────────────────────── */
.top{
  position:sticky; top:0; z-index:50;
  background:rgba(10,11,18,.82); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.top .wrap{ display:flex; align-items:center; gap:20px; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand svg{ width:26px; height:26px; color:var(--ink); flex:none; }
.brand b{ font-family:var(--head); font-weight:800; font-size:16px; letter-spacing:-.02em; }
.top-nav{ display:flex; align-items:center; gap:6px; }
.top-nav a:not(.btn){
  font-size:14.5px; color:var(--ink-soft); padding:8px 11px; border-radius:8px;
  transition:color .2s var(--ease);
}
.top-nav a:not(.btn):hover{ color:var(--ink); }
@media (max-width:860px){ .only-wide{ display:none; } }

/* ── 히어로 ───────────────────────────────────────────────────── */
.hero{ position:relative; padding:clamp(60px,8vw,104px) 0 0; overflow:hidden; }
/* 배경 광원 — 강조색이 페이지 위쪽에서 한 번 숨 쉰다 */
.hero::before{
  content:""; position:absolute; inset:-30% 0 auto; height:760px; pointer-events:none;
  background:radial-gradient(ellipse 60% 46% at 50% 42%, rgba(99,91,255,.20), transparent 70%);
}
.hero .wrap{ position:relative; }
.hero h1{ font-size:clamp(38px,6.4vw,72px); line-height:1.1; letter-spacing:-.04em; }
.hero .lede{ margin:22px auto 0; max-width:31em; }

/* ── ③ 색면 무대 — 스크린샷은 채도 높은 면 위에 얹고 «아래로 흘려» 자른다 ──
   프레임(폰 테두리)을 그리지 않는다: 실제 캡처의 상단(상태바·앱바)이 늘 보이고
   아래가 잘리는 편이 «앱을 쓰는 중» 으로 읽힌다. 잘림은 결함이 아니라 문법이다. */
.stage{
  position:relative; border-radius:var(--r); overflow:hidden;
  background:var(--pan-1);
  display:flex; justify-content:center; align-items:flex-start;
  padding:clamp(26px,3.4vw,42px) clamp(20px,3vw,40px) 0;
}
.stage img{
  width:min(100%,286px); height:auto; border-radius:15px 15px 0 0;
  box-shadow:0 26px 54px -18px rgba(0,0,0,.6);
}
.stage--1{ background:var(--pan-1); } .stage--2{ background:var(--pan-2); }
.stage--3{ background:var(--pan-3); } .stage--4{ background:var(--pan-4); }
.stage--5{ background:var(--pan-5); } .stage--6{ background:var(--pan-6); }
/* 색면 안쪽에 아주 옅은 광원 — 평평한 색이 «인쇄된 판» 처럼 죽지 않게 */
.stage::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255,255,255,.16), transparent 62%);
}

/* 히어로 무대 — 같은 문법을 크게. 석 장을 겹쳐 세운다. */
.stage--hero{
  margin-top:clamp(46px,6vw,74px);
  height:clamp(300px,44vw,560px);
  padding:clamp(30px,4vw,56px) 20px 0;
  gap:clamp(14px,2vw,30px);
  background:linear-gradient(158deg,#4F46E5 0%,#6D5BF5 46%,#7C3AED 100%);
}
.stage--hero img{
  width:clamp(146px,19vw,254px); box-shadow:0 34px 70px -22px rgba(0,0,0,.62);
}
/* 가운데(영수증 검토함)가 «앞» 이다 — 양옆을 내려 앉히고 가운데를 키운다.
   ⚠️ 반대로 걸면(가운데에 margin-top) 핵심 화면이 제일 낮아진다. */
.stage--hero .side{ margin-top:clamp(20px,3vw,44px); }
.stage--hero .lift{ width:clamp(160px,21vw,282px); }
@media (max-width:700px){ .stage--hero .side{ display:none; } }

.stage-cap{ margin-top:22px; text-align:center; }
.stage-cap b{ font-family:var(--head); font-weight:800; font-size:clamp(17px,2vw,20px);
  letter-spacing:-.03em; display:block; }
.stage-cap p{ margin-top:8px; color:var(--ink-soft); font-size:15px; }

/* ── 사양 줄 — superlist 의 «로고 띠» 자리. 없는 로고 대신 «사실» 을 놓는다 ── */
.specs{
  margin-top:clamp(52px,6vw,78px);
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 12px;
}
.specs span{
  font-size:13.5px; color:var(--ink-soft); line-height:1;
  border:1px solid var(--line); border-radius:99px; padding:11px 15px;
}
.specs b{ font-family:var(--head); font-weight:700; color:var(--ink); }

/* ── 좌우 분할 구획 ───────────────────────────────────────────── */
.split{ display:grid; gap:clamp(38px,5vw,72px); align-items:center; }
@media (min-width:900px){
  .split{ grid-template-columns:1fr 1fr; gap:clamp(48px,6vw,90px); }
  .split--flip .split-body{ order:2; }
}
.split h2{ font-size:clamp(28px,3.8vw,44px); letter-spacing:-.038em; }
.split .lede{ margin-top:18px; }

.steps{ margin-top:34px; display:grid; gap:20px; }
.step{ display:flex; gap:15px; }
.step-n{
  flex:none; width:27px; height:27px; border-radius:50%;
  display:grid; place-items:center;
  font-family:var(--head); font-weight:700; font-size:13px; line-height:1;
  color:var(--brand); background:var(--brand-wash); border:1px solid rgba(139,132,255,.28);
}
.step-t{ display:block; font-family:var(--head); font-weight:700; font-size:16px;
  letter-spacing:-.02em; }
.step-d{ display:block; margin-top:5px; color:var(--ink-soft); font-size:14.5px; line-height:1.72; }

.checks{ margin-top:32px; display:grid; gap:18px; }
.check{ display:flex; gap:13px; }
.check svg{
  flex:none; width:19px; height:19px; margin-top:4px; stroke:var(--brand);
  stroke-width:2.4; fill:none; stroke-linecap:round; stroke-linejoin:round;
}
.check b{ display:block; font-family:var(--head); font-weight:700; font-size:15.5px;
  letter-spacing:-.02em; }
.check span span{ display:block; margin-top:4px; color:var(--ink-soft);
  font-size:14.5px; line-height:1.72; }


/* ── 기능 격자 — 제목·설명이 «위», 색면이 «아래» (superlist 문법) ────── */
.grid2{
  margin-top:clamp(46px,5.5vw,72px);
  display:grid; gap:clamp(38px,4.6vw,64px) clamp(24px,3vw,44px);
}
@media (min-width:820px){ .grid2{ grid-template-columns:1fr 1fr; } }
/* 🔴 설명 줄 수가 카드마다 달라(1줄 ↔ 2줄) 같은 행에서 색면 시작이 27px 어긋났다.
   카피를 늘려 줄 수를 맞추는 건 «간결하게» 규율과 충돌하므로, 레이아웃이 줄 수에
   안 흔들리게 만든다 — 카드를 세로 flex 로 두고 색면을 바닥에 붙인다.
   격자가 같은 행을 stretch 로 같은 높이로 만들고 색면 높이도 같으니 ⇒ 상단이 맞는다.
   ⛔ .stage 의 margin-top 을 고정값으로 되돌리지 마라(그 순간 다시 어긋난다). */
.f-item{ display:flex; flex-direction:column; }
.f-item h3{ font-size:clamp(19px,2.1vw,24px); letter-spacing:-.03em; }
.f-item .kicker{
  display:block; font-family:var(--head); font-weight:700; font-size:12px;
  letter-spacing:.1em; color:var(--brand); margin-bottom:10px;
}
.f-item p{ margin-top:10px; color:var(--ink-soft); font-size:15px; line-height:1.78;
  max-width:40ch; margin-bottom:24px; }   /* 색면과의 최소 간격은 여기가 갖는다 */
/* 색면은 «짧게», 스크린샷은 «크게» — 위쪽(상태바·앱바·첫 행)만 보이고 잘린다.
   ⚠️ 반대로 하면 색면 여백이 화면을 삼켜 무슨 기능인지 안 읽힌다. */
.f-item .stage{ margin-top:auto; height:clamp(360px,38vw,470px);
  padding-top:clamp(22px,2.6vw,34px); }
.f-item .stage img{ width:min(100%,286px); }

/* 🔴 «아래부터» 자르는 유일한 예외(사용자 지시 2026-08-31).
   분배 상세는 화면 «아래»에서 올라오는 시트라, 다른 카드처럼 위에서 자르면
   앱바부터 시작해 정작 증거인 시트가 맨 끝에 걸린다. 여기만 뒤집어
   이미지 «바닥»을 색면 바닥에 맞추고 위쪽을 잘라낸다.
   ⛔ 다른 카드에 이 클래스를 붙이지 마라 — 잘림 문법의 기본은 «위 정렬»이다. */
.stage--sheet{ align-items:flex-end; padding-top:0; }

/* ── 강점 4칸 ─────────────────────────────────────────────────── */
/* ── 스튜디오 구획 — 심사자가 «사업체 실재» 를 확인하는 자리 ─────────
   ⛔ 규모·실적·수상·고객사 주장을 넣지 마라(PRODUCT.md Positioning). */
/* 🔴 사업 실체 표(.facts)는 여기 있다가 «푸터» 로 내려갔다(사용자 지시 2026-08-31).
   ⇒ 이 구획은 단일 열이다 — 2열 격자로 되돌리지 마라(오른쪽 칸이 비어 무너진다). */
.studio{ text-align:center; }
.studio h2{ font-size:clamp(26px,3.4vw,40px); letter-spacing:-.038em; }
.studio .lede{ margin:20px auto 0; max-width:30em; }
.studio-mark{ width:44px; height:44px; color:var(--ink); margin:0 auto 26px; }
/* 심사자는 내비의 «스튜디오» 를 누른다 — 여기서 실체표까지 이어 준다. */
.studio-link{ margin-top:22px; font-size:14.5px; }
.studio-link a{ color:var(--brand); display:inline-block; padding:8px 4px; }
.studio-link a:hover{ text-decoration:underline; }
.facts{
  background:var(--card); border:1px solid var(--line-soft);
  border-radius:18px; padding:4px 22px;
}
.fact{
  display:flex; flex-wrap:wrap; gap:4px 16px; justify-content:space-between;
  padding:12px 0; border-bottom:1px solid var(--line-soft);
}
.fact:last-child{ border-bottom:0; }
.fact dt{ font-size:14px; color:var(--ink-faint); }
.fact dd{ margin:0; font-size:14.5px; color:var(--ink); text-align:right; }
/* 🔴 21px 였다 — 심사자가 폰에서 누르는 링크다. 세로 패딩으로 히트만 키운다
   (레이아웃은 .fact 의 12px 패딩이 흡수한다). 이 패딩을 지우지 마라. */
.fact dd a{ color:var(--brand); display:inline-block; padding:6px 2px; margin:-6px -2px; }
.fact dd a:hover{ text-decoration:underline; }
.num{ font-family:var(--mono); font-size:13.5px; letter-spacing:.01em; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq{ margin-top:clamp(34px,4vw,52px); max-width:800px; margin-inline:auto; }
.faq details{ border-bottom:1px solid var(--line-soft); }
.faq summary{
  list-style:none; cursor:pointer; padding:20px 40px 20px 0; position:relative;
  font-family:var(--head); font-weight:700; font-size:16.5px; letter-spacing:-.025em;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; position:absolute; right:6px; top:50%; width:9px; height:9px;
  border-right:2px solid var(--ink-faint); border-bottom:2px solid var(--ink-faint);
  transform:translateY(-70%) rotate(45deg); transition:transform .22s var(--ease);
}
.faq details[open] summary::after{ transform:translateY(-30%) rotate(225deg); }
.faq-a{ padding:0 8px 22px 0; color:var(--ink-soft); font-size:15px; line-height:1.82; }
.faq-a a,.faq-more a{ color:var(--brand); text-decoration:underline;
  text-underline-offset:3px; padding:6px 0; }   /* 히트 21px -> 33px */
.faq-more{ margin-top:30px; text-align:center; font-size:14.5px; color:var(--ink-faint); }

/* ── 마무리 CTA ───────────────────────────────────────────────── */
.close{ text-align:center; }
.close h2{ font-size:clamp(28px,4vw,48px); letter-spacing:-.04em; }
.close .lede{ margin:20px auto 0; max-width:30em; }
/* .acts 는 index 에서 사라졌지만 404.html 이 아직 쓴다 — 지우면 그 버튼 행이 무너진다. */
.acts{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.close .acts{ margin-top:30px; }

/* ── 푸터 ─────────────────────────────────────────────────────── */
/* 푸터가 사업 실체 표를 «소유» 한다 — 심사자가 어느 화면에서 멈추든 닿는다.
   ⛔ 상호·대표·사업자번호·문의·정책을 여기 밖에 다시 적지 마라(중복은 갈린다). */
.foot{ border-top:1px solid var(--line-soft);
  padding:clamp(44px,5vw,64px) 0 clamp(48px,6vw,76px); }
.foot-grid{ display:grid; gap:clamp(28px,4vw,52px); align-items:start; }
@media (min-width:820px){ .foot-grid{ grid-template-columns:1fr 1.12fr; } }
.foot-brand{ display:flex; align-items:center; gap:9px; }
.foot-brand svg{ width:22px; height:22px; color:var(--ink-soft); }
.foot-brand b{ font-family:var(--head); font-weight:800; font-size:15px;
  letter-spacing:-.02em; color:var(--ink-soft); }
.biz,.sep{ display:flex; flex-wrap:wrap; gap:6px 18px; font-size:13.5px;
  color:var(--ink-faint); }
.sep{ margin-top:12px; }
.sep a:hover{ color:var(--ink); }
/* ⛔ raw hex 로 되돌리지 마라 — 구 #454C5E 는 2.29:1 이었다(11.5px 700 은 4.5:1 요구). */
.mark{ margin-top:clamp(30px,3.5vw,44px); font-family:var(--head); font-weight:700;
  font-size:11.5px; letter-spacing:.16em; color:var(--ink-faint); }

/* ── 스크롤 진입 ─────────────────────────────────────────────── */
[data-reveal]{ opacity:0; transform:translateY(16px);
  transition:opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].on{ opacity:1; transform:none; }
/* ⚠️ JS 가 안 돌면(스크립트 차단·오류) 전부 투명한 페이지가 된다 — 그것이
   Apple 심사에는 «빈 사이트» 다. no-js 폴백을 반드시 켜 둔다. */
.no-js [data-reveal]{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}

/* ── 좁은 화면 ────────────────────────────────────────────────
   🔴 색면 높이·스크린샷 폭을 vw 로만 잡으면 좁은 화면에서 clamp 하한에 눌려
      «작은 폰 + 넓은 색면» 이 된다(390px 실측에서 폰이 160px 였다).
      좁은 쪽은 «비율» 로 다시 잡는다 — 읽히는 것이 목적이다. */
@media (max-width:700px){
  .stage--hero{ height:clamp(360px,96vw,460px); padding-left:0; padding-right:0; }
  .stage--hero .lift{ width:min(74%,300px); }
  /* 🔴 데스크톱과 «같은 노출 비율»(약 70%)이어야 한다 — 104vw 는 390px 폭에서
     62% 라 분배 시트가 흰 띠만 남고 잘렸다(카드가 제 제목을 증명 못 함). */
  .f-item .stage{ height:clamp(440px,118vw,470px); }
}
