/* =============================================================================
 *  Payvit Marketing — Main Stylesheet
 * ============================================================================= */

@import url("./tokens.css");

/* ─── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: var(--lh-base);
    color: var(--ink-800);
    background: var(--surface-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* ─── Container ───────────────────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-px);
}
.container--narrow { max-width: var(--container-narrow); }

/* ─── Section ─────────────────────────────────────────────────────────────── */
section { padding: var(--section-py) 0; position: relative; }
.section-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--brand);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}
.section-title {
    font-size: var(--text-h1);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
    margin-bottom: var(--space-5);
}
.section-subtitle {
    font-size: var(--text-h4);
    color: var(--ink-500);
    line-height: var(--lh-base);
    max-width: 640px;
}
.section-header { margin-bottom: var(--space-16); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 26px;
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    line-height: 1;
    border-radius: var(--radius-md);
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid transparent;
}
.btn-lg { padding: 18px 32px; font-size: var(--text-h4); border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 18px; font-size: var(--text-small); }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-brand-sm);
}
.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--ink-900);
    color: #fff;
}
.btn-secondary:hover {
    background: var(--ink-700);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-800);
    border-color: var(--ink-200);
}
.btn-ghost:hover {
    background: var(--surface-2);
    border-color: var(--ink-300);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}
.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

.btn-arrow::after {
    content: "→";
    transition: transform var(--duration-base) var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── Navigation ──────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-nav);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out);
}
.nav--scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--shadow-xs);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-px);
}
.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
}
.nav__logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}
.nav__logo-wordmark { font-weight: inherit; line-height: 1; }
.nav__logo span { color: var(--brand); }
.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.nav__link {
    padding: 10px 14px;
    font-size: var(--text-small);
    font-weight: var(--fw-medium);
    color: var(--ink-700);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
}
.nav__link:hover { color: var(--ink-900); background: var(--surface-2); }
.nav__cta { display: flex; gap: var(--space-2); align-items: center; }

.nav__toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}
.nav__toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink-800);
    position: relative;
    transition: all var(--duration-base) var(--ease-out);
}
.nav__toggle span::before,
.nav__toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%; height: 2px;
    background: var(--ink-800);
    transition: all var(--duration-base) var(--ease-out);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

@media (max-width: 880px) {
    .nav__menu, .nav__cta .btn-ghost { display: none; }
    .nav__toggle { display: flex; }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    padding-top: clamp(120px, 18vh, 180px);
    padding-bottom: var(--space-32);
    background: var(--surface-0);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
    z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; gap: var(--space-12); }
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 16px;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-tint);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}
.hero__title {
    font-size: var(--text-display);
    font-weight: var(--fw-extrabold);
    line-height: 1.05;
    letter-spacing: var(--tracking-tighter);
    color: var(--ink-900);
    margin-bottom: var(--space-6);
    /* 한국어 단어 단위 줄바꿈 — '결제로' 같은 단어가 중간에 끊기지 않도록 */
    word-break: keep-all;
    overflow-wrap: break-word;
}
.hero__title .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ─── Rotating headline — CSS Grid Stack ─────────────────────────────────── */
/* 모든 슬라이드가 같은 grid cell 을 점유 → 가장 큰 슬라이드 높이로 자동 맞춤.
   absolute + min-height 트릭 없이 자연스러운 레이아웃 */
.hero__title-rotator {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
}
.hero__title-slide {
    grid-area: stack;
    display: block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    pointer-events: none;
}
.hero__title-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hero__title-eyebrow {
    display: block;
    font-size: var(--text-small);
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
    color: var(--brand);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    line-height: 1.2;
    word-break: keep-all;
}

/* 슬라이드별 메인 제목 */
.hero__title-text {
    display: block;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 슬라이드별 detail 설명 */
.hero__title-detail {
    display: block;
    margin-top: var(--space-5);
    font-size: var(--text-h4);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    letter-spacing: var(--tracking-normal);
    color: var(--ink-600);
    max-width: 520px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 헤드라인 dot 인디케이터 */
.hero__title-dots {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
    margin-bottom: var(--space-8);
}
.hero__title-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: var(--ink-200);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    padding: 0;
    border: none;
}
.hero__title-dot:hover { background: var(--ink-300); }
.hero__title-dot.is-active {
    background: var(--brand);
    width: 40px;
}

.hero__subtitle {
    font-size: var(--text-h4);
    line-height: var(--lh-relaxed);
    color: var(--ink-600);
    margin-bottom: var(--space-6);
    max-width: 520px;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.hero__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__trust {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-10);
    color: var(--ink-500);
    font-size: var(--text-small);
}
.hero__trust strong { color: var(--ink-800); font-weight: var(--fw-semibold); }
.hero__trust .hero__trust-key {
    color: var(--brand);
    font-weight: var(--fw-extrabold);
    letter-spacing: var(--tracking-tight);
}

/* Hero visual — fee card */
.hero__visual {
    position: relative;
    perspective: 1200px;
}
/* ─── Fee Card (Hero Visual) ─ 새 디자인 ──────────────────────────────────
   ① pill 배지
   ② rates 영역 (체크 / 신용 / 간편)
   ③ vs 비교 다이어그램 (PG vs Payvit)
   ④ impact 메시지 (32배)
   ───────────────────────────────────────────────────────────────────────── */
.fee-card {
    background: linear-gradient(155deg, #14141f 0%, #1a1a2e 50%, #2a1a35 100%);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
    transition: transform var(--duration-slow) var(--ease-spring);
    animation: fee-float 6s var(--ease-out) infinite;
}
.fee-card:hover {
    transform: translateY(-6px);
    animation-play-state: paused;
}
@keyframes fee-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* 우상단 핑크 글로우 + 좌하단 보라 글로우 */
.fee-card::before {
    content: "";
    position: absolute;
    top: -80px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(233,69,96,0.28) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.fee-card::after {
    content: "";
    position: absolute;
    bottom: -100px; left: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.fee-card > * { position: relative; z-index: 1; }

/* ① Pill 배지 */
.fee-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-6);
}
.fee-card__pill-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: fee-pulse 2s var(--ease-out) infinite;
}
@keyframes fee-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); }
    50%      { opacity: 0.6; box-shadow: 0 0 14px rgba(74, 222, 128, 0.9); }
}

/* ② 수수료 행 영역 */
.fee-card__rates {
    display: grid;
    gap: 2px;
    margin-bottom: var(--space-6);
}
.fee-card__row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fee-card__row:last-of-type { border-bottom: none; }
.fee-card__row-icon {
    font-size: 1.125rem;
    align-self: center;
    opacity: 0.85;
}
.fee-card__row-name {
    font-size: var(--text-body);
    color: rgba(255,255,255,0.92);
    font-weight: var(--fw-semibold);
    line-height: 1.3;
}
.fee-card__row-name small {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--fw-regular);
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}
.fee-card__row-fee {
    font-size: 2rem;
    font-weight: var(--fw-extrabold);
    background: linear-gradient(135deg, #4ade80 0%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: var(--tracking-tight);
    line-height: 1;
}
.fee-card__row-fee .unit {
    font-size: 0.6em;
    font-weight: var(--fw-bold);
    margin-left: 1px;
}

/* ③ vs 비교 다이어그램 */
.fee-card__vs {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
}
.fee-card__vs-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-2) 0;
}
.fee-card__vs-label {
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.fee-card__vs-value {
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: 1;
}
.fee-card__vs-value .unit { font-size: 0.6em; margin-left: 1px; }

.fee-card__vs-row--theirs {
    color: rgba(255,255,255,0.45);
}
.fee-card__vs-row--theirs .fee-card__vs-value {
    text-decoration: line-through;
    text-decoration-color: rgba(252, 165, 165, 0.5);
    text-decoration-thickness: 2px;
    color: #fca5a5;
}

/* Payvit 행 — 강조 (글자 크기 ↑ + 그라디언트 + glow) */
.fee-card__vs-row--ours {
    color: #fff;
    padding: var(--space-3) 0;
}
.fee-card__vs-row--ours .fee-card__vs-label {
    font-size: var(--text-small);
    font-weight: var(--fw-bold);
    color: rgba(255,255,255,0.95);
}
.fee-card__vs-row--ours .fee-card__vs-value {
    font-size: 2.25rem;
    font-weight: var(--fw-black);
    background: linear-gradient(135deg, #4ade80 0%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: var(--tracking-tighter);
    text-shadow: 0 0 24px rgba(74, 222, 128, 0.25);
    line-height: 1;
}
.fee-card__vs-row--ours .fee-card__vs-value .unit {
    font-size: 0.55em;
    font-weight: var(--fw-bold);
}

.fee-card__vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
    position: relative;
}
.fee-card__vs-divider::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    z-index: 0;
}
.fee-card__vs-divider span {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 31, 0.95);
    padding: 0 8px;
    font-size: 9px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}

