/* INREWARD — 공식 홈페이지 스타일 */
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("/assets/fonts/Paperlogy-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Paperlogy-Bold.woff2") format("woff2"); }
:root {
  --ink: #191c22;
  --ink-2: #4b5261;
  --ground: #ffffff;
  --tint: #f4f5f7;
  --tint-2: #e5e7ec;
  --night: #0e0e12;
  --night-2: #1c1c23;
  --indigo: #5b5bd6;
  --indigo-deep: #4338ca;
  --violet: #8b5cf6;
  --brand: linear-gradient(118deg, #4b45d8 0%, #5b5bd6 38%, #8b5cf6 100%);
  --g-s: #8b5cf6; --g-a: #3b82f6; --g-b: #10b981; --g-c: #eab308; --g-d: #f97316; --g-f: #9ca3af;
  --margin: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --gap-section: clamp(96px, 12vw, 200px);
  --fs-display: clamp(40px, 5.4vw, 84px);
  --fs-h2: clamp(30px, 3.5vw, 54px);
  --fs-h3: clamp(21px, 1.7vw, 27px);
  --fs-lead: clamp(18px, 1.45vw, 22px);
  --fs-body: 17px;
  --fs-small: 14px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: var(--ground); word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 0;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: #dcdcfb; color: var(--ink); }
:focus-visible { outline: 3px solid var(--indigo-deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .cta :focus-visible, .bg-night :focus-visible, .bg-brand :focus-visible, .page-hero.dark :focus-visible, .page-hero.brand :focus-visible, .site-footer :focus-visible, .calc-panel :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px rgba(10,10,14,.55); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin: 0 auto; padding: 0 var(--margin); }

/* ---------- type ---------- */
h1, h2, h3 { text-wrap: balance; }
.display { font-family: var(--display); font-size: var(--fs-display); line-height: 1.2; letter-spacing: -0.03em; font-weight: 700; }
.h2 { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.32; letter-spacing: -0.025em; font-weight: 700; }
.h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -0.015em; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.6; letter-spacing: -0.01em; color: var(--ink); max-width: 38em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); line-height: 1.55; }
.statement { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.45; letter-spacing: -0.025em; font-weight: 600; max-width: 30em; }
.on-dark { color: #fff; }
.on-dark .muted, .on-dark.muted { color: #b4b4bd; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-light { background: #fff; color: var(--indigo-deep); }
.btn-light:hover { background: #f0f0f4; }
.btn-ghost { background: var(--tint); color: var(--ink); }
.btn-ghost:hover { background: var(--tint-2); }
.btn-ghost-dark { background: rgba(10,10,14,.32); color: #fff; }
.btn-ghost-dark:hover { background: rgba(10,10,14,.5); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-more { width: fit-content; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 6px 8px 6px 18px; border-radius: 999px; background: rgba(22, 26, 46, .05); transition: background .2s var(--ease); }
.link-more .arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; transition: transform .2s var(--ease); }
.link-more:hover { background: rgba(22, 26, 46, .09); }
.link-more:hover .arrow { transform: translateX(3px); }
.on-dark .link-more, .bg-night .link-more, .site-footer .link-more { color: #fff; background: rgba(255, 255, 255, .1); }
.on-dark .link-more .arrow, .bg-night .link-more .arrow, .site-footer .link-more .arrow { background: #fff; color: var(--night); }
.on-dark .link-more:hover, .bg-night .link-more:hover, .site-footer .link-more:hover { background: rgba(255, 255, 255, .16); }

/* ---------- header ---------- */
.hdr-over .site-header.is-solid, .hdr-over .site-header.menu-open { background: #fff; }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .brand { color: #fff; }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .brand-mark { background: #fff; color: var(--indigo-deep); }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-links a { color: rgba(255,255,255,.86); }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-links a:hover, .hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .nav > .btn-primary { background: #fff; color: var(--ink); }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-toggle { background: rgba(255,255,255,.16); }
.hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-toggle span, .hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-toggle span::before, .hdr-over .site-header:not(.is-solid):not(.menu-open) .nav-toggle span::after { background: #fff; }
.hdr-over .site-header:not(.is-solid):not(.menu-open) :focus-visible { outline-color: #fff; }

.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: transparent; transition: background-color .25s; }
.site-header.is-solid, .site-header.menu-open { background: #fff; }
main > :first-child:not(.hero):not(.hx) { padding-top: calc(72px + clamp(56px, 7vw, 112px)) !important; }
.hero { padding-top: 72px; }
.site-header.is-scrolled { background: #fff; }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.site-header .brand { font-family: "Paperlogy", var(--display); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--indigo-deep); background: var(--tint); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--tint); border-radius: 999px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1040px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-menu { display: block; position: fixed; inset: 72px 0 0 0; background: #fff; padding: 16px var(--margin) 40px; overflow-y: auto; z-index: 49; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .mobile-menu[data-open="true"] { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .mobile-menu a.m-link { opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .mobile-menu[data-open="true"] a.m-link { opacity: 1; transform: none; }
  .mobile-menu[data-open="true"] a.m-link:nth-child(2) { transition-delay: 30ms; } .mobile-menu[data-open="true"] a.m-link:nth-child(3) { transition-delay: 60ms; } .mobile-menu[data-open="true"] a.m-link:nth-child(4) { transition-delay: 90ms; } .mobile-menu[data-open="true"] a.m-link:nth-child(5) { transition-delay: 120ms; } .mobile-menu[data-open="true"] a.m-link:nth-child(6) { transition-delay: 150ms; } .mobile-menu[data-open="true"] a.m-link:nth-child(7) { transition-delay: 180ms; }
  .mobile-menu a.m-link { display: block; text-decoration: none; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; padding: 12px 0; }
  .mobile-menu a.m-link[aria-current="page"] { color: var(--indigo); }
  .mobile-menu .actions { margin-top: 24px; }
  .mobile-menu .btn { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding: var(--gap-section) 0; }
.section-tight { padding: calc(var(--gap-section) * .62) 0; }
.bg-tint { background: var(--tint); }
.bg-night { background: var(--night); color: #fff; }
.bg-brand { background: var(--brand); color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .lead { justify-self: end; }
.sec-head.single { grid-template-columns: 1fr; }
.sec-head.single .lead { justify-self: start; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lead { justify-self: start; } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); align-items: center; }
.split > .c-5 { grid-column: span 5; } .split > .c-6 { grid-column: span 6; } .split > .c-7 { grid-column: span 7; } .split > .c-4 { grid-column: span 4; } .split > .c-8 { grid-column: span 8; }
@media (max-width: 920px) { .split > [class^="c-"] { grid-column: 1 / -1; } }

/* ---------- hero (main) ---------- */
.hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.hero-in { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(72px, 9vw, 128px); }
.hero-title { font-size: clamp(46px, 7.6vw, 124px); max-width: 11.5em; color: #fff; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .w > span { display: inline-block; }
.js .hero-title .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .hero-title.in .w > span { transform: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.hero-copy .lead { color: #eeeef2; max-width: 26em; }
.hero-copy .actions { margin-top: 36px; }
.hero-fig { position: relative; min-height: 470px; }
.hero-photo { position: absolute; inset: 0 0 0 26%; border-radius: var(--radius); overflow: hidden; margin: 0; }
.hero-photo img { width: 100%; height: 118%; object-fit: cover; }
.hero-phone { position: absolute; left: 0; top: 40px; width: 262px; z-index: 2; }
.js .hero-phone { opacity: 0; transform: translateY(80px) rotate(-4deg); transition: opacity .9s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.is-loaded .hero-phone { opacity: 1; transform: rotate(-4deg); }
.js .hero-photo { clip-path: inset(0 0 0 100% round var(--radius)); transition: clip-path 1.3s var(--ease) .25s; }
.is-loaded .hero-photo { clip-path: inset(0 0 0 0 round var(--radius)); }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; max-width: 640px; }
  .hero-photo { position: relative; inset: auto; aspect-ratio: 1 / 1; grid-column: 4 / 13; grid-row: 1; }
  .hero-photo img { height: 100%; }
  .hero-phone { position: relative; left: auto; top: auto; width: auto; grid-column: 1 / 7; grid-row: 1; margin: 24px 0; }
}
@media (max-width: 520px) { .hero-phone { grid-column: 1 / 8; } }

/* ticker */
.ticker { overflow: hidden; background: var(--night); color: #fff; padding: 22px 0; }
.ticker-track { display: flex; gap: 56px; width: max-content; font-family: var(--display); font-size: clamp(28px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.04em; will-change: transform; }
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--indigo); }

/* pinned scoring scene */
.scan { position: relative; height: 320vh; background: var(--night); color: #fff; }
.scan-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.scan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.scan-media { position: relative; }
.scan-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 78vh; margin-left: auto; margin-right: auto; }
.scan-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--sp, 0) * .18)); }
.scan-line { position: absolute; left: 0; right: 0; height: 3px; top: calc(var(--scan, 0) * 100%); background: #a5a5f5; box-shadow: 0 0 24px 6px rgba(124,124,240,.5); opacity: var(--scan-o, 0); }
.scan-tags { list-style: none; padding: 0; margin: 0; position: absolute; inset: 0; pointer-events: none; }
.scan-tags li { position: absolute; background: rgba(10, 10, 14, .86); color: #fff; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 14.5px; white-space: nowrap; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scan-tags li.on { opacity: 1; transform: none; }
.scan-tags li:nth-child(1) { left: -14px; top: 14%; }
.scan-tags li:nth-child(2) { right: -10px; top: 28%; }
.scan-tags li:nth-child(3) { left: 8%; top: 46%; }
.scan-tags li:nth-child(4) { right: 6%; top: 62%; }
.scan-tags li:nth-child(5) { left: -10px; bottom: 12%; background: var(--indigo); }
.scan-copy .h2 { color: #fff; }
.scan-steps { display: grid; gap: 14px; margin-top: clamp(28px, 4vh, 48px); }
.scan-step { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 18px 22px; border-radius: 18px; background: var(--night-2); opacity: .45; transition: opacity .4s var(--ease), background-color .4s var(--ease); }
.scan-step.on { opacity: 1; background: #262630; }
.scan-step .k { font-weight: 800; font-size: 19px; }
.scan-step b { font-size: 19px; }
.scan-step i { grid-column: 1 / -1; height: 8px; border-radius: 9px; background: #2e2e38; overflow: hidden; display: block; }
.scan-step i em { display: block; height: 100%; width: 100%; background: #7c7cf0; border-radius: 9px; transform-origin: left; transform: scaleX(var(--f, 0)); }
.scan-step p { grid-column: 1 / -1; color: #b4b4bd; font-size: 15px; }
.scan-total { display: flex; align-items: center; gap: 22px; margin-top: clamp(24px, 4vh, 44px); }
.scan-total .grade { transition: background-color .3s, transform .4s var(--ease); }
.scan-total .grade.pop { transform: scale(1.12); }
.scan-num { font-family: var(--display); font-size: clamp(56px, 6.4vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: .9; }
.scan-num small { font-size: 26px; margin-left: 4px; color: #a1a1aa; }
.scan-reward { color: #d4d4d8; font-weight: 700; margin-top: 8px; font-size: 18px; }
@media (max-width: 920px) {
  .scan { height: 300vh; }
  .scan-grid { grid-template-columns: 1fr; gap: 18px; }
  .scan-photo { aspect-ratio: 16 / 10; max-height: 30vh; width: 100%; }
  .scan-tags li { font-size: 12px; padding: 6px 10px; }
  .scan-tags li:nth-child(1) { left: 6px; } .scan-tags li:nth-child(2) { right: 6px; } .scan-tags li:nth-child(5) { left: 6px; }
  .scan-copy .h2 { font-size: clamp(28px, 7vw, 40px); }
  .scan-steps { gap: 8px; margin-top: 16px; }
  .scan-step { padding: 12px 16px; }
  .scan-step p { display: none; }
  .scan-step .k, .scan-step b { font-size: 16px; }
  .scan-total { margin-top: 16px; }
  .scan-total .grade.lg { width: 64px; height: 64px; font-size: 34px; border-radius: 18px; }
  .scan-num { font-family: var(--display); font-size: 52px; }
}
@media (max-height: 700px) and (min-width: 921px) { .scan-step p { display: none; } }

/* sub-page hero */
.page-hero .display { font-size: clamp(42px, 5.6vw, 92px); }
.page-hero { background: var(--tint); padding: clamp(56px, 7vw, 112px) 0 clamp(56px, 7vw, 112px); }
.page-hero .split { align-items: center; }
.page-hero .lead { margin-top: 32px; }
.page-hero .actions { margin-top: 36px; }
.page-hero.dark { background: var(--night); color: #fff; }
.page-hero.dark .lead { color: #d4d4d8; }
.page-hero.brand { background: var(--brand); color: #fff; }
.page-hero.brand .lead { color: #eeeef2; }
.ph-media { border-radius: var(--radius); overflow: hidden; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }

/* ---------- pictures ---------- */
.pic { border-radius: var(--radius); overflow: hidden; background: var(--tint-2); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic figcaption, figure > figcaption { font-size: var(--fs-small); color: var(--ink-2); margin-top: 12px; }

/* ---------- compare (as-is / to-be) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; }
.compare > div { padding: clamp(28px, 4vw, 56px); }
.compare .before { background: #ffffff; }
.compare .after { background: var(--night); color: #fff; }
.compare h3 { margin-bottom: 28px; }
.compare dl { display: grid; gap: 24px; }
.compare dt { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.compare dd { color: var(--ink-2); margin-top: 6px; }
.compare .after dd { color: #c4c4cc; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- scoring / live calculator ---------- */
.score-board { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
@media (max-width: 920px) { .score-board { grid-template-columns: 1fr; } }
.axis { display: grid; gap: 14px; }
.axis-row { background: var(--tint); border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.bg-tint .axis-row { background: #fff; }
.calc-panel .muted { color: #c8c8d0; }
.axis-row .k { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.axis-row .w { font-weight: 800; font-size: 19px; color: var(--indigo); }
.axis-row .d { grid-column: 1 / -1; color: var(--ink-2); font-size: 15.5px; }
.axis-row input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--indigo); height: 28px; cursor: pointer; }
.axis-row output { font-weight: 800; }
.calc-panel { background: var(--night); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; align-content: start; }
.calc-panel .total { display: flex; align-items: center; gap: 24px; }
.calc-panel .total-num { font-family: var(--display); font-size: clamp(64px, 8vw, 112px); line-height: .9; font-weight: 700; letter-spacing: -0.05em; }
.calc-panel .total-num small { font-size: 24px; letter-spacing: -0.01em; color: #a1a1aa; margin-left: 4px; }
.calc-panel label.inline { display: grid; gap: 8px; font-weight: 600; color: #d4d4d8; font-size: 15px; }
.calc-panel select, .calc-panel input[type="number"] { background: var(--night-2); border: 0; border-radius: 12px; color: #fff; padding: 12px 14px; font-weight: 700; width: 100%; }
.calc-result { background: var(--night-2); border-radius: 16px; padding: 20px 22px; }
.calc-result .amount { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.035em; }
.calc-result .formula { color: #a1a1aa; font-size: 15px; margin-top: 4px; }

/* grade badge */
.grade { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; color: #fff; font-size: 20px; letter-spacing: -0.02em; flex: none; }
.grade.lg { width: 88px; height: 88px; border-radius: 24px; font-size: 48px; }
.grade.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.grade[data-g=""] { background: #33333d; color: #a1a1aa; }
.grade[data-g="S"] { background: var(--g-s); } .grade[data-g="A"] { background: var(--g-a); } .grade[data-g="B"] { background: var(--g-b); }
.grade[data-g="C"] { background: var(--g-c); color: #3d2f00; } .grade[data-g="D"] { background: var(--g-d); } .grade[data-g="F"] { background: var(--g-f); }

/* grade ladder */
.ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ladder li { background: #fff; border-radius: 18px; padding: 18px 16px 20px; display: grid; gap: 14px; align-content: start; transition: transform .2s var(--ease); }
.ladder li:hover { transform: translateY(-4px); }
.ladder li { transition: transform .35s var(--ease), opacity .35s var(--ease), box-shadow .35s var(--ease); }
.ladder li.dim, .js .ladder li.rv.in.dim { opacity: .4; }
.ladder li.cur, .js .ladder li.rv.in.cur { transform: translateY(-10px) scale(1.04); box-shadow: 0 0 0 3px var(--indigo); }
.ladder li.cur .amt { color: var(--indigo-deep); }
.ladder .amt { font-weight: 700; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.03em; }
.ladder .cut { font-size: 14px; color: var(--ink-2); }
.bg-night .ladder li { background: var(--night-2); }
.bg-night .ladder .cut { color: #a1a1aa; }
@media (max-width: 860px) { .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- track (participation types) ---------- */
.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.track { display: grid; gap: 18px; align-content: start; }
.track .pic { aspect-ratio: 4 / 5; }
.track .rule { font-weight: 800; color: var(--indigo); }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr; } .track .pic { aspect-ratio: 4 / 3; } }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.flow li { position: relative; padding: 0 18px 0 0; }
.flow li .dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--indigo); margin-bottom: 20px; position: relative; z-index: 1; }
.flow li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; background: var(--tint-2); transform-origin: left; }
.js .flow li.rv::before { transform: scaleX(0); transition: transform .9s var(--ease); transition-delay: calc(var(--d, 0ms) + 200ms); }
.js .flow li.rv.in::before { transform: none; }
.js .flow li.rv .dot { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: var(--d, 0ms); }
.js .flow li.rv.in .dot { transform: none; }
.flow li:last-child::before { right: auto; width: 18px; }
.bg-tint .flow li::before { background: #dedee4; }
.bg-night .flow li::before { background: #2a2a33; }
.flow .who { font-size: 14px; font-weight: 700; color: var(--indigo); }
.bg-night .flow .who { color: #a5a5f5; }
.flow .what { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin-top: 4px; }
.flow .how { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; }
.bg-night .flow .how { color: #b4b4bd; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow li { padding: 0 0 0 40px; }
  .flow li .dot { position: absolute; left: 0; top: 4px; margin: 0; }
  .flow li::before { left: 7px; top: 22px; bottom: -32px; width: 4px; height: auto; right: auto; }
  .flow li:last-child::before { display: none; }
}

/* ---------- big list rows ---------- */
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px 48px; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 1px solid var(--tint-2); }
.rows > .row:last-child { border-bottom: 1px solid var(--tint-2); }
.bg-night .row, .bg-night .rows > .row:last-child { border-color: #2a2a33; }
.rows.boxed { gap: 12px; }
.rows.boxed > .row { border: 0; background: var(--tint); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
.row h3 { font-family: var(--display); font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.03em; font-weight: 700; line-height: 1.3; }
.row p { color: var(--ink-2); }
.bg-night .row p { color: #b4b4bd; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.fact { background: var(--tint); border-radius: 20px; padding: 28px; }
.bg-tint .fact { background: #fff; }
.bg-night .fact { background: var(--night-2); }
.fact .n { font-family: var(--display); white-space: nowrap; font-size: clamp(34px, 3.6vw, 58px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.fact .l { margin-top: 14px; color: var(--ink-2); }
.bg-night .fact .l { color: #b4b4bd; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- showcase ---------- */
.showcase { overflow: hidden; }
.show-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); height: min(860px, 92vh); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.show-col { display: grid; gap: clamp(12px, 1.6vw, 24px); align-content: start; animation: show-up 46s linear infinite; }
.show-col:nth-child(2) { animation-name: show-down; animation-duration: 52s; }
.show-col:nth-child(3) { animation-duration: 40s; }
.show-cols:hover .show-col { animation-play-state: paused; }
@keyframes show-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes show-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.show-card { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 14; background: var(--night-2); }
.show-card img { width: 100%; height: 100%; object-fit: cover; }
.show-card figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; background: rgba(10,10,14,.78); color: #fff; border-radius: 14px; padding: 10px 12px; margin: 0; font-size: 14px; }
.show-card figcaption b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.show-card figcaption small { color: #b4b4bd; font-size: 12.5px; }
@media (max-width: 760px) { .show-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 640px; } .show-col:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .show-col { animation: none; } .show-cols { height: auto; max-height: 900px; } }

/* ---------- CTA band ---------- */
.cta { background: var(--brand); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); }
.cta .lead { color: #eeeef2; margin-top: 24px; }
.cta .pic { aspect-ratio: 3 / 2; }
@media (max-width: 920px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- video slot ---------- */
.video-slot[hidden] { display: none !important; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.feature-media .ui-fallback[hidden] { display: none; }

/* ---------- feature blocks (features page) ---------- */
.feature { padding: var(--gap-section) 0; }
.feature + .feature { padding-top: 0; }
.feature .split { align-items: start; }
.feature ul.points { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 18px; }
.feature ul.points li { position: relative; padding-top: 16px; border-top: 1px solid var(--tint-2); }

.feature ul.points strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.feature ul.points span { color: var(--ink-2); }
.bg-night .feature ul.points span { color: #b4b4bd; }
.sticky-media { position: sticky; top: 104px; }
@media (min-width: 921px) { .feature .split { align-items: stretch; } .feature .feature-media { position: sticky; top: 110px; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 18px; background: #fff; }
table.t { width: 100%; border-collapse: collapse; min-width: 560px; }
table.t th, table.t td { text-align: left; padding: 16px 20px; border-bottom: 1px solid #ebebef; vertical-align: top; }
table.t th { font-size: 14px; color: var(--ink-2); font-weight: 700; background: #f8f8fa; }
table.t td.r, table.t th.r { text-align: right; font-variant-numeric: tabular-nums; }
table.t tr:last-child td { border-bottom: 0; }

/* ---------- pricing ---------- */
.fees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.fee { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: var(--night); color: #fff; display: grid; gap: 18px; align-content: start; }
.fee.light { background: var(--tint); color: var(--ink); }
.fee .pct { font-family: var(--display); font-size: clamp(80px, 11vw, 168px); line-height: .85; font-weight: 700; letter-spacing: -0.06em; }
.fee .pct small { font-size: .4em; letter-spacing: -0.02em; margin-left: 6px; }
.fee p { color: #c4c4cc; }
.fee.light p { color: var(--ink-2); }
@media (max-width: 860px) { .fees { grid-template-columns: 1fr; } }
.calc2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 48px); background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.calc2 label { display: grid; gap: 8px; font-weight: 700; }
.calc2 input { border: 2px solid var(--tint-2); background: var(--tint); border-radius: 14px; padding: 14px 16px; font-size: 20px; font-weight: 800; width: 100%; font-variant-numeric: tabular-nums; }
.calc2 input:focus { border-color: var(--indigo); outline: none; }
.calc2 .fields { display: grid; gap: 22px; align-content: start; }
.calc2 .hint { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.ledger { display: grid; gap: 0; }
.ledger div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #ebebef; font-variant-numeric: tabular-nums; }
.ledger div:last-child { border-bottom: 0; }
.ledger .em { font-weight: 800; font-size: 20px; }
.ledger .sub { color: var(--ink-2); }
@media (max-width: 860px) { .calc2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.faq-tabs button { border: 0; background: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background-color .15s, color .15s; }
.faq-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.faq-tabs button:hover { background: var(--tint-2); }
.faq-tabs button[aria-pressed="true"]:hover { background: var(--ink); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: 18px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; font-weight: 700; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.02em; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .cat { font-size: 13px; color: var(--indigo); font-weight: 700; flex: none; background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.faq-item summary .q { flex: 1; }
.faq-item summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--tint); position: relative; transition: transform .2s var(--ease); }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); }
.faq-item summary .pm::after { transform: rotate(90deg); transition: transform .2s var(--ease); }
.faq-item[open] summary .pm::after { transform: rotate(0); }
.faq-item .a { padding: 0 28px 26px; color: var(--ink-2); max-width: 52em; white-space: pre-line; }
.faq-item[hidden] { display: none; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field > .label { font-weight: 700; font-size: 15.5px; }
.field .req { color: var(--indigo); margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; border: 2px solid transparent; background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 16px; transition: border-color .15s;
}
.bg-tint .field input, .bg-tint .field select, .bg-tint .field textarea { background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 4px rgba(91,91,214,.18); }
.field textarea { min-height: 160px; resize: vertical; }
.field .help { font-size: 14px; color: var(--ink-2); }
.field .err { font-size: 14px; color: #c2410c; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #f97316 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; padding: 11px 18px; border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s; }
.chips input:checked + span { background: var(--indigo); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--indigo-deep); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 16px 18px; }
.consent input { width: 22px; height: 22px; accent-color: var(--indigo); flex: none; margin-top: 2px; }
.consent details { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 14px; padding: 18px 20px; font-weight: 600; }
.form-status.ok { background: #e7f8f0; color: #065f46; }
.form-status.bad { background: #fff1e8; color: #9a3412; }
.contact-side { display: grid; gap: 28px; align-content: start; }
@media (max-width: 920px) { .contact-side figure, .contact-side > div:last-child { display: none; } }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin-top: 10px; }
.prose table { margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #fff; padding: clamp(72px, 8vw, 120px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot-grid h2 { font-size: 15px; color: #a5a5f5; font-weight: 700; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: #e3e0ff; }
.foot-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-biz { color: #a1a1aa; font-size: 14.5px; line-height: 1.8; }
.foot-biz span[hidden] { display: none; }
.foot-word { display: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; color: #8f8abf; font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal motion ---------- */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--indigo); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 60; pointer-events: none; }
.site-header { transition: transform .35s var(--ease), background-color .2s; }
.site-header.is-hidden { transform: translateY(-100%); }
.js .h2.rv, .js .display.rv { opacity: 0; filter: blur(14px); transform: translateY(28px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .h2.rv.in, .js .display.rv.in { opacity: 1; filter: none; transform: none; }
.js .pic.rv, .js .ph-media.rv, .js figure.rv { opacity: 1; transform: none; clip-path: inset(14% 0 0 0 round var(--radius)); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .pic.rv img, .js .ph-media.rv img, .js figure.rv img { transform: scale(1.18); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.js .pic.rv.in, .js .ph-media.rv.in, .js figure.rv.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .pic.rv.in img, .js .ph-media.rv.in img, .js figure.rv.in img { transform: none; }
.js .ph-media.rv { clip-path: inset(0 0 0 100% round var(--radius)); }
.js .ladder li.rv { transform: translateY(40px) scale(.94); }
.js .ladder li.rv.in { transform: none; }
.js .phone-pair .phone, .js .phone-solo .phone { transition: transform .2s linear; }
[data-speed] { translate: 0 var(--py, 0px); will-change: translate; }
.foot-word span { display: inline-block; }
.js [data-split]:not(.split-ready) { visibility: hidden; }
.js .foot-word span { transform: translateY(100%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.js .foot-word.in span { transform: none; opacity: 1; }
.foot-word { overflow: hidden; }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.hero-photo img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.is-loaded .hero-photo img { transform: scale(1); }
.pic img { transition: transform .8s var(--ease); }
a.pic:hover img, .track:hover .pic img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu a.m-link { transition: none !important; }
  .motion-only { display: none; }
  .js .h2.rv, .js .display.rv, .js .pic.rv, .js .ph-media.rv, .js figure.rv { clip-path: none !important; transform: none !important; transition: none !important; }
  .js .pic.rv img, .js .ph-media.rv img, .js figure.rv img { transform: none !important; }
  .js .hero-title .w > span, .js .hero-phone, .js .hero-photo, .js .foot-word span, .js .flow li.rv::before, .js .flow li.rv .dot { transform: none !important; clip-path: none !important; opacity: 1 !important; transition: none !important; }
  .js .hero-phone { transform: rotate(-4deg) !important; }
  [data-speed] { translate: none !important; }
  .scan { height: auto; } .scan-stick { position: relative; height: auto; padding: var(--gap-section) 0; }
  .scan-tags li { opacity: 1; transform: none; } .scan-step { opacity: 1; }
  .progress { display: none; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero-photo img, .pic img { transform: none !important; transition: none; }
  .btn, .ladder li { transition: none; }
  .ui-ring .bar { transition: none !important; }
}
.bg-night .btn-ghost-dark, .page-hero.dark .btn-ghost-dark { background: rgba(255,255,255,.12); }
.bg-night .btn-ghost-dark:hover, .page-hero.dark .btn-ghost-dark:hover { background: rgba(255,255,255,.2); }
@media (max-width: 760px) {
  .show-card figcaption { left: 8px; right: 8px; bottom: 8px; padding: 8px 9px; gap: 7px; font-size: 12px; }
  .show-card figcaption b { font-size: 13px; }
  .show-card figcaption small { display: none; }
  .show-card { border-radius: 14px; }
}

/* 모션 절제: 본문·목록은 그대로 두고, 제목·이미지·화면만 움직여요 */
.js p.rv, .js .row.rv, .js .fact.rv, .js .actions.rv, .js .lead.rv, .js .points li.rv, .js .axis.rv, .js .calc-panel.rv { opacity: 1; transform: none; transition: none; }
.progress { display: none; }
/* 섹션 배경은 흰색·검정 위주 */
.bg-tint { background: #fff; }
.bg-tint .axis-row { background: var(--tint); }
.bg-tint .fact, .bg-tint .faq-item, .bg-tint .table-wrap, .bg-tint .calc2, .bg-tint .ladder li { background: var(--tint); }
.bg-tint .field input[type="text"], .bg-tint .field input[type="email"], .bg-tint .field input[type="tel"], .bg-tint .field select, .bg-tint .field textarea, .bg-tint .chips span, .bg-tint .consent { background: var(--tint); }
.bg-tint .faq-tabs button { background: var(--tint); }
.bg-tint .faq-tabs button[aria-pressed="true"] { background: var(--ink); }
@media (max-width: 860px) { .tracks { gap: 56px; } }
/* 기존 vs 인리워드 숫자 대비 */
.versus { display: grid; gap: 0; }
.versus .line { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 40px; align-items: baseline; padding: clamp(22px, 3vw, 40px) 0; border-top: 1px solid var(--tint-2); }
.versus .line:last-child { border-bottom: 1px solid var(--tint-2); }
.versus .who { font-weight: 700; color: var(--ink-2); font-size: 17px; }
.versus .what { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 54px); letter-spacing: -0.03em; line-height: 1.25; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.versus .what span { position: relative; }
.versus .old .what { color: #6d7280; }
.versus .old .what span::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: 4px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 180ms + 300ms); }
.versus.in .old .what span::after { transform: scaleX(1); }
.versus .new .what { color: var(--ink); }
.versus .new .what em { font-style: normal; color: var(--indigo-deep); }
@media (max-width: 760px) { .versus .line { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .versus .old .what span::after { transform: scaleX(1); transition: none; } }
.show-camp { background: #fff; display: flex; flex-direction: column; aspect-ratio: auto; }
.show-camp img { aspect-ratio: 4 / 3; height: auto; }
.show-camp figcaption { position: static; display: grid; gap: 4px; background: #fff; color: var(--ink); border-radius: 0; padding: 14px 16px 18px; }
.show-camp figcaption small { color: var(--ink-2); font-size: 13px; display: block !important; }
.show-camp figcaption b { font-size: 16px; }
.show-camp figcaption span { color: var(--indigo-deep); font-weight: 700; font-size: 13.5px; }
.money { display: grid; gap: 0; }
.money > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 40px; padding: clamp(20px, 2.6vw, 34px) 0; border-top: 1px solid #2a2a33; align-items: baseline; }
.money > div:last-child { border-bottom: 1px solid #2a2a33; }
.money .k { color: #b4b4bd; font-weight: 600; }
.money .v { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -0.02em; color: #fff; }
@media (max-width: 760px) { .money > div { grid-template-columns: 1fr; } }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: "Paperlogy", var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.foot-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 13px; }

/* 흰 섹션이 이어질 때 여백 겹침 줄이기 */
.section:not(.bg-night):not(.cta) + .section:not(.bg-night):not(.cta) { padding-top: clamp(40px, 5vw, 88px); }
.versus .sep { font-style: normal; color: #c4c4cc; font-weight: 400; }
.versus .old .sep { color: #9aa0ab; }
.cta-inner.no-img { grid-template-columns: 1fr; max-width: 980px; }
.bg-night .feature ul.points li, .feature.bg-night ul.points li { border-color: #2a2a33; }
/* 히어로 본문·버튼은 제목 다음에 */
.js .hero .hero-copy p.rv, .js .hero .hero-copy .actions.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .hero .hero-copy p.rv.in, .js .hero .hero-copy .actions.rv.in { opacity: 1; transform: none; }
/* 서비스 돈 흐름: 한 줄씩 그려져요 */
.js .money[data-in] > div { opacity: 0; transform: translateX(-24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .money[data-in] > div:nth-child(2) { transition-delay: .25s; } .js .money[data-in] > div:nth-child(3) { transition-delay: .5s; }
.js .money[data-in].in > div { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .money[data-in] > div, .js .hero .hero-copy p.rv, .js .hero .hero-copy .actions.rv { opacity: 1 !important; transform: none !important; } }

/* ================= Toss식 3D 연출 ================= */
/* 실물 같은 폰 */
.phone { position: relative; background: #0b0b0f; box-shadow: 0 0 0 2px #c3c7d2, 0 0 0 3.5px #737887, 0 40px 80px -30px rgba(10,10,20,.45); }
.phone::after { content: ""; position: absolute; inset: 10px; border-radius: 31px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 32%); mix-blend-mode: screen; }
.p3d { transform-style: preserve-3d; transform: perspective(1800px) rotateX(calc(var(--rx, 6deg) + var(--mx, 0deg))) rotateY(calc(var(--ry, -18deg) + var(--my, 0deg))) rotateZ(var(--rz, 4deg)) scale(var(--s, 1)); transition: transform .25s ease-out; will-change: transform; }
.p3d .phone { transform-style: preserve-3d; }
.p3d .phone::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #5d6270; transform: translateZ(-12px); box-shadow: 0 0 0 2px #8d92a0; }
.p3d-ground { position: absolute; left: 50%; bottom: -2%; width: 70%; height: 46px; transform: translateX(-38%); background: radial-gradient(closest-side, rgba(40,40,90,.28), rgba(40,40,90,0)); filter: blur(6px); pointer-events: none; }
.p3d-pop { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: 0 24px 50px -18px rgba(20,20,60,.35); opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; white-space: nowrap; }
.p3d-pop.on { opacity: 1; transform: none; }
.p3d-pop b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.p3d-pop small { display: block; color: var(--ink-2); font-size: 13px; }

/* 히어로: 화면 가득한 사진이 카드로 줄고, 폰이 3D로 떠올라요 */
.hx { position: relative; height: 230vh; background: #fff; }
.hx-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hx-card { position: absolute; inset: 0; clip-path: inset(calc(var(--hp, 0) * 13vh) calc(var(--hp, 0) * 5vw) calc(var(--hp, 0) * 9vh) calc(var(--hp, 0) * 5vw) round calc(var(--hp, 0) * 40px)); background: #111; }
.hx-img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.16 - var(--hp, 0) * .1)); transform-origin: 50% 40%; }
.hx-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,14,.78) 0%, rgba(8,8,14,.35) 38%, rgba(8,8,14,0) 70%), linear-gradient(to right, rgba(8,8,14,.45), rgba(8,8,14,0) 55%); }
.hx-copy { position: absolute; left: var(--margin); width: min(58vw, 820px); bottom: 9vh; color: #fff; transform: translate3d(calc(var(--hp, 0) * 5vw), calc(var(--hp, 0) * -9vh), 0); }
.hx-title { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5.6vw, 88px); line-height: 1.2; letter-spacing: -0.03em; color: #fff; }
.hx-title .w { display: inline-block; vertical-align: top; }
.hx-title .w > span { display: inline-block; }
.js .hx-title .w > span { opacity: 0; filter: blur(18px); transform: translateY(30px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .hx-title.in .w > span { opacity: 1; filter: none; transform: none; }
.hx-sub .lead { color: #ececf2; margin-top: 28px; max-width: 30em; }
.hx-sub .actions { margin-top: 32px; }
.js .hx-sub { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .65s, transform 1s var(--ease) .65s; }
.is-loaded .hx-sub { opacity: 1; transform: none; }
.hx-phone { position: absolute; right: 11vw; bottom: 7vh; width: 300px; transform-origin: 100% 100%; transform: translate3d(0, calc((1 - var(--pp, 0)) * 80vh), 0) scale(var(--hs, .95)); }
.hx-phone .p3d { --rx: calc(26deg - var(--pp, 0) * 20deg); --ry: calc(-42deg + var(--pp, 0) * 24deg); --rz: calc(-10deg + var(--pp, 0) * 14deg); }
.hx-pop { right: calc(100% + 4px); top: 10%; }
@media (max-width: 860px) {
  .hx { height: 200vh; }
  .hx-copy { right: var(--margin); width: auto; top: 96px; bottom: auto; transform: translate3d(0, calc(var(--hp, 0) * 8vh), 0); }
  .hx-scrim { background: linear-gradient(to bottom, rgba(8,8,14,.72) 0%, rgba(8,8,14,.45) 45%, rgba(8,8,14,.1) 75%); }
  .hx-title { font-size: clamp(40px, 11vw, 64px); }
  .hx-sub .lead { font-size: 16px; margin-top: 18px; }
  .hx-phone { right: 8vw; bottom: 1.5vh; }
  .hx-pop { display: none; }
  .hx-pop b { font-size: 15px; }
}
@media (max-width: 860px) and (max-height: 760px) { .hx-sub .lead { display: none; } }

/* 스티키 폰 스토리 */
.ps { position: relative; height: 420vh; background: #fff; }
.ps-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
.ps-steps { list-style: none; padding: 0; margin: 40px 0 0; }
.ps-steps li { padding: 20px 0; border-top: 1px solid var(--tint-2); color: #a8a8b2; transition: color .4s var(--ease); }
.ps-steps li:last-child { border-bottom: 1px solid var(--tint-2); }
.ps-steps li b { font-family: var(--display); font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; }
.ps-steps li p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); color: var(--ink-2); }
.ps-steps li.on { color: var(--ink); }
.ps-steps li.on p { max-height: 90px; opacity: 1; margin-top: 8px; }
.ps-stage { position: relative; height: min(80vh, 760px); display: grid; place-items: center; }
.ps-phones { position: relative; width: 300px; height: 641px; flex: none; }
.ps-screen { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 0, 0); transition: opacity .45s var(--ease); }
.ps-screen.on { opacity: 1; }
.ps-screen .phone .screen > *:not(.sb) { transition: transform .6s var(--ease); }
.ps-screen:not(.on) .phone .screen > .body { transform: translateY(40px); }
.ps-pop { left: 0; }
.ps-pop[data-i="0"] { top: 18%; } .ps-pop[data-i="1"] { top: 52%; } .ps-pop[data-i="2"] { top: 30%; } .ps-pop[data-i="3"] { top: 58%; }
@media (max-width: 860px) {
  .ps { height: 400vh; }
  .ps-stick { align-items: flex-start; padding-top: 84px; }
  .ps-grid { grid-template-columns: 1fr; gap: 8px; }
  .ps-text .h2 { font-size: clamp(26px, 7vw, 36px); }
  .ps-steps { margin-top: 14px; }
  .ps-steps li { padding: 10px 0; }
  .ps-steps li:not(.on) { display: none; }
  .ps-steps li b { font-size: 18px; }
  .ps-steps li.on p { font-size: 15px; }
  .ps-stage { height: 52vh; height: 52svh; }
  .ps-pop { display: none; }
}

/* 광고주 화면이 눕혀져 있다가 스크롤하면 세워져요 */
.flat-stage { perspective: 1600px; max-width: 1040px; margin: 0 auto; }
.flat { transform: rotateX(calc((1 - var(--f, 1)) * 30deg)) scale(calc(.84 + var(--f, 1) * .16)); transform-origin: 50% 100%; transition: transform .1s linear; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hx { height: auto; --pp: 1; --hp: 0; } .hx-stick { position: relative; height: 100vh; }
  .hx-card { clip-path: none; } .hx-img { transform: none; }
  .hx-phone { transform: scale(var(--hs, .95)); } .js .hx-sub, .js .hx-title .w > span { opacity: 1 !important; filter: none !important; transform: none !important; }
  .ps { height: auto; } .ps-stick { position: relative; height: auto; padding: var(--gap-section) 0; }
  .ps-steps li { color: var(--ink); } .ps-steps li p { max-height: none; opacity: 1; margin-top: 8px; }
  .ps-steps li:not(.on) { display: block !important; }
  .js .h2.rv, .js .display.rv { opacity: 1 !important; filter: none !important; }
  .flat { transform: none; } .p3d { transition: none; }
}

/* ================= 상자 → 화장품 → 폰 ================= */
.bx { position: relative; height: 420vh; background: #fff; }
.bx-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.bx-frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; z-index: 3; background: #e9e4de; will-change: left, top, width, height; }
.bx-poster, .bx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-title { position: absolute; z-index: 4; left: 0; right: 0; top: var(--ty, 13vh); margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 52px); letter-spacing: -0.025em; line-height: 1.3; color: var(--ink); pointer-events: none; }
.bx-l { position: absolute; left: var(--margin); right: var(--margin); top: 0; opacity: 0; filter: blur(12px); transform: translateY(14px); transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease); }
.bx-l.on { opacity: 1; filter: none; transform: none; }
.bx-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.bx-text { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bx-text .lead { margin-top: 20px; color: var(--ink-2); max-width: 26em; }
.bx-rows { list-style: none; padding: 0; margin: 32px 0 28px; max-width: 30em; }
.bx-rows li { display: grid; grid-template-columns: 9.5em 1fr; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--tint-2); align-items: baseline; }
.bx-rows li:last-child { border-bottom: 1px solid var(--tint-2); }
.bx-rows b { font-size: 17px; letter-spacing: -0.02em; }
.bx-rows span { color: var(--ink-2); font-size: 15px; }
.bx-phone { justify-self: center; width: 300px; transform-origin: 50% 50%; transform: scale(var(--s, 1)); opacity: 0; transition: opacity .5s var(--ease); }
.bx-slot { aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: #e9e4de; }
.bx-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-ui { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.bx-ui + .bx-ui { transition-delay: .12s; }
.bx-phone .ui-bars .b i::after { width: 0; transition: width .9s var(--ease) .3s; }
.bx.show .bx-phone, .bx.show .bx-text { opacity: 1; transform: scale(var(--s, 1)); }
.bx.show .bx-text { transform: none; }
.bx.done .bx-ui { opacity: 1; transform: none; }
.bx.done .bx-phone .ui-bars .b i::after { width: var(--w); }
@media (max-width: 860px) {
  .bx { height: 400vh; }
  .bx-title { font-size: clamp(22px, 6.2vw, 30px); }
  .bx-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 0; padding-top: 84px; align-items: start; }
  .bx-text .h2 { font-size: clamp(24px, 6.6vw, 32px); }
  .bx-text .lead { font-size: 15px; margin-top: 10px; }
  .bx-rows, .bx-text .link-more { display: none; }
  .bx-phone { align-self: start; margin-top: 16px; transform-origin: 50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bx { height: auto; } .bx-stick { position: relative; height: auto; overflow: visible; padding: var(--gap-section) 0; }
  .bx-frame, .bx-title { display: none; }
  .bx-text, .bx-phone, .bx-ui { opacity: 1 !important; transform: none !important; }
  .bx-phone .ui-bars .b i::after { width: var(--w); transition: none; }
  .bx-rows, .bx-text .link-more { display: grid !important; } .bx-text .link-more { display: inline-flex !important; }
}
html:not(.js) .bx { height: auto; } html:not(.js) .bx-stick { position: relative; height: auto; overflow: visible; padding: var(--gap-section) 0; }
html:not(.js) .bx-frame, html:not(.js) .bx-title { display: none; } html:not(.js) .bx-text, html:not(.js) .bx-phone, html:not(.js) .bx-ui { opacity: 1; transform: none; }

.bx:not(.show) .bx-text .link-more { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .bx .bx-text .link-more { visibility: visible !important; } }
/* 화면이 아주 낮으면(가로로 눕힌 폰) 고정 장면 대신 그대로 보여줘요 */
@media (max-height: 480px) {
  .bx { height: auto; } .bx-stick { position: relative; height: auto; overflow: visible; padding: 64px 0; }
  .bx-frame, .bx-title { display: none; }
  .bx-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding-top: 0; align-items: center; }
  .bx-text, .bx-phone, .bx-ui { opacity: 1 !important; transform: none !important; }
  .bx-phone { margin: 0 auto; }
  .bx-phone .ui-bars .b i::after { width: var(--w); transition: none; }
  .bx .bx-text .link-more { visibility: visible !important; }
}
