:root {
  color-scheme: light;
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #f2f6fb;
  --surface-blue: #eef7ff;
  --text: #101828;
  --muted: #65758b;
  --subtle: #94a3b8;
  --line: #dce7f3;
  --blue: #0a84ff;
  --blue-strong: #0072ee;
  --cyan: #20c7bd;
  --green: #20c486;
  --yellow: #f4b52a;
  --page: min(1240px, calc(100% - 72px));
  --radius: 28px;
  --shadow-sm: 0 10px 28px rgba(24, 39, 66, 0.08);
  --shadow: 0 28px 80px rgba(24, 39, 66, 0.13);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f9fbfd 0%, #eef3f6 58%, #f5f8fb 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

.home-page {
  background: #eef3f6;
  min-height: 100vh;
}

.home-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 52%, rgba(212, 239, 255, 0.42), transparent 34%),
    linear-gradient(180deg, #f8fbfd 0%, #eef3f6 55%, #f5f8fb 100%);
  pointer-events: none;
}

.home-video-bg video {
  position: absolute;
  top: 54%;
  right: clamp(8px, 5vw, 92px);
  display: block;
  width: clamp(660px, 52vw, 900px);
  height: auto;
  transform: translateY(-48%);
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: brightness(1.02) contrast(1.02) saturate(1.06);
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(ellipse 46% 66% at 58% 56%, #000 0 58%, rgba(0, 0, 0, 0.86) 70%, transparent 88%);
  mask-image: radial-gradient(ellipse 46% 66% at 58% 56%, #000 0 58%, rgba(0, 0, 0, 0.86) 70%, transparent 88%);
}

.home-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(249, 251, 253, 0.98) 0%, rgba(249, 251, 253, 0.9) 38%, rgba(239, 244, 247, 0.24) 64%, rgba(239, 244, 247, 0.08) 100%),
    linear-gradient(0deg, rgba(245, 248, 251, 0.86) 0%, rgba(245, 248, 251, 0.34) 18%, rgba(245, 248, 251, 0) 36%),
    linear-gradient(180deg, rgba(249, 251, 253, 0.5) 0%, rgba(239, 244, 247, 0.08) 66%, rgba(245, 248, 251, 0.46) 100%);
}

@keyframes fade-up {
  from {
    opacity: 1;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-text-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: var(--blue-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.26);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 14px max(36px, calc((100vw - 1240px) / 2));
  background: rgba(249, 251, 253, 0.86);
  backdrop-filter: blur(18px);
  animation: fade-up 520ms var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #3182f6;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--text);
}

.site-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 39, 66, 0.08);
}

.landing-shell,
.support-shell,
.document-shell {
  width: var(--page);
  margin: 0 auto;
}

.site-footer {
  display: flex;
  width: var(--page);
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(220, 231, 243, 0.82);
  color: var(--subtle);
  font-size: 0.84rem;
  font-weight: 700;
  gap: 8px;
  animation: fade-up 640ms var(--ease) 180ms both;
}

.site-footer a {
  color: var(--muted);
  font-weight: 760;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.site-footer a:hover {
  color: var(--blue-strong);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 700px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 56px 0 78px;
}

.landing-copy,
.guide-layout > *,
.document-shell > * {
  min-width: 0;
}

.landing-copy,
.page-hero,
.document {
  animation: fade-up 680ms var(--ease) 80ms both;
}

.guide-layout,
.document-toc {
  animation: fade-up 720ms var(--ease) 160ms both;
}

.home-page .site-header,
.home-page .landing-shell,
.home-page .site-footer {
  position: relative;
  z-index: 1;
}

.home-page .eyebrow {
  animation: hero-text-in 620ms var(--ease) 80ms both;
}

.home-page .landing-copy h1 {
  animation: hero-text-in 760ms var(--ease) 180ms both;
}

.home-page .lead {
  animation: hero-text-in 760ms var(--ease) 300ms both;
}

.home-page .hero-actions {
  animation: hero-text-in 720ms var(--ease) 420ms both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-strong);
  font-size: 0.92rem;
  font-weight: 850;
}