/* ④ Impact 메시지 — "PG사 대비 최대 32배 저렴 / 오프라인 카드단말기와 수수료가 동일" */
.fee-card__impact {
    text-align: center;
    padding-top: var(--space-5);
    border-top: 1px dashed rgba(255,255,255,0.12);
}
.fee-card__impact-num {
    font-size: 1.125rem;
    font-weight: var(--fw-bold);
    color: rgba(255,255,255,0.92);
    letter-spacing: var(--tracking-tight);
    line-height: 1.3;
    word-break: keep-all;
}
.fee-card__impact-num strong {
    font-size: 2.25rem;
    font-weight: var(--fw-black);
    background: linear-gradient(135deg, #ff6b8b 0%, #fda4b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 4px;
    letter-spacing: var(--tracking-tighter);
    vertical-align: -2px;
}
.fee-card__impact-label {
    font-size: var(--text-small);
    color: rgba(255,255,255,0.6);
    margin-top: var(--space-3);
    letter-spacing: 0.02em;
    word-break: keep-all;
    line-height: 1.5;
}

/* ─── Stats Strip ─────────────────────────────────────────────────────────── */
.stats {
    padding: var(--space-16) 0;
    background: var(--ink-900);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    pointer-events: none;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}
@media (max-width: 768px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}
.stat {
    text-align: center;
    padding: var(--space-4) var(--space-2);
}
.stat__value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-black);
    line-height: 1;
    letter-spacing: var(--tracking-tighter);
    /* 브랜드 핑크 그라디언트 — 다크 배경에서 강하게 pop */
    background: linear-gradient(135deg, #ff6b8b 0%, #fda4b6 50%, #ff6b8b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--space-2);
    text-shadow: 0 0 24px rgba(233, 69, 96, 0.25);
}
.stat__value .unit {
    font-size: 0.5em;
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--fw-bold);
    margin-left: 4px;
    letter-spacing: var(--tracking-normal);
}
.stat__label {
    font-size: var(--text-small);
    color: rgba(255,255,255,0.65);
}

/* ─── Comparison ─────────────────────────────────────────────────────────── */
.comparison {
    background: var(--surface-1);
}
.comparison__table {
    background: var(--surface-0);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-10);
}
.comparison__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
    align-items: center;
    padding: var(--space-6) var(--space-8);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--duration-fast) var(--ease-out);
}
.comparison__row:last-child { border-bottom: none; }
.comparison__row--head {
    background: var(--surface-2);
    font-size: var(--text-small);
    font-weight: var(--fw-bold);
    color: var(--ink-700);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}
.comparison__row:not(.comparison__row--head):hover { background: var(--surface-1); }
.comparison__cell-name {
    font-weight: var(--fw-semibold);
    color: var(--ink-800);
    font-size: var(--text-h4);
}
.comparison__cell-ours {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    color: var(--success);
    letter-spacing: var(--tracking-tight);
}
.comparison__cell-theirs {
    font-size: var(--text-body);
    color: var(--ink-500);
    text-decoration: line-through;
    text-decoration-color: var(--ink-300);
}
.comparison__cell-gap {
    text-align: right;
}
.comparison__cell-gap span {
    display: inline-block;
    padding: 6px 12px;
    background: var(--success-soft);
    color: var(--success-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    font-weight: var(--fw-bold);
}
@media (max-width: 768px) {
    .comparison__row { grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); padding: var(--space-5); }
    .comparison__row--head .comparison__cell-name { grid-column: 1 / -1; }
    .comparison__row--head .comparison__cell-ours,
    .comparison__row--head .comparison__cell-theirs,
    .comparison__row--head .comparison__cell-gap { display: none; }
    .comparison__cell-name { grid-column: 1 / -1; padding-bottom: var(--space-2); border-bottom: 1px dashed var(--border-subtle); }
    .comparison__cell-gap { text-align: left; }
}

/* =============================================================================
 *  VS Table — 8행 비교 (Payvit 열 시각적 강조)
 *  Payvit 컬럼: brand-soft 배경 + 좌우 brand 보더 + 헤더 다크 그라디언트 + 추천 badge
 *  PG 컬럼: muted, line-through 효과
 * ============================================================================= */

.vs-table {
    margin-top: var(--space-10);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    background: var(--surface-0);
    isolation: isolate;
}

.vs-table__row {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1fr;
    align-items: stretch;
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--duration-fast) var(--ease-out);
}
.vs-table__row:last-child { border-bottom: none; }
.vs-table__row:not(.vs-table__row--head):hover {
    background: var(--surface-1);
}

.vs-table__cell {
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    font-size: var(--text-body);
    color: var(--ink-700);
    line-height: 1.4;
}
.vs-table__cell small {
    font-size: var(--text-xs);
    color: var(--ink-500);
    font-weight: var(--fw-regular);
    line-height: 1.3;
}

/* ─── 좌측: 비교 항목 라벨 ─── */
.vs-table__cell--label {
    text-align: left;
    align-items: flex-start;
    justify-content: center;
    font-weight: var(--fw-bold);
    color: var(--ink-900);
    font-size: var(--text-h4);
    background: var(--surface-1);
}

/* ─── 가운데: Payvit (강조 컬럼) ─── */
.vs-table__cell--ours {
    background: var(--brand-soft);
    border-left: 2px solid var(--brand);
    border-right: 2px solid var(--brand);
    color: var(--ink-900);
    font-weight: var(--fw-semibold);
    position: relative;
}
.vs-table__cell--ours strong {
    font-size: 1.625rem;
    font-weight: var(--fw-extrabold);
    color: var(--brand);
    letter-spacing: var(--tracking-tight);
    line-height: 1.1;
}
.vs-table__cell--ours small {
    color: var(--brand-dark);
    opacity: 0.7;
}

/* ─── 우측: 일반 PG (muted) ─── */
.vs-table__cell--theirs {
    color: var(--ink-500);
    font-weight: var(--fw-medium);
}
.vs-table__cell--theirs small {
    color: var(--ink-400);
}

/* ─── Header 행 — 다크 + 추천 badge ─── */
.vs-table__row--head {
    background: var(--surface-2);
    border-bottom: 2px solid var(--border-color);
}
.vs-table__row--head .vs-table__cell {
    padding: var(--space-6);
}
.vs-table__row--head .vs-table__cell--label {
    background: var(--surface-2);
    font-size: var(--text-small);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-600);
}
.vs-table__row--head .vs-table__cell--ours {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: #fff;
    border-left: 2px solid var(--brand);
    border-right: 2px solid var(--brand);
    border-top: 2px solid var(--brand);
    position: relative;
    overflow: visible;
}
.vs-table__row--head .vs-table__cell--ours::before {
    content: "";
    position: absolute;
    top: -10px; right: -10px;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(233,69,96,0.4) 0%, transparent 70%);
    pointer-events: none;
}
.vs-table__row--head .vs-table__cell--theirs {
    color: var(--ink-600);
    font-weight: var(--fw-bold);
}

.vs-table__cell-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.04em;
    margin-bottom: var(--space-2);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}
