:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: #dbe5f0;
  --ink: #102033;
  --muted: #61748b;
  --brand: #1d4ed8;
  --brand-soft: #e7f0ff;
  --good-bg: #ddf7e8;
  --good-ink: #17603b;
  --warn-bg: #fff2cc;
  --warn-ink: #8a5a00;
  --info-bg: #e8f0ff;
  --info-ink: #1f4fbf;
  --shadow: 0 16px 46px rgba(16, 32, 51, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --radius-xs: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 26rem),
    linear-gradient(180deg, #eef5ff 0, #f4f7fb 14rem, #f4f7fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.topnav a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.topnav a.is-active {
  color: var(--brand);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 72px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.hero-subhead {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--line);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.inline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(219, 229, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.96)),
    radial-gradient(circle at top right, rgba(29,78,216,0.1), transparent 14rem);
}

.hero-visual-header,
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.hero-metrics,
.mock-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card,
.mock-summary-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.metric-card strong,
.mock-summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.metric-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.hero-feed,
.dashboard-copy {
  display: grid;
  gap: 12px;
}

.feed-row,
.mock-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.feed-row p,
.mock-row p,
.prose p,
.feature-card p,
.dashboard-copy-card p,
.diff-card p,
.roadmap-item p,
.problem-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chip.good {
  background: var(--good-bg);
  color: var(--good-ink);
}

.chip.warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.chip.info {
  background: var(--info-bg);
  color: var(--info-ink);
}

.content-section {
  margin-bottom: 72px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-support {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.two-column,
.dashboard-layout,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-copy {
  display: grid;
  gap: 16px;
}

.product-visual {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.98)),
    radial-gradient(circle at top left, rgba(29,78,216,0.08), transparent 16rem);
}

.product-visual-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.product-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 16px;
}

.shot-summary,
.shot-columns {
  display: grid;
  gap: 10px;
}

.shot-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.shot-summary span,
.shot-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface-soft);
}

.shot-summary span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  font-size: 13px;
  font-weight: 700;
}

.shot-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot-panel {
  padding: 14px;
}

.shot-panel strong {
  display: block;
  margin-bottom: 8px;
}

.shot-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.why-card {
  background: linear-gradient(180deg, #f8fbff, #edf4ff);
}

.prose,
.highlight-card,
.feature-card,
.dashboard-copy-card,
.diff-card,
.roadmap-item,
.problem-card {
  padding: 22px;
}

.highlight-card {
  background: linear-gradient(180deg, #f8fbff, #edf4ff);
}

.checklist {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.problem-grid,
.feature-grid,
.diff-grid,
.roadmap {
  display: grid;
  gap: 16px;
}

.problem-grid,
.feature-grid,
.diff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card h3,
.diff-card h3,
.problem-card h3,
.dashboard-copy-card h3,
.roadmap-item h3,
.highlight-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.accent-card {
  border-color: rgba(29, 78, 216, 0.2);
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.dashboard-section .card {
  overflow: hidden;
}

.dashboard-mock {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.98)),
    radial-gradient(circle at top left, rgba(29,78,216,0.08), transparent 16rem);
}

.screenshot-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px dashed rgba(29, 78, 216, 0.25);
  background: rgba(29, 78, 216, 0.06);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}

.mock-title {
  font-weight: 700;
  color: var(--ink);
}

.mock-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.mock-panel {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.mock-panel h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.mock-stat {
  color: var(--muted);
  margin-top: 8px;
}

.activity-panel p {
  margin: 0;
}

.spotlight-card {
  background: linear-gradient(180deg, #f8fbff, #edf4ff);
}

.architecture-card {
  padding: 24px;
}

.arch-flow,
.arch-subgrid {
  display: grid;
  gap: 14px;
}

.arch-flow {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
}

.arch-subgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.arch-node {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.arch-node span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 6px;
}

.arch-node strong {
  font-size: 1rem;
}

.arch-node.primary {
  background: linear-gradient(180deg, #f7fbff, #edf4ff);
}

.arch-node.future {
  border-style: dashed;
}

.arch-arrow {
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.roadmap-stage {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--info-bg);
  color: var(--info-ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.footer-copy p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .two-column,
  .dashboard-layout,
  .product-grid,
  .arch-flow,
  .arch-subgrid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .arch-arrow {
    display: none;
  }
}

@media (max-width: 860px) {
  .problem-grid,
  .feature-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 16px 14px 36px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    gap: 12px;
  }

  .hero {
    gap: 20px;
    margin-bottom: 56px;
  }

  .hero-metrics,
  .mock-summary,
  .mock-columns,
  .shot-summary,
  .shot-columns {
    grid-template-columns: 1fr;
  }
}
