/* EBS AD Landing — temporary preview page */
:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --text: #f5f5f5;
  --text-muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #e8eef8;
  --glow: rgba(180, 210, 255, 0.18);
  --ebs-green: #a1ce61;
  --ebs-orange: #f7941e;
  --ebs-blue: #2f6fed;
  --header-h: 72px;
  --util-h: 38px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Paperlogy", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  scroll-padding-top: calc(var(--util-h) + var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  max-width: 100%;
  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;
}

/* ---------- Top chrome (text always visible; bg on scroll) ---------- */
.top-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.top-chrome.is-scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Utility bar ---------- */
.util-bar {
  position: relative;
  z-index: 1;
  height: var(--util-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.top-chrome.is-scrolled .util-bar {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.util-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.util-bar__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.util-bar__brand:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.util-bar__brand img {
  display: block;
  height: 14px;
  width: auto;
  filter: none;
  opacity: 1;
}

.util-bar a:hover {
  color: #fff;
}

.util-bar__links .util-link--orange:hover {
  color: var(--ebs-orange);
}

.util-bar__links .util-link--green:hover {
  color: var(--ebs-green);
}

.util-bar__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  line-height: 1;
}

.util-bar__links span {
  opacity: 0.35;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 1;
  height: var(--header-h);
  background: transparent;
  border-bottom: 0;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 900;
  letter-spacing: normal;
  line-height: 1;
  white-space: nowrap;
}

.logo span {
  font-weight: 900;
  background: linear-gradient(180deg, #fff 20%, #b8c4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gnb {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.gnb a {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s ease;
}

.gnb a:hover {
  color: var(--ebs-green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open i:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.is-open i:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open i:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 96px;
  background: #050505;
}

.hero__media,
.hero__fx,
.hero__vignette,
.hero__grain,
.hero__scan {
  position: absolute;
  inset: -2px;
  pointer-events: none;
}

.hero__yt {
  position: absolute;
  inset: -2px;
  overflow: hidden;
  background: #050505;
}

/* 비율·크기는 JS가 .hero__yt 기준으로 cover 맞춤 */
.hero__yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.58;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: width, height, transform;
}

.hero__fx {
  opacity: 0.55;
}

.hero__fx::before,
.hero__fx::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__fx::before {
  width: min(62vw, 720px);
  height: min(62vw, 720px);
  top: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(120, 160, 220, 0.35), transparent 68%);
}

.hero__fx::after {
  width: min(50vw, 560px);
  height: min(50vw, 560px);
  right: -8%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(90, 120, 180, 0.28), transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.22) 0%, rgba(5, 5, 5, 0.48) 55%, rgba(5, 5, 5, 0.88) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(2) infinite;
}

.hero__scan {
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(180, 210, 255, 0.03) 48%,
    transparent 52%,
    transparent 100%
  );
  animation: scan 9s linear infinite;
  opacity: 0.55;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.08);
  }
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-1%, 1%);
  }
}