.vs-table__cell-name {
    font-size: var(--text-h3);
    font-weight: var(--fw-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: 1.2;
}
.vs-table__cell-name small {
    font-size: 0.65em;
    font-weight: var(--fw-semibold);
    color: rgba(255,255,255,0.6);
    margin-left: 4px;
}

/* 마지막 행 — Payvit 컬럼 하단 보더 닫기 */
.vs-table__row:last-child .vs-table__cell--ours {
    border-bottom: 2px solid var(--brand);
}

/* Footnote */
.vs-table__footnote {
    margin-top: var(--space-5);
    text-align: center;
    font-size: var(--text-xs);
    color: var(--ink-500);
    line-height: 1.6;
    word-break: keep-all;
}

/* ─── Mobile 반응형 ─── */
@media (max-width: 768px) {
    .vs-table {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }
    .vs-table__row {
        grid-template-columns: 1fr;
        background: var(--surface-0);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-xl);
        margin-bottom: var(--space-3);
        overflow: hidden;
    }
    .vs-table__row--head {
        display: none;
    }
    .vs-table__cell {
        padding: var(--space-4) var(--space-5);
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: center;
        gap: var(--space-3);
        border-bottom: 1px solid var(--border-subtle);
    }
    .vs-table__cell--label {
        background: var(--ink-900);
        color: #fff;
        font-size: var(--text-h4);
        align-items: flex-start;
        flex-direction: column;
    }
    .vs-table__cell--label small {
        color: rgba(255,255,255,0.6);
    }
    .vs-table__cell--ours {
        background: var(--brand-soft);
        border-left: none;
        border-right: none;
    }
    .vs-table__cell--ours::before {
        content: "Payvit (VAN)";
        font-size: var(--text-xs);
        font-weight: var(--fw-extrabold);
        color: var(--brand);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        flex-shrink: 0;
    }
    .vs-table__cell--theirs::before {
        content: "일반 PG";
        font-size: var(--text-xs);
        font-weight: var(--fw-bold);
        color: var(--ink-400);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        flex-shrink: 0;
    }
    .vs-table__row:last-child .vs-table__cell--ours {
        border-bottom: 1px solid var(--brand-tint);
    }
    .vs-table__row:last-child .vs-table__cell {
        border-bottom: none;
    }
    .vs-table__row:last-child .vs-table__cell--ours {
        border-bottom: 1px solid var(--brand-tint);
    }
    .vs-table__cell--ours strong {
        font-size: var(--text-h3);
    }
    .vs-table__cell-badge { display: none; }
    .vs-table__cell-name { display: none; }
}

/* ─── ROI Calculator ──────────────────────────────────────────────────────── */
.roi {
    background: var(--surface-0);
}
.roi__panel {
    background: var(--ink-900);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: clamp(32px, 5vw, 64px);
    margin-top: var(--space-10);
    position: relative;
    overflow: hidden;
}
.roi__panel::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(233,69,96,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.roi__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
}
@media (max-width: 880px) { .roi__grid { grid-template-columns: 1fr; gap: var(--space-8); } }
.roi__controls h3 {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-tight);
}
.roi__controls p {
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-8);
    font-size: var(--text-base);
}
.roi__input-group { margin-bottom: var(--space-8); }
.roi__input-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-3);
}
.roi__input-label-text {
    font-size: var(--text-small);
    color: rgba(255,255,255,0.7);
    font-weight: var(--fw-medium);
}
.roi__input-label-value {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    color: #fff;
    letter-spacing: var(--tracking-tight);
}
.roi__input-label-value .unit { font-size: 0.6em; color: rgba(255,255,255,0.5); margin-left: 4px; }
.roi__slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    outline: none;
}
.roi__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px; height: 24px;
    background: var(--brand);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(233,69,96,0.18);
    transition: all var(--duration-fast) var(--ease-out);
}
.roi__slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(233,69,96,0.22); }
.roi__slider::-moz-range-thumb {
    width: 24px; height: 24px;
    background: var(--brand);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(233,69,96,0.18);
}
.roi__result {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
}
.roi__result-label {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--space-3);
}
.roi__result-value {
    font-size: var(--text-display-2);
    font-weight: var(--fw-black);
    line-height: 1;
    letter-spacing: var(--tracking-tighter);
    background: var(--gradient-success);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--space-2);
}
.roi__result-value .currency { font-size: 0.4em; vertical-align: super; }
.roi__result-period {
    color: rgba(255,255,255,0.55);
    font-size: var(--text-small);
}
.roi__breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px dashed rgba(255,255,255,0.12);
}
.roi__breakdown-item { text-align: center; }
.roi__breakdown-label { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }
.roi__breakdown-value { font-size: var(--text-h3); font-weight: var(--fw-bold); color: #fff; margin-top: 2px; }

/* ─── User Types (Bento Grid) ─────────────────────────────────────────────── */
.user-types {
    background: var(--surface-1);
}

/* =============================================================================
 *  User Cards — 4종 사용자별 카드 (Bento 스타일)
 *  카드별 컬러 아이콘 (variety) + Platform 카드 다크 그라디언트 (featured)
 * ============================================================================= */
.user-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-12);
}
@media (max-width: 980px)  { .user-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .user-cards { grid-template-columns: 1fr; } }

.ucard {
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-base) var(--ease-out);
    text-decoration: none;
    color: inherit;
    word-break: keep-all;
    position: relative;
    overflow: hidden;
}
.ucard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* 아이콘 박스 — 56×56, 카드별 다른 soft 컬러 */
.ucard__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    margin-bottom: var(--space-5);
    transition: transform var(--duration-base) var(--ease-spring);
}
.ucard:hover .ucard__icon {
    transform: scale(1.06);
}

/* 카드별 아이콘 색상 — variety 확보 */
.ucard--store .ucard__icon    { background: var(--brand-soft); }
.ucard--biz .ucard__icon      { background: var(--accent-blue-soft); }
.ucard--platform .ucard__icon { background: var(--accent-purple-soft); }
.ucard--branch .ucard__icon   { background: var(--success-soft); }

/* 타이틀 */
.ucard__title {
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--ink-900);
    letter-spacing: var(--tracking-tight);
    line-height: 1.3;
    margin: 0 0 var(--space-3);
}

/* 설명 */
.ucard__desc {
    color: var(--ink-500);
    font-size: var(--text-base);
    line-height: 1.65;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 태그 — 하단에 고정 */
.ucard__tag {
    display: inline-block;
    margin-top: var(--space-5);
    padding: 5px 12px;
    background: var(--surface-2);
    color: var(--ink-700);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    width: fit-content;
}

/* ─── Featured 카드 — 플랫폼 (다크 그라디언트) ─── */
.ucard--feature {
    background: var(--gradient-hero);
    color: #fff;
    border-color: transparent;
    position: relative;
}
.ucard--feature::before {
    /* 우상단 핑크 글로우 */
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(233,69,96,0.25) 0%, transparent 65%);
    pointer-events: none;
}
.ucard--feature > * { position: relative; }
.ucard--feature .ucard__icon {
    background: rgba(255, 255, 255, 0.1);
}
.ucard--feature .ucard__title {
    color: #fff;
}
.ucard--feature .ucard__desc {
    color: rgba(255, 255, 255, 0.75);
}
.ucard--feature .ucard__tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.ucard--feature:hover {
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(233,69,96,0.2);
}

@media (max-width: 980px) {
    .ucard { min-height: 260px; }
}
@media (max-width: 600px) {
    .ucard { padding: var(--space-7); min-height: auto; }
    .ucard__title { font-size: 1.25rem; }
    .ucard__desc { font-size: var(--text-small); }
}

/* ─── How It Works (3 steps) ──────────────────────────────────────────────── */
.how {
    background: var(--surface-0);
}
.how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
    position: relative;
}
@media (max-width: 880px) { .how__steps { grid-template-columns: 1fr; } }
.how__step {
    background: var(--surface-1);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    position: relative;
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-base) var(--ease-out);
}
.how__step:hover {
    background: var(--surface-0);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.how__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: var(--fw-extrabold);
    font-size: var(--text-h4);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-brand-sm);
}
.how__step-title {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    color: var(--ink-900);
    margin-bottom: var(--space-3);
    letter-spacing: var(--tracking-tight);
}
.how__step-desc {
    color: var(--ink-500);
    line-height: var(--lh-base);
    margin-bottom: var(--space-5);
    word-break: keep-all;
    overflow-wrap: break-word;
}
/* 키워드 강조 — 진한 검정 + bold (회색 본문 위에 도드라짐) */
.how__step-desc strong {
    color: var(--ink-900);
    font-weight: var(--fw-bold);
}
.how__step-meta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 12px;
    background: var(--success-soft);
    color: var(--success-dark);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
}

