:root {
  --bg: #0b0c10;
  --bg-2: #12141a;
  --bg-3: #1a1d25;
  --fg: #f4f5f7;
  --fg-2: #c9ccd4;
  --muted: #a3a9b5;
  --line: rgb(255 255 255 / 12%);
  --line-2: rgb(255 255 255 / 20%);
  --accent: #df202a;
  --accent-2: #ff6a72;
  --accent-soft: rgb(228 32 42 / 16%);
  --radius: 22px;
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutters: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 18px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: inherit; white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ff8a90; outline-offset: 4px; }
.wrap { width: min(1280px, 100% - var(--gutters)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 90;
  padding: 8px 16px;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 17px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #ef2730; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); background: rgb(255 255 255 / 5%); }
.btn--ghost:hover { border-color: rgb(255 255 255 / 40%); background: rgb(255 255 255 / 10%); }
.btn svg { width: 19px; height: 19px; flex: none; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 50;
  background: rgb(11 12 16 / 96%);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav__logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; margin-right: auto; }
.site-nav__logo img { height: 30px; width: auto; }
.site-nav__links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: 16px; font-weight: 650; white-space: nowrap; color: var(--fg-2); }
.site-nav__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent-2); }
.site-nav__phone { flex: none; min-height: 44px; padding: 8px 16px; font-size: 16px; font-variant-numeric: tabular-nums; }
.site-nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.site-nav__burger svg { width: 21px; height: 21px; }
.site-nav__burger .close-icon,
.site-nav__burger[aria-expanded="true"] .menu-icon { display: none; }
.site-nav__burger[aria-expanded="true"] .close-icon { display: block; }
.site-menu {
  position: absolute;
  inset: 100% 0 auto;
  padding: 8px max(16px, calc((100% - 1280px) / 2)) 18px;
  background: #14161d;
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 16px 28px rgb(0 0 0 / 35%);
  max-height: calc(100dvh - var(--nav-h));
  overflow: auto;
}
.site-menu a { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.site-menu a:hover { background: rgb(255 255 255 / 5%); }
@media (min-width: 901px) {
  .site-menu { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .site-nav__links { display: none; }
  .site-nav__inner { gap: 10px; }
  .site-nav__logo img { height: 27px; }
  .site-nav__burger { display: grid; }
}
@media (max-width: 640px) {
  :root { --gutters: 32px; }
  .site-nav__phone { padding-inline: 11px; gap: 6px; font-size: clamp(13px, 3.75vw, 15px); }
  .site-nav__phone svg { width: 16px; height: 16px; }
}
@media (max-width: 360px) {
  .site-nav__logo img { height: 23px; }
  .site-nav__inner { gap: 7px; }
  .site-nav__phone { padding-inline: 8px; }
}

.site-footer { border-top: 1px solid var(--line); padding: 52px 0 44px; background: var(--bg); color: var(--muted); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2fr); gap: 32px; }
.footer-logo { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 14px; }
.footer-logo img { height: 26px; width: auto; }
.site-footer__phone { color: var(--fg); font-weight: 750; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.site-footer h2 { font-size: 15px; font-weight: 800; color: var(--fg); margin-bottom: 4px; }
.site-footer__categories a { display: flex; align-items: center; min-height: 36px; line-height: 1.35; }
.site-footer__categories a:hover, .site-footer__categories [aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
@media (max-width: 760px) {
  .site-footer { padding: 38px 0 76px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__categories a { min-height: 44px; }
}
@media (max-width: 520px) {
  .site-footer__categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 355px) {
  .site-nav__inner { width: calc(100% - 20px); }
  .site-nav__phone svg { display: none; }
}
