@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/outfit-700.woff2") format("woff2");
}

@font-face {
  font-family: "Pretendard GOV";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/pretendard-gov-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Pretendard GOV";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/pretendard-gov-hangul-ks.woff2") format("woff2");
  unicode-range: U+AC00-D7A3, U+3131-318E;
}

:root {
  --bg: #fdf6e3;
  --surface: #eee8d5;
  --text-bright: #073642;
  --text-body: #586e75;
  --text-muted: #93a1a1;
  --border: rgba(7, 54, 66, 0.14);
  --accent: #268bd2;
  --accent-hover: #1e74b1;
  --accent-gradient: linear-gradient(135deg, #268bd2 0%, #2aa198 100%);
  --btn-secondary-bg: rgba(7, 54, 66, 0.05);
  --btn-secondary-hover: rgba(7, 54, 66, 0.09);
  --texture-image: url("assets/texture-mulberry-paper-light.webp");
  --texture-opacity: 0.22;
  --texture-blend: multiply;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #002b36;
    --surface: #073642;
    --text-bright: #fdf6e3;
    --text-body: #93a1a1;
    --text-muted: #586e75;
    --border: rgba(238, 232, 213, 0.14);
    --accent: #268bd2;
    --accent-hover: #369ce4;
    --accent-gradient: linear-gradient(135deg, #268bd2 0%, #6c71c4 100%);
    --btn-secondary-bg: rgba(238, 232, 213, 0.06);
    --btn-secondary-hover: rgba(238, 232, 213, 0.11);
    --texture-image: url("assets/texture-mulberry-paper-dark.webp");
    --texture-opacity: 0.5;
    --texture-blend: soft-light;
  }
}

:root[data-theme="dark"] {
  --bg: #002b36;
  --surface: #073642;
  --text-bright: #fdf6e3;
  --text-body: #93a1a1;
  --text-muted: #586e75;
  --border: rgba(238, 232, 213, 0.14);
  --accent: #268bd2;
  --accent-hover: #369ce4;
  --accent-gradient: linear-gradient(135deg, #268bd2 0%, #6c71c4 100%);
  --btn-secondary-bg: rgba(238, 232, 213, 0.06);
  --btn-secondary-hover: rgba(238, 232, 213, 0.11);
  --texture-image: url("assets/texture-mulberry-paper-dark.webp");
  --texture-opacity: 0.18;
  --texture-blend: soft-light;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text-body);
  font-family: "Pretendard GOV Variable", "Pretendard GOV", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--texture-image);
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: var(--texture-opacity);
  mix-blend-mode: var(--texture-blend);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
}

.theme-toggle {
  z-index: 10;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  background: var(--btn-secondary-bg);
  color: var(--text-bright);
}

.icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px 28px;
}

.hero {
  margin: auto 0;
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 16px;
  user-select: none;
}

.wordmark {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin: 12px 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

.summary {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-body);
}

.alpha-note {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-primary:hover {
  filter: brightness(0.94);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--text-bright);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--btn-secondary-hover);
}

.footer {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