/* ─── Trust Section ──────────────────────────────────────────────────────── */
.trust {
    background: var(--ink-900);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.trust::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.6;
}
.trust .section-eyebrow { color: var(--brand); }
.trust .section-title { color: #fff; }
.trust .section-subtitle { color: rgba(255,255,255,0.65); }
.trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
    position: relative;
}
@media (max-width: 880px) { .trust__grid { grid-template-columns: 1fr; } }
.trust__item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.trust__item-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(233,69,96,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-5);
}
.trust__item-title {
    font-size: var(--text-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-3);
}
.trust__item-desc {
    color: rgba(255,255,255,0.7);
    line-height: var(--lh-base);
    font-size: var(--text-base);
}

/* ─── Developers Section ─────────────────────────────────────────────────── */
.devs {
    background: var(--surface-1);
}
.devs__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-12);
    align-items: center;
    margin-top: var(--space-10);
}
@media (max-width: 880px) { .devs__grid { grid-template-columns: 1fr; } }
.devs__features { display: grid; gap: var(--space-5); }
.devs__feature {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--surface-0);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-base) var(--ease-out);
}
.devs__feature:hover { transform: translateX(4px); border-color: var(--brand-tint); }
.devs__feature-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-purple-soft);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.devs__feature-title {
    font-weight: var(--fw-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-1);
}
.devs__feature-desc {
    font-size: var(--text-small);
    color: var(--ink-500);
}

/* Code block (NICE Pay 시작 페이지 스타일 차용) */
.code-block {
    background: var(--ink-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.code-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-block__lang {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.7);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.code-block__lang::before {
    content: "";
    display: inline-block;
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
}
.code-block__copy {
    padding: 4px 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    transition: all var(--duration-fast) var(--ease-out);
}
.code-block__copy:hover { background: rgba(255,255,255,0.12); color: #fff; }
.code-block__content {
    padding: var(--space-6);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: var(--text-small);
    line-height: 1.7;
    color: #e4e4e7;
}
.code-block__content .tk-keyword { color: #f472b6; }
.code-block__content .tk-string  { color: #86efac; }
.code-block__content .tk-comment { color: #64748b; font-style: italic; }
.code-block__content .tk-num     { color: #fcd34d; }
.code-block__content .tk-key     { color: #93c5fd; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq {
    background: var(--surface-0);
}
.faq__list {
    margin-top: var(--space-10);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.faq__item {
    border-bottom: 1px solid var(--border-color);
    transition: all var(--duration-base) var(--ease-out);
}
.faq__item[open] { background: var(--surface-1); border-radius: var(--radius-lg); border-bottom-color: transparent; }
.faq__item summary {
    padding: var(--space-6) var(--space-4);
    font-size: var(--text-h4);
    font-weight: var(--fw-semibold);
    color: var(--ink-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: var(--fw-regular);
    color: var(--ink-400);
    transition: transform var(--duration-base) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq__item-body {
    padding: 0 var(--space-4) var(--space-6);
    color: var(--ink-600);
    line-height: var(--lh-relaxed);
}
.faq__item-body code {
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--brand-dark);
}

/* ─── Final CTA ──────────────────────────────────────────────────────────── */
.final-cta {
    background: var(--gradient-hero);
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}
.final-cta__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.final-cta__title {
    font-size: var(--text-h1);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-5);
}
.final-cta__title .accent {
    background: linear-gradient(135deg, #ff6b8b 0%, #fda4b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.final-cta__subtitle {
    font-size: var(--text-h4);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-10);
}
.final-cta__buttons { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.final-cta .btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.final-cta .btn-secondary:hover { background: rgba(255,255,255,0.16); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    padding: var(--space-20) 0 var(--space-10);
    background: var(--ink-900);
    color: rgba(255,255,255,0.7);
    font-size: var(--text-small);
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: #fff;
    margin-bottom: var(--space-4);
}
.footer__brand-mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: block;
}
.footer__brand-logo span { color: var(--brand); }
.footer__brand-desc {
    color: rgba(255,255,255,0.55);
    line-height: var(--lh-base);
    font-size: var(--text-small);
    max-width: 320px;
}
.footer__col-title {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}
.footer__col-list { display: grid; gap: var(--space-3); }
.footer__col-list a {
    color: rgba(255,255,255,0.7);
    transition: color var(--duration-fast) var(--ease-out);
}
.footer__col-list a:hover { color: #fff; }
.footer__bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.footer__legal { color: rgba(255,255,255,0.4); font-size: var(--text-xs); }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* =============================================================================
 *  Sub-page components
 *  pricing.html / for-store.html / for-platform.html / about.html / apply.html
 *  공통으로 쓰는 page hero · scenario · step list · contact 등
 * ============================================================================= */

/* ─── Page Hero (서브페이지용 컴팩트 hero) ────────────────────────────────── */
.page-hero {
    padding: clamp(120px, 18vh, 180px) 0 var(--space-20);
    background: var(--surface-1);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}
.page-hero__inner {
    position: relative;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.page-hero__badge {
    display: inline-flex;
    padding: 6px 14px;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-tint);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}
.page-hero__title {
    font-size: var(--text-h1);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
    margin-bottom: var(--space-5);
    word-break: keep-all;
    overflow-wrap: break-word;
}
.page-hero__title .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero__subtitle {
    font-size: var(--text-h4);
    color: var(--ink-500);
    line-height: var(--lh-base);
    margin-bottom: var(--space-8);
    word-break: keep-all;
    overflow-wrap: break-word;
}
.page-hero__cta {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Pricing — 상세 수수료 테이블 ────────────────────────────────────────── */
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-10);
}
@media (max-width: 880px) { .pricing-tiers { grid-template-columns: 1fr; } }
.pricing-tier {
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
}
.pricing-tier:hover {
    border-color: var(--brand-tint);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.pricing-tier--featured {
    background: var(--ink-900);
    color: #fff;
    border-color: transparent;
}
.pricing-tier--featured::before {
    content: "가장 많이 절약";
    position: absolute;
    top: -12px;
    left: var(--space-8);
    padding: 4px 12px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pricing-tier__label {
    font-size: var(--text-small);
    color: var(--ink-500);
    margin-bottom: var(--space-2);
}
.pricing-tier--featured .pricing-tier__label { color: rgba(255,255,255,0.6); }
.pricing-tier__name {
    font-size: var(--text-h3);
    font-weight: var(--fw-extrabold);
    color: var(--ink-900);
    margin-bottom: var(--space-5);
    letter-spacing: var(--tracking-tight);
}
.pricing-tier--featured .pricing-tier__name { color: #fff; }
.pricing-tier__rates {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-5);
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
}
.pricing-tier--featured .pricing-tier__rates { background: rgba(255,255,255,0.05); }
.pricing-tier__rate-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: var(--space-2);
    border-bottom: 1px dashed var(--border-subtle);
}
.pricing-tier__rate-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-tier--featured .pricing-tier__rate-row { border-bottom-color: rgba(255,255,255,0.1); }
.pricing-tier__rate-name {
    font-size: var(--text-small);
    color: var(--ink-600);
    font-weight: var(--fw-medium);
}
.pricing-tier--featured .pricing-tier__rate-name { color: rgba(255,255,255,0.7); }
.pricing-tier__rate-value {
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--success);
    letter-spacing: var(--tracking-tight);
}
.pricing-tier--featured .pricing-tier__rate-value { color: #4ade80; }

/* ─── Tier Comparison Table (가맹점 등급별 수수료 — 가로 비교 표) ─────────────
   - 5개 등급 × 4개 행 (체크/신용/간편/대표사례) 의 한 눈 비교 표
   - 첫 컬럼 (영세) 은 BEST 강조, 다크 배경
   - 모바일 (≤880px) 에서는 가로 스크롤로 전환 + 첫 열 sticky
*/
.tier-table-wrap {
    margin-top: var(--space-10);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--surface-0);
    box-shadow: var(--shadow-sm);
}
.tier-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: var(--text-base);
}

/* 헤더 행 — 등급 컬럼 */
.tier-table thead tr {
    background: var(--surface-1);
    border-bottom: 2px solid var(--border-subtle);
}
.tier-table__row-head {
    width: 18%;
    padding: var(--space-5) var(--space-4);
    text-align: left;
    font-size: var(--text-xs);
    color: var(--ink-500);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-right: 1px solid var(--border-subtle);
}
.tier-table__row-head-text { display: inline-block; }

.tier-table__col {
    padding: var(--space-5) var(--space-3);
    text-align: center;
    vertical-align: bottom;
    font-weight: var(--fw-medium);
    position: relative;
}
.tier-table__col-name {
    display: block;
    font-size: var(--text-h4);
    font-weight: var(--fw-extrabold);
    color: var(--ink-900);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 4px;
}
.tier-table__col-range {
    display: block;
    font-size: var(--text-xs);
    color: var(--ink-500);
    font-weight: var(--fw-medium);
}

/* 본문 행 */
.tier-table tbody tr {
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--duration-fast) var(--ease-out);
}
.tier-table tbody tr:last-child { border-bottom: none; }
.tier-table tbody tr:hover {
    background: var(--surface-1);
}

/* 행 라벨 (왼쪽 첫 열 — 체크/신용/간편/대표사례) */
.tier-table__row-label {
    text-align: left;
    padding: var(--space-4);
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--ink-700);
    background: var(--surface-0);
    border-right: 1px solid var(--border-subtle);
    vertical-align: middle;
}
.tier-table__row-label-inner {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    line-height: 1.3;
}
.tier-table__row-icon {
    font-size: 1.1em;
    line-height: 1;
}
.tier-table__row-label small {
    display: block;
    font-size: var(--text-xs);
    color: var(--ink-500);
    font-weight: var(--fw-regular);
    margin-top: 2px;
}

/* 수수료율 셀 */
.tier-table__rate {
    text-align: center;
    padding: var(--space-4) var(--space-3);
    font-size: 1.35rem;
    font-weight: var(--fw-extrabold);
    color: var(--success);
    letter-spacing: var(--tracking-tight);
    line-height: 1.1;
}
.tier-table__rate .unit {
    font-size: 0.7em;
    font-weight: var(--fw-bold);
    margin-left: 2px;
}
/* 메모 행 (대표 사례) */
.tier-table__note {
    text-align: center;
    padding: var(--space-4) var(--space-3);
    font-size: var(--text-xs);
    color: var(--ink-500);
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 푸터 */
.tier-table__footnote {
    padding: var(--space-4) var(--space-5);
    background: var(--surface-1);
    color: var(--ink-500);
    font-size: var(--text-xs);
    border-top: 1px solid var(--border-subtle);
    line-height: 1.5;
    margin: 0;
}

/* 모바일 — 가로 스크롤 + 첫 열 sticky */
@media (max-width: 880px) {
    .tier-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tier-table {
        min-width: 720px;
        font-size: var(--text-small);
    }
    .tier-table__row-head,
    .tier-table__row-label {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 110px;
        min-width: 110px;
        background: var(--surface-0);
        box-shadow: 1px 0 0 var(--border-subtle);
    }
    .tier-table thead .tier-table__row-head {
        background: var(--surface-1);
    }
    .tier-table__col {
        min-width: 110px;
        padding: var(--space-4) var(--space-2);
    }
    .tier-table__col-name { font-size: var(--text-base); }
    .tier-table__rate {
        padding: var(--space-3) var(--space-2);
        font-size: 1.1rem;
    }
    .tier-table__row-label {
        padding: var(--space-3);
        font-size: var(--text-small);
    }
}

/* ─── Scenario cards (자영업자 사용 사례) ────────────────────────────────── */
.scenarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-10);
}
@media (max-width: 880px) { .scenarios { grid-template-columns: 1fr; } }
.scenario {
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-base) var(--ease-out);
}
.scenario:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-tint);
}
.scenario__icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-lg);
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-5);
}
.scenario__title {
    font-size: var(--text-h3);
    font-weight: var(--fw-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-3);
}
.scenario__desc {
    color: var(--ink-500);
    line-height: var(--lh-base);
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
}
.scenario__example {
    padding: var(--space-4);
    background: var(--surface-1);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--text-small);
    color: var(--ink-700);
    line-height: var(--lh-base);
}
.scenario__example strong { color: var(--ink-900); }

