/* ───────────── Reset / base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
}
h1, h2, h3, h4, p, ul, ol, table, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* a11y — visually hidden, repo class name */
.blind {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  border: 0;
  white-space: nowrap;
}

/* Page-section containers */
.section-head,
.card-grid,
.compare__wrap,
.addon__wrap,
.billing__wrap,
.faq__wrap,
.cta-final__inner {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ═════════════ HEADER — verbatim port of homepage/styles/landing.scss .header / .gnb / .util ═════════════ */
.header_wrap {
  z-index: 10;
  position: relative;
  height: 80px;
}
.header_wrap::before {
  content: '';
  z-index: 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0 auto;
  height: inherit;
  background: #313649;
}
.header_inner {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  margin: 0 auto;
  padding: 0 0 0 140px;
  width: 1280px;
  max-width: 100%;
  height: inherit;
  box-sizing: border-box;
}
.header_logo {
  position: absolute;
  top: 30px;
  left: 0;
  width: 115px;
  height: 25px;
  margin: 0;
  background: url('../images/landing/logo_white.svg') no-repeat left top;
  background-size: 100% auto;
  font-size: 0;
}
.header_gnb {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  margin-left: 80px;
  width: 100%;
}
.header_gnb .btn_menu {
  display: none;
  margin-right: 20px;
  width: 24px; height: 24px;
  background: url('../images/landing/icon_menu.svg') no-repeat left top;
  background-size: 100% auto;
}
.header_gnb .btn_menu.is-active {
  background: url('../images/landing/icon_close.svg') no-repeat left top;
  background-size: 100% auto;
}

.gnb_wrap { /* PC: passthrough */ }
.gnb_wrap .btn_close {
  display: none;
  width: 24px; height: 24px;
  background: url('../images/landing/icon_close.svg') no-repeat left top;
  background-size: 100% auto;
}
.gnb_list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
}
.gnb_item { margin-left: 60px; }
.gnb_item:first-child { margin-left: 0; }
.gnb_link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.util_list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
}
.util_item { margin-left: 24px; position: relative; }
.util_item:first-child { margin-left: 0; }
.util_item .user_profile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.util_item .user_profile img {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 100%; height: 100%;
}

.view_pc { display: block; }
.view_mo { display: none; }
.grow { flex: 1; }

/* IconButton (radix-vue PopoverTrigger in repo) */
.IconButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: background .15s;
}
.IconButton:hover { background: rgba(255, 255, 255, 0.1); }
.IconButton img { width: 20px; height: 20px; }

/* Language popover dropdown — verbatim from header.vue scoped style */
.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 60px;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),
              0 3px 6px -4px rgba(0, 0, 0, 0.12),
              0 9px 28px 8px rgba(0, 0, 0, 0.05);
  display: none;
  z-index: 999;
}
.language-dropdown[data-open="true"] { display: block; }
.language-dropdown__item {
  display: block;
  width: 100%;
  height: 30px;
  padding: 0 25px;
  font-size: 14px;
  text-align: left;
  color: #222;
  cursor: pointer;
  background: none;
  outline: none;
  white-space: nowrap;
}
.language-dropdown__item:hover { color: #0061f2; background: #f7f7f7; }
.language-selected { font-weight: bold; }

/* White-pill CTA used in dark header — verbatim port of .btn_link.github / .btn_link.console */
.btn_link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.btn_link + .btn_link { margin-left: 24px; }
.btn_link.github,
.btn_link.console {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 12px 10px 20px;
  height: 44px;
  border-radius: 60px;
  background: #fff;
  box-sizing: border-box;
  transition: transform .12s, box-shadow .15s;
}
.btn_link.github:hover,
.btn_link.console:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.btn_link.github .btn_text,
.btn_link.console .btn_text {
  display: block;
  position: relative;
  padding-right: 34px;
  font-size: 16px;
  font-weight: 600;
  color: #10256f;
  line-height: 1;
  letter-spacing: -0.025em;
}
.btn_link.github .btn_text::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 24px; height: 24px;
  background: url('../images/landing/bg_arrow_diagonal.svg') no-repeat center;
  background-size: 100% auto;
}
.btn_link.console .btn_text::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 24px; height: 24px;
  background: url('../images/landing/bg_arrow_diagonal.svg') no-repeat center;
  background-size: 100% auto;
}

