/* 레디박스 서비스 소개. 색은 Figma 톤(진남색·남보라·밝은 회색), 구성은 꽉 찬 사진 + 짧은 한 줄 + 두 줄 설명 */
:root {
  --navy: #0e1440; --navy-2: #182062; --indigo: #2b37a0; --blue: #3b4fd8; --lilac: #a9b4f2; --sky: #e8ebfd;
  --ink: #0b1020; --text: #2a3142; --muted: #6b7386; --line: #e6e9ee; --bg: #f3f5f8;
  --font: "Pretendard", "Malgun Gothic", "맑은 고딕", -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, 100% - var(--pad) * 2); margin: 0 auto; }
section { padding: clamp(80px, 11vw, 140px) 0; }
.eyebrow { font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: .02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.25; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); margin: 12px 0 16px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; max-width: 640px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 15.5px; transition: background .2s, color .2s; }
.btn::after { content: "›"; font-size: 20px; line-height: 1; }
.btn.pri { background: var(--blue); color: #fff; }
.btn.pri:hover { background: var(--indigo); }
.btn.line { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn.line:hover { background: #fff; color: var(--navy); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 50; background: #fff; color: var(--navy); font-weight: 800; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

/* 읽은 만큼 차는 가는 줄 */
.prog { position: fixed; top: 0; left: 0; z-index: 40; height: 2px; width: 100%; background: var(--lilac); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* 머리줄: 첫 화면 위에서는 투명, 내리면 진남색 */
header { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .25s, box-shadow .25s; }
header.solid, header.open { background: rgba(14, 20, 64, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav { height: 72px; display: flex; align-items: center; gap: clamp(22px, 3vw, 40px); color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: .01em; }
.logo img { height: 36px; width: auto; display: block; }
.menu { display: flex; gap: clamp(18px, 2.2vw, 34px); font-size: 15px; font-weight: 600; color: #d3d8f0; }
.menu a { position: relative; transition: color .2s; }
.menu a:hover, .menu a.on { color: #fff; }
.menu a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--lilac); }
.drv { margin-left: auto; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.drv svg { width: 16px; height: 16px; }
.drv + .login { margin-left: -30px; }
.login { margin-left: auto; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
header.open .burger span { background: transparent; }
header.open .burger span::before { transform: translateY(7px) rotate(45deg); }
header.open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* 첫 화면: 꽉 찬 트윈 사진 위에 한 줄 */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #fff; padding: 0; overflow: hidden; background: var(--navy); }
.hero > img, .hero > video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero > video { opacity: 0; transition: opacity 1.2s ease; }
.hero > video.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 20, 64, .94) 0%, rgba(14, 20, 64, .78) 38%, rgba(14, 20, 64, .18) 75%), linear-gradient(0deg, rgba(14, 20, 64, .85) 0%, transparent 45%); }
.hero .wrap { position: relative; z-index: 2; padding: 150px 0 clamp(44px, 7vh, 72px); }
.hero .eyebrow { color: var(--lilac); font-size: 15px; }
.hero h1 { font-size: clamp(46px, 8vw, 96px); line-height: 1.08; font-weight: 900; letter-spacing: -0.045em; margin: 16px 0 22px; }
.hero p { font-size: clamp(17px, 1.9vw, 21px); color: #d3d8f0; margin: 0 0 38px; max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin: clamp(48px, 7vh, 72px) 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: clamp(28px, 5vw, 72px); margin: 0; padding: 0; list-style: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 13.5px; font-weight: 700; color: #e6e9fb; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5fe0cf; margin-right: 8px; transform: translateY(-2px); }
.hero-stats b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.hero-stats span { display: block; margin-top: 6px; font-size: 14px; color: #aab2d6; }

/* 문제: 가운데 선언 + 단계 줄(기사 수작업 두 단계 강조) */
.flowline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: clamp(48px, 7vw, 72px) auto 0; max-width: 1000px; list-style: none; padding: 0; }
.flowline li { position: relative; text-align: center; padding-top: 30px; }
.flowline li + li::before { content: ""; position: absolute; top: calc(30px + 46px); left: -14px; width: 14px; border-top: 2px dotted #c3c8d6; }
.flowline .ic { width: 92px; height: 92px; margin: 0 auto; border-radius: 22px; background: var(--bg); display: grid; place-items: center; color: var(--muted); }
.flowline .ic svg { width: 42px; height: 42px; }
.flowline b { display: block; margin-top: 14px; font-size: 15px; color: var(--ink); }
.flowline .hot .ic { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(59, 79, 216, .3); }
.flowline .hot::after { content: "기사 수작업"; position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 800; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.flow-note { margin: 34px auto 0; text-align: center; font-size: 16px; color: var(--text); }
.flow-note b { color: var(--blue); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 8vw, 88px); }
.pain { background: var(--bg); border-radius: 20px; padding: 30px 28px; }
.pain .no { font-size: 14px; font-weight: 900; color: var(--blue); }
.pain h3 { font-size: 19px; color: var(--ink); margin: 8px 0 8px; letter-spacing: -0.01em; }
.pain p { margin: 0; font-size: 15px; color: var(--muted); }

/* 작동 방식: 왼쪽 영상은 붙어 있고 오른쪽 단계가 지나가면 영상이 바뀜 */
.how { background: #090d2e; color: #fff; }
.how .eyebrow { color: var(--lilac); }
.how h2 { color: #fff; }
.how .lead { color: #aab2d6; }
.story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(24px, 4vw, 48px); }
.stage { position: sticky; top: calc(50vh - min(15vw, 200px)); align-self: start; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #05081c; box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1); }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.stage video.on { opacity: 1; }
.stage-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 40px 20px 16px; background: linear-gradient(0deg, rgba(5, 8, 28, .8), transparent); font-size: 13px; font-weight: 800; }
.stage-ui b { font-variant-numeric: tabular-nums; }
.stage-ui span { color: #c8cee8; font-weight: 600; }
.bars { margin-left: auto; display: flex; gap: 5px; }
.bars i { width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); transition: background .3s; }
.bars i.on { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s ease; }
.steps li:first-child { min-height: 52vh; }
.steps li.on { opacity: 1; }
.steps .no { font-size: 15px; font-weight: 900; color: var(--lilac); letter-spacing: .04em; }
.steps h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; font-weight: 900; letter-spacing: -0.035em; margin: 10px 0 14px; color: #fff; }
.steps p { margin: 0; font-size: clamp(16px, 1.5vw, 18px); color: #c8cee8; max-width: 460px; }
.steps .fact { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.steps .fact span { font-size: 13px; font-weight: 700; color: #dfe4ff; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.how-more { margin-top: clamp(8px, 2vw, 24px); display: flex; gap: 12px; flex-wrap: wrap; }

/* 하루: 6단계 카드 */
.day { background: var(--bg); }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 60px); list-style: none; padding: 0; counter-reset: d; }
.days li { background: #fff; border-radius: 18px; padding: 26px 22px 28px; counter-increment: d; }
.days li { position: relative; }
.days li::before { content: counter(d, decimal-leading-zero); font-size: 13px; font-weight: 900; color: var(--blue); }
.days .di { position: absolute; top: 22px; right: 20px; width: 28px; height: 28px; color: var(--blue); opacity: .85; }
.days li.hot .di { color: #fff; }
.days h3 { font-size: 17.5px; color: var(--ink); margin: 12px 0 8px; letter-spacing: -0.01em; }
.days p { margin: 0; font-size: 14.5px; color: var(--muted); }
.days li.hot { background: var(--blue); color: #fff; }
.days li.hot::before { color: var(--lilac); }
.days li.hot h3 { color: #fff; }
.days li.hot p { color: #dfe4ff; }
.days-note { margin-top: 14px; background: var(--navy); color: #d3d8f0; border-radius: 14px; padding: 16px 22px; font-size: 15px; }
.days-note b { color: #fff; margin-right: 10px; }

/* 사례: 아침 2.6시간 → 0.8시간 */
.case { background: var(--navy); color: #fff; }
.case .eyebrow { color: var(--lilac); }
.case h2 { color: #fff; }
.case .lead { color: #aab2d6; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 36px); align-items: stretch; margin-top: clamp(40px, 6vw, 60px); }
.vs .side { border-radius: 22px; padding: clamp(28px, 4vw, 44px); background: var(--navy-2); }
.vs .side.rb { background: #fff; color: var(--ink); }
.vs .tag { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #c8cee8; }
.vs .rb .tag { background: var(--blue); color: #fff; }
.vs .k { margin-top: 18px; font-size: 14.5px; color: #aab2d6; }
.vs .rb .k { color: var(--muted); }
.vs .v { font-size: clamp(54px, 8vw, 92px); font-weight: 900; letter-spacing: -0.05em; line-height: 1.05; margin: 4px 0 22px; }
.vs .v small { font-size: .42em; letter-spacing: -0.02em; margin-left: 4px; }
.vs .rb .v { color: var(--blue); }
.vs ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; font-size: 15.5px; color: #c8cee8; }
.vs .rb ol { color: var(--text); }
.vs ol li { counter-increment: s; display: flex; gap: 12px; }
.vs ol li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 900; background: rgba(255, 255, 255, .1); }
.vs .rb ol li::before { background: var(--sky); color: var(--blue); }
.vs .arrow { align-self: center; color: var(--lilac); }
.vs .arrow svg { width: 48px; height: 48px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 16px; background: rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden; }
.stat { background: var(--navy-2); padding: 30px clamp(22px, 3vw, 36px); }
.stat span { font-size: 14px; color: #aab2d6; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -0.03em; margin-top: 6px; }
.stat b small { font-size: .5em; color: var(--lilac); margin-left: 6px; letter-spacing: 0; }
.src { margin: 18px 0 0; font-size: 13px; color: #7f88b5; }
.calc { margin-top: 16px; border-radius: 22px; background: #fff; color: var(--ink); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.calc h3 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; }
.calc .hint { margin: 0 0 22px; font-size: 14.5px; color: var(--muted); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 700; color: var(--text); }
.calc output { font-size: 26px; font-weight: 900; color: var(--blue); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; margin: 14px 0 6px; height: 28px; accent-color: var(--blue); cursor: pointer; }
.calc .ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc-out div { background: var(--bg); border-radius: 16px; padding: 20px 18px; }
.calc-out div.big { background: var(--blue); color: #fff; }
.calc-out span { display: block; font-size: 13.5px; color: var(--muted); }
.calc-out .big span { color: #dfe4ff; }
.calc-out b { display: block; margin-top: 6px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out b i { font-style: normal; }
.calc-out b small { font-size: .5em; margin-left: 3px; letter-spacing: 0; }

/* 도입 방식 */
.fits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 60px); }
.fit { position: relative; border-radius: 22px; padding: 34px 32px; background: var(--bg); min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.fit .tag { position: absolute; top: 28px; left: 32px; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: #fff; }
.fit.next .tag { background: #c3c8d6; color: var(--ink); }
.fit h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; color: var(--ink); letter-spacing: -0.02em; }
.fit p { margin: 0; color: var(--muted); font-size: 15.5px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.plan { border: 1.5px solid var(--line); border-radius: 22px; padding: 32px 30px; }
.plan .no { font-size: 14px; font-weight: 900; color: var(--blue); }
.plan h4 { font-size: 20px; color: var(--ink); margin: 8px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan h4 em { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--blue); padding: 3px 10px; border-radius: 999px; }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }

/* 운영 관리 */
.ops { background: var(--bg); }
.ops-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font: 700 15px var(--font); padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.shot { margin-top: 28px; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(14, 20, 64, .16); background: #fff; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .25s ease; }
.shot img.fade { opacity: 0; }
.tabs button { transition: background .2s, color .2s, border-color .2s; }
.tabs button:not(.on):hover { border-color: #c3c8d6; color: var(--ink); }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.caps h4 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.caps p { margin: 0; font-size: 15px; color: var(--muted); }

/* 플랫폼: 기사 앱 · 3D 시뮬레이션 카드 */
.suite { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.card-app { position: relative; border-radius: 24px; background: var(--navy); color: #fff; padding: clamp(28px, 3.6vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; overflow: hidden; min-height: 460px; }
.card-app .eyebrow, .card-3d .eyebrow { color: var(--lilac); }
.suite h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; font-weight: 900; letter-spacing: -0.03em; margin: 10px 0 12px; color: #fff; }
.suite p { margin: 0; font-size: 15.5px; color: #c8cee8; }
.card-app ul { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #dfe4ff; }
.card-app li { display: flex; gap: 10px; }
.card-app li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.6'/%3E%3C/svg%3E") center / contain; }
.phones { position: relative; width: clamp(190px, 23vw, 290px); align-self: end; margin-bottom: calc(clamp(28px, 3.6vw, 48px) * -1 - 40px); }
.ph { display: block; width: 68%; aspect-ratio: 390 / 844; border-radius: 26px; border: 6px solid #05081c; background: #05081c; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1.5px #2a3270; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph.b { position: absolute; right: 0; top: 13%; }
.card-3d { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; min-height: 460px; }
.card-3d > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card-3d:hover > img { transform: scale(1.04); }
.card-3d::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14, 20, 64, .95) 0%, rgba(14, 20, 64, .6) 45%, rgba(14, 20, 64, .1) 80%); }
.card-3d > div { position: relative; z-index: 2; padding: clamp(28px, 3.6vw, 44px); }
.card-3d p { margin-bottom: 24px; }
.btn.white { background: #fff; color: var(--navy); height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn.white:hover { background: var(--sky); }

/* 자주 묻는 질문 */
.faq { max-width: 880px; margin: clamp(36px, 5vw, 56px) auto 0; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-4px) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq summary:hover { color: var(--blue); }
.faq p { margin: 0; padding: 0 4px 26px; font-size: 16px; color: var(--text); max-width: 760px; }

/* 마무리 */
.cta { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--navy); }
.cta > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #c8cee8; font-size: clamp(16px, 1.7vw, 19px); margin: 0 0 36px; }
.cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
footer { background: #0a0f33; color: #8a92bd; font-size: 14px; padding: 56px 0 40px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot .logo { color: #fff; margin-bottom: 10px; }
.foot h5 { margin: 0 0 12px; font-size: 14px; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: #fff; }
.fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 12.5px; color: #6c74a3; }

/* 내리면 살짝 떠오름 */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* 태블릿 */
@media (max-width: 1240px) { .suite { grid-template-columns: 1fr; } .card-3d { min-height: 400px; } }
@media (max-width: 1080px) {
  .days { grid-template-columns: repeat(3, 1fr); }
  .caps { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .menu, .nav > .login, .nav > .drv { display: none; }
  .burger { display: block; margin-left: auto; }
  header.open .menu { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 24px; background: rgba(14, 20, 64, .98); font-size: 17px; }
  header.open .menu a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  /* 휴대폰 메뉴 아래 버튼 두 개: 배송 기사 앱(테두리) · 운영 관리 로그인(흰 바탕) */
  header.open .menu .m-drv, header.open .menu .m-login { display: flex; height: 48px; padding: 0; border-radius: 999px; font-weight: 800; justify-content: center; align-items: center; gap: 8px; }
  header.open .menu .m-drv { margin-top: 18px; border: 0; background: #fff; color: var(--navy); }
  header.open .menu .m-drv svg { width: 18px; height: 18px; }
  header.open .menu .m-login { margin-top: 10px; border: 0; background: #fff; color: var(--navy); }
}
@media (max-width: 900px) {
  /* 작동 방식: 영상은 머리줄 아래에 붙고 단계가 그 밑으로 지나감 */
  .story { display: block; }
  .stage { top: 72px; z-index: 2; border-radius: 0 0 20px 20px; margin-inline: calc(var(--pad) * -1); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
  .steps li, .steps li:first-child { min-height: 0; padding: 8vh 0 12vh; justify-content: flex-start; }
  .steps li:last-child { padding-bottom: 5vh; }
  .flowline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .flowline li:nth-child(4)::before { display: none; }
  .pains, .plans { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs .arrow { justify-self: center; transform: rotate(90deg); margin: -4px 0; }
  .stats { grid-template-columns: 1fr; }
}
.m-login, .m-drv { display: none; }
/* 휴대폰 */
@media (max-width: 600px) {
  .hero::before { background: linear-gradient(0deg, rgba(14, 20, 64, .96) 0%, rgba(14, 20, 64, .82) 50%, rgba(14, 20, 64, .35) 100%); }
  .hero .ctas .btn, .cta .ctas .btn { flex: 1 1 100%; }
  .hero-foot { margin-top: 36px; padding-top: 20px; gap: 18px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
  .chips li { font-size: 12.5px; padding: 6px 11px; }
  .hero-stats b { font-size: 20px; }
  .hero-stats span { font-size: 12px; line-height: 1.4; }
  .hero .wrap { padding-top: 120px; }
  .flowline { grid-template-columns: repeat(2, 1fr); }
  .flowline li:nth-child(odd)::before { display: none; }
  .flowline li:nth-child(4)::before { display: block; }
  .flowline .ic { width: 80px; height: 80px; border-radius: 20px; }
  .hero p br { display: none; }
  .calc-out { grid-template-columns: 1fr; }
  .calc-out div { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; }
  .calc-out b { margin: 0; }
  .card-app { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .phones { width: min(250px, 72%); margin: 8px auto -60px; }
  .card-3d { min-height: 380px; }
  .how-more .btn, .card-app .btn, .card-3d .btn { width: 100%; }
  .days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .days li { flex: 0 0 76%; scroll-snap-align: start; }
  .fits, .caps { grid-template-columns: 1fr; }
  .fit { min-height: 150px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
