* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, #eaf0ff 0, transparent 34rem), #f5f7fb;
  color: #172033;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.72;
  font-size: 16px;
}

a { color: #2457ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

.site-header {
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}
.brand {
  color: #d7d7d7;
  font-weight: 300;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0;
}
.nav, .footer-inner nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nav a {
  color: #d7d7d7;
  font-weight: 650;
}
.nav a:hover { color: #fff; opacity: .82; }

.page { padding: 46px 0; }
.content-card {
  background: #ffffff;
  border: 1px solid #e6e9f1;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(18, 38, 63, .08);
  padding: clamp(24px, 4vw, 52px);
}

.hero {
  padding: 12px 0 32px;
  border-bottom: 1px solid #e6e9f1;
  margin-bottom: 34px;
}
h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #101828;
}
h1 {
  font-size: clamp(2.25rem, 7vw, 4.3rem);
  margin: 0 0 18px;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 44px 0 14px;
}
.hero-title {
  font-size: clamp(2.25rem, 7vw, 4.3rem);
  margin: 0 0 18px;
}
h3 {
  font-size: 1.22rem;
  margin: 30px 0 8px;
}
p { margin: 0 0 16px; }
.lead {
  color: #5d667a;
  font-size: 1.12rem;
  max-width: 780px;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 22px auto 0;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2457ff, #153bb7);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(36, 87, 255, .2);
}
.primary-button:hover { text-decoration: none; transform: translateY(-1px); }

ul, ol { padding-left: 1.35rem; margin: 0 0 20px; }
li { margin: 9px 0; }
code {
  background: #f0f3f8;
  border: 1px solid #e2e6ef;
  border-radius: 6px;
  padding: .12em .35em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .94em;
}
figure {
  margin: 28px 0 10px;
  border: 1px solid #e6e9f1;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
}
figcaption {
  padding: 10px 14px;
  color: #5d667a;
  font-size: .92rem;
  border-top: 1px solid #e6e9f1;
}
.note {
  background: #eef3ff;
  border: 1px solid #dbe6ff;
  border-left: 4px solid #2457ff;
  border-radius: 12px;
  padding: 14px 16px;
  color: #27344f;
}
.brand-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.brand-list li {
  margin: 0;
  background: #f7f9fd;
  border: 1px solid #e6e9f1;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}
.faq details {
  border: 1px solid #e6e9f1;
  border-radius: 14px;
  padding: 0 16px;
  margin: 12px 0;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
}
.faq details p { color: #5d667a; padding-bottom: 16px; }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(18, 38, 63, .22);
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 20;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-2px);
}
.back-to-top:focus-visible {
  outline: 3px solid rgba(36, 87, 255, .35);
  outline-offset: 3px;
}

.site-footer {
  padding: 32px 0 44px;
  color: #5d667a;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e6e9f1;
  padding-top: 22px;
}
.footer-inner a { color: #5d667a; }
.footer-inner p { margin: 0; }

@media (max-width: 640px) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .page { padding: 24px 0; }
  .content-card { border-radius: 14px; }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}


.page-hero {
  padding: 6px 0 28px;
  border-bottom: 1px solid #e6e9f1;
  margin-bottom: 34px;
}
.page-hero h2 {
  font-size: clamp(2.15rem, 6vw, 3.6rem);
  margin: 0 0 16px;
}
.static-page section:first-child h2 {
  margin-top: 0;
}
.info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0 26px;
}
.info-box {
  background: #f7f9fd;
  border: 1px solid #e6e9f1;
  border-radius: 16px;
  padding: 18px;
}
.info-box h3 {
  margin-top: 0;
}
.info-box p:last-child {
  margin-bottom: 0;
}
.policy-box {
  background: #f8fafc;
  border: 1px solid #e6e9f1;
  border-radius: 16px;
  padding: 20px;
  margin-top: 28px;
}
.policy-box h2 {
  margin-top: 0;
}
.policy-box p:last-child {
  margin-bottom: 0;
}
.sitemap-list ul {
  list-style: none;
  padding: 0;
}
.sitemap-list li {
  background: #f7f9fd;
  border: 1px solid #e6e9f1;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
}
/* Bootstrap integration compatibility */
.site-wrapper { width: 100%; }
.content-card.card { display: block; color: inherit; }
.primary-button.btn { border: 0; }
body.bg-body-tertiary {
  background: radial-gradient(circle at top left, #eaf0ff 0, transparent 34rem), #f5f7fb !important;
}

.site-header.navbar { display: block; padding: 0; }
