/*
 * BOMU Convert
 * Shared customer-facing layout and component styles
 *
 * Sections
 * 1. Design tokens and document base
 * 2. Header and desktop navigation
 * 3. Footer
 * 4. Authentication helpers
 * 5. Shared home, pricing, comparison and legal components
 * 6. Subpages and profile
 * 7. Responsive rules
 * 8. Mobile drawer
 */

:root {
  --customer-primary: #2563eb;
  --customer-text: #172033;
  --customer-muted: #64748b;
  --customer-border: #e2e8f0;
}

.customer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}


html {
  scroll-padding-top: 84px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================================================
   2. Header and desktop navigation
   ========================================================= */

.customer-header {
  position: sticky;
  top: 0;
  z-index: 1060;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid var(--customer-border);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow:
    0 1px 0 rgba(148, 163, 184, .22),
    0 8px 24px rgba(15, 23, 42, .05);
  transform: translateZ(0);
}

@supports not (
  (backdrop-filter: blur(14px))
  or (-webkit-backdrop-filter: blur(14px))
) {
  .customer-header {
    background: rgba(255, 255, 255, .90);
  }
}

.customer-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.customer-brand {
  display: inline-flex;
  color: var(--customer-text);
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.3px;
  text-decoration: none;
  white-space: nowrap;
}

.customer-brand:hover,
.customer-brand:focus {
  color: var(--customer-text);
  text-decoration: none;
}

.customer-brand-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--customer-primary);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.customer-nav {
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}

.customer-nav a {
  position: relative;
  padding: 25px 0 23px;
  color: var(--customer-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.customer-nav a:hover,
.customer-nav a:focus,
.customer-nav a.active {
  color: var(--customer-primary);
}

.customer-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--customer-primary);
  content: "";
}

.customer-header-actions {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.customer-header-actions .btn {
  min-height: 40px;
  padding-right: 16px;
  padding-left: 16px;
  border-radius: 8px;
  font-weight: 700;
}

.customer-header-message {
  margin-right: 4px;
  color: var(--customer-muted);
  font-size: 14px;
}


/* =========================================================
   3. Footer
   ========================================================= */

.customer-footer {
  width: 100%;
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid var(--customer-border);
  flex: 0 0 auto;
}

.customer-footer-inner {
  display: block;
  padding-top: 48px;
  padding-bottom: 28px;
  color: #64748b;
  font-size: 12px;
}

.customer-footer-top {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.45fr);
  padding-bottom: 36px;
  border-bottom: 1px solid #dfe7f1;
  align-items: start;
  gap: 72px;
}

.customer-footer-brand-block {
  max-width: 390px;
  min-width: 0;
}

.customer-footer-brand {
  display: flex;
  color: #172033;
  align-items: center;
  gap: 12px;
}

.customer-footer-brand-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--customer-primary);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 20px;
}

.customer-brand-icon i,
.customer-footer-brand-icon i {
  color: #ffffff !important;
  line-height: 1;
}

.customer-footer-brand > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.customer-footer-brand strong {
  color: #172033;
  font-size: 15px;
  letter-spacing: -.2px;
}

.customer-footer-brand span {
  color: #64748b;
}

.customer-footer-brand-block > p {
  max-width: 390px;
  margin: 20px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
  word-break: keep-all;
}

