:root {
  --font-sans: InterVariable, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.10);
  --primary: #2563eb;
  --page: #eef4ff;
  --radius: 16px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
    font-family: InterVariable;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../font/InterVariable.woff2?v=4.1) format('woff2');
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
}


.nav-link {
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-link:hover {
  background: rgba(37, 99, 235, 0.08);
}

.nav-link.is-active {
  background: rgba(37, 99, 235, 0.10);
}

.main {
  padding: 0 0 44px;
}

.hero {
  background: linear-gradient(90deg, #1d4ed8 0%, #4f46e5 100%);
  color: #ffffff;
  padding: 56px 0 64px;
}

.hero-inner {
  padding-top: 6px;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-subtitle {
  margin: 0;
  max-width: 78ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.content {
  padding: 22px 0 0;
}

.summary {
  margin-top: -36px;
}

.summary-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  padding: 18px;
}

.summary-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
}

.summary-body {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 12px;
  align-items: start;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

.summary-accent {
  width: 4px;
  height: 100%;
  min-height: 36px;
  border-radius: 999px;
  background: #2563eb;
}

.summary-text {
  margin: 0;
  color: #334155;
  font-size: 16px;
}

.summary-strong {
  color: #2563eb;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-link:hover {
  color: #0f172a;
}

.components {
  padding-top: 26px;
}

.components-title {
  margin: 22px 0 14px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 12px;
}

.comp-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  padding: 16px;
  padding-right: 36px;
  --comp-icon-offset: 52px; /* 40px icon + 12px gap */
}

.comp-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comp-icon {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.comp-icon svg {
  width: 22px;
  height: 22px;
}

.comp-icon-blue {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.10);
}

.comp-icon-indigo {
  color: oklch(45.7% 0.24 277.023);
  background: rgba(37, 99, 235, 0.10);
}

.comp-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.comp-sub {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  margin-left: var(--comp-icon-offset);
}

.comp-text {
  margin: 8px 0 8px;
  color: #475569;
  font-size: 13px;
  margin-left: var(--comp-icon-offset);
}

.comp-foot {
  padding-top: 10px;
  margin-left: var(--comp-icon-offset);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  width: 100%;
  background: #f1f5ff;
  border-radius: 14px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

.chip-accent {
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: #2563eb;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .hero {
    padding: 44px 0 56px;
  }

  .summary {
    margin-top: -28px;
  }

  .components-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
    .brand-name {
        max-width: 210px;
    }
}
