:root {
  --blue: #1a5fd8;
  --blue-dark: #154db3;
  --ink: #0f1d33;
  --muted: #4a5870;
  --line: #e1e6ee;
  --light: #f5f8fc;
  font-family: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { margin: 0; background: #eef1f5; scroll-behavior: smooth; scroll-padding-top: 78px; }
body { position: relative; width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto; padding-bottom: 96px; background: #fff; box-shadow: 0 18px 45px rgba(15, 29, 51, .08); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #123f94; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:is(button, a, input, select, summary):focus-visible { outline: 3px solid rgba(26, 95, 216, .3); outline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { word-break: keep-all; }
svg { width: 24px; height: 24px; }
fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
legend { width: 100%; padding: 0; }
[hidden] { display: none !important; }
.container { width: calc(100% - 44px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: max(16px, calc(50% - 224px)); z-index: 100; padding: 12px; border: 2px solid var(--blue); background: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; width: 100%; max-width: 480px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid #e6eaf0; backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 40px); min-height: 60px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 18px; font-weight: 900; letter-spacing: -.5px; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; }
.brand-wordmark { display: inline-flex; line-height: 1.4; padding-top: 4px; }
.brand-wordmark > span { position: relative; }
.brand-wordmark > span::before { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--blue); left: 50%; top: -3px; transform: translateX(-50%); }
.header-inner nav { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; }
.nav-review { color: var(--muted); }
.header-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; }
.header-cta:hover { background: var(--blue-dark); color: #fff; }

.eyebrow { font-size: 12.5px; font-weight: 800; line-height: 1.6; color: var(--blue); }
.section-heading h2, .consultation-intro h2 { margin-top: 6px; font-size: 22px; line-height: 1.35; font-weight: 900; letter-spacing: -.01em; }
.section-heading > p:last-child:not(.eyebrow), .consultation-intro > p:not(.eyebrow) { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 16px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 900; line-height: 1.5; text-align: center; transition: background .15s, opacity .15s; }
.button img, .button svg { width: 20px; height: 20px; object-fit: contain; flex: none; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-dark); color: #fff; }
.primary:disabled { opacity: .6; }
.kakao-button { background: #fee500; color: #2b2200; }
.kakao-button:hover { background: #f1d900; color: #2b2200; }
.secondary { border: 1px solid #c9d3e1; background: #fff; color: var(--ink); }
.secondary:hover { background: #f7f9fc; color: var(--ink); }

.hero { padding: 34px 22px 30px; background: var(--light); border-bottom: 1px solid #e6eaf0; }
.hero .eyebrow { font-size: 13px; }
.hero h1 { margin-top: 10px; font-size: 32px; line-height: 1.3; font-weight: 900; letter-spacing: -.02em; }
.hero-description { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.65; text-wrap: pretty; }
.hero-dialogue { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(15, 29, 51, .06); }
.dialogue-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; line-height: 1.6; color: #6b7890; }
.dialogue-heading > :last-child { flex: none; font-size: 11px; font-weight: 500; color: #8a95a8; }
.dialogue-question { align-self: flex-end; max-width: 84%; padding: 11px 14px; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.dialogue-reply { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.dialogue-reply > img { width: 30px; height: 30px; flex: none; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; background: #fff; }
.dialogue-answer { width: fit-content; max-width: 84%; min-width: 0; padding: 11px 14px; border-radius: 4px 14px 14px 14px; background: #f2f5f9; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 18px; }
.hero-actions .button { min-height: 54px; padding-inline: 8px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.hero-benefits li { color: #3a4a63; font-size: 13px; font-weight: 700; line-height: 1.6; }

.cases-section { padding-block: 32px 8px; }
.cases-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.swipe-hint { flex: none; color: #6b7890; font-size: 12px; line-height: 1.6; }
.cases-track { display: flex; gap: 10px; margin-top: 16px; padding: 0 22px 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; scrollbar-width: none; }
.cases-track::-webkit-scrollbar { display: none; }
.case-card { display: flex; flex: 0 0 84%; flex-direction: column; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; scroll-snap-align: start; }
.case-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.case-tag { padding: 4px 10px; border-radius: 999px; background: #edf3fd; color: var(--blue); font-size: 12px; font-weight: 800; line-height: 1.5; }
.case-channel { color: #6b7890; font-size: 11.5px; line-height: 1.5; }
.case-question { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6; font-weight: 700; text-wrap: pretty; overflow-wrap: anywhere; }
.case-answer { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid #edf0f5; min-width: 0; }
.case-answer > img { width: 24px; height: 24px; flex: none; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; background: #fff; }
.case-answer p { min-width: 0; color: var(--muted); font-size: 14px; line-height: 1.6; text-wrap: pretty; overflow-wrap: anywhere; }
.cases-note { margin: 6px 22px 0; color: #8a95a8; font-size: 11.5px; line-height: 1.6; }

.process-section { padding-block: 32px 8px; }
.process-list { display: flex; flex-direction: column; list-style: none; margin: 16px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.process-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-bottom: 1px solid #edf0f5; }
.process-list li:last-child { border-bottom: 0; }
.step-number { flex: none; width: 22px; padding-top: 1px; color: var(--blue); font-size: 13px; font-weight: 900; line-height: 1.6; }
.process-list h3, .process-list strong { font-size: 15px; font-weight: 800; line-height: 1.6; }
.process-list li > div { min-width: 0; }
.process-list p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.process-list li > div p { margin-top: 3px; }

.consultation-section { margin-top: 28px; padding-block: 30px 28px; border-top: 1px solid #e6eaf0; border-bottom: 1px solid #e6eaf0; background: var(--light); }
.consultation-layout { display: block; }
.form-card { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
#consultation-form { display: flex; flex-direction: column; gap: 16px; }
form legend:not(.sr-only) { margin-bottom: 8px; font-size: 13.5px; font-weight: 800; line-height: 1.6; }
.form-step { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 50%; background: #edf3fd; color: var(--blue); font-size: 11px; vertical-align: middle; }
.required-text { margin-left: 4px; color: var(--blue); font-size: 11px; font-weight: 700; white-space: nowrap; }
.method-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.method-choice { position: relative; display: block; min-width: 0; cursor: pointer; }
.method-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-content { display: block; min-height: 112px; padding: 12px; border: 1.5px solid #d5dce6; border-radius: 10px; background: #fff; }
.choice-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.choice-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; }
.choice-icon img, .choice-icon svg { display: block; width: 20px; height: 20px; object-fit: contain; }
.choice-icon-kakao { background: #fee500; color: #2b2200; }
.choice-icon-phone { background: #22b85a; color: #fff; }
.choice-name { display: block; margin-top: 7px; font-size: 15px; line-height: 1.5; font-weight: 900; }
.choice-description { display: block; margin-top: 3px; color: #6b7890; font-size: 11px; line-height: 1.55; }
.radio-dot { width: 16px; height: 16px; flex: none; border: 1.5px solid #c1cbd9; border-radius: 50%; }
.method-choice input:checked + .choice-content { border-color: var(--blue); background: #edf3fd; }
.method-choice input:checked + .choice-content .radio-dot { border: 5px solid var(--blue); }
.method-choice input:focus-visible + .choice-content { outline: 3px solid rgba(26, 95, 216, .3); outline-offset: 3px; }
.method-choice input[aria-invalid="true"] + .choice-content { border-color: #c8492f; }
.method-choice input:disabled { cursor: wait; }
.method-choice input:disabled + .choice-content { opacity: .65; }
.method-guide { margin-top: -6px; color: #6b7890; font-size: 12px; line-height: 1.55; }
.fields-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 800; line-height: 1.6; }
.field input, .field select { display: block; width: 100%; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid #d5dce6; border-radius: 10px; background: #fbfcfd; color: var(--ink); font-size: 16px; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: #8a95a8; }
.field input[type="date"] { min-height: 50px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select { padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%234a5870' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; }
.field input:disabled, .field select:disabled { opacity: .65; cursor: not-allowed; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c8492f; }
.field-error { margin-top: 6px; color: #c8492f; font-size: 12px; font-weight: 700; line-height: 1.5; }
.field-error:empty { display: none; }
.schedule-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid #edf0f5; }
.schedule-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.schedule-heading strong { font-size: 13.5px; font-weight: 800; line-height: 1.6; }
.schedule-heading span { color: #6b7890; font-size: 11px; line-height: 1.6; }
.date-time-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.date-time-grid input, .date-time-grid select { padding-inline: 9px; font-size: 14px; }
.date-time-grid select { padding-right: 25px; }
.field-help { margin-top: 9px; color: #6b7890; font-size: 12px; line-height: 1.55; }
.field-help + .field-help { margin-top: 5px; }
.consent-box { padding: 4px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; padding-top: 10px; color: var(--ink); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.consent-label input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--blue); }
.consent-label strong { color: var(--blue); font-weight: 800; }
.consent-label b { color: #6b7890; font-weight: 700; }
.consent-label small { display: block; margin-top: 5px; color: #6b7890; font-size: 12px; line-height: 1.55; }
.marketing-label { margin-top: 10px; border-top: 1px solid #edf0f5; }
.consent-detail { display: inline-block; margin: 4px 0 0 30px; color: #6b7890; font-size: 12.5px; line-height: 1.5; text-decoration: underline; text-underline-offset: 2px; }
.submission-error { padding: 10px 12px; border: 1px solid #efb39f; border-radius: 10px; background: #fff0eb; color: #5e4038; font-size: 13px; line-height: 1.55; }
.submit-button { width: 100%; min-height: 56px; font-size: 16.5px; }
.submit-note { margin-top: -6px; color: #8a95a8; font-size: 11.5px; line-height: 1.6; text-align: center; }

.success-panel { padding: 6px 0; text-align: center; }
.success-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: #edf3fd; color: var(--blue); font-size: 22px; font-weight: 900; }
.success-panel h3 { margin-top: 10px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.success-panel > p:not(.eyebrow) { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.success-panel .success-schedule { margin-top: 14px; padding: 12px; border-radius: 10px; background: #edf3fd; color: var(--blue); font-weight: 800; }
.success-panel .button { display: flex; width: 100%; margin-top: 16px; font-size: 15px; }
.success-panel .secondary { min-height: 46px; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.success-panel .success-footnote { margin-top: 12px; color: #6b7890; font-size: 12px; line-height: 1.6; }

.faq-section { padding-block: 32px 8px; }
.faq-list { margin-top: 14px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 2px; list-style: none; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.6; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: #8a95a8; font-size: 16px; font-weight: 500; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 2px 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.site-footer { margin-top: 28px; padding-block: 24px; border-top: 1px solid #e6eaf0; background: var(--light); }
.footer-inner { display: flex; flex-direction: column; }
.site-footer .brand { gap: 8px; font-size: 14px; font-weight: 800; }
.site-footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
.site-footer p { margin-top: 12px; color: #6b7890; font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; }
.footer-links a { color: #3a4a63; font-size: 12.5px; font-weight: 800; line-height: 1.6; }
.footer-links small { width: 100%; margin-top: 4px; color: #8a95a8; font-size: 11.5px; line-height: 1.6; }

.mobile-cta { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; gap: 8px; width: min(100%, 480px); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #e6eaf0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); }
.quick-kakao { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; flex: none; width: 56px; height: 52px; border-radius: 10px; background: #fee500; color: #2b2200; font-size: 11px; font-weight: 900; line-height: 1.4; }
.quick-kakao:hover { background: #f1d900; color: #2b2200; }
.quick-kakao img, .quick-kakao svg { display: block; width: 20px; height: 20px; object-fit: contain; }
.mobile-cta > .button { min-width: 0; min-height: 52px; height: 52px; flex: 1; padding-inline: 10px; font-size: 16px; }

@media (max-width: 359px) {
  .header-inner nav { gap: 10px; font-size: 12px; }
  .header-cta { padding-inline: 10px; font-size: 12px; }
  .hero h1 { font-size: 29px; }
  .hero-description { font-size: 14px; }
  .hero-actions .button { font-size: 13px; }
  .hero-benefits { gap: 6px 10px; }
  .hero-benefits li { font-size: 12px; }
  .choice-content { padding: 10px; }
  .choice-description { font-size: 10px; }
  .date-time-grid input, .date-time-grid select { font-size: 13px; }
  .consent-label { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Social channel logos at the bottom of the homepage. */
.footer-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-channels a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 84px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.footer-channels a:hover { border-color: var(--blue); background: #edf3fd; }
.footer-channels img { display: block; width: 28px; height: 28px; object-fit: contain; }
