:root {
  --brand: #0d9488;
  --brand-2: #0e7490;
  --accent: #0f766e;
  --ink: #0c1a24;
  --muted: #5b6b7a;
  --line: #d7e2ea;
  --bg: #f3f7f6;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  border-radius: 0.5rem;
  background: #0c1a24;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0.75rem; }

.logo-text {
  background: linear-gradient(90deg, #0d9488, #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-wash {
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(13, 148, 136, 0.14), transparent 70%),
    #f3f7f6;
}

.about-hero {
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(14, 116, 144, 0.18), transparent 65%),
    linear-gradient(180deg, #e6f4f1 0%, #ffffff 70%);
}

.ad-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.ad-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}
.gpt-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  overflow: hidden;
}

.prose-article h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 2.25rem 0 0.85rem;
  color: #0c1a24;
}
.prose-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.65rem;
  color: #1e293b;
}
.prose-article p {
  margin: 0 0 1rem;
  color: #334155;
  line-height: 1.8;
}
.prose-article ul,
.prose-article ol {
  margin: 0 0 1.15rem 1.2rem;
  color: #334155;
  line-height: 1.75;
}
.prose-article li { margin-bottom: 0.4rem; }
.prose-article a { color: #0d9488; text-decoration: underline; text-underline-offset: 2px; }
.prose-article strong { color: #0c1a24; font-weight: 600; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}
.data-table th,
.data-table td {
  border: 1px solid #d7e2ea;
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background: #e8f3f0;
  font-weight: 600;
  color: #0c1a24;
}
.data-table td { color: #334155; }

.callout {
  border-left: 4px solid #0d9488;
  background: #e6f4f1;
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  color: #134e4a;
  margin: 1.25rem 0;
}

.legal-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.75rem 0 0.6rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #99f6e4;
  display: inline-block;
}
.legal-card p,
.legal-card li {
  color: #475569;
  line-height: 1.75;
}
.legal-card ul { margin: 0.4rem 0 0.8rem 1.15rem; }

.cookie-banner {
  position: fixed;
  inset: auto 0.75rem 5.5rem;
  z-index: 2147483000;
  max-width: 42rem;
  margin-inline: auto;
  background: #0c1a24;
  color: #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 20px 40px rgba(12, 26, 36, 0.25);
}

.post-card { content-visibility: auto; contain-intrinsic-size: 420px; }

/* First paint: 6 cards (3×2) before pagination JS runs */
#post-grid > article:nth-child(n+7) { display: none; }
#post-grid.is-filtered > article { display: flex; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
