:root {
  --bg: #050a16;
  --bg-soft: #0f1a30;
  --text: #f4f8ff;
  --muted: #b7c7df;
  --gold: #9fe6ff;
  --line: rgba(134, 201, 255, 0.24);
  --line-soft: rgba(255, 255, 255, 0.12);
  --panel: rgba(3, 8, 20, 0.58);
  --overlay: linear-gradient(to top, rgba(2, 4, 10, 0.82), rgba(2, 4, 10, 0.38) 52%, rgba(2, 4, 10, 0.14));
}

/* Customer entrance: the existing Bright Pearl assets with a quiet, readable hierarchy. */
.customer-entry { --bg: #101917; --text: #f3f0e7; --muted: #c0c9c2; --gold: #e2cb97; --line: #46554b; }
.customer-entry .top-rail { position: relative; padding: 22px max(24px, calc((100vw - 1240px) / 2)); background: #101917; border-color: #38463d; backdrop-filter: none; }
.customer-entry .wordmark { font-size: 14px; letter-spacing: .04em; text-transform: none; }
.customer-entry .top-nav a { background: none; border: 0; border-radius: 4px; font-size: 13px; min-height: 44px; padding: 12px 8px; }
.customer-entry .lang-shell { background: none; border-color: #536257; border-radius: 6px; letter-spacing: 0; text-transform: none; }
.customer-entry select option { background: #101917; color: #f3f0e7; }
.customer-entry .snap-shell { height: auto; overflow: visible; scroll-snap-type: none; max-width: 1240px; margin: 0 auto; }
.customer-entry .panel-slide { min-height: 0; padding: 64px 32px; align-items: center; background: none; scroll-margin-top: 20px; }
.customer-entry .panel-slide::before { display: none; }
.customer-entry .panel-inner { width: 100%; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; box-shadow: none; }
.customer-entry .hero-slide { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: 56px; padding-block: 76px 96px; }
.customer-entry .headline { max-width: 13ch; font-size: clamp(38px, 5vw, 70px); line-height: 1.17; letter-spacing: -.04em; font-weight: 600; text-shadow: none; text-wrap: balance; word-break: keep-all; }
.customer-entry .body-copy { max-width: 62ch; margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.customer-entry .eyebrow { letter-spacing: .1em; font-size: 12px; font-weight: 600; text-transform: none; }
.customer-entry .section-title { font-size: clamp(27px, 3vw, 39px); line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.customer-entry .action-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.customer-entry .btn-primary, .customer-entry .btn-ghost { min-height: 48px; border-radius: 7px; padding: 13px 20px; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background .18s ease, transform .18s ease; }
.customer-entry .btn-primary { background: #e2cb97; border-color: #e2cb97; color: #15221b; }
.customer-entry .btn-ghost { background: none; border-color: #7c8d7f; color: #f3f0e7; }
.customer-entry .btn-primary:hover { background: #f1ddb2; }
.customer-entry .btn-ghost:hover { background: #233229; }
.customer-entry .btn-primary:active, .customer-entry .btn-ghost:active { transform: translateY(1px); }
.customer-entry .entry-hint { color: #bbc5bb; margin: 18px 0 0; font-size: 13px; line-height: 1.7; }
.entry-brand { text-align: center; color: #d7c28f; font-size: 12px; letter-spacing: .15em; }
.entry-brand img { display: block; width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; margin: 0 auto 18px; border-radius: 50%; }
.customer-entry .modules-slide, .customer-entry .security-slide, .customer-entry .boundary-slide { border-top: 1px solid #3a493f; }
.customer-entry .module-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 0 40px; margin-top: 32px; }
.customer-entry .module-card { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px 14px; min-width: 0; padding: 27px 0; border: 0; border-top: 1px solid #3b4a40; border-radius: 0; background: none; box-shadow: none; color: var(--text); transform: none; }
.customer-entry .module-card:hover { background: #18251d; transform: none; }
.customer-entry .module-kicker { color: #d6c291; font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 5px; }
.customer-entry .module-title { margin: 0; font-size: 19px; line-height: 1.5; color: #f3f0e7; }
.customer-entry .module-copy { grid-column: 2 / 4; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.customer-entry .module-link { grid-column: 3; grid-row: 1; margin: 4px 0 0; font-size: 12px; color: #e2cb97; }
.text-link { color: #e2cb97; text-decoration-thickness: 1px; text-underline-offset: 5px; padding: 12px 0; min-height: 44px; font-size: 14px; }
.customer-entry .footer-note { color: #b5c1b5; margin-top: 48px; }
.customer-entry :is(a, button, input, select, summary):focus-visible { outline: 3px solid #e2cb97; outline-offset: 5px; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -90px; z-index: 40; padding: 14px; background: #f3f0e7; color: #15221b; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.entry-notice { border-inline-start: 3px solid #e2cb97; padding: 8px 16px; margin-top: 24px; background: #253027; font-size: 14px; line-height: 1.7; }
.entry-notice button { border: 0; padding: 10px 0; background: none; color: #e2cb97; cursor: pointer; text-decoration: underline; min-height: 44px; }
.entry-notice[hidden] { display: none; }
@media (max-width: 900px) {
  .customer-entry .top-rail { flex-wrap: wrap; padding: 18px 22px; }
  .customer-entry .top-nav { order: 3; width: 100%; }
  .customer-entry .hero-slide { gap: 20px; grid-template-columns: minmax(0, 1fr) 170px; }
}
@media (max-width: 600px) {
  .customer-entry .panel-slide { padding: 44px 22px; }
  .customer-entry .hero-slide { display: block; padding-top: 42px; }
  .customer-entry .entry-brand { display: none; }
  .customer-entry .headline { font-size: clamp(34px, 9vw, 46px); }
  .customer-entry .top-actions { gap: 6px; }
  .customer-entry .top-actions .btn-ghost { min-height: 44px; padding: 9px 12px; font-size: 12px; }
  .customer-entry .module-track { grid-template-columns: 1fr; }
  .customer-entry .body-copy { font-size: 15px; }
  .customer-entry .hero-slide .action-row { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-entry *, .customer-entry *::before, .customer-entry *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Avenir Next", "Pretendard Variable", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.top-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  background: linear-gradient(to bottom, rgba(4, 12, 26, 0.92), rgba(4, 12, 26, 0.38));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wordmark {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-nav a {
  color: #ecf6ff;
  text-decoration: none;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-shell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d2deef;
  font-weight: 700;
}

.lang-shell select {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.btn-primary,
.btn-ghost {
  min-height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.btn-primary {
  border-color: rgba(138, 220, 255, 0.7);
  background: linear-gradient(130deg, #3fa9d5, #2a7eb4);
  color: #f6fcff;
}

.btn-ghost {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  color: #f0f3fb;
}

.snap-shell {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.panel-slide {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 90px 36px 42px;
}

.panel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-slide {
  background:
    radial-gradient(circle at 15% 15%, rgba(124, 208, 255, 0.18), transparent 34%),
    linear-gradient(120deg, rgba(16, 26, 44, 0.26), rgba(8, 11, 17, 0.58)),
    url("/media/bright-pearl-origin.jpg") center center / cover no-repeat;
}

.modules-slide {
  background:
    radial-gradient(circle at 80% 20%, rgba(110, 221, 255, 0.14), transparent 42%),
    linear-gradient(120deg, rgba(14, 22, 36, 0.42), rgba(7, 10, 16, 0.62)),
    url("/media/simple-symbol.jpg") center center / cover no-repeat;
}

.security-slide {
  background:
    radial-gradient(circle at 20% 20%, rgba(231, 197, 142, 0.18), transparent 42%),
    radial-gradient(circle at 84% 74%, rgba(137, 184, 255, 0.2), transparent 46%),
    linear-gradient(145deg, #0b1322, #0f1a2f 46%, #121a2b);
}

.boundary-slide {
  background:
    linear-gradient(120deg, rgba(14, 18, 28, 0.42), rgba(9, 13, 21, 0.66)),
    url("/media/bright-pearl-symbol.jpg") center center / cover no-repeat;
}

.panel-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  border-radius: 26px;
  padding: 22px;
  box-shadow:
    0 16px 40px rgba(2, 14, 34, 0.45),
    inset 0 1px 0 rgba(190, 233, 255, 0.2);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.headline {
  margin: 12px 0 0;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.95;
  font-weight: 650;
  text-shadow: 0 8px 28px rgba(46, 140, 198, 0.28);
}

.sub-headline {
  margin: 12px 0 0;
  font-size: clamp(21px, 2.4vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  color: #f4e6cc;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 600;
}

.body-copy {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 860px;
  line-height: 1.72;
  font-size: 14px;
}

.chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d5deee;
}

.action-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-track {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid rgba(128, 212, 255, 0.3);
  background: linear-gradient(130deg, rgba(16, 36, 64, 0.82), rgba(8, 17, 33, 0.82));
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(180, 232, 255, 0.14);
}

.module-card:hover {
  border-color: rgba(142, 221, 255, 0.82);
}

.module-kicker {
  color: #8be4ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  margin: 0;
}

.module-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.module-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.58;
  color: var(--muted);
}

.module-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.module-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px 9px;
  font-size: 10px;
  color: #d7e2f4;
}

.module-link {
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(152, 225, 255, 0.5);
  color: #eaf9ff;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sector-tape {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-pill {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  color: #d1e5f7;
  background: rgba(255, 255, 255, 0.04);
}

.principle-grid,
.boundary-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principle-card,
.boundary-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: linear-gradient(130deg, rgba(15, 22, 37, 0.84), rgba(7, 10, 15, 0.8));
  padding: 14px;
}

.card-kicker {
  margin: 0;
  color: #8fb3f0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-title {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.card-body {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-note {
  margin-top: 16px;
  color: #b9c4d7;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .module-track,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .top-rail {
    flex-wrap: wrap;
    padding: 12px;
  }

  .top-nav {
    order: 3;
    width: 100%;
  }

  .panel-slide {
    padding: 118px 12px 20px;
  }

  .panel-inner {
    padding: 16px;
  }

  .module-track,
  .principle-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .headline {
    font-size: clamp(46px, 16vw, 84px);
  }
}