/* ═════════════ FOOTER — verbatim port of .footer block ═════════════ */
.footer_wrap {
  padding: 20px 0 34px;
  background: #1b1b1d;
  margin-top: var(--space-24);
}
.footer_inner {
  margin: 0 auto;
  width: 1280px;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.footer_logo {
  display: inline-block;
  position: relative;
  width: 101px;
  height: 22px;
  background: url('../images/landing/logo_white.svg') no-repeat left top;
  background-size: 100% auto;
  font-size: 0;
}
.footer_box {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer_item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 12px;
}
.footer_item:first-child { margin-top: 0; }
.footer_title {
  display: inline-block;
  flex-shrink: 0;
  padding-right: 20px;
  width: 100px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.16px;
  box-sizing: border-box;
}
.footer_menu_wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-left: 12px;
}
.footer_menu_wrap:first-child { margin-left: 0; }
.footer_menu_item { margin-left: 15px; }
.footer_menu_item:first-child { margin-left: 0; }
.footer_menu_link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.14px;
  transition: color .15s;
}
.footer_menu_link:hover { color: #fff; }

/* Company info block */
.footer_company {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer_company_info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  letter-spacing: -0.13px;
}
.footer_company_info:first-child { margin-top: 0; }
.footer_company_info span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.footer_company_info em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer_company_link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color .15s, border-color .15s;
}
.footer_company_link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.footer_company_copyright {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.12px;
}

/* ═════════════ Page-level buttons used in body sections (NOT header/footer) ═════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background .15s, color .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}
.btn--primary { color: #fff; background: var(--color-brand-blue); }
.btn--primary:hover { background: #0052d4; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 102, 255, 0.28); }
.btn--ghost {
  background: transparent;
  color: var(--color-ink-strong);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover { border-color: var(--color-ink-strong); background: var(--color-bg-soft); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 17px; }
.arrow { display: inline-block; transition: transform .15s; font-weight: 400; }
.btn:hover .arrow { transform: translateX(3px); }

/* ═════════════ Section heads ═════════════ */
.section-head {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-ink-strong);
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: 16.5px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ═════════════ Mobile (mirrors @include breakpoint(mobile) — < 1024px) ═════════════ */
@media (max-width: 1023px) {
  .header_wrap { height: 60px; }
  .header_inner { padding: 0; width: 100%; }
  .header_logo {
    top: 19px;
    left: 20px;
    width: 101px;
    height: 22px;
  }
  .header_gnb { margin-left: 0; }
  .header_gnb .btn_menu { display: block; }

  .view_pc { display: none; }
  .view_mo { display: block; }

  .gnb_wrap {
    display: none;
    z-index: 100;
    position: fixed;
    top: 0; left: 100vw;
    padding: 60px 20px 0;
    width: 100vw;
    height: 100vh;
    background: #313649;
    box-sizing: border-box;
    transition: left .25s;
    overflow-y: auto;
  }
  .gnb_wrap.is-active {
    display: block;
    opacity: 1;
    left: 0;
  }
  .gnb_wrap .btn_close {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
  }
  .gnb_list {
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-end;
  }
  .gnb_item {
    margin-top: 24px;
    margin-left: 0;
  }
  .gnb_item:first-child { margin: 0; }
  .gnb_item:last-child { margin-top: 32px; }
  .gnb_link { height: auto; font-size: 32px; }

  .util_list { padding: 0 20px 0 0; margin-left: 0; min-width: auto; }
  .util_item { margin-left: 20px; }
  .util_item .user_profile { width: 34px; height: 34px; }

  .footer_wrap { padding: 20px 20px 34px; }
  .footer_inner { width: 100%; padding: 0; }
  .footer_box { margin-top: 10px; padding-top: 14px; }
  .footer_item {
    margin-top: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .footer_title { padding: 0; width: auto; font-size: 16px; }
  .footer_menu_wrap {
    flex-wrap: wrap;
    margin-top: 3px;
    margin-left: 0;
  }
  .footer_menu_item { margin-left: 10px; }
  .footer_menu_item:first-child { margin-left: 0; }

  .btn_link.github .btn_text,
  .btn_link.console .btn_text {
    padding: 0;
    font-size: 16px;
    text-align: center;
  }
  .btn_link.github .btn_text::before,
  .btn_link.console .btn_text::before { display: none; }
  .btn_link.github,
  .btn_link.console {
    padding: 16px 24px;
    height: auto;
    border-radius: 600px;
  }
}
@media (max-width: 320px) {
  .footer_menu_item { margin-left: 6px; }
  .footer_menu_item:first-child { margin-left: 0; }
}
