body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #f8fafc;
}

* {
  box-sizing: border-box;
}

a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.page-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.header-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.header-logo span,
.footer-logo span {
  color: #1d4ed8;
}

.hero {
  padding: 40px 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1.02;
}

.hero p {
  margin: 0;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.section {
  margin: 56px 0;
}

.section h2 {
  margin: 0 0 18px;
  font-size: 2rem;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.card strong {
  display: block;
  margin-bottom: 10px;
}

/* Long-form prose on the content pages. Kept generous because these pages are
   read end to end, not skimmed like the app UI. */
.section p,
.section li {
  line-height: 1.75;
  max-width: 76ch;
}

.section ul,
.section ol {
  padding-left: 22px;
}

.section li {
  margin-bottom: 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.spec-table th {
  background: #f1f5f9;
  font-weight: 700;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.table-scroll {
  overflow-x: auto;
}

.callout {
  border-left: 4px solid #2563eb;
  background: #eff6ff;
  padding: 18px 22px;
  border-radius: 16px;
}

.footer-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav,
  .site-footer nav {
    width: 100%;
  }
}