.customer-footer-contact {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.customer-footer-contact a {
  display: inline-flex;
  color: #475569;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.customer-footer-contact i {
  color: var(--customer-primary);
  font-size: 16px;
}

.customer-footer-service-hours {
  margin-bottom: 0;
}

.customer-footer-company-wrap h2 {
  margin: 0 0 18px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
}

.customer-footer-company {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
}

.customer-footer-company-item {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
}

.customer-footer-company-item dt {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.customer-footer-company-item dd {
  min-width: 0;
  margin: 0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.customer-footer-company-address {
  grid-column: 1 / -1;
}

.customer-footer-bottom {
  display: flex;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.customer-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.customer-footer a {
  color: #64748b;
  font-weight: 650;
  text-decoration: none;
}

.customer-footer a:hover,
.customer-footer a:focus {
  color: var(--customer-primary);
}

.customer-footer-links a {
  position: relative;
}

.customer-footer-links a + a::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 1px;
  height: 12px;
  background: #cbd5e1;
  content: "";
  transform: translateY(-50%);
}

.customer-footer-copyright {
  color: #94a3b8;
  text-align: right;
}

/* =========================================================
   4. Authentication helpers
   ========================================================= */
body.service-auth-page .auth-page {
  min-height: 100vh;
}

body.service-auth-page .auth-main {
  flex: 1;
}

.auth-password-help {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 18px;
}

.auth-password-help a {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.auth-password-help a:hover,
.auth-password-help a:focus {
  color: #2563eb;
  text-decoration: underline;
}

.auth-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.auth-alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

/* 메인과 인증 화면 제목 */
.service-hero .service-hero-title {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(42px, 3.5vw, 56px);
  line-height: 1.2;
  letter-spacing: -2px;
  word-break: keep-all;
}

.service-hero-title > span {
  display: block;
  white-space: nowrap;
}

body.service-auth-page .auth-intro h1 {
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: -1.4px;
  word-break: keep-all;
}

.service-security-visual {
  display: flex;
  min-height: 280px;
  padding: 34px;
  color: #dbeafe;
  background:
    radial-gradient(circle at 50% 25%, rgba(37, 99, 235, .3), transparent 34%),
    rgba(255, 255, 255, .035);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.service-security-visual .service-security-icon {
  display: flex;
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  color: #60a5fa;
  background: rgba(37, 99, 235, .14);
  border: 2px solid rgba(96, 165, 250, .42);
  border-radius: 30px;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 45px rgba(37, 99, 235, .18),
    inset 0 0 26px rgba(96, 165, 250, .08);
}

.service-security-visual .service-security-icon i {
  font-size: 58px;
}

.service-security-visual > strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.service-security-visual > span {
  color: #94a3b8;
  font-size: 13px;
}

.service-security-flow {
  display: flex;
  width: 100%;
  margin-top: 26px;
  color: #93c5fd;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
}

.service-security-flow span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-security-flow span i {
  font-size: 18px;
}

.service-security-flow > i {
  color: #475569;
}

.service-pricing-row {
  max-width: 1220px;
  margin-right: auto;
  margin-left: auto;
}

.service-pricing-row > div {
  display: flex;
}

.service-pricing-row .service-price-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 430px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  flex-direction: column;
}

.service-pricing-row .service-price-card.featured {
  border: 2px solid var(--customer-primary);
  box-shadow: 0 16px 38px rgba(37, 99, 235, .14);
}





.service-pass-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.service-pass-option {
  position: relative;
  display: flex;
  padding: 16px;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 3px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.service-pass-option:hover,
.service-pass-option.selected {
  background: #f8fbff;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .1);
}

.service-pass-option input {
  position: absolute;
  top: 16px;
  right: 16px;
}

.service-pass-option-period {
  color: #1e293b;
  font-weight: 700;
}

.service-pass-option strong {
  color: #2563eb;
  font-size: 1.15rem;
}

.service-pass-option small {
  color: #64748b;
}

.service-subscription-status {
  display: flex;
  margin: 12px 0 4px;
  padding: 10px 12px;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.service-subscription-status span {
  color: #065f46;
}

.service-price-description {
  min-height: 22px;
  margin: -5px 0 14px;
  color: #94a3b8;
  font-size: 13px;
}

/* 인증 카드 제목 */
.auth-card-heading .auth-card-title {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.auth-card-heading .auth-card-title .auth-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  flex: 0 0 44px;
}

.auth-card-heading .auth-card-title h2 {
  margin: 0;
  line-height: 1.2;
}

.auth-card-heading .auth-card-title + p {
  margin-top: 0;
}

.service-pricing-row .service-price-card ul {
  flex: 1;
}

.service-comparison-section {
  padding-top: 20px;
  background: #f8fafc;
}

.service-comparison {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.service-comparison-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(3, minmax(150px, 1fr));
  border-bottom: 1px solid #e8edf4;
}

.service-comparison-row:last-child {
  border-bottom: 0;
}

.service-comparison-row > * {
  display: flex;
  min-height: 62px;
  padding: 16px 20px;
  border-right: 1px solid #e8edf4;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.service-comparison-row > *:last-child {
  border-right: 0;
}

.service-comparison-row > :first-child {
  justify-content: flex-start;
  text-align: left;
}

.service-comparison-head {
  color: #0f172a;
  background: #f8fafc;
  font-weight: 800;
}

.service-comparison-head .is-pro {
  color: #ffffff;
  background: #2563eb;
}

.service-comparison-row i {
  color: #16a34a;
  font-size: 18px;
}

.service-comparison-row .is-unavailable,
.service-comparison-row .is-unavailable i {
  color: #94a3b8;
}

.service-comparison-actions .btn {
  min-width: 108px;
}

.auth-mobile-verification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
}

.auth-mobile-code-area {
  margin-top: 10px;
}

.auth-mobile-code-button {
  min-height: 46px;
  white-space: nowrap;
}

.auth-mobile-verification-message {
  min-height: 20px;
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
}

.auth-mobile-verification-message.is-success {
  color: #047857;
}

.auth-mobile-verification-message.is-error {
  color: #dc2626;
}

.auth-mobile-verification-message.is-info {
  color: #2563eb;
}


.service-pricing-section {
  position: relative;
  overflow: hidden;
}



.service-price-card-top {
  position: relative;
  z-index: 1;
}

.service-price-feature-list {
  display: grid;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
  gap: 12px;
}

.service-price-feature-list li {
  display: flex;
  color: #475569;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.service-price-feature-list li > i {
  margin-top: 1px;
  color: #16a34a;
  flex: 0 0 auto;
  font-size: 18px;
}

.service-price-feature-list li.is-muted,
.service-price-feature-list li.is-muted > i {
  color: #94a3b8;
}

.service-pro-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0, #ffffff 42%);
}



.service-pro-price {
  display: flex;
  margin-bottom: 10px;
  align-items: flex-end;
  gap: 8px;
}

.service-pro-price strong {
  color: #1d4ed8;
  font-size: 30px;
  line-height: 1;
}

.service-pro-price span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.service-pro-payment-note {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.service-pro-highlight {
  position: relative;
  z-index: 1;
  padding: 18px;
  margin-top: 22px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
}

.service-pro-highlight > strong {
  display: block;
  margin-bottom: 13px;
  color: #1e3a8a;
  font-size: 13px;
}

.service-pro-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.service-pro-highlight-grid span {
  display: flex;
  min-width: 0;
  color: #334155;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}

.service-pro-highlight-grid i {
  color: #2563eb;
  flex: 0 0 auto;
  font-size: 17px;
}

.service-pro-feature-list {
  margin-top: 20px;
}

.service-pro-cta {
  min-height: 48px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .2);
}

.service-comparison-row .is-pro-value {
  color: #1d4ed8;
  background: #f8fbff;
  font-weight: 650;
}

.service-comparison-row .is-pro-value i {
  color: #2563eb;
}

.service-pro-bottom-cta {
  display: flex;
  padding: 28px 30px;
  margin-top: 28px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #1d4ed8, #2563eb 54%, #3b82f6);
  border-radius: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .18);
}

.service-pro-bottom-cta > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-pro-bottom-cta span {
  color: #bfdbfe;
  font-size: 13px;
}

.service-pro-bottom-cta strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.4;
}

.service-pro-bottom-cta .btn {
  color: #1d4ed8;
  background: #ffffff;
  border-color: #ffffff;
  flex: 0 0 auto;
  font-weight: 800;
}

.service-pro-bottom-cta .btn:hover,
.service-pro-bottom-cta .btn:focus {
  color: #1e40af;
  background: #eff6ff;
  border-color: #eff6ff;
}

@media (max-width: 767.98px) {
  .service-comparison {
    overflow-x: auto;
  }

  .service-comparison-row {
    min-width: 760px;
  }

  .service-pass-options {
    grid-template-columns: 1fr;
  }

  .customer-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .customer-footer-inner {
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .customer-footer-brand,
  .customer-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .service-security-visual {
    min-height: 240px;
    padding: 26px 18px;
  }

  .service-hero .service-hero-title {
    font-size: clamp(36px, 9vw, 46px);
  }

  .service-hero-title > span {
    white-space: normal;
  }

  .service-pricing-row .service-price-card {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .auth-mobile-verification {
    grid-template-columns: 1fr;
  }

  .customer-header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .customer-brand {
    font-size: 17px;
  }

  .customer-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 18px;
  }

  .customer-header-actions {
    gap: 6px;
  }

  .customer-header-actions .btn {
    min-height: 38px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .customer-header-actions .btn-light,
  .customer-header-actions .btn-outline-secondary {
    display: none;
  }

  .auth-card-heading .auth-card-title {
    gap: 10px;
  }

  .auth-card-heading .auth-card-title .auth-card-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .service-security-flow {
    gap: 7px;
  }

  .service-security-flow > i {
    display: none;
  }

  .service-security-visual .service-security-icon {
    width: 92px;
    height: 92px;
    border-radius: 25px;
  }

  .service-security-visual .service-security-icon i {
    font-size: 48px;
  }
}

.service-subpage-main {
  min-height: calc(100vh - 142px);
  padding: 64px 0 80px;
  background: #f8fafc;
}

.service-subpage-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.service-subpage-heading > span {
  color: #2563eb;
  font-weight: 700;
}

.service-subpage-heading h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
}

.service-subpage-heading p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
}

.service-notice-card {
  max-width: 720px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 34px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.service-notice-card > i {
  color: #2563eb;
  font-size: 48px;
}

.service-notice-card h2 {
  margin: 0 0 10px;
}

.service-notice-card p {
  color: #64748b;
  line-height: 1.75;
}

.service-checkout-card {
  display: block;
}

.service-checkout-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.service-checkout-title > i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 36px;
  line-height: 1;
}

.service-checkout-title h2 {
  margin: 0;
}

.service-checkout-title + p {
  margin-left: 48px;
}

.service-legal {
  max-width: 980px;
  padding: 44px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.service-legal h1 {
  margin-bottom: 8px;
  font-size: 38px;
}

.service-legal-date {
  padding-bottom: 24px;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}

.service-legal section {
  margin-top: 30px;
}

.service-legal h2 {
  font-size: 20px;
}

.service-legal section p {
  margin: 0;
  color: #475569;
  line-height: 1.85;
}

.service-profile-heading {
  margin-bottom: 32px;
}

.service-profile-card {
  max-width: 920px;
  padding: 38px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
}

.service-profile-section + .service-profile-section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.service-profile-section-title {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 14px;
}

.service-profile-section-title > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  font-size: 23px;
}

.service-profile-section-title h2 {
  margin: 0 0 3px;
  font-size: 20px;
}

.service-profile-section-title p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.service-profile-card .form-label {
  color: #334155;
  font-weight: 700;
}

.service-profile-card .form-control {
  min-height: 48px;
  border-color: #cbd5e1;
  border-radius: 10px;
}

.service-profile-card .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.service-profile-card .form-control:disabled {
  color: #64748b;
  background: #f1f5f9;
}

.service-profile-actions {
  display: flex;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid #e2e8f0;
  justify-content: flex-end;
  gap: 10px;
}

.service-profile-actions .btn {
  min-width: 132px;
  min-height: 44px;
  border-radius: 9px;
  font-weight: 700;
}


.service-legal h3 {
  margin: 20px 0 8px;
  color: #23334d;
  font-size: 17px;
}

.service-legal ul,
.service-legal ol {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #55667f;
  line-height: 1.8;
}

/* =========================================================
   5. Billing and Pro presentation
   ========================================================= */
/* BOMU 2026-07-30 로고·요금제·푸터 최종 UI 보완 */
.customer-brand-icon i,
.customer-footer-brand-icon i {
  color: #ffffff !important;
  line-height: 1;
}

.service-price-card.featured {
  overflow: visible;
}





.service-billing-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.service-billing-notice {
  display: inline-flex;
  padding: 8px 12px;
  margin-top: 18px;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
}

.service-billing-pricing-row .service-price-card {
  min-height: 560px;
}

.service-billing-pro-card {
  background: linear-gradient(180deg, #f8fbff 0, #ffffff 48%);
}
/* Pro 요금제 공통 강조 요소 */
.service-pricing-row {
  position: relative;
  isolation: isolate;
}

.service-price-card.featured {
  position: relative;
  z-index: 1;
  overflow: visible;
  isolation: isolate;
  border-color: #2563eb;
}

.service-price-card.featured > :not(.service-price-recommend) {
  position: relative;
  z-index: 2;
}



.service-price-card.featured > .service-price-recommend {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  transform: translateY(-50%);
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #eff6ff;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.service-pro-highlight-grid .ph-git-merge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* =========================================================
   6. Shared subpage alerts
   ========================================================= */
/* Customer alerts should fit their message instead of spanning the page. */
.service-subpage-main .customer-container > .alert,
.service-subpage-main .customer-container > form > .alert,
.service-subpage-main .service-notice-card .alert {
  width: fit-content;
  max-width: min(100%, 760px);
}

@media (max-width: 575.98px) {
  .service-subpage-main .customer-container > .alert,
  .service-subpage-main .customer-container > form > .alert,
  .service-subpage-main .service-notice-card .alert {
    width: 100%;
  }
}


/* =========================================================
   7. Responsive rules
   ========================================================= */

@media (max-width: 991.98px) {
  .customer-header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .customer-header-inner > .customer-nav,
  .customer-header-inner > .customer-header-actions {
    display: none !important;
  }

  .customer-mobile-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    color: var(--customer-text);
    background: transparent;
    border: 0;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
  }

  .customer-mobile-toggle:hover,
  .customer-mobile-toggle:focus,
  .customer-mobile-toggle:active {
    color: var(--customer-primary);
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: 0;
  }

  .customer-mobile-toggle i {
    display: block;
    font-size: 28px;
    line-height: 1;
  }

  .customer-brand {
    min-width: 0;
    font-size: 17px;
  }

  .customer-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: 0 0 34px;
    font-size: 18px;
  }

  .customer-footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .customer-footer-brand-block {
    max-width: none;
  }

  .service-billing-pricing-row .service-price-card {
    min-height: 0;
  }

  .service-pro-bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .customer-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .customer-footer-inner {
    padding-top: 34px;
    padding-bottom: 24px;
    text-align: left;
  }

  .customer-footer-top {
    padding-bottom: 28px;
    gap: 30px;
  }

  .customer-footer-company {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .customer-footer-company-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .customer-footer-company-address {
    grid-column: auto;
  }

  .customer-footer-bottom {
    padding-top: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .customer-footer-links {
    flex-wrap: wrap;
  }

  .customer-footer-copyright {
    text-align: left;
  }

  .service-comparison {
    overflow-x: auto;
  }

  .service-comparison-row {
    min-width: 760px;
  }

  .service-pass-options {
    grid-template-columns: 1fr;
  }

  .service-security-visual {
    min-height: 240px;
    padding: 26px 18px;
  }

  .service-hero .service-hero-title {
    font-size: clamp(36px, 9vw, 46px);
  }

  .service-hero-title > span {
    white-space: normal;
  }

  .service-pricing-row .service-price-card {
    min-height: 0;
  }

  .service-pro-highlight-grid {
    grid-template-columns: 1fr;
  }

  .service-pro-bottom-cta {
    padding: 24px 20px;
  }

  .service-pro-bottom-cta .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .auth-mobile-verification {
    grid-template-columns: 1fr;
  }

  .customer-header-actions {
    gap: 6px;
  }

  .customer-header-actions .btn {
    min-height: 38px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .customer-header-actions .btn-light,
  .customer-header-actions .btn-outline-secondary {
    display: none;
  }

  .auth-card-heading .auth-card-title {
    gap: 10px;
  }

  .auth-card-heading .auth-card-title .auth-card-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .service-security-flow {
    gap: 7px;
  }

  .service-security-flow > i {
    display: none;
  }

  .service-security-visual .service-security-icon {
    width: 92px;
    height: 92px;
    border-radius: 25px;
  }

  .service-security-visual .service-security-icon i {
    font-size: 48px;
  }

  .service-subpage-main .customer-container > .alert,
  .service-subpage-main .customer-container > form > .alert,
  .service-subpage-main .service-notice-card .alert {
    width: 100%;
  }
}

@media (max-width: 359.98px) {
  .customer-brand > span:last-child {
    display: none;
  }
}

/* =========================================================
   8. Mobile drawer
   ========================================================= */

.customer-mobile-toggle {
  display: none;
}

.customer-mobile-drawer-backdrop {
  position: fixed;
  z-index: 1070;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  visibility: hidden;
  contain: layout style;
  background: rgba(15, 23, 42, .58);
  opacity: 0;
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.customer-mobile-drawer-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.customer-mobile-drawer {
  position: fixed;
  z-index: 1080;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100dvh;
  visibility: hidden;
  contain: layout style;
  overflow: hidden;
  background: #ffffff;
  box-shadow: -18px 0 42px rgba(15, 23, 42, .24);
  opacity: .98;
  transform: translateX(100%);
  transition:
    transform .24s cubic-bezier(.2, .8, .2, 1),
    visibility .24s ease;
}

.customer-mobile-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

body.customer-mobile-drawer-open {
  overflow: hidden;
  touch-action: none;
}

.customer-mobile-drawer-header {
  display: flex;
  min-height: 72px;
  padding: 14px 16px 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.customer-mobile-drawer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.customer-mobile-drawer-brand > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.customer-mobile-drawer-brand strong {
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-mobile-drawer-brand span {
  color: #8492a6;
  font-size: 12px;
}

.customer-mobile-drawer-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 21px;
}

.customer-mobile-drawer-body {
  height: calc(100dvh - 72px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.customer-mobile-drawer .customer-mobile-nav {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
}

.customer-mobile-drawer .customer-mobile-nav > a {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 14px 48px 14px 20px;
  color: #334155;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  box-shadow: none;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color .16s ease,
    background-color .16s ease;
}

.customer-mobile-drawer .customer-mobile-nav > a::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #94a3b8;
  font-family: "Phosphor";
  font-size: 16px;
  content: "\e13a";
  transform: translateY(-50%);
}

.customer-mobile-drawer .customer-mobile-nav > a > i,
.customer-mobile-drawer .customer-mobile-auth .btn > i {
  display: inline-flex;
  width: 22px;
  color: #64748b;
  flex: 0 0 22px;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}

.customer-mobile-drawer .customer-mobile-nav > a:hover,
.customer-mobile-drawer .customer-mobile-nav > a:focus,
.customer-mobile-drawer .customer-mobile-auth .btn:hover,
.customer-mobile-drawer .customer-mobile-auth .btn:focus {
  color: #1d4ed8;
  background: #f8fafc;
}

.customer-mobile-drawer .customer-mobile-nav > a.active,
.customer-mobile-drawer
  .customer-mobile-nav
  > a[data-customer-guest-section].active,
.customer-mobile-drawer
  .customer-mobile-auth
  a[data-customer-guest-page].active {
  position: relative;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border-bottom-color: #dbeafe !important;
}

.customer-mobile-drawer .customer-mobile-nav > a.active::before,
.customer-mobile-drawer
  .customer-mobile-nav
  > a[data-customer-guest-section].active::before,
.customer-mobile-drawer
  .customer-mobile-auth
  a[data-customer-guest-page].active::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #2563eb;
  content: "";
}

.customer-mobile-drawer .customer-mobile-nav > a.active > i,
.customer-mobile-drawer
  .customer-mobile-nav
  > a[data-customer-guest-section].active > i,
.customer-mobile-drawer
  .customer-mobile-auth
  a[data-customer-guest-page].active > i {
  color: #2563eb;
}

.customer-mobile-drawer .customer-mobile-logout {
  width: 100%;
  margin: 0;
  color: #b42318 !important;
  border-bottom: 1px solid #fee2e2 !important;
}

.customer-mobile-drawer .customer-mobile-logout::after {
  display: none;
}

.customer-mobile-drawer .customer-mobile-auth {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
}

.customer-mobile-drawer .customer-mobile-auth .btn {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 14px 20px;
  color: #334155;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  box-shadow: none;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.customer-mobile-drawer .customer-mobile-auth .btn::before {
  display: none;
  content: none;
}

@supports not (height: 100dvh) {
  .customer-mobile-drawer-backdrop,
  .customer-mobile-drawer {
    height: 100vh;
  }
}

@media (min-width: 992px) {
  .customer-header-inner {
    position: relative;
  }

  .customer-header-inner > .customer-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: auto;
    transform: translateX(-50%);
    justify-content: center;
  }
}
