/* 카토리 드라이브 손님 화면 · 후기·이벤트·관리 화면이 함께 쓰는 디자인 체계 (R7 디자인 전면 개편)
   색은 검정·흰색·옅은 회색 + 금색 하나. 테두리 대신 여백과 바탕색으로 나눠요. */
:root {
    color-scheme: light;
    --ink: #0b0b0f;
    --paper: #ffffff;
    --mist: #f5f5f7;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --line: #d2d2d7;
    --gold: #ffc800;
    /* 밝은 바탕 위 금색 글자(대비 4.5 이상) */
    --gold-deep: #8a6500;
    --dark-text: #a1a1a6;
    --dark-line: #2c2c31;
    /* 관리 화면 등 예전 이름을 쓰는 곳을 위한 별칭 */
    --navy: var(--ink);
    --blue: var(--ink);
    --radius: 24px;
    --section: clamp(4rem, 9vw, 7.5rem);
    --header: 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 100%;
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: calc(var(--header) + 12px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); font-size: 1.0625rem; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button, textarea, input, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .test-banner :focus-visible, .sticky-ask :focus-visible { outline-color: var(--gold); }
.wrap { width: min(100% - clamp(2rem, 6vw, 5rem), 1120px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 30; padding: .6rem 1rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; }
.skip:focus { top: .5rem; }

/* 테스트 띠: 얇고 어둡게 */
.test-banner { margin: 0; padding: .3rem 1rem; background: #000; color: var(--dark-text); font-size: .75rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; text-align: center; }

/* 머리글: 얇고 반투명, 위에 붙어 따라다녀요 */
header.site-header, body > header { position: sticky; top: 0; z-index: 20; background: rgb(11 11 15 / .94); color: #f5f5f7; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.header-row { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.5rem); min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: #fff; font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em; white-space: nowrap; text-decoration: none; }
.brand img { width: 1.75rem; height: auto; }
header nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(1rem, 2.6vw, 2rem); row-gap: 0; min-width: 0; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; color: #e8e8ed; font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
header nav a:hover { color: #fff; }
header nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.site-nav { margin-inline: auto; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.15rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: #ffd633; }
.menu { display: none; position: relative; border: 0; }
.menu summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; color: #fff; font-size: .9375rem; font-weight: 600; white-space: nowrap; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); display: grid !important; min-width: 13rem; padding: .5rem; border-radius: 18px; background: #1d1d1f; box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
.menu-panel a { padding: 0 .9rem; border-radius: 12px; font-size: 1rem; color: #f5f5f7; }
.menu-panel a:hover { background: #2c2c31; }
@media (max-width: 767px) {
    .site-nav { display: none; }
    .menu { display: block; }
    .header-row { gap: .5rem; }
    .brand { margin-right: auto; font-size: 1rem; }
    .header-cta { padding: 0 1rem; }
    .header-row > * { flex-shrink: 0; }
    .header-row > .brand { flex-shrink: 1; min-width: 0; }
    /* 메뉴만 있는 화면(관리 화면)은 링크를 한 줄로 밀어 보여 줘요 */
    body > header nav:not(.site-nav):not(.menu-panel) { flex-wrap: nowrap; overflow-x: auto; margin-left: auto; flex-shrink: 1; min-width: 0; }
}

/* 공통 글자·버튼 */
h1 { font-size: clamp(2.25rem, 6.5vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
h1, .why-close, .lead strong, .care-motto p { text-wrap: balance; }
.btn, .primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .6rem 1.5rem; border-radius: 999px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.btn-primary, .primary { border: 0; background: var(--gold); color: var(--ink); }
.btn-primary:hover, .primary:hover { background: #ffd633; }
.btn-secondary, .secondary { border: 1px solid currentColor; background: transparent; color: var(--ink); }
.btn-secondary:hover, .secondary:hover { background: rgb(0 0 0 / .04); }
.on-dark .btn-secondary { color: #fff; }
.on-dark .btn-secondary:hover { background: rgb(255 255 255 / .08); }
.on-dark { background: var(--ink); color: #f5f5f7; }

/* 1. 첫 화면 */
.hero { display: grid; grid-template-rows: auto minmax(140px, 1fr) auto; min-height: max(560px, calc(100svh - var(--header) - 26px)); padding-top: clamp(2rem, 5.5vh, 4.5rem); overflow: hidden; text-align: center; }
.hero-copy { display: grid; justify-items: center; gap: 1rem; }
.slogan { color: var(--gold); font-size: clamp(.9375rem, 1.6vw, 1.0625rem); font-weight: 700; letter-spacing: .02em; }
.hero h1 { color: #fff; }
.hero h1 .line { display: block; }
.lead { display: grid; gap: .35rem; max-width: 46rem; }
.lead strong { color: #f5f5f7; font-size: clamp(1.0625rem, 1.9vw, 1.3125rem); font-weight: 500; line-height: 1.5; }
.lead span { color: var(--dark-text); font-size: .9375rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }
.hero-photo { position: relative; min-height: 140px; margin-top: clamp(1rem, 3vh, 2rem); }
.hero-photo img { position: absolute; inset: 0; display: block; width: auto; height: 100%; max-width: 100%; margin: auto; aspect-ratio: 940 / 419; object-fit: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent); mask-composite: intersect; }
.hero-notes { padding-block: .75rem clamp(1.25rem, 3vh, 2rem); }
.contract-note { color: var(--dark-text); font-size: .8125rem; line-height: 1.5; }
@media (max-width: 767px) {
    .hero { min-height: calc(86svh - var(--header)); }
    .hero-photo { min-height: 190px; margin-inline: -6%; }
    .hero-actions { flex-wrap: nowrap; width: 100%; gap: .5rem; }
    .hero-actions .btn { flex: 1 1 0; padding-inline: .75rem; font-size: .9375rem; white-space: nowrap; }
}

/* 2. 큰 숫자 띠 */
.stats { padding-block: clamp(3.5rem, 7vw, 6rem); }
.promises { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.stat { flex: 1 1 0; min-width: 0; }
.stat, .stat > a { display: flex; flex-wrap: wrap; align-content: flex-start; column-gap: .3em; }
.stat > a { width: 100%; color: inherit; text-decoration: none; }
.stat > a:hover .stat-num { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.stat-num { order: -1; flex-basis: 100%; color: var(--ink); font-size: clamp(2.5rem, 5.6vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.stat-label { color: var(--text); font-size: clamp(.9375rem, 1.5vw, 1.0625rem); font-weight: 600; }
.stat small span { white-space: nowrap; }
.stat small { flex-basis: 100%; margin-top: .2rem; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.checks { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: clamp(1.5rem, 3vw, 2rem) 0 0; border-top: 1px solid var(--line); list-style: none; }
.checks li, .included-list.is-in li, .car-terms .term { position: relative; padding-left: 1.6rem; }
.checks li { color: var(--text); font-size: 1rem; font-weight: 600; }
.checks small { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.checks li::before, .included-list.is-in li::before, .car-terms .term::before {
    content: ""; position: absolute; left: .2rem; top: .42em; width: .45rem; height: .8rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
}
@media (max-width: 767px) {
    .stat { flex: 1 1 calc(50% - 1rem); }
    .checks { display: grid; gap: .6rem; }
}

/* 2-1. 파운딩 멤버 (검정, 테스트 시안) */
.founding { padding-block: var(--section); }
.founding-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: end; }
.eyebrow { color: var(--gold); font-size: .8125rem; font-weight: 700; letter-spacing: .18em; }
.founding h2 { margin-top: .9rem; color: #fff; }
.founding-lead { max-width: 30rem; margin-top: 1rem; color: var(--dark-text); }
.founding-stats { display: flex; flex-wrap: wrap; gap: 1.25rem clamp(1.5rem, 6vw, 3.5rem); margin: clamp(2.25rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
.founding-stats li { display: grid; gap: .3rem; min-width: 0; max-width: 100%; }
.founding-stats strong { color: #fff; font-size: clamp(1.625rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; white-space: nowrap; }
.founding-stats li:nth-child(2) strong { color: var(--gold); }
.founding-stats span { color: var(--dark-text); font-size: .8125rem; font-weight: 600; }
.founding-meter { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.founding-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--dark-line); overflow: hidden; }
.founding-bar span { display: block; width: 70%; height: 100%; background: var(--gold); }
.founding-count { color: var(--dark-text); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.founding-perks { display: grid; gap: .25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: #16161b; }
.founding-perks-title { margin-bottom: .5rem; color: var(--dark-text); font-size: .875rem; font-weight: 600; }
.perk-list { display: grid; margin: 0; padding: 0; list-style: none; }
.perk-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--dark-line); }
.perk-name { color: #f5f5f7; font-size: .9375rem; font-weight: 500; }
.perk-worth { flex: none; color: var(--dark-text); font-size: .875rem; font-variant-numeric: tabular-nums; }
.perk-total { margin-top: 1rem; color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; }
.founding-fine { color: var(--dark-text); font-size: .8125rem; }
.founding-cta { margin-top: 1.25rem; }
@media (max-width: 899px) { .founding-grid { grid-template-columns: 1fr; } }

/* 3. 차량 고르기 */
.vehicles { padding-top: var(--section); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.75rem; }
.catalog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .9rem; color: var(--muted); font-size: .8125rem; }
.refresh { min-height: 44px; padding: 0 .25rem; border: 0; background: none; color: var(--muted); font-size: .8125rem; text-decoration: underline; text-underline-offset: .2em; }
.refresh:disabled, .ask button:disabled { opacity: .55; cursor: default; }
.brands { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; }
.brands button { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--text); font-size: .9375rem; font-weight: 600; }
.brands button:hover { background: var(--mist); }
.brands button span { color: var(--muted); font-size: .8125rem; }
.brands button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.brands button[aria-pressed="true"] span { color: var(--dark-text); }
/* 차 12대: 넓은 화면 4열(3줄), 중간 3열, 휴대폰은 옆으로 넘기는 한 줄 */
.brands button[data-brand="limited"] { letter-spacing: .08em; font-size: .8125rem; font-weight: 700; }
.brands button[data-brand="limited"]::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold); }
.vehicle-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.125rem); }
.vehicle { position: relative; display: grid; justify-items: start; align-content: start; gap: .1rem; min-width: 0; padding: 0 0 1.15rem; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius); background: var(--mist); text-align: left; transition: border-color .2s; }
.vehicle:hover { border-color: var(--line); }
.vehicle[aria-pressed="true"] { border-color: var(--ink); }
.vehicle img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 342; margin-bottom: .9rem; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; object-fit: cover; background: #e8e8ed; }
.vehicle strong { padding-inline: 1.1rem; color: var(--ink); font-size: clamp(1.0625rem, 1.45vw, 1.25rem); letter-spacing: -.02em; line-height: 1.3; }
.vehicle .vehicle-price { padding-inline: 1.1rem; color: var(--muted); font-size: .9375rem; }
/* 한정판 표시: 금색 작은 알약 + 조용한 글 */
.edition { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.edition-tag { padding: .3rem .55rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; }
.edition-note { color: var(--muted); }
.vehicle .edition { position: absolute; top: .7rem; left: .7rem; padding: .2rem .65rem .2rem .2rem; border-radius: 999px; background: rgb(11 11 15 / .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vehicle .edition-note { color: #f5f5f7; }
@media (max-width: 1099px) { .vehicle-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-status { margin-top: .75rem; color: var(--muted); font-size: .875rem; }
.brand-status:empty { display: none; }
@media (max-width: 767px) {
    .vehicle-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; margin-inline: -16px; padding: 0 16px .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain; scrollbar-width: none; }
    .vehicle-list::-webkit-scrollbar { display: none; }
    /* 칩이 8개라 휴대폰에서는 간격을 좁혀 두 줄 안에 들어가게 해요 */
    .brands { gap: .25rem .1rem; }
    .brands button { padding: 0 .75rem; font-size: .875rem; }
    .vehicle { scroll-snap-align: start; }
}

/* 4. 견적: 넓은 화면은 왼쪽 큰 사진(따라옴) + 오른쪽 견적 */
.detail { padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.detail-photo { position: sticky; top: calc(var(--header) + 1.5rem); overflow: hidden; border-radius: var(--radius); background: var(--mist); }
#drive-photo { display: block; width: 100%; height: auto; aspect-ratio: 940 / 419; object-fit: cover; }
.quote { display: grid; gap: 1.25rem; min-width: 0; }
.quote h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.quote-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
/* 진행 표시: 네 점, 채운 점은 검정 */
.quote-steps { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.quote-steps li { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.quote-steps li::before { content: ""; width: .55rem; height: .55rem; border: 1.5px solid var(--line); border-radius: 50%; }
.quote-steps li.is-done { color: var(--ink); }
.quote-steps li.is-done::before { border-color: var(--ink); background: var(--ink); }
/* 가격 기준점: 줄 그은 금액 → 지금 금액 + 금색 절약 */
.anchor { margin-bottom: -1rem; color: var(--muted); font-size: .9375rem; }
.anchor s { color: var(--muted); font-weight: 600; text-decoration-thickness: 1.5px; }
.anchor small { margin-left: .35rem; font-size: .8125rem; }
.saving { display: block; margin-top: .35rem; color: var(--gold-deep); font-size: .875rem; font-weight: 700; letter-spacing: 0; }
.week-inquiries { margin-top: -.6rem; color: var(--muted); font-size: .875rem; }
.week-inquiries strong { color: var(--ink); }
#listing-terms { margin-top: -.75rem; color: var(--muted); font-size: .9375rem; }
.monthly { color: var(--ink); font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.monthly strong { font-size: clamp(2.5rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; }
.monthly > small { margin-left: .35rem; color: var(--muted); font-size: .8125rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.daily { display: block; margin-top: .45rem; color: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.daily small { margin-left: .3rem; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.car-terms { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; margin-top: -.25rem; color: var(--text); font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.car-terms .sep { display: none; }
.car-terms.is-empty { color: var(--muted); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .6rem; color: var(--ink); font-size: 1rem; font-weight: 700; }
.periods { display: flex; flex-wrap: wrap; gap: .5rem; }
.periods button { display: inline-flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; min-width: 3.6rem; min-height: 52px; padding: .25rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.periods button small { color: var(--muted); font-size: .6875rem; font-weight: 600; }
.periods button:hover { border-color: var(--muted); }
.periods [aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.periods [aria-pressed="true"] small { color: var(--gold); }
.period-picker { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .75rem; margin-top: .6rem; }
.period-picker label { color: var(--muted); font-size: .875rem; font-weight: 500; }
.period-picker select { min-height: 44px; padding-inline: .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--text); }
.waiver { margin-top: -.5rem; color: var(--muted); font-size: .875rem; font-weight: 500; }
.waiver.is-eligible { color: var(--ink); font-weight: 700; }
.plan-note { margin: -.35rem 0 .6rem; color: var(--muted); font-size: .8125rem; }
.plan-list { display: grid; gap: .5rem; }
.plan { border: 2px solid transparent; border-radius: 18px; background: var(--mist); transition: border-color .2s; }
.plan:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.plan label { display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .35rem 1rem; cursor: pointer; font-weight: 600; }
.plan input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.plan-name { flex: 1; color: var(--ink); }
.plan-price { color: var(--muted); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.plan ul { margin: 0; padding: 0 1rem .85rem 2.65rem; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.plan:not(:has(input:checked)) ul { display: none; }
/* 케어 시안: 정가 → 특가, 할인율, 하루 금액, 추천 표시 */
.plan-offer label { align-items: flex-start; padding-block: .85rem; }
.plan-offer input { margin-top: .2rem; }
.plan-offer .plan-name { display: grid; gap: .4rem; }
.plan-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.plan-badge { padding: .15rem .55rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .6875rem; font-weight: 700; }
.plan-badge:first-child { background: var(--gold); color: var(--ink); }
.plan-offer .plan-price { display: grid; justify-items: end; gap: .1rem; text-align: right; }
.plan-was { color: var(--muted); font-size: .75rem; font-weight: 500; }
.plan-was s { margin-left: .2rem; }
.plan-now { color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.plan-off { color: var(--gold-deep); font-size: .75rem; font-weight: 700; }
.plan-daily { color: var(--muted); font-size: .75rem; }
.plan-extra { margin: -.25rem 0 0; padding: 0 1rem .85rem 2.65rem; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.plan-extra strong { color: var(--ink); }
.plan:has(input:checked) .plan-extra { padding-bottom: .35rem; }
.plan-soon { padding: .85rem 1rem; background: var(--mist); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem; color: var(--muted); font-weight: 600; }
.plan-soon .plan-name { color: var(--muted); }
.plan-soon .sep { display: none; }
.plan-soon .plan-price { margin-left: auto; }
.plan-soon-tag { padding: .1rem .5rem; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .75rem; }
.plan-soon ul { display: block !important; padding: .35rem 0 0 0; list-style: none; }
.plan-soon li { display: inline; }
.plan-soon li:not(:last-child)::after { content: " · "; }
.plan-loss { margin-top: .6rem; color: var(--text); font-size: .875rem; font-weight: 600; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.total strong { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; }
.total-breakdown { margin-top: -1rem; color: var(--muted); font-size: .8125rem; text-align: right; }
.qualification { color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.qualification a, .ask-direct a, .more, .home-review-links a, .event-strip a, .trust a, .care-body a, .inquiry a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.ask { display: grid; gap: .6rem; scroll-margin-top: calc(var(--header) + 24px); }
.ask .primary { width: 100%; min-height: 56px; font-size: 1.125rem; }
.ask-more { display: flex; flex-wrap: wrap; gap: .5rem; }
.ask-more button { flex: 1 1 9rem; padding-inline: 1rem; font-size: .9375rem; }
.ask-privacy { color: var(--muted); font-size: .8125rem; text-align: center; }
#ask-status { color: var(--ink); font-size: .9375rem; font-weight: 600; }
#ask-status:empty { display: none; }
#ask-status:has(.ask-done) { display: grid; gap: .6rem; padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--mist); }
.ask-done strong { display: block; font-size: 1.0625rem; }
.ask-code { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.ask-next { display: grid; gap: .25rem; margin: 0; padding-left: 1.2rem; color: var(--text); font-size: .875rem; font-weight: 500; }
.ask-founding { color: var(--gold-deep); font-size: .875rem; font-weight: 700; }
.ask-note { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.ask-direct { color: var(--muted); font-size: .8125rem; text-align: center; }
.ask-direct a { display: inline-flex; align-items: center; min-height: 44px; }
.more { display: inline-flex; justify-self: start; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-size: .9375rem; }
@media (max-width: 899px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-photo { position: static; }
}
@media (max-width: 420px) {
    .periods { flex-wrap: nowrap; gap: .3rem; }
    .periods button { min-width: 0; padding: .2rem .1rem; font-size: .875rem; }
    .periods button small { font-size: .625rem; }
}

/* 희망 시기·지역 */
.inquiry { padding-bottom: var(--section); }
.inquiry-grid { display: grid; grid-template-columns: minmax(200px, .55fr) minmax(0, 1.45fr); gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--mist); }
.inquiry h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.inquiry p { margin-top: .5rem; color: var(--muted); font-size: .9375rem; }
.inquiry label { font-weight: 600; }
.preferences { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .75rem; margin-bottom: 1rem; }
.preferences input { display: block; width: 100%; min-height: 48px; margin-top: .3rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.preferences small { color: var(--muted); font-weight: 500; }
textarea { display: block; width: 100%; margin: .4rem 0 .75rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); line-height: 1.6; resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
#copy-status:empty { margin: 0; }
@media (max-width: 767px) { .inquiry-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* 5. 들어 있는 것 / 따로 내는 것 */
.included { padding-block: var(--section); background: var(--mist); }
.included h2 { max-width: 18em; }
.included-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.included-col { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--paper); }
.included-col h3 { margin-bottom: 1rem; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.included-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.included-list li { display: grid; gap: .1rem; }
.included-list strong { color: var(--ink); font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.included-list small { color: var(--muted); font-size: .875rem; }
.included-list.is-out li { padding-left: 1.6rem; position: relative; }
.included-list.is-out li::before { content: ""; position: absolute; left: .1rem; top: .8em; width: .75rem; height: 2px; background: var(--muted); }
.included-note { margin-top: 1.5rem; color: var(--muted); font-size: .9375rem; }
@media (max-width: 767px) { .included-grid { grid-template-columns: 1fr; } }

/* 6. 이용은 세 단계 */
.how { padding-block: var(--section); }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; }
.how-steps li { display: grid; align-content: start; gap: .35rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.how-num { color: var(--ink); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.how-steps strong { margin-top: .5rem; color: var(--ink); font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.4; }
.how-steps small { color: var(--muted); font-size: .9375rem; }
@media (max-width: 767px) { .how-steps { grid-template-columns: 1fr; } }

/* 7. 면책금 지원 (검정) */
.waiver-info { padding-block: var(--section); }
.waiver-card { max-width: 52rem; margin-inline: auto; text-align: center; }
.waiver-card h2 { color: #fff; }
.waiver-sub { margin-top: 1rem; color: var(--gold); font-size: clamp(1.0625rem, 2vw, 1.3125rem); font-weight: 600; }
.waiver-define { margin-top: .75rem; color: var(--dark-text); }
.waiver-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 3vw, 2.5rem); margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
.waiver-ladder li { display: grid; justify-items: center; align-content: start; gap: .2rem; min-width: 0; padding-top: 1.25rem; border-top: 3px solid var(--dark-line); }
.waiver-ladder li[aria-current="true"] { border-top-color: var(--gold); }
.waiver-ladder span { color: var(--dark-text); font-size: clamp(.8125rem, 1.5vw, .9375rem); font-weight: 600; }
.waiver-ladder strong { color: #fff; font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.waiver-ladder li[aria-current="true"] strong { color: var(--gold); }
.waiver-ladder small { color: var(--dark-text); font-size: clamp(.6875rem, 1.4vw, .8125rem); }
.waiver-steps { display: grid; gap: .75rem; max-width: 36rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.waiver-steps li { display: flex; gap: .85rem; align-items: baseline; color: #f5f5f7; counter-increment: step; }
.waiver-steps li::before { content: counter(step); flex: none; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .875rem; font-weight: 700; }
.waiver-fine { max-width: 40rem; margin: 2rem auto 0; color: var(--dark-text); font-size: .8125rem; line-height: 1.65; text-align: left; }

/* 8. 소유 대신 경험: 상자 없이 큰 글자 */
.why { padding-block: var(--section); }
.why-kicker { color: var(--muted); font-size: clamp(.9375rem, 1.6vw, 1.0625rem); font-weight: 600; }
.why h2 { max-width: 15em; margin-top: .75rem; color: var(--ink); font-size: clamp(2rem, 5.4vw, 3.75rem); line-height: 1.12; }
.why-lead { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); }
.why-sub { margin-top: clamp(3rem, 6vw, 4.5rem); color: var(--ink); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; letter-spacing: -.02em; }
.why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin: 1.5rem 0 0; padding: 0; list-style: none; }
.why-list li { display: grid; align-content: start; gap: .35rem; min-width: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.why-list strong { color: var(--ink); font-size: 1.125rem; font-weight: 700; }
.why-list span { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.why-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.why-chips li { padding: .4rem .95rem; border-radius: 999px; background: var(--mist); color: var(--text); font-size: .875rem; font-weight: 600; }
.why-close { max-width: 34rem; margin-top: 2rem; color: var(--ink); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.45; }
.why-cta { margin-top: 1.5rem; }
.why-open { margin-top: 1.5rem; color: var(--muted); font-size: .8125rem; }
@media (max-width: 899px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 9. 이용 후기 */
.reviews-home { padding-block: var(--section); background: var(--mist); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.trust { display: grid; gap: .35rem; justify-items: start; color: var(--muted); }
.trust-label { color: var(--text); font-size: .9375rem; font-weight: 600; }
.trust-score { color: var(--ink); line-height: 1; }
.trust-score strong { font-size: clamp(4.5rem, 11vw, 7.5rem); font-weight: 700; letter-spacing: -.05em; }
.trust-max { color: var(--muted); font-size: 1.25rem; font-weight: 600; }
.trust-count { color: var(--text); font-size: 1.0625rem; font-weight: 600; }
.trust-fine { font-size: .8125rem; }
.trust a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.reviews-main { display: grid; gap: .75rem; min-width: 0; }
.home-review-summary { color: var(--ink); font-size: 1.125rem; font-weight: 700; }
.home-review-list { display: grid; gap: .75rem; }
.home-review-list:empty { display: none; }
.home-review { display: grid; gap: .3rem; min-width: 0; padding: 1.25rem 1.4rem; border-radius: 20px; background: var(--paper); }
.home-review.sample { outline: 1px dashed var(--muted); outline-offset: -1px; }
.home-review .sample-tag { justify-self: start; padding: .1rem .6rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; }
.home-review strong { color: var(--ink); font-size: 1rem; }
.home-review .stars { color: var(--muted); font-size: .8125rem; }
.home-review .stars span { color: var(--ink); letter-spacing: .05em; }
.home-review p:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); font-size: .9375rem; }
.home-review-links a, .event-strip a { display: inline-flex; align-items: center; min-height: 44px; }
.event-strip { color: var(--muted); font-size: .9375rem; }
@media (max-width: 767px) { .reviews-grid { grid-template-columns: 1fr; } }

/* 10. 카토리 케어 (검정) */
.care { padding-block: var(--section); }
.care h2 { color: #fff; }
.care-heading p { max-width: 38rem; margin-top: 1rem; color: var(--dark-text); }
.care-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-top: clamp(2rem, 4vw, 3rem); }
.care-video-block h3 { margin-bottom: .75rem; color: var(--dark-text); font-size: .9375rem; font-weight: 600; }
.care-portrait { width: 100%; }
.video-slot { position: relative; overflow: hidden; border-radius: var(--radius); background: #1d1d1f; }
.video-slot img { display: block; width: 100%; height: auto; }
.video-slot iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: end start; width: 100%; padding: 1.1rem; border: 0; background: transparent; }
.video-play span { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding-left: .2rem; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 1.2rem; box-shadow: 0 6px 24px rgb(0 0 0 / .3); }
.video-play:hover span { background: var(--gold); }
.video-play:focus-visible { outline-offset: -6px; }
.care-portrait figcaption { margin-top: .6rem; color: var(--dark-text); font-size: .8125rem; }
.care-portrait figcaption a, .care-sources a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.care-portrait figcaption a { display: flex; width: fit-content; }
.care-content { align-self: center; }
.care-profile h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.care-profile > p { margin-top: .5rem; color: var(--dark-text); }
.care-motto { margin: 1.75rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--gold); }
.care-motto p { color: #fff; font-size: clamp(1.375rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.35; }
.care-motto footer { margin-top: .6rem; color: var(--dark-text); font-size: .875rem; }
.care-sources { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; margin-top: 1.25rem; }
.care-sources .care-video { gap: .55rem; padding: 0 1.25rem; border-radius: 999px; background: var(--gold); color: var(--ink); text-decoration: none; min-height: 48px; }
.care-sources .care-video:hover { background: #ffd633; }
.care-video::before { content: ""; width: 0; height: 0; border-block: .3rem solid transparent; border-left: .48rem solid currentColor; }
.care-background { margin-top: .25rem; }
.care-background a { flex-direction: column; align-items: flex-start; justify-content: center; color: var(--dark-text); font-size: .875rem; font-weight: 500; text-decoration: none; }
.care-background a > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.care-background small { font-size: .75rem; }
.care-items { display: grid; margin-top: 2rem; border-top: 1px solid var(--dark-line); }
.care-items details { border-bottom: 1px solid var(--dark-line); }
.care-items summary { color: #fff; }
.care-body { padding: 0 0 1.25rem; }
.care-body p { color: var(--dark-text); font-size: .9375rem; }
.care-body a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.care-pick { display: flex; align-items: center; gap: .6rem; min-height: 44px; color: #f5f5f7; font-weight: 500; cursor: pointer; }
.care-pick input { width: 19px; height: 19px; accent-color: var(--gold); }
@media (max-width: 899px) { .care-layout { grid-template-columns: 1fr; } }

/* 접는 줄: 테두리 없는 목록 + 오른쪽 +/− */
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .9rem 0; font-size: 1.0625rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 300; line-height: 1; }
details[open] > summary::after { content: "−"; }

/* 11. 자주 묻는 질문 */
.terms-faq { padding-block: var(--section); }
.faq-list { display: grid; max-width: 52rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.faq-list summary { color: var(--ink); }
.faq-list p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); }

/* 바닥글: 밝은 회색, 작은 글자 */
body > footer { background: var(--mist); color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.25rem; padding-block: 1.5rem 2rem; font-size: .8125rem; line-height: 1.55; }
.footer-row > span { color: var(--text); font-weight: 600; }
.footer-contact { order: 2; flex-basis: 100%; }
.footer-row .desk-links { order: 3; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; }
.footer-note { order: 4; flex-basis: 100%; padding-top: .75rem; border-top: 1px solid var(--line); }
.desk-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: 0; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
.desk-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.footer-campaign { order: 5; flex-basis: 100%; font-size: .75rem; }

/* 휴대폰 아래 고정 문의 띠 */
.sticky-ask { display: none; }
@media (max-width: 767px) {
    :root { scroll-padding-bottom: 96px; }
    body:has(.sticky-ask) > footer { padding-bottom: 88px; }
    .sticky-ask { position: fixed; inset: auto 0 0; z-index: 15; display: flex; align-items: center; gap: .75rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: rgb(11 11 15 / .92); color: #f5f5f7; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
    .sticky-summary { flex: 1; min-width: 0; overflow: hidden; color: #f5f5f7; font-size: .8125rem; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .sticky-ask .primary { flex: none; min-height: 48px; padding-inline: 1.15rem; font-size: .9375rem; white-space: nowrap; }
    .sticky-dday { margin-right: .4rem; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
}

/* 조용한 알림 한 줄: 화면 아래 가운데, 고정 문의 띠 위 */
.nudge { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 16; display: flex; align-items: center; gap: .25rem; width: max-content; max-width: calc(100% - 32px); padding: .3rem .3rem .3rem 1.1rem; border-radius: 999px; background: rgb(11 11 15 / .9); color: #f5f5f7; font-size: .875rem; font-weight: 500; box-shadow: 0 10px 30px rgb(0 0 0 / .18); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transform: translateX(-50%); }
.nudge p { display: flex; align-items: center; gap: .55rem; }
.nudge p::before { content: ""; flex: none; width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold); }
.nudge-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--dark-text); font-size: 1.25rem; line-height: 1; }
.nudge-close:hover { color: #fff; }
.nudge :focus-visible { outline-color: var(--gold); }
@media (max-width: 767px) { .nudge { bottom: calc(92px + env(safe-area-inset-bottom)); font-size: .8125rem; } }
@media (prefers-reduced-motion: no-preference) {
    .nudge { animation: nudge-in .5s ease both; }
    @keyframes nudge-in { from { opacity: 0; transform: translate(-50%, 12px); } }
}

/* 보일 때 살짝 떠오르기: 스크립트가 켜 준 경우만, 움직임 줄이기면 끔 */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }
/* 아주 좁은 휴대폰(360px 미만)에서도 머리글이 한 줄에 들어가게 */
@media (max-width: 359px) {
    .brand { gap: .3rem; font-size: .875rem; letter-spacing: 0; }
    .brand img { width: 1.5rem; }
    .header-cta { padding: 0 .8rem; font-size: .875rem; }
    .menu summary { padding: 0 .7rem; font-size: .875rem; }
}