h1,
h2,
h3,
p,
li {
  letter-spacing: 0;
  word-break: keep-all;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 1.02;
}

.landing-copy h1 span {
  display: inline-block;
  color: var(--blue);
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.48rem;
  line-height: 1.28;
}

h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
}

.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 830;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.button.primary {
  border-color: transparent;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 32px rgba(10, 132, 255, 0.24);
}

.button:hover,
.contact-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(24, 39, 66, 0.12);
}

.button.primary:hover {
  background: var(--blue-strong);
  box-shadow: 0 20px 42px rgba(10, 132, 255, 0.32);
}

.support-shell {
  padding: 54px 0 84px;
}

.page-hero {
  display: flex;
  max-width: 880px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 38px 0 58px;
  border-bottom: 1px solid var(--line);
}

.page-hero > div {
  min-width: 0;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.page-hero p {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 1.1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(10, 132, 255, 0.22);
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.guide-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  padding-top: 52px;
}

.guide-sidebar,
.document-toc {
  position: sticky;
  top: 104px;
  align-self: start;
}

.guide-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.guide-sidebar a,
.document-toc a {
  border-radius: 14px;
  color: var(--muted);
  font-weight: 780;
  text-decoration: none;
}

.guide-sidebar a {
  padding: 11px 13px;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.guide-sidebar a:hover,
.guide-sidebar a.active,
.document-toc a:hover {
  background: var(--surface-blue);
  color: var(--blue-strong);
}

.guide-sidebar a:hover,
.document-toc a:hover {
  transform: translateX(2px);
}

.guide-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  gap: 20px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 200ms var(--ease), background 200ms var(--ease), padding-left 200ms var(--ease);
}

.guide-row > div {
  min-width: 0;
}

.guide-row:hover {
  padding-left: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  transform: translateY(-2px);
}

.guide-row > a:last-child {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--subtle);
  font-size: 1.7rem;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.guide-row > a:last-child:hover {
  background: var(--surface-soft);
  color: var(--blue);
  transform: translateX(2px);
}

.guide-icon {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-blue);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.guide-row:hover .guide-icon {
  transform: scale(1.04);
  background: #e4f3ff;
}

.guide-icon::before,
.guide-icon::after {
  content: "";
  position: absolute;
}

.phone-icon::before {
  width: 20px;
  height: 26px;
  border: 3px solid var(--blue);
  border-radius: 6px;
}

.phone-icon::after {
  bottom: 11px;
  width: 8px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
}

.card-icon::before {
  width: 26px;
  height: 18px;
  border: 3px solid var(--blue);
  border-radius: 6px;
}

.card-icon::after {
  left: 15px;
  top: 24px;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
}

.shield-icon::before {
  width: 23px;
  height: 27px;
  border-radius: 12px 12px 14px 14px;
  background: var(--blue);
  clip-path: polygon(50% 0, 93% 18%, 86% 74%, 50% 100%, 14% 74%, 7% 18%);
}

.account-icon::before {
  top: 11px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
}

.account-icon::after {
  bottom: 11px;
  width: 24px;
  height: 12px;
  border-radius: 14px 14px 6px 6px;
  background: var(--blue);
}

.link-icon::before {
  width: 27px;
  height: 13px;
  border: 3px solid var(--blue);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.row-number {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.guide-row h2 {
  margin-bottom: 8px;
}

.guide-row p {
  max-width: 720px;
  margin: 0;
  overflow-wrap: anywhere;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.inline-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.inline-links a:hover {
  background: var(--surface-blue);
  color: var(--blue-strong);
  transform: translateY(-1px);
}

.document-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 880px);
  gap: 72px;
  align-items: start;
  padding: 70px 0 96px;
}

.document-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.document-toc strong {
  display: block;
  margin: 0 0 10px 2px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
}

.document-toc a {
  padding: 10px 12px;
  font-size: 0.94rem;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.document {
  padding-bottom: 36px;
}

.document > h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.document > p:not(.eyebrow):not(.updated) {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.updated {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue-strong);
  font-size: 0.9rem;
  font-weight: 780;
}

.document section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.document section:first-of-type {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.document section h2 {
  margin-bottom: 12px;
  font-size: 1.38rem;
}

.document section p,
.document section li {
  color: var(--muted);
}

.document ul {
  margin: 14px 0 0;
  padding-left: 21px;
}

.document li + li {
  margin-top: 8px;
}

.document table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.document th,
.document td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.document th {
  background: var(--surface-blue);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
}

.document td {
  color: var(--muted);
  font-size: 0.95rem;
}

.document tr:last-child td {
  border-bottom: 0;
}

.document-callout {
  display: grid;
  gap: 5px;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(10, 132, 255, 0.18);
  border-radius: 20px;
  background: var(--surface-blue);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.document-callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(10, 132, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.document-callout strong {
  color: var(--text);
  font-size: 1rem;
}

.document-callout span {
  color: var(--muted);
  font-size: 0.95rem;
}

.terms-document section:first-of-type {
  border-top: 0;
}

.terms-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px 0;
}

.row-badge {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-blue);
  color: var(--blue-strong);
  font-weight: 900;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 48px, 1240px);
  }

  .site-header {
    padding-inline: 24px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 98px);
    padding: 42px 0 64px;
  }

  .page-hero,
  .guide-layout,
  .document-shell {
    grid-template-columns: 1fr;
  }

  .guide-sidebar,
  .document-toc {
    position: static;
  }

  .guide-layout,
  .document-shell {
    gap: 28px;
  }

  .document-shell {
    padding-top: 44px;
  }
}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 48px, 1240px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 98px;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 1.28rem;
  }

  .site-nav a {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 0.8rem;
  }

  .site-nav {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: auto;
  }

  .site-nav a {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
    gap: 2px;
    padding: 22px 0 30px;
  }

  .landing-copy h1,
  h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .lead,
  .page-hero p,
  .document > p:not(.eyebrow):not(.updated) {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .page-hero {
    width: 100%;
    max-width: 100%;
    gap: 14px;
    padding: 30px 0 42px;
    overflow: hidden;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 2.25rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .page-hero p {
    max-width: 100%;
    margin-top: 12px;
  }

  .guide-layout,
  .guide-sidebar,
  .guide-list,
  .guide-row {
    width: 100%;
    max-width: 100%;
  }

  .guide-row p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .lead {
    max-width: 330px;
  }

  .hero-actions {
    gap: 9px;
  }

  .button,
  .contact-pill {
    min-height: 44px;
    padding: 10px 15px;
  }

  .landing-hero {
    padding: 38px 0 56px;
  }

  .home-video-bg video {
    position: absolute;
    top: 69%;
    left: 66%;
    width: min(560px, 142vw);
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center center;
    opacity: 1;
    filter: brightness(1.02) contrast(1.02) saturate(1.06);
    -webkit-mask-image: radial-gradient(ellipse 48% 66% at 58% 56%, #000 0 58%, rgba(0, 0, 0, 0.86) 70%, transparent 88%);
    mask-image: radial-gradient(ellipse 48% 66% at 58% 56%, #000 0 58%, rgba(0, 0, 0, 0.86) 70%, transparent 88%);
  }

  .home-video-bg::after {
    background:
      linear-gradient(180deg, rgba(249, 251, 253, 0.94) 0%, rgba(249, 251, 253, 0.66) 44%, rgba(239, 244, 247, 0.14) 100%),
      linear-gradient(0deg, rgba(245, 248, 251, 0.9) 0%, rgba(245, 248, 251, 0.38) 18%, rgba(245, 248, 251, 0) 36%),
      linear-gradient(90deg, rgba(249, 251, 253, 0.86) 0%, rgba(239, 244, 247, 0.04) 100%);
  }

  .page-hero {
    align-items: start;
    padding: 28px 0 42px;
  }

  .document > h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .guide-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .guide-row > a:last-child {
    display: none;
  }

  .guide-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .guide-row p {
    max-width: 100%;
  }

  .document-toc {
    padding: 12px;
  }

  .document section {
    padding: 34px 0;
  }

  .document table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .terms-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .row-badge {
    width: 34px;
    height: 34px;
  }
}