/* ─── Feature list (기능·혜택 목록) ──────────────────────────────────────── */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}
@media (max-width: 768px) { .feature-list { grid-template-columns: 1fr; } }
.feature-item {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    transition: background var(--duration-base) var(--ease-out);
}
.feature-item:hover { background: var(--surface-0); box-shadow: var(--shadow-sm); }
.feature-item__icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.feature-item__title {
    font-size: var(--text-h4);
    font-weight: var(--fw-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-2);
}
.feature-item__desc {
    color: var(--ink-500);
    font-size: var(--text-small);
    line-height: var(--lh-base);
}

/* ─── Step List (신청 절차 등 세로형 단계) ──────────────────────────────── */
.step-list {
    display: grid;
    gap: var(--space-5);
    margin-top: var(--space-10);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.step-list-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    align-items: flex-start;
}
.step-list-item__num {
    width: 44px; height: 44px;
    border-radius: var(--radius-full);
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-extrabold);
    box-shadow: var(--shadow-brand-sm);
}
.step-list-item__title {
    font-size: var(--text-h4);
    font-weight: var(--fw-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-2);
}
.step-list-item__desc {
    color: var(--ink-600);
    line-height: var(--lh-base);
    font-size: var(--text-base);
}
.step-list-item__desc code {
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--brand-dark);
}

/* ─── Contact / Info card (about/apply 페이지) ──────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-10);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}
.info-card__label {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--ink-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}
.info-card__value {
    font-size: var(--text-h4);
    font-weight: var(--fw-semibold);
    color: var(--ink-900);
}
.info-card__value a { color: var(--brand); transition: color var(--duration-fast); }
.info-card__value a:hover { color: var(--brand-dark); }

/* ─── Mission statement (about) ──────────────────────────────────────────── */
.mission {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.mission__quote {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-snug);
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
    margin-bottom: var(--space-6);
}
.mission__quote .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mission__author {
    color: var(--ink-500);
    font-size: var(--text-small);
}

/* ─── Pill list (요건/특징 목록) ──────────────────────────────────────────── */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-8);
}
.pill {
    padding: 8px 14px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    font-weight: var(--fw-medium);
    color: var(--ink-700);
}
.pill::before {
    content: "✓";
    color: var(--success);
    font-weight: var(--fw-bold);
    margin-right: 6px;
}

/* ─── Inline CTA (페이지 중간 강조) ──────────────────────────────────────── */
.inline-cta {
    background: var(--gradient-hero);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: clamp(40px, 6vw, 64px);
    text-align: center;
    margin: var(--space-12) 0;
    position: relative;
    overflow: hidden;
}
.inline-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}
.inline-cta__inner { position: relative; max-width: 640px; margin: 0 auto; }
.inline-cta__title {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-4);
}
.inline-cta__subtitle {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-8);
}
.inline-cta__buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================================================
 *  Legal pages (privacy / terms / refund)
 *  사이드바 목차 + 본문 article — Toss / Stripe legal pages 스타일
 * ============================================================================= */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-12);
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}
@media (max-width: 880px) {
    .legal-layout { grid-template-columns: 1fr; gap: var(--space-8); }
}

.legal-toc {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: var(--space-4);
}
@media (max-width: 880px) {
    .legal-toc {
        position: static;
        background: var(--surface-1);
        border-radius: var(--radius-lg);
        padding: var(--space-5);
        max-height: none;
    }
}
.legal-toc__title {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--ink-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}
.legal-toc__list { display: grid; gap: 2px; }
.legal-toc__list a {
    display: block;
    padding: 8px 12px;
    font-size: var(--text-small);
    color: var(--ink-600);
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: all var(--duration-fast) var(--ease-out);
    line-height: 1.4;
}
.legal-toc__list a:hover {
    background: var(--surface-2);
    color: var(--ink-900);
    border-left-color: var(--brand);
}
.legal-toc__list a.is-active {
    color: var(--brand);
    background: var(--brand-soft);
    border-left-color: var(--brand);
    font-weight: var(--fw-semibold);
}

