:root {
  --ink: #14161c;
  --muted: #4e5663;
  --line: #e4e6ec;
  --paper: #f5f6f8;
  --white: #ffffff;
  --navy: #07080c;
  --blue: #1d4ed8;
  --blue-deep: #1639a8;
  --focus: #7c5cff;
  --max: 1080px;
  --header: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: var(--white);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  font: inherit;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.nav-panel a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 15px;
}
.nav-panel a[aria-current="page"] { color: var(--white); font-weight: 650; }
.lang {
  display: flex;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 0;
  min-height: 36px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
}
.lang button[aria-pressed="true"] {
  background: var(--white);
  color: var(--navy);
}

main { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hero { padding: 72px 0 36px; }
.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.tagline {
  margin: 18px 0 0;
  max-width: 18em;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #7b4dff, #2f9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 38em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
}
.button.primary { background: var(--blue); color: var(--white); }
.button.primary:hover { background: var(--blue-deep); color: var(--white); }
.button.secondary { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.button.secondary:hover { color: var(--ink); }

.section { padding: 28px 0 8px; }
h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card, .callout, .faq, .contact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.card { padding: 20px 18px 18px; }
.card h3, .faq h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.card p, .faq p, .callout p, .contact p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; }
.callout, .contact { padding: 22px; }
.faq-list { display: grid; gap: 10px; }
.faq { padding: 18px 18px 16px; }
.site-footer {
  margin-top: 48px;
  background: var(--navy);
  color: rgba(255,255,255,0.78);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 32px;
  display: grid;
  gap: 8px;
}
.site-footer a { color: var(--white); }
.site-footer strong { color: var(--white); font-weight: 650; }
.page-title { padding: 48px 0 8px; }
.page-title p { max-width: 40em; color: var(--muted); }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px 20px 16px;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel a, .lang { width: fit-content; }
  .nav-panel a { min-height: 44px; display: flex; align-items: center; }
  .cards, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .actions .button { width: 100%; }
}
