@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #F8F7F3;
  --surface: #F0EEE9;
  --border: #E2DFD8;
  --border-hover: #B5B2A8;
  --text: #0D0C09;
  --muted: #6C6B61;
  --muted-light: #A09E95;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --ease: 180ms ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Header ──────────────────────────────────────────── */

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}

.brand-block {
  min-width: 0;
}

.brand-link {
  text-decoration: none;
  display: inline-block;
}

.eyebrow {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.tagline {
  display: none;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.top-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.top-nav a.active {
  color: var(--text);
  background: var(--surface);
}

/* ── Layout ──────────────────────────────────────────── */

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

/* ── Hero (Homepage) ─────────────────────────────────── */

.hero-section {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero-section .kicker {
  font-size: 0.75rem;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.hero-section h1 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 auto 1.5rem;
  max-width: 22ch;
}

.hero-section .hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-points span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--surface);
}

/* ── Section ─────────────────────────────────────────── */

.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

/* ── Typography ──────────────────────────────────────── */

.kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted-light);
  font-weight: 500;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
}

h1 {
  font-family: "DM Serif Display", Georgia, serif;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  font-family: "DM Serif Display", Georgia, serif;
  margin-bottom: 1rem;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p,
li,
th,
td {
  color: var(--muted);
  line-height: 1.65;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* ── Product Suite Grid ──────────────────────────────── */

.suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-tile {
  padding: 2rem;
  background: var(--bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
  display: flex;
  flex-direction: column;
}

.product-tile:nth-child(even) {
  border-right: none;
}

.product-tile:nth-child(n+3) {
  border-bottom: none;
}

.product-tile:hover {
  background: var(--surface);
}

.product-tile h3 {
  margin-bottom: 0.5rem;
}

.product-tile p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  flex: 1;
}

/* ── Text Links / CTAs ───────────────────────────────── */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: gap var(--ease);
}

.text-link::after {
  content: '→';
  display: inline-block;
  transition: transform var(--ease);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* ── Risk Table ──────────────────────────────────────── */

.risk-table {
  width: 100%;
  border-collapse: collapse;
}

.risk-table th,
.risk-table td {
  text-align: left;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.risk-table tr:last-child td {
  border-bottom: none;
}

.risk-table th {
  color: var(--muted-light);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.risk-table td {
  color: var(--muted);
}

.risk-table td:last-child {
  color: var(--text);
  font-weight: 500;
}

.risk-table tbody tr:hover td {
  background: var(--surface);
  padding-left: 0.5rem;
  transition: all var(--ease);
}

/* ── Privacy Infrastructure Section ─────────────────── */

.infra-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.infra-intro h2 {
  max-width: 22ch;
}

.infra-callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--text);
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.infra-callout p {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.feature-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* ── Two-Column Layout ───────────────────────────────── */

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Product Page Hero ───────────────────────────────── */

.product-hero {
  padding: 4rem 0 3.5rem;
  max-width: 720px;
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted-light);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--muted-light);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-md);
  transition: color var(--ease);
}

.footer-nav a:hover {
  color: var(--text);
}

/* ── Policy Document ─────────────────────────────────── */

.policy-doc {
  max-width: 720px;
}

.policy-doc .product-hero {
  padding-bottom: 0;
}

.policy-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.policy-section h2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--text);
}

.policy-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.policy-section ul {
  margin: 0.5rem 0 1rem;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--border);
  transition: text-decoration-color var(--ease);
}

.policy-link:hover {
  text-decoration-color: var(--text);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 1rem;
    gap: 0.75rem;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .layout {
    padding: 0 1.25rem 4rem;
  }

  .hero-section {
    padding: 4rem 0 3rem;
    text-align: left;
  }

  .hero-section h1 {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-section .hero-desc {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-points {
    justify-content: flex-start;
  }

  .suite-grid {
    grid-template-columns: 1fr;
  }

  .product-tile {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .product-tile:last-child {
    border-bottom: none;
  }

  .infra-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cols-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-hero {
    padding: 3rem 0 2.5rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem 2.5rem;
    gap: 1rem;
  }
}