.legal-article {
    background: var(--surface-0);
    line-height: var(--lh-relaxed);
    color: var(--ink-700);
    font-size: var(--text-base);
}
.legal-article h2 {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    color: var(--ink-900);
    margin: var(--space-12) 0 var(--space-5);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    letter-spacing: var(--tracking-tight);
    scroll-margin-top: 100px;
}
.legal-article h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-article h3 {
    font-size: var(--text-h4);
    font-weight: var(--fw-bold);
    color: var(--ink-800);
    margin: var(--space-8) 0 var(--space-3);
}
.legal-article p { margin-bottom: var(--space-4); }
.legal-article ul, .legal-article ol {
    padding-left: var(--space-6);
    margin: var(--space-3) 0 var(--space-5);
    list-style: disc outside;
}
.legal-article ol { list-style: decimal outside; }
.legal-article li { margin-bottom: var(--space-2); padding-left: var(--space-1); }
.legal-article li::marker { color: var(--ink-400); }
.legal-article strong { color: var(--ink-900); font-weight: var(--fw-bold); }
.legal-article a { color: var(--brand); }
.legal-article a:hover { text-decoration: underline; }
.legal-article code {
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--brand-dark);
}
.legal-article table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-5) 0;
    background: var(--surface-1);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.legal-article th, .legal-article td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-small);
}
.legal-article th {
    background: var(--surface-2);
    font-weight: var(--fw-bold);
    color: var(--ink-700);
}
.legal-article tr:last-child td { border-bottom: none; }

.legal-disclaimer {
    background: var(--warning-soft);
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    margin-bottom: var(--space-10);
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}
.legal-disclaimer__icon { font-size: 1.5rem; flex-shrink: 0; }
.legal-disclaimer__title {
    font-weight: var(--fw-bold);
    color: #92400e;
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
}
.legal-disclaimer__body {
    color: #92400e;
    font-size: var(--text-small);
    line-height: var(--lh-base);
}

.legal-meta {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    color: var(--ink-500);
    font-size: var(--text-small);
    margin-top: var(--space-4);
}
.legal-meta strong { color: var(--ink-700); font-weight: var(--fw-semibold); }

/* =============================================================================
 *  Blog
 *  블로그 인덱스 (카드 그리드) + 포스트 본문
 * ============================================================================= */

/* ─── Blog index ────────────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.blog-card__cover {
    aspect-ratio: 16 / 9;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.blog-card__cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}
.blog-card__cover-tag {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: 6px 12px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 1;
}
.blog-card__cover-emoji {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    z-index: 0;
}
.blog-card__body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card__title {
    font-size: var(--text-h4);
    font-weight: var(--fw-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-3);
    line-height: 1.35;
    letter-spacing: var(--tracking-tight);
}
.blog-card__excerpt {
    color: var(--ink-500);
    line-height: var(--lh-base);
    font-size: var(--text-small);
    margin-bottom: var(--space-5);
    flex: 1;
}
.blog-card__meta {
    display: flex;
    gap: var(--space-3);
    color: var(--ink-400);
    font-size: var(--text-xs);
    margin-top: auto;
}
.blog-card__meta time { font-weight: var(--fw-medium); }

/* Featured (큰 카드) */
.blog-featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--ink-900);
    color: #fff;
    border-color: transparent;
    overflow: hidden;
}
.blog-featured .blog-card__cover {
    aspect-ratio: auto;
    min-height: 360px;
}
.blog-featured .blog-card__title { color: #fff; font-size: var(--text-h2); }
.blog-featured .blog-card__excerpt { color: rgba(255,255,255,0.7); font-size: var(--text-base); }
.blog-featured .blog-card__meta { color: rgba(255,255,255,0.5); }
.blog-featured .blog-card__body { padding: var(--space-10); justify-content: center; }
.blog-featured:hover { transform: translateY(-4px); }
@media (max-width: 980px) {
    .blog-featured { grid-column: span 2; grid-template-columns: 1fr; }
    .blog-featured .blog-card__cover { min-height: 240px; aspect-ratio: 16 / 9; }
    .blog-featured .blog-card__body { padding: var(--space-8); }
}
@media (max-width: 600px) {
    .blog-featured { grid-column: span 1; }
}

/* ─── Blog post body ────────────────────────────────────────────────────── */
.post-hero {
    padding: clamp(120px, 18vh, 180px) 0 var(--space-12);
    background: var(--surface-1);
    position: relative;
    overflow: hidden;
}
.post-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}
.post-hero__inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}
.post-hero__category {
    display: inline-flex;
    padding: 6px 14px;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-tint);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}
.post-hero__title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--ink-900);
    margin-bottom: var(--space-5);
}
.post-hero__lede {
    font-size: var(--text-h4);
    color: var(--ink-500);
    line-height: var(--lh-base);
    margin-bottom: var(--space-6);
}
.post-hero__meta {
    display: flex;
    gap: var(--space-5);
    align-items: center;
    flex-wrap: wrap;
    color: var(--ink-500);
    font-size: var(--text-small);
}
.post-hero__meta strong { color: var(--ink-700); font-weight: var(--fw-semibold); }
.post-hero__meta-divider { color: var(--ink-300); }

.post-body {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ink-700);
    line-height: 1.85;
    font-size: 1.0625rem;
}
.post-body h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: var(--fw-extrabold);
    color: var(--ink-900);
    margin: var(--space-12) 0 var(--space-5);
    letter-spacing: var(--tracking-tight);
    line-height: var(--lh-snug);
    scroll-margin-top: 100px;
}
.post-body h3 {
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--ink-800);
    margin: var(--space-8) 0 var(--space-3);
}
.post-body p { margin-bottom: var(--space-5); }
.post-body strong { color: var(--ink-900); font-weight: var(--fw-bold); }
.post-body em { font-style: italic; color: var(--ink-800); }
.post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-tint); }
.post-body a:hover { text-decoration-color: var(--brand); }
.post-body ul, .post-body ol {
    padding-left: var(--space-6);
    margin: var(--space-4) 0 var(--space-6);
    list-style: disc outside;
}
.post-body ol { list-style: decimal outside; }
.post-body li { margin-bottom: var(--space-2); }
.post-body blockquote {
    border-left: 4px solid var(--brand);
    background: var(--surface-1);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-6) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1rem;
    color: var(--ink-700);
    font-style: italic;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: var(--text-small);
}
.post-body th, .post-body td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
.post-body th {
    background: var(--surface-2);
    font-weight: var(--fw-bold);
    color: var(--ink-700);
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.post-body tr:last-child td { border-bottom: none; }
.post-body code {
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--brand-dark);
}
.post-body img {
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}
.post-body hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: var(--space-10) 0;
}

/* Post footer (CTA + 관련 글) */
.post-cta {
    background: var(--gradient-hero);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    text-align: center;
    margin: var(--space-12) 0;
    position: relative;
    overflow: hidden;
}
.post-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}
.post-cta > * { position: relative; }
/* `.post-body h3 / p` 규칙(특이도 0,1,1) 가 덮어씌우므로 동일 특이도로 명시 */
.post-body .post-cta__title,
.post-cta__title {
    font-size: var(--text-h2);
    font-weight: var(--fw-extrabold);
    color: #fff;
    margin: 0 0 var(--space-4);
    letter-spacing: var(--tracking-tight);
    line-height: var(--lh-snug);
}
.post-body .post-cta__desc,
.post-cta__desc {
    color: rgba(255,255,255,0.85);
    margin: 0 0 var(--space-6);
    font-size: 1.0625rem;
    line-height: 1.6;
}
/* 버튼 hover 가독성 — 그라데이션 배경 위에서도 또렷이 */
.post-cta .btn-primary {
    background: #fff;
    color: var(--ink-900);
}
.post-cta .btn-primary:hover {
    background: rgba(255,255,255,0.92);
    color: var(--ink-900);
}

