/* Nunito Font for Official LabMeet Brand SVG Logo */
@font-face {
  font-family: 'Nunito';
  src: url('/static/fonts/Nunito-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Pretendard Fonts (Local Self-hosted) */
@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Gmarket Sans (Local Self-hosted Display & Brand Headings) */
@font-face {
  font-family: 'GmarketSans';
  src: url('/static/fonts/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('/static/fonts/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gmarket Sans';
  src: url('/static/fonts/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gmarket Sans';
  src: url('/static/fonts/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-background);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Base Headings: Pretendard 700 Default */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Display & Brand Headings: Gmarket Sans */
.lm-display,
.lm-brand-heading,
.lm-hero-title,
.lm-section-title--display,
.lm-editorial-title,
.lm-brand,
.lm-display-num {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }

p {
  margin-bottom: 1rem;
}

small, .lm-muted {
  color: var(--color-text-secondary);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.lm-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: white;
  padding: 12px;
  z-index: 1080;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-card);
}
.lm-skip:focus {
  top: 8px;
}

button, input, select, textarea {
  font: inherit;
}
button:disabled {
  cursor: not-allowed;
}

.lm-number {
  font-variant-numeric: tabular-nums;
}

.lm-visually-quiet {
  color: var(--color-text-secondary);
}

@media (max-width: 575px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
}

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