@keyframes scan {
  from {
    transform: translateY(-30%);
  }
  to {
    transform: translateY(30%);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 0;
  text-align: left;
}

@media (min-width: 1025px) {
  .hero__content {
    /* PC: 큰 타이틀 한 줄('광고 제작비 포함 900만원') 수용 */
    max-width: min(100%, 1280px);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 22px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero__title {
  margin: 0 0 22px;
  height: calc(1.08em * 3);
  min-height: calc(1.08em * 3);
  font-size: clamp(1.5rem, 4.6vw, 3.85rem);
  font-weight: 900;
  letter-spacing: normal;
  line-height: 1.08;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: normal;
  background: linear-gradient(180deg, #ffffff 10%, #d7dee8 55%, #9eacc0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1025px) {
  .hero__title {
    /* PC 원래 강조 사이즈 유지 */
    font-size: clamp(2.5rem, 6.4vw, 4.85rem);
  }
}

.hero__typed {
  /* \n 에서만 줄바꿈 — '광고 제작비 포함 900만원' 한 줄 유지 */
  white-space: pre;
}

.hero__caret {
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: rgba(230, 240, 255, 0.92);
  box-shadow: 0 0 12px rgba(180, 210, 255, 0.55);
  animation: caret-blink 0.9s steps(1) infinite;
}

@keyframes caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 640px;
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: var(--text-muted);
}

.hero__lead-x {
  display: inline-block;
  margin: 0 0.15em;
  font-size: 0.72em;
  font-weight: 500;
  line-height: 1;
  vertical-align: 0.08em;
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.hero__slider-dots button {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, width 0.25s ease;
}

.hero__slider-dots button.is-active {
  width: 42px;
  background: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px 0 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .btn__icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(180deg, #ffa03a 0%, var(--ebs-orange) 100%);
  color: #fff;
  border: 1px solid rgba(255, 180, 90, 0.65);
  box-shadow: 0 12px 28px rgba(247, 148, 30, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 16px 36px rgba(247, 148, 30, 0.48);
}

.btn--primary .btn__icon {
  filter: brightness(0) invert(1);
}

.btn--accent {
  background: linear-gradient(180deg, #b8e070 0%, var(--ebs-green) 100%);
  color: #1a2a0a;
  border: 1px solid rgba(200, 235, 140, 0.55);
  box-shadow: 0 12px 28px rgba(161, 206, 97, 0.32);
}

.btn--accent:hover {
  box-shadow: 0 16px 36px rgba(161, 206, 97, 0.45);
}

.btn--accent .btn__icon {
  filter: none;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.btn--cta {
  min-height: 64px;
  padding: 0 32px;
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(180deg, #5b9dff 0%, var(--ebs-blue) 100%);
  color: #fff;
  border: 1px solid rgba(120, 170, 255, 0.65);
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.35);
}

.btn--cta:hover {
  box-shadow: 0 16px 36px rgba(47, 111, 237, 0.48);
}

.btn--cta .btn__icon {
  filter: brightness(0) invert(1);
}

.btn--kakao {
  --kakao-yellow: #fee500;
  --kakao-ink: #191919;
  min-height: 64px;
  padding: 0 32px;
  font-size: 17px;
  font-weight: 800;
  background: var(--kakao-yellow);
  color: var(--kakao-ink);
  border: 1px solid #f0d800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn--kakao:hover {
  background: #ffe566;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.btn--kakao .btn__icon--kakao {
  filter: none;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 96px 0;
  overflow-x: hidden;
  scroll-margin-top: calc(var(--util-h) + var(--header-h) + 16px);
}

.section--tight {
  padding-top: 40px;
}

.section__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ebs-green);
}

#process .section__eyebrow,
#consult .section__eyebrow {
  color: var(--ebs-orange);
}

.section__title {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding-bottom: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: break-word;
  --title-beam: var(--ebs-green);
}

#process .section__title,
#consult .section__title {
  --title-beam: var(--ebs-orange);
}

/* short soft streak at title's right → flies to screen edge */
.section__title::after {
  content: "";
  position: absolute;
  top: 0.62em;
  left: calc(100% + 14px);
  width: 48px;
  height: 1px;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--title-beam) 35%, transparent) 18%,
    var(--title-beam) 48%,
    #fff 52%,
    var(--title-beam) 58%,
    color-mix(in srgb, var(--title-beam) 35%, transparent) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 4px color-mix(in srgb, var(--title-beam) 55%, transparent),
    0 0 10px color-mix(in srgb, var(--title-beam) 35%, transparent);
  opacity: 0;
  transform: translateX(-24px);
  filter: blur(0.2px);
  will-change: transform, opacity;
}

.section__title.is-beam::after {
  animation: title-beam-shot 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes title-beam-shot {
  0% {
    opacity: 0;
    transform: translateX(-24px) scaleX(0.7);
  }
  8% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(720px) scaleX(0.85);
  }
}

.section__desc {
  margin: 0 0 40px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section__desc,
.feature p,
.process-item p,
.hero__lead,
.footer__info,
.consult__note {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid--orange {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid--green {
  grid-template-columns: repeat(3, 1fr);
}

.feature-plus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 48px 0 40px;
  text-align: center;
}

.feature-plus__mark {
  font-size: clamp(3.6rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  letter-spacing: normal;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
}

.feature-plus__text {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  word-break: keep-all;
  letter-spacing: normal;
}

.feature {
  --feature-accent: var(--ebs-orange);
  --feature-accent-soft: #ffb14a;
  padding: 28px 22px;
  border: 1px solid var(--feature-accent);
  border-radius: 18px;
  background: #000;
  box-shadow: none;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
  animation: feature-rollover 8s ease-in-out infinite;
}

.feature--orange {
  --feature-accent: var(--ebs-orange);
  --feature-accent-soft: #ffb14a;
}

.feature--green {
  --feature-accent: var(--ebs-green);
  --feature-accent-soft: #b8e07a;
}

.feature-grid--orange .feature:nth-child(1) { animation-delay: 0s; }
.feature-grid--orange .feature:nth-child(2) { animation-delay: 1.5s; }
.feature-grid--orange .feature:nth-child(3) { animation-delay: 3s; }
.feature-grid--orange .feature:nth-child(4) { animation-delay: 4.5s; }

.feature-grid--green .feature:nth-child(1) { animation-delay: 0.6s; }
.feature-grid--green .feature:nth-child(2) { animation-delay: 2.1s; }
.feature-grid--green .feature:nth-child(3) { animation-delay: 3.6s; }

.feature strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--feature-accent);
  word-break: keep-all;
}

.feature--value strong {
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: keep-all;
}

@keyframes feature-rollover {
  0%,
  12%,
  100% {
    transform: translateY(0);
    border-color: var(--feature-accent);
    background: #000;
  }
  4%,
  8% {
    transform: translateY(-8px);
    border-color: var(--feature-accent-soft);
    background: #000;
  }
}

.feature:hover {
  animation: none;
  transform: translateY(-8px);
  border-color: var(--feature-accent-soft);
  background: #000;
  box-shadow: none;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 26px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  min-height: 168px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s ease,
    background 0.3s ease;
}

.process-item__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f3f4f6;
  transition: background 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.process-item__icon img {
  width: 26px;
  height: 26px;
  display: block;
  transition: filter 0.3s ease, transform 0.3s var(--ease);
}

.process-item h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: #151515;
  transition: color 0.3s ease;
}

.process-item p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(20, 20, 20, 0.62);
  line-height: 1.55;
}

.process-item--orange {
  border-color: #f7941e;
}

.process-item--green {
  border-color: #a1ce61;
}

.process-item--orange .process-item__icon {
  background: color-mix(in srgb, #f7941e 14%, #fff);
}

.process-item--green .process-item__icon {
  background: color-mix(in srgb, #a1ce61 16%, #fff);
}

.process-item--orange .process-item__icon img {
  filter: invert(56%) sepia(78%) saturate(1200%) hue-rotate(360deg) brightness(98%) contrast(96%);
}

.process-item--green .process-item__icon img {
  filter: invert(74%) sepia(28%) saturate(700%) hue-rotate(36deg) brightness(95%) contrast(90%);
}

.process-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.process-item--orange:hover {
  border-color: #f7941e;
  box-shadow: 0 18px 42px color-mix(in srgb, #f7941e 22%, transparent);
}

.process-item--green:hover {
  border-color: #a1ce61;
  box-shadow: 0 18px 42px color-mix(in srgb, #a1ce61 24%, transparent);
}

.process-item:hover .process-item__icon {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.process-item--orange:hover .process-item__icon {
  background: #f7941e;
}

.process-item--green:hover .process-item__icon {
  background: #a1ce61;
}

.process-item--orange:hover .process-item__icon img,
.process-item--green:hover .process-item__icon img {
  filter: brightness(0) invert(1);
  transform: scale(1.05);
}

.process-item:hover h3 {
  color: #0d0d0d;
}

/* Light band — Process */
.section--light {
  background: #fff;
  color: #141414;
}

.section--light .section__desc {
  color: rgba(20, 20, 20, 0.62);
}

.section--light .section__title {
  color: #111;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.process-video {
  margin-top: 48px;
}

.process-video__frame {
  width: min(100%, 1000px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.process-video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Sample videos (YouTube) ---------- */
.sample-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.sample-video {
  width: min(100%, 1000px);
  margin-inline: auto;
}

.sample-video__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.sample-video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sample-video__title {
  margin: 14px 0 0;
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Consult CTA ---------- */
.consult {
  padding: 40px 0 120px;
  scroll-margin-top: calc(var(--util-h) + var(--header-h) + 16px);
}

.consult__panel {
  position: relative;
  overflow: visible;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(120, 160, 230, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(80, 110, 180, 0.14), transparent 50%),
    linear-gradient(145deg, #101318 0%, #07080a 55%, #050505 100%);
  text-align: center;
}

.consult__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.04) 48%,
    transparent 60%
  );
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sheen {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.7;
  }
}

.consult__panel > * {
  position: relative;
  z-index: 1;
}

.consult__panel .section__title {
  margin-inline: auto;
  text-align: center;
}

.consult__panel .section__desc {
  margin-inline: auto;
  margin-bottom: 32px;
}

.consult__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.consult__note {
  margin: 22px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Scroll hint (viewport bottom center) ---------- */
.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 900;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease), visibility 0.35s ease, background 0.2s ease, border-color 0.2s ease;
}

.scroll-hint.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.scroll-hint:hover,
.scroll-hint:focus-visible {
  background: rgba(20, 20, 20, 0.62);
  border-color: rgba(255, 255, 255, 0.7);
  outline: none;
}

.scroll-hint__mouse {
  position: relative;
  display: block;
  width: 18px;
  height: 28px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  box-sizing: border-box;
}

.scroll-hint__wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 2.5px;
  height: 6px;
  margin-left: -1.25px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  animation: scroll-hint-wheel 1.45s var(--ease) infinite;
}

.scroll-hint__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
}

@keyframes scroll-hint-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(8px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ---------- Floating Kakao consult CTA ---------- */
.float-consult {
  --kakao-yellow: #fee500;
  --kakao-ink: #191919;
  position: fixed;
  right: 20px;
  bottom: 72px;
  z-index: 950;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--kakao-yellow);
  color: var(--kakao-ink);
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    width 0.35s var(--ease),
    padding 0.35s var(--ease),
    border-radius 0.35s var(--ease),
    gap 0.35s var(--ease),
    opacity 0.3s ease,
    transform 0.35s var(--ease),
    visibility 0.3s ease,
    background 0.2s ease;
}

.float-consult.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.float-consult:hover,
.float-consult:focus-visible {
  width: 188px;
  padding: 0 20px 0 14px;
  border-radius: 999px;
  gap: 10px;
  justify-content: flex-start;
  background: #ffe566;
  outline: none;
}

.float-consult__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.float-consult__icon img {
  width: 26px;
  height: 26px;
  display: block;
}

.float-consult__label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: normal;
  word-break: keep-all;
  transition: max-width 0.35s var(--ease), opacity 0.25s ease;
}

.float-consult:hover .float-consult__label,
.float-consult:focus-visible .float-consult__label {
  max-width: 130px;
  opacity: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  background: #040404;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 48px;
}

.footer__company {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 22px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.footer__logo:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
}

.footer__logo img {
  display: block;
  height: 28px;
  width: auto;
  filter: none;
  opacity: 1;
}

.footer__text {
  flex: 1 1 280px;
}

.footer__name {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  word-break: keep-all;
}

.footer__agency {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  vertical-align: middle;
}

.footer__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.footer__meta--mo {
  display: none;
}

.footer__meta a {
  color: rgba(255, 255, 255, 0.78);
}

.footer__meta a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__links a:hover {
  color: #fff;
}

.footer__sns {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-left: auto;
}

.footer__sns-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.footer__sns-label a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__sns-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__sns-icons a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__sns-icons a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.footer__sns-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer__row {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .footer__company {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }

  .footer__logo {
    width: auto;
    align-self: flex-start;
    margin-top: 0;
    height: 44px;
    padding: 0 16px;
  }

  .footer__logo img {
    height: 24px;
  }

  .footer__text {
    flex: none;
    width: 100%;
  }

  .footer__meta--pc {
    display: none;
  }

  .footer__meta--mo {
    display: block;
  }

  .footer__sns {
    align-items: center;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .footer__sns-icons {
    justify-content: center;
  }
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(92vh, 980px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal__tools {
  display: flex;
  gap: 8px;
}

.modal__tool,
.modal__close {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 20, 0.8);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.modal__tool:hover,
.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal__stage {
  position: relative;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  max-height: calc(92vh - 70px);
  touch-action: none;
  cursor: grab;
}

.modal__stage.is-dragging {
  cursor: grabbing;
}

.modal__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 760px);
  padding: 16px;
  transform-origin: center center;
  transition: transform 0.15s ease-out;
}

.modal__img-wrap img {
  width: auto;
  height: auto;
  max-width: min(100%, 860px);
  max-height: min(78vh, 860px);
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}

body.modal-open {
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-videos {
    gap: 22px;
  }

  .sample-video__frame {
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .float-consult {
    right: 12px;
    bottom: 56px;
    width: 56px;
    height: 56px;
  }

  .scroll-hint {
    bottom: 22px;
    padding: 9px 14px 9px 11px;
    gap: 8px;
  }

  .scroll-hint__mouse {
    width: 16px;
    height: 25px;
  }

  .scroll-hint__label {
    font-size: 11px;
  }

  .float-consult:hover,
  .float-consult:focus-visible {
    width: 172px;
  }

  .float-consult__label {
    font-size: 13px;
  }

  .util-bar__links span:nth-child(even),
  .util-bar__links a:nth-child(n + 5) {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .gnb {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .gnb.is-open {
    display: flex;
  }

  .gnb a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
  }

  .gnb a:hover {
    color: var(--ebs-green);
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--util-h) + var(--header-h) + 20px) 0 56px;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  .badge {
    margin-bottom: 16px;
  }

  .hero__title {
    font-size: clamp(1.35rem, 5.4vw, 2.2rem);
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .feature-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .sample-videos {
    gap: 18px;
  }

  .sample-video__frame {
    border-radius: 14px;
  }

  .feature-grid--orange,
  .feature-grid--green {
    grid-template-columns: 1fr 1fr;
  }

  .feature-plus {
    margin: 40px 0 32px;
  }

  .feature-plus__mark {
    font-size: clamp(3.2rem, 12vw, 4.4rem);
  }

  .feature-plus__text {
    font-size: clamp(1.55rem, 6.5vw, 2.2rem);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .consult__panel {
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .feature-grid,
  .feature-grid--orange,
  .feature-grid--green {
    grid-template-columns: 1fr;
  }

  .sample-videos {
    gap: 16px;
  }

  .sample-video__frame {
    border-radius: 12px;
  }

  .hero__actions,
  .consult__actions {
    flex-direction: column;
  }

  .btn,
  .btn--cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__fx::before,
  .hero__fx::after,
  .hero__grain,
  .hero__scan,
  .hero__caret,
  .consult__panel::before,
  .section__title.is-beam::after,
  .feature,
  .scroll-hint__wheel {
    animation: none;
  }

  .section__title::after {
    display: none;
  }
}


/* ---------- Inquiry modal ---------- */
.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.inquiry-modal.is-open {
  display: flex;
}
.inquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.inquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 22px;
  border: 2px solid var(--ebs-blue);
  background: #0d0d0d;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.inquiry-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.inquiry-modal__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.inquiry-modal__x {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.inquiry-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.inquiry-field--full {
  margin-top: 12px;
}
.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #161616;
  color: #fff;
  padding: 12px 14px;
  font: inherit;
}
.inquiry-field textarea {
  resize: vertical;
  min-height: 120px;
}
.inquiry-captcha {
  grid-column: 1 / -1;
  margin: 4px 0 8px;
}
.inquiry-captcha #captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.inquiry-captcha #captcha legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}
.inquiry-captcha #captcha_img,
.inquiry-captcha #captcha.m_captcha #captcha_img,
.inquiry-captcha.m_captcha #captcha_img {
  display: inline-block;
  width: auto;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  vertical-align: middle;
  padding: 0;
  margin: 0;
  background: #fff;
  flex: 0 0 auto;
}
.inquiry-captcha #captcha_mp3,
.inquiry-captcha #captcha_reload {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent url("../img/captcha2.png") no-repeat;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  text-indent: -999px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.inquiry-captcha #captcha_reload {
  background-position: 0 -40px;
}
.inquiry-captcha #captcha_key {
  margin: 0;
  padding: 0 5px;
  width: 90px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  vertical-align: middle;
  flex: 0 0 auto;
}
.inquiry-captcha #captcha_info {
  display: block;
  flex: 1 0 100%;
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.02em;
}
.inquiry-captcha #captcha audio {
  flex: 1 0 100%;
  margin: 0 0 4px;
  max-width: 100%;
}
.inquiry-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}
.inquiry-agree__link {
  display: inline-block;
  margin-left: 4px;
  color: #8eb6ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inquiry-agree__link:hover {
  color: #b8d0ff;
}
.inquiry-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.inquiry-modal__msg {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(247, 148, 30, 0.15);
  color: #ffd19a;
  font-size: 13px;
}
.inquiry-modal__msg.is-error {
  background: rgba(220, 60, 60, 0.18);
  color: #ffb4b4;
}
.inquiry-modal__msg.is-ok {
  background: rgba(161, 206, 97, 0.16);
  color: #d7f0a8;
}
.inquiry-modal__done {
  text-align: center;
  padding: 24px 8px 8px;
}
.inquiry-modal__done-title {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
}
.inquiry-modal__done-no {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 640px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-modal__actions {
    flex-direction: column-reverse;
  }
  .inquiry-modal__actions .btn {
    width: 100%;
  }
}

/* ---------- Legal modals (privacy / terms) ---------- */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.legal-modal.is-open {
  display: flex;
}
.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.legal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 22px;
  border: 2px solid #f7941e;
  background: #0d0d0d;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.legal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 22px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-modal__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.legal-modal__x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.legal-modal__x:hover {
  background: rgba(255, 255, 255, 0.16);
}
.legal-modal__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px 24px 8px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  word-break: keep-all;
}
.legal-modal__lead {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
}
.legal-modal__body h3 {
  margin: 22px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}
.legal-modal__body h3:first-of-type {
  margin-top: 0;
}
.legal-modal__subhead {
  margin: 16px 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.legal-modal__body p,
.legal-modal__body ul,
.legal-modal__body ol {
  margin: 0 0 10px;
}
.legal-modal__body ul,
.legal-modal__body ol {
  padding-left: 1.2em;
}
.legal-modal__body li {
  margin: 0 0 6px;
}
.legal-modal__body a {
  color: #ffb65a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-modal__body a:hover {
  color: #ffd19a;
}
.legal-modal__date {
  margin-top: 20px !important;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
.legal-modal__actions {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 640px) {
  .legal-modal__actions .btn {
    width: 100%;
  }
}