/* =============================================================================
 *  Theme toggle button (다크모드 스위치)
 * ============================================================================= */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--ink-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
}
.theme-toggle:hover {
    background: var(--surface-2);
    color: var(--ink-900);
    border-color: var(--border-color);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: opacity var(--duration-fast) var(--ease-out);
}
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 880px) {
    .theme-toggle { width: 36px; height: 36px; }
    .theme-toggle svg { width: 16px; height: 16px; }
}

/* =============================================================================
 *  Dark mode — 컴포넌트별 미세 조정
 *  대부분은 토큰 자동 반영이지만, 일부는 별도 처리 필요
 * ============================================================================= */

/* Nav — 다크 모드에서 배경 어두운 블러 */
[data-theme="dark"] .nav {
    background: rgba(10, 10, 15, 0.72);
}
[data-theme="dark"] .nav--scrolled {
    background: rgba(10, 10, 15, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .nav__link:hover {
    background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .nav__menu--open {
    background: rgba(10, 10, 15, 0.98) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .nav__toggle span,
[data-theme="dark"] .nav__toggle span::before,
[data-theme="dark"] .nav__toggle span::after {
    background: var(--ink-900);
}

/* Hero — 다크에서 mesh 더 미묘하게 */
[data-theme="dark"] .hero::before { opacity: 0.6; }

/* Buttons — ghost 변형 */
[data-theme="dark"] .btn-ghost {
    color: var(--ink-800);
    border-color: var(--ink-200);
}
[data-theme="dark"] .btn-ghost:hover {
    background: var(--surface-2);
    border-color: var(--ink-300);
}

/* Comparison table — 다크에서 약간 다른 hover */
[data-theme="dark"] .comparison__row:not(.comparison__row--head):hover {
    background: var(--surface-2);
}

/* User type bento - feature card stays dark */
[data-theme="dark"] .bento__card--feature {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

/* Pricing tier featured - already dark, stays */
/* Trust section - already dark, stays */
/* Stats strip - already dark, stays */
/* Final CTA - already dark, stays */
/* Footer - already dark, stays */
/* Code blocks - already dark, stays */

/* FAQ — 다크에서 open 상태 배경 */
[data-theme="dark"] .faq__item[open] {
    background: var(--surface-1);
}

/* Page hero — 다크에서 surface-1 (살짝 elevation) */
[data-theme="dark"] .page-hero {
    background: var(--surface-1);
}
[data-theme="dark"] .page-hero::before { opacity: 0.5; }

/* Post hero (블로그) */
[data-theme="dark"] .post-hero {
    background: var(--surface-1);
}

/* Legal article 코드 chip */
[data-theme="dark"] .legal-article code {
    background: var(--surface-2);
    color: #ff8da8;
}
[data-theme="dark"] .post-body code {
    background: var(--surface-2);
    color: #ff8da8;
}

/* Blog card cover (이미 그라디언트 → 다크 모드에서 약간 어둡게) */
[data-theme="dark"] .blog-card {
    background: var(--surface-1);
}

/* ROI breakdown / result 영역은 항상 다크 — 변화 없음 */

/* Pretendard 다크 모드에서 약간 더 가벼운 weight 가독성 좋음 */
[data-theme="dark"] body {
    font-weight: 450;
}
[data-theme="dark"] strong,
[data-theme="dark"] b,
[data-theme="dark"] .nav__logo,
[data-theme="dark"] .section-title,
[data-theme="dark"] .hero__title,
[data-theme="dark"] .post-hero__title,
[data-theme="dark"] .page-hero__title {
    font-weight: var(--fw-extrabold);
}

/* 이미지 / 일러스트는 다크에서 약간 dim (선택적) */
[data-theme="dark"] img:not([src*=".svg"]) {
    opacity: 0.92;
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.text-brand { color: var(--brand); }
.text-success { color: var(--success); }
.text-muted { color: var(--ink-500); }
.text-center { text-align: center; }
.no-wrap { white-space: nowrap; }

/* =============================================================================
 *  Responsive — Mobile / Tablet 전용 정밀 조정
 *  iPhone SE(375px) / iPhone 14 Pro(393px) / Galaxy(360px) / iPad(768px) 검증
 * ============================================================================= */

/* ─── Tablet (≤980px) ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
    /* Hero 그리드 — 텍스트 위, fee-card 아래 */
    .hero { padding-top: clamp(100px, 14vh, 140px); padding-bottom: var(--space-20); }
    .hero__subtitle { max-width: 100%; }

    /* 섹션 간격 약간 축소 */
    section { padding: clamp(56px, 9vh, 100px) 0; }
    .section-header { margin-bottom: var(--space-12); }
}

/* ─── Mobile Landscape & Small Tablet (≤768px) ───────────────────────────── */
@media (max-width: 768px) {
    /* Hero 시각 카드 — 모바일에서 회전 제거 (가독성 ↑) */
    .fee-card {
        transform: none !important;
        padding: var(--space-8);
    }
    .fee-card__row-fee { font-size: 1.75rem; }
    .fee-card__compare-value { font-size: 1.5rem; }

    /* CTA 버튼 — 모바일에서 풀폭 */
    .hero__cta { width: 100%; }
    .hero__cta .btn { flex: 1; min-width: 0; justify-content: center; }
    .page-hero__cta { width: 100%; flex-direction: column; }
    .page-hero__cta .btn { width: 100%; }

    /* Trust hero 모바일에서 좌우 패딩 충분히 */
    .hero__trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
        font-size: var(--text-xs);
    }

    /* Final CTA 버튼들도 풀폭 */
    .final-cta__buttons { flex-direction: column; }
    .final-cta__buttons .btn { width: 100%; }
    .inline-cta__buttons { flex-direction: column; }
    .inline-cta__buttons .btn { width: 100%; }

    /* ROI 패널 모바일 패딩 줄임 */
    .roi__panel { padding: var(--space-8) var(--space-5); }
    .roi__result { padding: var(--space-6); }
    .roi__result-value { font-size: clamp(2.5rem, 12vw, 4rem); }

    /* Bento 카드 패딩 줄임 */
    .bento__card { padding: var(--space-6); }

    /* How step / scenario / pricing-tier / step-list-item 모바일 패딩 */
    .how__step { padding: var(--space-6); }
    .scenario { padding: var(--space-6); }
    .pricing-tier { padding: var(--space-6); }
    .step-list-item { padding: var(--space-5); gap: var(--space-4); }

    /* FAQ summary — 터치 영역 충분히 */
    .faq__item summary { padding: var(--space-5) var(--space-2); font-size: var(--text-base); }

    /* Code block 모바일 가독성 */
    .code-block__content { font-size: var(--text-xs); padding: var(--space-4); line-height: 1.6; }
    .code-block__header { padding: var(--space-3) var(--space-4); }

    /* Trust item 모바일 패딩 */
    .trust__item { padding: var(--space-6); }
    .trust__item-icon { width: 44px; height: 44px; font-size: 1.25rem; }
}

/* ─── Mobile (≤480px) — iPhone SE, Galaxy 등 작은 화면 ────────────────────── */
@media (max-width: 480px) {
    /* 좌우 패딩 줄임 */
    .container { padding: 0 var(--space-5); }

    /* 섹션 위아래 간격 축소 */
    section { padding: clamp(48px, 8vh, 80px) 0; }
    .section-header { margin-bottom: var(--space-10); }

    /* Hero 패딩 더 축소 */
    .hero { padding-top: 96px; padding-bottom: var(--space-16); }
    .hero__badge { font-size: 11px; padding: 6px 12px; }

    /* Hero 타이틀 더 작게 (clamp 가 알아서 줄지만 명시적으로) */
    .hero__title { font-size: clamp(1.875rem, 8vw, 2.5rem); line-height: 1.1; }
    .hero__subtitle { font-size: var(--text-base); }

    /* fee-card 모바일에서 컴팩트 */
    .fee-card { padding: var(--space-6); }
    .fee-card__row { padding: var(--space-3) 0; }
    .fee-card__row-fee { font-size: 1.5rem; }
    .fee-card__compare-value { font-size: 1.25rem; }

    /* Page hero 모바일 */
    .page-hero { padding: 100px 0 var(--space-12); }
    .page-hero__title { font-size: clamp(1.75rem, 7vw, 2.25rem); }

    /* 섹션 타이틀 모바일 */
    .section-title { font-size: clamp(1.375rem, 6vw, 1.875rem); }

    /* Stats 모바일 */
    .stat__value { font-size: 1.75rem; }
    .stat { padding: var(--space-2); }

    /* Comparison cell 작게 */
    .comparison__cell-name { font-size: var(--text-base); }
    .comparison__cell-ours { font-size: 1.5rem; }
    .comparison__row { padding: var(--space-4); }

    /* Pricing tier 모바일 */
    .pricing-tier__rate-value { font-size: 1.25rem; }
    .pricing-tier__rates { padding: var(--space-4); }

    /* Step list 모바일 — 번호와 본문 그리드 단축 */
    .step-list-item { grid-template-columns: 44px 1fr; gap: var(--space-3); }
    .step-list-item__num { width: 36px; height: 36px; font-size: var(--text-base); }
    .step-list-item__title { font-size: var(--text-h4); }
    .step-list-item__desc { font-size: var(--text-small); }

    /* Final CTA / Inline CTA 모바일 */
    .final-cta__title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .inline-cta { padding: var(--space-8) var(--space-5); }
    .inline-cta__title { font-size: var(--text-h3); }

    /* Bento card 더 컴팩트 */
    .bento__card { padding: var(--space-5); min-height: 200px; }
    .bento__icon { width: 48px; height: 48px; font-size: 1.5rem; margin-bottom: var(--space-4); }
    .bento__title { font-size: var(--text-h3); }

    /* Footer 4컬럼 → 1컬럼 */
    .footer { padding-top: var(--space-16); padding-bottom: var(--space-8); }
    .footer__top { gap: var(--space-8); margin-bottom: var(--space-12); }
    .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-2); }

    /* Pill list 모바일 */
    .pill { font-size: var(--text-xs); padding: 6px 10px; }

    /* Mission quote 모바일 */
    .mission__quote { font-size: clamp(1.25rem, 5vw, 1.75rem); }

    /* Info grid 모바일 */
    .info-card { padding: var(--space-5); }
    .info-card__value { font-size: var(--text-base); word-break: break-all; }

    /* Feature item 모바일 */
    .feature-item { padding: var(--space-5); gap: var(--space-3); }
    .feature-item__icon { width: 40px; height: 40px; font-size: 1.125rem; }

    /* ROI breakdown 모바일 */
    .roi__breakdown { gap: var(--space-2); padding-top: var(--space-4); margin-top: var(--space-5); }
    .roi__breakdown-value { font-size: var(--text-base); }

    /* 스토리 카드 모바일 */
    .scenario__icon { width: 48px; height: 48px; font-size: 1.5rem; }
    .scenario__title { font-size: var(--text-h4); }
}

/* ─── 매우 작은 화면 (≤360px) — Galaxy Fold 외측 등 ─────────────────────── */
@media (max-width: 360px) {
    .container { padding: 0 var(--space-4); }
    .hero__title { font-size: 1.75rem; }
    .page-hero__title { font-size: 1.625rem; }
    .nav__inner { height: 60px; padding: 0 var(--space-4); }
    .nav__logo { font-size: 1.25rem; }
    .btn { padding: 12px 18px; font-size: var(--text-small); }
    .btn-lg { padding: 14px 22px; font-size: var(--text-base); }
}

/* ─── Touch / Hover 분기 ─────────────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
    /* 터치 디바이스 — hover 효과 무력화 (모바일에서 hover 가 sticky 되는 문제 방지) */
    .btn-primary:hover { transform: none; }
    .btn-arrow:hover::after { transform: none; }
    .bento__card:hover { transform: none; }
    .scenario:hover { transform: none; }
    .pricing-tier:hover { transform: none; }
    .how__step:hover { transform: none; }
    .feature-item:hover { transform: none; }
    .devs__feature:hover { transform: none; }
    .fee-card:hover { transform: none; }

    /* 터치 영역 보장 — 최소 44x44 (Apple HIG 권장) */
    .nav__link { min-height: 44px; display: flex; align-items: center; }
    .btn { min-height: 44px; }
    .btn-sm { min-height: 40px; }
    .faq__item summary { min-height: 56px; }
}

/* ─── Mobile Hamburger Menu (모바일 nav 펼친 상태) ────────────────────────── */
@media (max-width: 880px) {
    /* 펼쳐진 nav__menu 의 안정적 스타일 — JS 가 토글하면 .nav__menu--open 추가 */
    .nav__menu--open {
        display: flex !important;
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        flex-direction: column !important;
        padding: var(--space-4) !important;
        gap: var(--space-1) !important;
        box-shadow: var(--shadow-lg) !important;
        border-bottom: 1px solid var(--border-subtle) !important;
        z-index: var(--z-nav);
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }
    .nav__menu--open .nav__link {
        padding: var(--space-4);
        font-size: var(--text-h4);
        font-weight: var(--fw-semibold);
        border-radius: var(--radius-md);
    }

    /* 햄버거 토글 active 상태 (X 모양 변화) */
    .nav__toggle[aria-expanded="true"] span { background: transparent; }
    .nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
    .nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

    /* 모바일 nav__cta 정리 */
    .nav__cta { gap: var(--space-2); }
    .nav__cta .btn { padding: 8px 14px; font-size: var(--text-xs); }
}

/* ─── 가로 스크롤 방지 / 안전 영역 ─────────────────────────────────────────── */
body { overflow-x: hidden; max-width: 100vw; }
img, video, iframe { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { word-wrap: break-word; word-break: break-word; overflow-wrap: anywhere; }

/* iOS Safe Area (notch / home indicator) */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(var(--section-px), env(safe-area-inset-left));
        padding-right: max(var(--section-px), env(safe-area-inset-right));
    }
    .nav__inner {
        padding-left: max(var(--section-px), env(safe-area-inset-left));
        padding-right: max(var(--section-px), env(safe-area-inset-right));
    }
    .footer { padding-bottom: max(var(--space-10), env(safe-area-inset-bottom)); }
}

