@charset "utf-8";

:root {
  --color-primary: #1565c0;
  --color-primary-dark: #0f4f98;
  --color-navy: #0f172a;
  --color-text: #121926;
  --color-text-sub: #566173;
  --color-line: #d9e1ea;
  --color-bg: #ffffff;
  --color-soft: #f3f7fb;
  --color-footer: #18202c;
  --radius-lg: 2.4rem;
  --radius-md: 1.6rem;
  --radius-sm: 1rem;
  --header-height: 8.8rem;
  --container: 132rem;
  --transition: 0.3s ease;
  --shadow-card: 0 1.2rem 3rem rgba(19, 39, 72, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  word-break: keep-all;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.inner {
  width: min(calc(100% - 4rem), var(--container));
  margin: 0 auto;
}

.section-space {
  padding: 8rem 0;
}

.gray-bg {
  background: var(--color-soft);
}

.section-head {
  margin-bottom: 3.2rem;
}

.section-head.row-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.section-head h2,
.info-card h2,
.app-copy h2 {
  font-size: 3.6rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.section-mini,
.hero-kicker,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-mini,
.tag {
  background: rgba(21, 101, 192, 0.08);
  color: var(--color-primary);
}

.hero-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14.8rem;
  min-height: 5.4rem;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary.dark {
  background: var(--color-navy);
}

.btn-outline {
  border: 1px solid rgba(18, 25, 38, 0.18);
  color: var(--color-text);
  background: transparent;
}

.btn-outline.dark {
  border-color: rgba(15, 23, 42, 0.18);
}

.text-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--color-primary-dark);
  }

  .btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }

  .text-link:hover {
    opacity: 0.75;
  }
}

@media screen and (min-width: 1440px) {
  html {
    font-size: 62.5%;
  }
}

@media screen and (max-width: 1439px) {
  html {
    font-size: 60%;
  }

  .inner {
    width: min(calc(100% - 5.6rem), 124rem);
  }
}

@media screen and (max-width: 1279px) {
  html {
    font-size: 58%;
  }

  :root {
    --header-height: 7.8rem;
  }

  .inner {
    width: min(calc(100% - 4rem), 100%);
  }

  .section-space {
    padding: 7rem 0;
  }

  .section-head h2,
  .info-card h2,
  .app-copy h2 {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: 56%;
  }

  .inner {
    width: calc(100% - 3.2rem);
  }

  .section-space {
    padding: 5.6rem 0;
  }

  .section-head.row-type {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .section-head h2,
  .info-card h2,
  .app-copy h2 {
    font-size: 2.8rem;
  }

  .btn-primary,
  .btn-outline {
    min-height: 5rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 320px) {
  html {
    font-size: 55%;
  }

  .inner {
    width: calc(100% - 2.4rem);
  }
}
