/* =========================================================
   쎄롬 히어로즈 랜딩 스타일 (landing-starter 기반)
   순서: 1 토큰 → 2 공통 → 3 섹션 → 4 반응형 → 5 reduced-motion
   색은 반드시 1번 토큰만 사용합니다 (지시서 4-1)
   ========================================================= */

/* 1. 토큰 ------------------------------------------------ */
:root {
  /* 브랜드: 쎄롬 오렌지 #ED7F1A, 세로미아 딥블루 #100036 (브랜드 컬러집) */
  --dark: #100036;
  --dark-2: #1A0D4A;
  --dark-3: #261A5E;
  --accent: #ED7F1A;       /* 주 CTA */
  --accent-2: #F3953F;
  --accent-ink: #100036;   /* 주 CTA 위 글자 (흰 글자는 대비 부족) */
  --hl-light: #B85708;     /* 밝은 배경 위 강조 (오렌지 계열, 본문 대비 확보) */
  --hl-dark: #FFB36B;      /* 어두운 배경 위 강조 */
  --paper: #FDFBF8;        /* 웜 화이트 (광고캠페인 디자인 수정지시) */
  --paper-2: #F6EEE3;
  --card: #FFFFFF;
  --line: #ECE4DA;
  --ink: #1A130D;
  --ink-2: #564A3E;
  --ink-3: #A39686;
  --sub-dark: #B4AED0;     /* 어두운 배경 위 보조 글자 (딥블루가 섞인 회색) */
  --line-dark: rgba(214, 206, 255, .12);
  --glass: rgba(255, 255, 255, .06);

  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 2. 공통 ------------------------------------------------ */
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: break-word;   /* [필수] 한글 줄바꿈 */
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section, footer { overflow-x: clip; }                 /* [필수] 모바일 가로 밀림 방지 */
.sprite { position: absolute; width: 0; height: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(20px, 4vw); }
br.pc { display: none; }

.eyebrow { margin: 0; font-size: 15px; font-weight: 700; color: var(--hl-light); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.h2 { font-size: clamp(32px, 4.5vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.2; margin: .4em 0 .55em; text-wrap: balance; }
.hl { color: var(--hl-light); }
.body { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.body b { color: var(--ink); }
.on-dark { color: #fff; }
.on-dark .eyebrow, .on-dark .hl { color: var(--hl-dark); }
.on-dark .body { color: var(--sub-dark); }
.on-dark .body b { color: #fff; }

/* 어두운 구간: 빛 번짐 2개 + 질감 */
.stage { position: relative; isolation: isolate; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
.glow { background: radial-gradient(55% 45% at 85% 8%, rgba(237,127,26,.16), transparent 70%), radial-gradient(50% 55% at 5% 95%, rgba(128,104,255,.16), transparent 70%), var(--dark); }

/* 로고 심볼: 쎄롬케어 로고 PNG 의 왼쪽 심볼만 잘라서 보여 준다 */
.brand-mark { flex: none; width: 26px; height: 26px; background: url("../assets/logo-white.png") no-repeat 0 50% / auto 100%; }
.brand-mark.dark, .nav.light .brand-mark { background-image: url("../assets/logo-black.png"); }

/* 버튼: 주 CTA 한 가지 + 테두리형 보조 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -.02em; padding: 19px 28px; border-radius: 16px;
  text-decoration: none; border: 0; cursor: pointer; min-height: 44px;
  transition: transform .25s var(--ease), background-color .2s;
  box-shadow: 0 14px 34px -14px rgba(237,127,26,.6), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { font-size: 15px; padding: 11px 16px; border-radius: 12px; box-shadow: none; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(26,19,13,.18); font-size: 16px; padding: 14px 20px; }
.btn-line:hover { background: var(--paper); }

/* P9 메뉴 */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: #fff; background: rgba(16,0,54,.66); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.06); transition: background-color .4s, color .4s; }
.nav.light { color: var(--ink); background: rgba(253,251,248,.86); border-color: rgba(26,19,13,.07); }
.nav-in { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.03em; text-decoration: none; display: flex; gap: 9px; align-items: center; }
.nav-act { display: flex; align-items: center; gap: 6px; }
.nav-login { font-size: 15px; font-weight: 600; text-decoration: none; padding: 11px 12px; opacity: .85; }
.nav-login:hover { opacity: 1; }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* 체크 배지 */
.ck { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.ck svg { width: 14px; height: 14px; }

/* 카드 아이콘 */
.card-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--hl-light); margin-bottom: 14px; }
.card-ic svg { width: 22px; height: 22px; }

/* 폰 목업 */
.phone { position: relative; height: clamp(460px, 74svh, 640px); aspect-ratio: 9 / 19; max-width: 100%; margin-inline: auto; background: linear-gradient(145deg, #2d2a45, #09061a 40%); border-radius: 48px; padding: 10px; box-shadow: 0 60px 100px -45px rgba(0,0,0,.75), inset 0 0 0 1.5px rgba(255,255,255,.1); }
.phone::before { content: ""; position: absolute; z-index: 9; top: 19px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 20px; background: #05030d; }
.scr { height: 100%; border-radius: 38px; overflow: hidden; position: relative; background: var(--paper); color: var(--ink); }
.phone-wrap { position: relative; }
.phone-wrap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(237,127,26,.22), transparent 70%); pointer-events: none; }

/* 3. 섹션 ------------------------------------------------ */
/* ① HERO · P1 */
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: calc(62px + clamp(64px, 11vh, 120px)) clamp(80px, 13vh, 140px); }
.hero h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1.12; margin: .4em 0 .45em; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--sub-dark); margin: 0 0 38px; max-width: 30em; }
.lede b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 24px; transform: rotate(-2deg); box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); display: grid; gap: 16px; max-width: 420px; justify-self: center; width: 100%; }
.hc-top { display: flex; align-items: center; gap: 10px; }
.hc-top b { font-size: 20px; letter-spacing: -.04em; }
.hc-tag { font: 600 12px var(--mono); color: var(--hl-light); border: 1.5px solid currentColor; border-radius: 6px; padding: 2px 7px; }
.hc-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hc-flow li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.hc-flow em { font-style: normal; font-weight: 500; font-size: 14px; color: var(--ink-2); margin-left: auto; }
.hc-sum { border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 2px; }
.hc-sum span { font: 500 13px var(--mono); color: var(--ink-2); }
.hc-sum strong { font-size: 22px; letter-spacing: -.04em; }
.hc-sum strong b { color: var(--hl-light); font-size: 30px; font-variant-numeric: tabular-nums; }
.hero-card small { color: var(--ink-2); font-size: 12.5px; }

/* ② PAIN · P3 */
.pain-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: 120px; }
.pain-in > *, .how-in > * { min-width: 0; min-height: 0; }
.js-anim .pain-in { height: 100svh; padding-block: 90px 36px; }
.pain-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.pain-list li { font-size: clamp(18.5px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.03em; padding: 14px 0 14px 28px; position: relative; border-bottom: 1px solid var(--line); transition: color .35s; }
.pain-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 2px; background: var(--accent); }
.js-anim .pain-list li { color: var(--ink-3); font-weight: 500; }
.js-anim .pain-list li.on { color: var(--ink); font-weight: 700; }
.meter { background: var(--card); border-radius: 26px; padding: 30px; display: grid; gap: 10px; box-shadow: 0 40px 80px -46px rgba(26,19,13,.45); }
.meter-lab { font-weight: 600; color: var(--ink-2); }
.meter-val { font-size: clamp(52px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.meter-val small { font: 600 20px var(--mono); color: var(--ink-3); }
.kinds { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kd { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; background: var(--paper-2); color: var(--hl-light); transition: background-color .35s, color .35s, transform .35s var(--ease); }
.kd svg { width: 18px; height: 18px; }
.js-anim .kd { color: var(--ink-3); background: var(--paper); }
.js-anim .kd.on { color: var(--accent-ink); background: var(--accent); transform: translateY(-2px); }
.js-anim .kd.seen { color: var(--hl-light); background: var(--paper-2); }
.meter-note { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* ③ TURN · P5 */
.turn-in { padding-block: 150px; }
.js-anim .turn-in { height: 100svh; display: grid; align-items: center; padding-block: 70px; }
.fill { font-size: clamp(30px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1.32; margin: 0; max-width: 18em; }
.fill em { font-style: normal; color: var(--hl-dark); }
.js-anim .fill .w { opacity: .16; }

/* ④ SOLUTION · P8 */
/* ③-1 신뢰 */
.trust { background: var(--paper-2); padding-block: clamp(110px, 15vh, 170px); }
.trust-head .body { max-width: 36em; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.tcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px 26px 28px; display: grid; align-content: start; gap: 14px; box-shadow: 0 30px 70px -55px rgba(26,19,13,.45); }
.tcard .card-ic { margin: 0; width: 50px; height: 50px; border-radius: 14px; }
.tcard .card-ic svg { width: 26px; height: 26px; }
.tcard-n { position: absolute; top: 26px; right: 26px; font: 600 13px var(--mono); color: var(--ink-3); }
.tcard h3 { margin: 4px 0 2px; font-size: clamp(23px, 2.2vw, 28px); letter-spacing: -.045em; line-height: 1.25; }
.tcard h3 small { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); margin-bottom: 4px; }
.tcard-key { background: var(--dark); border-color: var(--dark); color: #fff; box-shadow: 0 40px 80px -45px rgba(16,0,54,.7); }
.tcard-key .card-ic { background: rgba(237,127,26,.18); color: var(--hl-dark); }
.tcard-key h3 small { color: var(--sub-dark); }
.tcard-key .tcard-n { color: var(--sub-dark); }
.tcheck { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.tcard-key .tcheck { border-top-color: var(--line-dark); }
.tcheck li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; font-weight: 600; line-height: 1.5; }
.tcheck svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.trust-more { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trust-more li { padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.trust-close { margin: 34px 0 0; font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.04em; color: var(--ink-2); }
.trust-close b { color: var(--hl-light); }
.solve { padding-block: clamp(110px, 15vh, 170px); }
.track { background: var(--card); border-radius: 28px; padding: 28px 16px; box-shadow: 0 30px 70px -50px rgba(26,19,13,.4); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; text-align: center; }
.stages::before, .stages::after { content: ""; position: absolute; left: 10%; right: 10%; top: 17px; height: 3px; background: var(--paper-2); }
.stages::after { background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.stages li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.stages b { font-size: 16px; letter-spacing: -.03em; line-height: 1.3; }
.stages small { font: 500 12px var(--mono); color: var(--ink-2); }
.dot { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 0 0 6px var(--card); transition: background-color .35s, color .35s; }
.js-anim .stages li:not(.on) .dot { background: var(--paper-2); color: var(--ink-3); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.role { display: grid; gap: 14px; align-content: start; }
.role-head { margin: 0 0 4px; font-weight: 700; font-size: 18px; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.role-tag { font: 600 12.5px var(--mono); padding: 4px 9px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.role-us .role-tag { background: var(--dark); color: #fff; }
.card { background: var(--card); border-radius: 24px; padding: 22px; border: 1px solid var(--line); display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.card .card-ic { grid-row: span 2; margin: 0; }
.role-me .card { box-shadow: 0 24px 60px -44px rgba(237,127,26,.55); border-color: rgba(237,127,26,.28); }
.role-us .card-ic { background: rgba(16,0,54,.06); color: var(--dark); }
.card h3 { margin: 6px 0 4px; font-size: 20px; letter-spacing: -.04em; line-height: 1.35; }
.card p { margin: 0; color: var(--ink-2); }

/* ⑤ HOW-TO · P4 */
.how-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: 120px; }
.js-anim .how-in { height: 100svh; padding-block: 88px 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-width: 540px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 10px; width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 10px 14px; border-radius: 14px; cursor: pointer; }
.step .n { font-family: var(--mono); color: var(--sub-dark); font-size: 13.5px; padding-top: 3px; }
.step b { font-size: 19px; color: var(--sub-dark); font-weight: 600; letter-spacing: -.03em; }
.step p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: var(--sub-dark); transition: max-height .45s var(--ease), opacity .45s; }
.steps li.on .step { background: var(--glass); }
.steps li.on .n { color: var(--accent); }
.steps li.on b { color: #fff; }
.steps li.on .step p { max-height: 6em; opacity: 1; }
.step-bar { display: none; }
.js-anim .step-bar { display: flex; align-items: center; gap: 12px; margin-top: 18px; max-width: 540px; font-family: var(--mono); font-size: 13px; color: var(--sub-dark); }
.step-bar span { flex: 1; height: 3px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.step-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.step-bar em { font-style: normal; color: #fff; }

/* 폰 화면 (HTML 재현, 예시) */
.ps { position: absolute; inset: 0; padding: 56px 18px 18px; display: none; flex-direction: column; gap: 10px; font-size: 14px; }
.ps.on { display: flex; }
.js-anim .ps { display: flex; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.js-anim .ps.on { opacity: 1; visibility: visible; transform: none; }
.ps-app { margin: 0; display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.ps-app .brand-mark { width: 20px; height: 20px; }
.ps-title { font-size: 21px; letter-spacing: -.04em; margin-bottom: 2px; }
.ps-field { display: grid; gap: 4px; }
.ps-field span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ps-field i.ps-ph { color: var(--ink-3); }
.ps-field i { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 500; }
.ps-btn { margin-top: auto; background: var(--accent); color: var(--accent-ink); border-radius: 12px; text-align: center; font-weight: 700; padding: 13px; }
.ps-note { color: var(--ink-2); font-size: 11.5px; text-align: center; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-chips span { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 5px 10px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.ps-chips span.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.ps-photos { display: flex; gap: 8px; }
.ps-photos span { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, #d9cfc3, #b9ab9b); }
.ps-photos .add { background: var(--card); border: 1.5px dashed var(--ink-3); display: grid; place-items: center; color: var(--ink-3); }
.ps-photos .add svg { width: 18px; height: 18px; }
.ps-agree { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.ps-agree .ck { width: 18px; height: 18px; border-radius: 5px; }
.ps-agree .ck svg { width: 12px; height: 12px; }
.ps-tl { list-style: none; margin: 4px 0 0; padding: 0 0 0 4px; display: grid; }
.ps-tl li { position: relative; padding: 0 0 16px 24px; font-weight: 600; color: var(--ink-3); }
.ps-tl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink-3); background: var(--paper); }
.ps-tl li::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: 1px; width: 2px; background: var(--line); }
.ps-tl li:last-child::after { display: none; }
.ps-tl li.done { color: var(--ink); }
.ps-tl li.done::before { background: var(--dark); border-color: var(--dark); }
.ps-tl li.now { color: var(--ink); font-weight: 800; }
.ps-tl li.now::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(237,127,26,.22); }
.ps-tl em { font: 600 10.5px var(--mono); font-style: normal; color: var(--hl-light); border: 1px solid currentColor; border-radius: 5px; padding: 0 5px; margin-left: 6px; vertical-align: 2px; }
.ps-rw { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.ps-rw span { font-weight: 700; display: grid; }
.ps-rw small { font-weight: 500; font-size: 11.5px; color: var(--ink-2); }
.ps-rw b { font-variant-numeric: tabular-nums; color: var(--hl-light); }
.ps-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--ink-3); padding-top: 12px; margin-top: 4px; font-weight: 700; }
.ps-total b { font-size: 24px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* ⑥ REWARD · P10 + P7 */
.reward { background: var(--paper-2); }
.reward-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(110px, 15vh, 170px); }
.split { background: var(--card); border-radius: 22px; padding: 22px; border: 1px solid var(--line); }
.split-bar { height: 44px; border-radius: 10px; background: var(--paper-2); overflow: hidden; display: flex; }
.sb-me { width: 8%; min-width: 34px; height: 100%; background: var(--accent); transform-origin: 0 50%; }
.split-key { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--ink-2); }
.split-key li { display: inline-flex; align-items: center; gap: 8px; }
.split-key b { color: var(--ink); font-family: var(--mono); }
.split-key i { width: 12px; height: 12px; border-radius: 3px; }
.kk-all { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.kk-me { background: var(--accent); }
.calc { background: var(--card); border-radius: 28px; padding: 28px; box-shadow: 0 40px 80px -46px rgba(26,19,13,.45); display: grid; gap: 18px; }
.calc-lab { margin: 0; font-weight: 700; font-size: 18px; letter-spacing: -.03em; }
.calc-pre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pre { font: 700 16px var(--sans); letter-spacing: -.02em; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 8px; min-height: 44px; cursor: pointer; display: grid; gap: 2px; justify-items: center; transition: border-color .2s, background-color .2s; }
.pre small { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.pre.on { border-color: var(--dark); background: var(--dark); color: #fff; }
.pre.on small { color: var(--sub-dark); }
.calc-range { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.calc-range input { width: 100%; accent-color: var(--accent); height: 28px; margin: 0; }
.calc-out { margin: 0; display: grid; gap: 10px; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.calc-out dt { color: var(--ink-2); font-weight: 600; }
.calc-out dd { margin: 0; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-size: 20px; }
.calc-out .calc-me { border: 0; padding: 0; }
.calc-out .calc-me dt { color: var(--ink); }
.calc-out .calc-me dd { font-size: clamp(34px, 4vw, 46px); color: var(--hl-light); }
.calc-note { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* ⑦ SCOPE */
.scope { padding-block: clamp(110px, 15vh, 170px); }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sc { background: var(--glass); border: 1px solid var(--line-dark); border-radius: 22px; padding: 22px 20px; }
.sc .card-ic { background: rgba(237,127,26,.14); color: var(--hl-dark); }
.sc h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.04em; }
.sc p { margin: 0; color: var(--sub-dark); font-size: 15.5px; line-height: 1.6; }
.sc-soon { opacity: .62; border-style: dashed; }
.soon { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0; background: rgba(237,127,26,.18); color: var(--hl-dark); }
.scope-foot { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scope-foot p { margin: 0; color: var(--sub-dark); padding: 18px 20px; border-radius: 18px; border: 1px dashed var(--line-dark); }
.scope-foot b { display: block; color: #fff; margin-bottom: 4px; }

/* ⑧ INFO · FAQ + 문의 */
.info { background: var(--paper); }
.info-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(100px, 13vh, 150px); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: clamp(17px, 1.6vw, 19px); letter-spacing: -.03em; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.2px solid var(--ink-2); border-bottom: 2.2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.icard { background: var(--card); border-radius: 26px; padding: 30px; display: grid; gap: 12px; border: 1px solid var(--line); position: sticky; top: 90px; }
.lab { font-size: 14px; font-weight: 700; color: var(--hl-light); }
.big { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.045em; line-height: 1.25; margin: 0; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 6px 0 4px; }
.row span { color: var(--ink-2); }
.row b { font: 600 20px var(--mono); }
.copy { border: 1.5px solid rgba(26,19,13,.15); background: transparent; border-radius: 999px; padding: 8px 14px; min-height: 36px; font: 700 13px var(--sans); cursor: pointer; color: var(--ink); }
.icard .btn-line svg { width: 18px; height: 18px; }
.icard-note { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ⑨ FINAL · P11 */
.final-in { text-align: center; display: grid; justify-items: center; padding-block: clamp(120px, 17vh, 180px); }
.final .lede { margin: 0 0 30px; }
.final-cta { display: grid; justify-items: center; gap: 14px; }
.final-login { color: var(--sub-dark); font-weight: 600; font-size: 15px; padding: 10px; }
.stamp { width: 118px; height: 118px; border-radius: 50%; border: 4px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 600 36px var(--mono); letter-spacing: -.04em; transform: rotate(-12deg); box-shadow: inset 0 0 0 5px var(--dark), inset 0 0 0 7px rgba(237,127,26,.5); }

/* 푸터 */
.foot { background: var(--dark); color: var(--sub-dark); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-in { padding-block: 48px 110px; display: grid; gap: 18px; font-size: 14px; }
.foot-brand { margin: 0; color: #fff; font-weight: 800; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.foot-brand .brand-mark { width: 22px; height: 22px; }
.foot-biz { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-biz div { display: flex; gap: 8px; }
.foot-biz dt { color: rgba(180,174,208,.7); }
.foot-biz dd { margin: 0; color: var(--sub-dark); }
.foot-biz a { text-decoration: none; }
.foot-links { margin: 14px 0 0; font-size: 14px; }
.foot-links a { color: #fff; text-decoration: none; }
.foot-note { margin: 0; font-size: 13px; color: rgba(180,174,208,.75); max-width: 60em; }

/* 모바일 하단 CTA */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(16,0,54,.95); color: #fff; display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(140%); transition: transform .45s var(--ease); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.dock span { font-weight: 700; }
.dock small { display: block; font-size: 12px; font-weight: 500; color: var(--sub-dark); }
.dock.show { transform: none; }
.dock.show.away { transform: translateY(140%); }

/* 4. 반응형 (기준: 390 × 844) ---------------------------- */
@media (min-width: 900px) {
  br.pc { display: inline; }
}
@media (max-width: 1099px) {
  .scope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  body { font-size: 16.5px; }
  .dock { display: flex; }
  .hero-in, .pain-in, .how-in, .info-in, .reward-in, .roles { grid-template-columns: minmax(0, 1fr); }
  .hero-in { gap: 40px; }
  .hero-card { transform: rotate(-1.5deg); max-width: 380px; }
  .icard { position: static; }
  /* 고정 구간: 윗줄은 글, 아랫줄은 남은 높이 전부 */
  .js-anim .pain-in, .js-anim .how-in { grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding-block: 78px 16px; align-items: start; }
  .js-anim .pain .h2, .js-anim .how .h2 { font-size: 27px; margin: .25em 0 .4em; }
  /* 목록은 현재 항목 하나만 */
  .js-anim .pain-list { position: relative; height: 3.4em; border: 0; }
  .js-anim .pain-list li { position: absolute; inset: 0 0 auto 0; opacity: 0; border: 0; padding-block: 2px; transition: opacity .35s; }
  .js-anim .pain-list li.on { opacity: 1; }
  .js-anim .pain .meter { align-self: start; padding: 24px; }
  /* 폰 데모 구간에서는 하단 CTA(dock)를 내리므로 바닥 여백만 둔다 */
  .js-anim .how-in { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .ps { gap: 8px; padding-top: 50px; }
  .ps-field i { padding: 8px 11px; }
  .js-anim .steps li { display: none; }
  .js-anim .steps li.on { display: block; }
  .js-anim .steps li.on .step { background: none; padding: 0; }
  /* 폰은 원래 크기(320×580)로 그리고, 남은 높이에 맞춰 통째로 줄인다(--ps 는 main.js fitPhone).
     자르지 않으니 화면 전체가 항상 보인다 */
  .js-anim .how .phone-wrap { height: 100%; }
  .js-anim .how .phone { position: absolute; left: 50%; top: 50%; width: 320px; height: 580px; max-width: none; aspect-ratio: auto; transform: translate(-50%, -50%) scale(var(--ps, 1)); transform-origin: 50% 50%; }
  .how .phone { height: 600px; aspect-ratio: auto; width: min(340px, 100%); }
  .stages b { font-size: 13.5px; }
  .stages small { font-size: 10.5px; }
  .track { padding: 22px 6px; }
  .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-foot { grid-template-columns: minmax(0, 1fr); }
  .foot-biz { display: grid; gap: 4px; }
}
/* 세로가 짧은 폰(아이폰 SE 등): 고정 구간의 글을 줄여 폰 데모에 높이를 더 준다 */
@media (max-width: 899px) and (max-height: 720px) {
  .js-anim .pain-in, .js-anim .how-in { padding-top: 70px; gap: 10px; }
  .js-anim .pain .h2, .js-anim .how .h2 { font-size: 23px; margin: .15em 0 .3em; }
  .js-anim .how .eyebrow { margin-bottom: 0; }
  .js-anim .steps li.on .step p { font-size: 14.5px; }
  .js-anim .step-bar { margin-top: 10px; }
}
@media (max-width: 899px) {
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tcard { padding: 24px 22px; grid-template-columns: 50px minmax(0, 1fr); column-gap: 16px; }
  .tcard .card-ic { grid-row: span 2; }
  .tcard h3 { margin: 0; }
  .tcheck { grid-column: 1 / -1; }
  .tcard-n { top: 22px; right: 22px; }
}
@media (max-width: 520px) {
  .nav-login { padding-inline: 8px; font-size: 14px; }
  .brand { font-size: 17.5px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .scope-grid { grid-template-columns: minmax(0, 1fr); }
  .sc { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 18px; }
  .sc .card-ic { grid-row: span 2; margin: 0; }
  .calc { padding: 22px; }
  .pre { font-size: 15px; }
  .calc-out .calc-me { display: grid; gap: 2px; }
  .stages li { gap: 4px; }
  .dot { width: 32px; height: 32px; font-size: 14px; box-shadow: 0 0 0 4px var(--card); }
  .stages::before, .stages::after { top: 15px; }
}

/* 5. 모션 줄이기 ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .dock { transform: none; }
}