/* ─── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .fee-card { transform: none !important; }
}

/* ─── Beta application form (/apply) ────────────────────────────────────── */
.beta-form-section {
    padding: var(--space-20) 0;
    background: var(--surface-1);
}
.beta-form-section .section-header {
    margin-bottom: var(--space-10);
}
.beta-form {
    display: grid;
    gap: var(--space-6);
    background: var(--surface-0);
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
}
.beta-form__field {
    display: grid;
    gap: var(--space-2);
}
.beta-form__field label {
    font-size: var(--text-small);
    font-weight: var(--fw-semibold);
    color: var(--ink-900);
}
.beta-form__required {
    color: var(--brand);
    margin-left: 2px;
}
.beta-form__field input,
.beta-form__field textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: inherit;
    font-size: var(--text-body);
    color: var(--ink-900);
    background: var(--surface-0);
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-md);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.beta-form__field input:hover,
.beta-form__field textarea:hover {
    border-color: var(--ink-500);
}
.beta-form__field input:focus,
.beta-form__field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}
.beta-form__field textarea {
    resize: vertical;
    min-height: 9rem;
    line-height: 1.6;
}
.beta-form__field input:invalid:not(:placeholder-shown),
.beta-form__field textarea:invalid:not(:placeholder-shown) {
    border-color: var(--ink-500);
}
.beta-form__count {
    font-size: var(--text-small);
    color: var(--ink-500);
    text-align: right;
}
.beta-form__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
}
.beta-form__hint {
    font-size: var(--text-small);
    color: var(--ink-500);
    margin: 0;
    text-align: center;
}
.beta-form__message {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-body);
    text-align: center;
}
.beta-form__message--success {
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid var(--success);
}
.beta-form__message--error {
    background: var(--brand-soft);
    color: var(--brand-dark);
    border: 1px solid var(--brand);
}
@media (max-width: 600px) {
    .beta-form {
        padding: var(--space-6) var(--space-5);
    }
}
