/* Google Fonts ? ????? ?? (?? @import ? ????? ??? ? ??) */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@200..900&family=Syne:wght@600;700&display=swap");
@import url("./fonts.css");

:root {
  --navy-950: #07111f;
  --navy-900: #0b1c33;
  --navy-800: #123055;
  --navy-700: #1a3f6b;
  --gold-400: #d6b35c;
  --gold-500: #c49a3c;
  --gold-600: #a67f2a;
  --cream-50: #f7f5f1;
  --cream-100: #efebe3;
  --ink-900: #121820;
  --ink-700: #3a4553;
  --ink-500: #667385;
  --line: rgba(18, 24, 32, 0.12);
  --white: #ffffff;
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 40px rgba(7, 17, 31, 0.12);
  /* 디스플레이/본문 모두 Source Sans 3 */
  --font-syne: "Source Sans 3", sans-serif;
  --font-source: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Source Sans 3", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* flex/grid ????? display? UA? hidden ??? ????? ?? ?????. */
[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pan-slow {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes underline-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ??? ???: ?? ???????? ??????(?????/??)???????*/
html.learn-lock,
html.learn-lock body {
  height: 100%;
  max-height: 100dvh;
  overflow: hidden !important;
  overscroll-behavior: none;
}

html.learn-lock body {
  /* ??? ??? fixed???? ???? ??????????*/
  min-height: 0;
}

html.learn-lock main {
  display: block;
  min-height: 0;
  height: 0;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

