/* ============================================================
   Fonts (Pretendard - local subset)
   ============================================================ */
@font-face {
  font-family: "Pretendard";
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-Thin.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-Thin.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-ExtraLight.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-ExtraLight.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-Light.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-Light.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-Regular.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-Regular.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-Medium.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-Medium.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-SemiBold.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-SemiBold.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-Bold.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-Bold.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-ExtraBold.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-ExtraBold.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src:
    url("./fonts/Pretendard/woff2-subset/Pretendard-Black.subset.woff2") format("woff2"),
    url("./fonts/Pretendard/woff-subset/Pretendard-Black.subset.woff") format("woff");
}

/* ============================================================
   CSS Variables (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --color-primary: #1d9bf0;
  --color-border: #e5e7eb;

  /* Typography */
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 64px;
}

/* ============================================================
   Reset & Box Model
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Typography Reset
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   Layout
   ============================================================ */

/* ============================================================
   Components
   ============================================================ */

/* ============================================================
   Media Queries
   ============================================================ */
p {
  word-break: keep-all;
}
div.wrapper {
  padding: 0 16px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
img.logo {
  width: 204px;
  object-fit: cover;
}
h1.heading__text {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: -2%;
  font-weight: 600;
}
p.subheading__text1,
p.subheading__text2 {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -2%;
  font-weight: 500;
}
p.subheading__text2 {
  margin-top: 4px;
}
p.subheading__text3 {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -2%;
  font-weight: 400;
  color: #606060;
}
div.telegram__link__wrapper {
  margin-top: 12px;
  width: 100%;
  max-width: 288px;
  margin-left: auto;
  margin-right: auto;
}
a.telegram__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #40a7e3;
  padding: 12px 0;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -2%;
  font-weight: 600;
  color: #ffffff;
}
img.telegram__icon {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

/* Tablet (768px 이상) */
@media (min-width: 768px) {
  div.wrapper {
    padding: 0 48px;
  }
  img.logo {
    width: 544px;
  }
  h1.heading__text {
    margin-top: 24px;
    font-size: 64px;
    line-height: 1.4;
    letter-spacing: -2%;
    font-weight: 700;
  }
  p.subheading__text1,
  p.subheading__text2 {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -2%;
    font-weight: 500;
  }
  br {
    display: none;
  }
  p.subheading__text2 {
    margin-top: 4px;
  }
  p.subheading__text3 {
    margin-top: 64px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -2%;
    font-weight: 400;
    color: #606060;
  }
  div.telegram__link__wrapper {
    margin-top: 24px;
    max-width: 354px;
  }
  a.telegram__link {
    padding: 16px 0;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0%;
  }
  img.telegram__icon {
    width: 32px;
    height: 32px;
  }
}
