/* 디자인 토큰. 흰색·옅은 회색이 화면의 대부분이고, 블루는 행동을 유도하는 곳
   (버튼·선택 상태·링크)에만 쓴다. 장식·제목까지 블루로 칠하면 버튼이 묻힌다.
   옛 이름(--paper, --warm, --accent …)은 랜딩·약관 페이지가 쓰므로 남겨 둔다. */
:root {
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --tint: #f1f4f7;
  --ink: #0f172a;
  --text: #343a40;
  --charcoal: #343a40;
  --sub: #475569;
  --muted: #737b86;
  --disabled: #94a3b8;
  --surface: #fafaf8;
  --paper-bg: #fafaf8;
  --stone: #edece8;
  --stone-hover: #e2e0d8;
  --accent-blue: #6e90ac;
  --rule: #e5e7eb;
  --border: #e5e7eb;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;

  --paper: #fff;
  --warm: var(--surface);
  --accent: var(--accent-blue);
  --quiet: var(--muted);
  --font: "Pretendard Variable", Pretendard, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -.04em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 3px; }
.wrap { width: min(100% - 3rem, 67.5rem); margin-inline: auto; }
.wide { width: min(100% - 3rem, 76rem); margin-inline: auto; }
br.s { display: none; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(10,27,61,.09); background: rgba(255,255,255,.94); }
.site-header .wrap { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header img { display: block; width: auto; height: 1.375rem; }
.header-cta { border: 1px solid var(--primary); border-radius: .5625rem; padding: .48rem 1rem; color: #fff; background: var(--primary); font-size: .875rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color 160ms, border-color 160ms; }
.header-cta:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.hero { position: relative; overflow: hidden; padding: clamp(5.5rem,10vw,8.5rem) 0 0; background: linear-gradient(180deg,#fff 0%,#fff 75%,var(--surface) 100%); }
.hero::before { position: absolute; top: 4.5rem; left: calc(50% + 26rem); width: 16rem; height: 16rem; border: 1px solid rgba(10,27,61,.08); border-radius: 50%; content: ""; }
.hero-copy { text-align: center; }
.eyebrow, .section-kicker, .product-number { color: var(--quiet); font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin-top: 1.2rem; font-size: clamp(3rem,8vw,5.5rem); font-weight: 760; line-height: 1.02; }
.hero-description { margin-top: 1.75rem; color: var(--muted); font-size: clamp(1rem,2vw,1.1875rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero .actions { justify-content: center; }
.btn { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 1px solid var(--primary); border-radius: .5625rem; background: var(--primary); color: #fff; padding: .75rem 1.5rem; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1; text-decoration: none; box-shadow: 0 1px 2px rgba(15,23,42,.08); transition: background-color 160ms, border-color 160ms, box-shadow 160ms, color 160ms; }
.btn:hover { border-color: var(--primary-hover); background: var(--primary-hover); box-shadow: 0 .25rem .75rem rgba(15,23,42,.12); }
.btn--secondary { border-color: var(--stone); background: var(--stone); color: var(--primary); box-shadow: none; }
.btn--secondary:hover { border-color: var(--stone-hover); background: var(--stone-hover); color: var(--ink); box-shadow: none; }

.shot { overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.disclaimer { margin: .9rem 0 2rem; color: var(--muted); font-size: .75rem; }
.disclaimer b { color: var(--ink); font-weight: 650; }

.mobile-stage { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,16rem)); justify-content: center; gap: clamp(1rem,4vw,4rem); min-height: 39rem; margin-top: 4rem; padding: 3.5rem clamp(1rem,5vw,4rem) 0; border-radius: 1rem; background: #eaf0f8; }
.mobile-stage::after { position: absolute; right: 4%; bottom: -9rem; width: 23rem; height: 23rem; border: 1px solid rgba(10,27,61,.08); border-radius: 50%; content: ""; }
.phone { position: relative; z-index: 1; align-self: end; }
.phone .shot { max-height: 34rem; border-radius: 1.25rem 1.25rem 0 0; box-shadow: 0 1rem 2.5rem rgba(10,27,61,.14); }
.phone-label { display: block; margin-bottom: .75rem; font-size: .75rem; font-weight: 700; text-align: center; }
.phone--home, .phone--staff { transform: translateY(3rem); }
.phone--book { animation: focusPhone 8s ease-in-out infinite; }

.band { padding: clamp(6rem,10vw,9rem) 0; }

/* 검색용 랜딩페이지(/solutions/*). 홈페이지에 없던 두 가지만 더한다 —
   섹션 제목과 그 아래 한 줄. 색·여백은 기존 토큰을 그대로 쓴다. 값을 새로
   지으면 페이지마다 조금씩 달라 보이고, 그 차이는 고치는 사람이 없다. */
.solution-band h2 { font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 740; line-height: 1.2; }
.solution-band .section-lead { margin-top: 1rem; max-width: 42rem; color: var(--muted); }
.solution-band .wide { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.solution-band .wide .shot { border-radius: .75rem; }
@media (max-width: 48rem) {
  .solution-band .wide { grid-template-columns: 1fr; }
}

.difference-grid { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 4rem; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.difference-grid article { min-height: 15rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(1.5rem,4vw,2.5rem); }
.difference-grid article > span { color: var(--quiet); font-size: .6875rem; font-weight: 750; }
.difference-grid h3 { margin-top: 2.5rem; font-size: 1.15rem; font-weight: 720; }
.difference-grid p { margin-top: .75rem; max-width: 24rem; color: var(--muted); font-size: .875rem; }

.band--dark { background: var(--ink); color: #fff; }
.partner { padding: 1rem 0; }
.partner h2 { color: #fff; font-size: clamp(2rem,5vw,3.5rem); line-height: 1.2; }
.partner p { margin-top: 1rem; max-width: 38rem; color: rgba(255,255,255,.72); font-size: .9375rem; }
.partner p:first-of-type { margin-top: 1.5rem; color: #fff; font-size: 1.125rem; font-weight: 650; }
.partner .actions { margin-top: 2rem; }
.contact { display: grid; gap: .6rem; margin: 2rem 0 0; font-size: .875rem; }
.contact div { display: flex; gap: 1rem; }
.contact dt { min-width: 3rem; color: rgba(255,255,255,.52); }
.contact dd { margin: 0; color: #fff; font-weight: 600; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }

.site-footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 0 0 3.5rem; font-size: .75rem; line-height: 1.9; }
.site-footer .wrap { border-top: 1px solid rgba(255,255,255,.14); padding-top: 2.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.site-footer nav a, .biz a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer nav a:hover, .biz a:hover { border-bottom-color: var(--accent); }
.biz { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.copyright { margin-top: 1.5rem; }
.doc { max-width: 48rem; padding: 4rem 0 6rem; }
.doc h1 { font-size: clamp(1.5rem,3vw,1.875rem); }
.doc-meta { margin-top: .5rem; color: var(--muted); font-size: .8125rem; }
.doc pre { margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--rule); font: inherit; font-size: .9375rem; line-height: 1.9; white-space: pre-wrap; word-break: keep-all; overflow-wrap: break-word; }

@keyframes focusPhone { 0%,20%,80%,100% { transform: translateY(0); } 35%,65% { transform: translateY(-.75rem); } }
@keyframes mobileFrameOne { 0%,27%,96%,100% { opacity: 1; transform: translateX(-50%) translateY(0); } 34%,92% { opacity: 0; transform: translateX(-54%) translateY(.5rem); } }
@keyframes mobileFrameTwo { 0%,27%,65%,100% { opacity: 0; transform: translateX(-46%) translateY(.5rem); } 34%,59% { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes mobileFrameThree { 0%,59%,96%,100% { opacity: 0; transform: translateX(-46%) translateY(.5rem); } 67%,92% { opacity: 1; transform: translateX(-50%) translateY(0); } }

@media (min-width: 48rem) {
  br.s { display: inline; }
  .contact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header { position: sticky; top: 0; backdrop-filter: blur(12px); }
}

@media (max-width: 47.99rem) {
  .wrap, .wide { width: min(100% - 2rem,67.5rem); }
  .site-header .wrap { min-height: 4rem; }
  .hero { padding-top: 4.5rem; }
  .hero h1 { font-size: clamp(2.85rem,15vw,4.25rem); }
  .disclaimer { padding: 0 .5rem; }
  .mobile-stage { display: block; height: 39rem; min-height: 0; margin-top: 3rem; padding: 2.5rem 1.25rem 0; overflow: hidden; }
  .phone { position: absolute; top: 2.5rem; left: 50%; width: min(calc(100% - 3rem),16rem); align-self: auto; opacity: 0; }
  .phone .shot { max-height: 34rem; }
  .phone--home { transform: translateX(-50%); animation: mobileFrameOne 12s ease-in-out infinite; }
  .phone--book { transform: translateX(-50%); animation: mobileFrameTwo 12s ease-in-out infinite; }
  .phone--staff { transform: translateX(-50%); animation: mobileFrameThree 12s ease-in-out infinite; }
  .difference-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .difference-grid article { min-height: 12rem; }
  .difference-grid h3 { margin-top: 1.75rem; }
  .band--dark { padding-top: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .phone--home { opacity: 1; transform: translateX(-50%); }
  .phone--book, .phone--staff { display: none; }
}


/* ── 홈 (/) ────────────────────────────────────────────────────────────
   데스크톱과 모바일은 하나의 트리다. 문구와 순서는 한 벌이고, 기기에 따라
   달라지는 것은 캡처뿐이다(.only-desktop / .only-mobile). 랜딩·약관 페이지에
   번지지 않도록 전부 .home-page 아래에 둔다. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.home-page { overflow-x: hidden; font-size: 1rem; }
.home-page .container { width: min(100% - 2.5rem, 72.5rem); margin-inline: auto; }
.home-page .only-mobile { display: none; }

/* 버튼 변형 */
.home-page .btn--sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9375rem; }
.home-page .btn--lg { min-height: 3rem; padding: .8rem 1.6rem; font-size: 1.0625rem; }
.home-page .btn--ghost { border-color: var(--border); background: #fff; color: var(--charcoal); }
.home-page .btn--ghost:hover { border-color: #cbd5e1; background: var(--surface); color: var(--ink); box-shadow: none; }

/* 헤더 */
.home-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--rule); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.home-header-inner { display: flex; min-height: 4rem; align-items: center; gap: 2rem; }
.home-logo img { display: block; width: auto; height: 1.375rem; }
.home-nav { display: flex; gap: 2rem; margin-left: auto; }
.home-nav a { color: #334155; font-size: .9375rem; font-weight: 600; text-decoration: none; transition: color 160ms; }
.home-nav a:hover { color: var(--primary); }

/* 공통 글꼴 단계 */
.home-page .kicker { color: var(--muted); font-size: .875rem; font-weight: 700; letter-spacing: -.01em; }
.home-page .scenario-tag { display: inline-block; font-size: .75rem; font-weight: 750; letter-spacing: .1em; color: var(--accent-blue); text-transform: uppercase; margin-bottom: .4rem; }
.home-page .section { padding: 7rem 0; }
.home-page .section--muted { background: var(--surface); }
.home-page .section-head h2 { margin-top: .75rem; font-size: clamp(1.625rem, 1.1rem + 2vw, 2.5rem); font-weight: 750; line-height: 1.25; }
.home-page .section-head--center { text-align: center; }
.home-page .section-lead { margin-top: 1rem; max-width: 40rem; color: var(--muted); font-size: 1.0625rem; }

/* 01 Hero */
.home-hero { position: relative; overflow: hidden; padding: 5rem 0 6rem; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--surface) 100%); }
.home-hero::before { display: none; }
.home-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-items: center; gap: 4rem; }
.home-hero .kicker { display: inline-block; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding: .3rem .8rem; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.home-hero h1 { margin-top: 1.25rem; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); font-weight: 780; line-height: 1.18; letter-spacing: -.045em; }
.home-hero h1 em { color: var(--primary); font-style: normal; }
.home-hero .lead { margin-top: 1.5rem; max-width: 34rem; color: var(--charcoal); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-note { margin-top: .9rem; color: var(--muted); font-size: .875rem; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.hero-badges li { position: relative; padding-left: 0; color: var(--muted); font-size: .875rem; font-weight: 500; }
.hero-badges li:not(:last-child)::after { content: "·"; margin-left: .6rem; color: #cbd5e1; font-weight: 700; }
.home-hero-visual { min-width: 0; }
.home-hero-visual .disclaimer { margin: .9rem 0 0; }

/* 캡처 프레임 */
.frame { overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.frame img { display: block; width: 100%; height: auto; }
.frame--browser { border-radius: 1rem; box-shadow: 0 1.5rem 3.5rem rgba(15,23,42,.12), 0 .25rem .75rem rgba(15,23,42,.05); }
.frame--browser::before { display: block; height: 1.75rem; border-bottom: 1px solid var(--rule); background: radial-gradient(circle, #cbd5e1 .2rem, transparent .22rem) .9rem 50% / .75rem .75rem no-repeat, radial-gradient(circle, #cbd5e1 .2rem, transparent .22rem) 1.75rem 50% / .75rem .75rem no-repeat, radial-gradient(circle, #cbd5e1 .2rem, transparent .22rem) 2.6rem 50% / .75rem .75rem no-repeat, #f8fafc; content: ""; }
.frame--phone { width: min(16.5rem, 100%); border-radius: 1.5rem; box-shadow: 0 1.25rem 3rem rgba(15,23,42,.14); }

/* 02 제품 탭 — 라디오는 화면에서만 숨기고 포커스·스크린리더에는 남긴다. */
.product-tabs { margin-top: 2.5rem; }
.segment { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 27rem); margin: 0 auto; border: 1px solid var(--border); border-radius: .875rem; background: var(--stone); padding: .25rem; }
.segment label { position: relative; cursor: pointer; }
.segment input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segment span { display: block; border-radius: .625rem; padding: .7rem .5rem; color: var(--muted); font-size: .9375rem; font-weight: 650; text-align: center; transition: background-color 160ms, color 160ms, box-shadow 160ms; }
.segment label:hover span { color: var(--ink); }
.segment input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.segment input:focus-visible + span { outline: 3px solid var(--accent-blue); outline-offset: 2px; }
.panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: 4rem; margin-top: 3.5rem; }
.panel-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 750; line-height: 1.3; }
.checks { display: grid; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 1.1rem; color: var(--charcoal); font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.checks li::before { position: absolute; top: .65em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); content: ""; opacity: .6; }
.panel-visual--phones, .panel-phones { display: flex; justify-content: center; gap: 1.5rem; width: 100%; }
.panel-visual--phones .frame--phone:nth-child(2), .panel-phones .frame--phone:nth-child(2) { margin-top: 3rem; }
/* PC/태블릿(≥48rem)에서는 라디오 탭으로 3개 기능을 전환한다. */
@media (min-width: 48rem) {
  @supports selector(:has(*)) {
    .product-tabs .panel { display: none; }
    .product-tabs:has(input[value="mobile"]:checked) .panel--mobile,
    .product-tabs:has(input[value="schedule"]:checked) .panel--schedule,
    .product-tabs:has(input[value="members"]:checked) .panel--members { display: grid; animation: panelIn 220ms ease-out; }
  }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
.section-cta { margin-top: 4rem; text-align: center; }
.section-cta p { margin-top: .75rem; color: var(--muted); font-size: .875rem; }

/* 03 운영 흐름 — 연결형 스텝 UI (카드 배경 없음, 연결선 + 단계 번호 강조) */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.flow::before { position: absolute; top: 1.125rem; left: 1.25rem; right: 1.25rem; height: 1px; background: var(--border); content: ""; z-index: 0; }
.flow-step { position: relative; z-index: 1; border: none; background: transparent; padding: 0; }
.flow-step:not(:last-child)::after { display: none; }
.flow-num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: .8125rem; font-weight: 750; z-index: 1; }
.flow-step--book .flow-num { border-color: var(--border); }
.flow-step--wait .flow-num { border-color: #fde68a; color: var(--warning); background: #fffdf5; }
.flow-step--attend .flow-num { border-color: #bbf7d0; color: var(--success); background: #f6fef9; }
.flow-step--pass .flow-num { border-color: var(--border); }
.flow-step h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.flow-step p { margin-top: .45rem; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.flow-rule { margin-top: 2.5rem; color: var(--muted); font-size: .9375rem; }
.flow-rule b { color: var(--ink); font-weight: 700; }

/* 04 더 많은 기능 — Border Grid (카드 배경·그림자 없음, 경계선으로 구획) */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin-top: 3rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature-grid section { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; padding: 2rem 1.75rem; }
.feature-grid h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.feature-grid p { margin-top: .5rem; color: var(--muted); font-size: .875rem; line-height: 1.6; }

/* 05 도입 장점 — 에디토리얼 레이아웃 */
.why { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 4rem; align-items: start; }
.why-list { margin: 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.why-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.why-list b { color: var(--muted); font-size: .9375rem; font-weight: 700; line-height: 1.6; letter-spacing: -.02em; }
.why-list h3 { font-size: 1.1875rem; font-weight: 700; color: var(--ink); }
.why-list p { margin-top: .4rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }

/* 06 무료 안내 + FAQ */
.free-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 3rem; align-items: center; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); padding: clamp(1.75rem, 4vw, 3.5rem); }
.free-copy h2 { margin-top: .75rem; font-size: clamp(1.625rem, 1.1rem + 2vw, 2.5rem); font-weight: 750; line-height: 1.25; }
.free-copy .section-lead { color: var(--charcoal); }
.free-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.free-list li { position: relative; border: 1px solid var(--border); border-radius: .75rem; background: #fff; padding: .85rem 1rem .85rem 2.5rem; color: var(--ink); font-size: .9375rem; font-weight: 500; }
.free-list li::before { position: absolute; top: 50%; left: .85rem; transform: translateY(-50%); display: grid; width: 1.15rem; height: 1.15rem; place-items: center; border-radius: 50%; background: var(--stone); color: var(--ink); content: "✓"; font-size: .65rem; font-weight: 800; line-height: 1; }
.faq { max-width: 48rem; margin: 5rem auto 0; }
.faq-title { margin-bottom: 1.5rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 750; text-align: center; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; color: var(--ink); font-size: 1.0625rem; font-weight: 650; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 50%; right: .25rem; color: var(--muted); content: "+"; font-size: 1.375rem; font-weight: 400; line-height: 1; transform: translateY(-50%); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.25rem; color: var(--muted); }

/* 도입 문의 */
.inquiry { border-top: 1px solid var(--rule); padding: 4.5rem 0; background: var(--surface); }
.inquiry-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 2rem 4rem; }
.inquiry h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 750; }
.inquiry-inner > div:first-child p { margin-top: .5rem; color: var(--muted); }
.inquiry-side { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.home-page .inquiry .actions { margin: 0; }
.home-page .inquiry .btn { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.home-page .inquiry .btn:hover { border-color: var(--primary-hover); background: var(--primary-hover); color: #fff; }
.home-page .contact { display: grid; grid-template-columns: auto auto; gap: .25rem 1rem; margin: 0; font-size: .9375rem; }
.home-page .contact div { display: contents; }
.home-page .contact dt { min-width: 0; color: var(--muted); }
.home-page .contact dd { margin: 0; color: var(--ink); font-weight: 600; }
.home-page .contact a { border-bottom: 1px solid #cbd5e1; text-decoration: none; }
.home-page .contact a:hover { border-bottom-color: var(--primary); color: var(--primary); }
.home-page .site-footer .wrap { width: min(100% - 2.5rem, 72.5rem); border-top: 0; }

/* 태블릿 */
@media (max-width: 63.99rem) {
  .home-page .only-desktop { display: none; }
  .home-page .only-mobile { display: block; }
  .home-page .panel-phones.only-mobile { display: flex; }
  .home-hero { padding: 3.5rem 0 4.5rem; }
  .home-hero-inner, .panel, .why, .free-card { grid-template-columns: 1fr; }
  .home-hero-inner { gap: 3rem; }
  .home-hero-visual { display: flex; flex-direction: column; align-items: center; }
  .home-hero-visual .frame--phone { max-height: 34rem; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
  .home-hero-visual .disclaimer { text-align: center; }
  .panel { gap: 2.5rem; margin-top: 2.5rem; }
  .panel-visual { display: flex; justify-content: center; }
  .flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flow-step:nth-child(2)::after { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why { gap: 2rem; }
  .inquiry-inner { grid-template-columns: 1fr; }
}

/* 휴대폰 (≤768px): 자연스러운 세로형 탐색 스토리와 컴팩트 그리드 */
@media (max-width: 47.99rem) {
  .home-page .container { width: min(100% - 2rem, 72.5rem); }
  .home-nav { display: none; }
  .home-header-inner { min-height: 3.5rem; justify-content: space-between; }
  .home-header .btn { min-height: 2.125rem; padding: .35rem .75rem; font-size: .8125rem; border: 1px solid var(--border); background: transparent; color: var(--ink); box-shadow: none; }
  .home-header .btn:hover { background: var(--surface); }
  .home-page .section { padding: 3.75rem 0; }
  .home-page .section-head h2 { font-size: 1.5rem; }

  /* 01 Hero 압축 */
  .home-hero { padding: 2.75rem 0 3.25rem; }
  .home-hero-inner { gap: 2.25rem; }
  .home-hero h1 { font-size: clamp(2.125rem, 9.5vw, 2.5rem); line-height: 1.18; letter-spacing: -.045em; }
  .home-hero .lead { font-size: 1rem; margin-top: 1rem; line-height: 1.65; }
  .hero-actions { margin-top: 1.75rem; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .75rem 1rem; }
  .hero-actions .btn { flex: 0 0 auto; width: auto; min-height: 2.75rem; padding: .65rem 1.25rem; font-size: .9375rem; }
  .hero-actions .btn--ghost { border: 0; background: transparent; padding: .5rem .5rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; box-shadow: none; min-height: auto; font-weight: 500; font-size: .875rem; }
  .hero-actions .btn--ghost:hover { background: transparent; color: var(--ink); }
  .hero-badges { margin-top: 1.25rem; gap: .3rem .5rem; }
  .hero-badges li { font-size: .8125rem; }
  .hero-badges li:not(:last-child)::after { margin-left: .5rem; }
  .home-hero-visual .frame--phone { max-height: 26rem; box-shadow: 0 1.5rem 3.5rem rgba(15,23,42,.18); }
  .home-hero-visual .disclaimer { margin-top: .6rem; font-size: .8125rem; }

  /* 02 제품 소개: 탭 터치 강제 대신 세로형 3단계 탐색 스토리 */
  .product-tabs { margin-top: 2rem; }
  .product-tabs .segment { display: none; }
  .product-tabs .panel { display: flex !important; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; padding-bottom: 2.75rem; border-bottom: 1px solid var(--rule); }
  .product-tabs .panel:last-of-type { border-bottom: 0; padding-bottom: 0; }
  .panel-copy h3 { font-size: 1.45rem; line-height: 1.3; letter-spacing: -.03em; }
  .panel-copy > p { font-size: .9375rem; margin-top: .5rem; line-height: 1.6; color: var(--muted); }
  .checks { margin-top: .85rem; gap: .4rem; }
  .checks li { font-size: .875rem; padding-left: 1rem; }
  .panel-visual { margin-top: .75rem; }
  .panel-visual--phones, .panel-phones { gap: .65rem; }
  .panel-visual--phones .frame--phone, .panel-phones .frame--phone { width: calc(50% - .325rem); border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgba(15,23,42,.14); }
  .panel-visual--phones .frame--phone:nth-child(2), .panel-phones .frame--phone:nth-child(2) { margin-top: 1.25rem; }
  .panel-visual .frame--phone { max-height: 24rem; }
  .section-cta { margin-top: 2.75rem; }

  /* 03 운영 흐름: 세로 타임라인 */
  .flow { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; position: relative; padding-left: 0; }
  .flow::before { position: absolute; top: 1.125rem; bottom: 1.125rem; left: 1.0625rem; width: 1px; height: auto; right: auto; background: var(--border); content: ""; z-index: 0; }
  .flow-step { display: flex; gap: 1rem; align-items: flex-start; padding: 0 0 1.5rem 0; border: none; background: transparent; }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-step .flow-num { flex-shrink: 0; width: 2.125rem; height: 2.125rem; font-size: .75rem; z-index: 1; }
  .flow-body { flex: 1; min-width: 0; }
  .flow-body h3 { margin-top: .15rem; font-size: 1rem; font-weight: 700; line-height: 1.35; }
  .flow-body p { margin-top: .2rem; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
  .flow-step::after { display: none !important; }
  .flow-rule { margin-top: 1.5rem; font-size: .875rem; line-height: 1.6; }

  /* 04 추가 기능: 2열 Border Grid */
  .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 1.75rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
  .feature-grid section { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; padding: 1.15rem 1rem; }
  .feature-grid h3 { font-size: .9375rem; font-weight: 700; }
  .feature-grid p { margin-top: .3rem; font-size: .78rem; line-height: 1.45; }

  /* 05 도입 장점 — 모바일에서는 정보 중복을 줄이기 위해 숨김 */
  .section--why { display: none !important; }

  /* 06 무료 안내 (RAPOEN FREE): 극적인 다크 카드 */
  .free-card {
    display: block;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 1.25rem;
    background: var(--ink);
    color: #fff;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 1.5rem 3.5rem rgba(15,23,42,.2);
  }
  .free-card .kicker { color: rgba(255,255,255,.6); font-size: .75rem; font-weight: 750; letter-spacing: .1em; }
  .free-copy h2 { color: #fff; font-size: 1.625rem; font-weight: 750; line-height: 1.25; margin-top: .5rem; }
  .free-copy .section-lead { color: rgba(255,255,255,.75); font-size: .9375rem; line-height: 1.6; margin-top: .75rem; }
  .free-card .hero-actions { margin-top: 1.75rem; }
  .free-card .btn { width: 100%; border-color: #fff; background: #fff; color: var(--ink); font-weight: 700; min-height: 3rem; }
  .free-card .btn:hover { background: #f1f5f9; border-color: #f1f5f9; color: var(--ink); }
  .free-copy .hero-note { color: rgba(255,255,255,.5); font-size: .8125rem; margin-top: .85rem; line-height: 1.5; }
  .faq { margin-top: 2.75rem; }
  .faq-title { margin-bottom: 1rem; font-size: 1.3125rem; }
  .faq summary { padding: 1rem 2rem 1rem 0; font-size: .9375rem; }
  .faq details p { font-size: .875rem; line-height: 1.6; }

  /* 도입 문의 */
  .inquiry { padding: 3rem 0; }
  .inquiry h2 { font-size: 1.3125rem; }
  .inquiry-inner > div:first-child p { font-size: .875rem; }
  .inquiry-side { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .home-page .inquiry .btn { width: 100%; }
}
