/* MeowPulse site (S22-G1). Generated by tool/build_legal_site.dart from the
   DS v6.2 tokens: edit the builder, not this file. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --background: #060B19;
  --surface-l1: #111827;
  --surface-l2: #1E293B;
  --cobalt: #3B82F6;
  --teal: #2EE6A6;
  --teal-tint-8: #0A1E1A;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-warm: #FFEDD5;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --radius-small: 6px;
  --radius-large: 12px;
  --radius-xl: 14px;
  --radius-full: 100px;
  --teal-border: rgba(46, 230, 166, 0.5);
  --teal-glow: rgba(46, 230, 166, 0.22);
  --cobalt-glow: rgba(59, 130, 246, 0.27);
  --reading-width: 640px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip {
  position: absolute;
  left: -9999px;
  top: var(--space-12);
  z-index: 10;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-full);
  background: var(--surface-l1);
  color: var(--text-primary);
}
.skip:focus { left: var(--space-16); }

.site-header,
.page,
.site-footer {
  width: 100%;
  max-width: calc(var(--reading-width) + 2 * var(--space-20));
  margin: 0 auto;
  padding-left: var(--space-20);
  padding-right: var(--space-20);
}

.site-header { padding-top: var(--space-20); }

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}
.wordmark span { color: var(--teal); }

.page { padding-top: var(--space-32); padding-bottom: var(--space-48); }
.page.narrow { max-width: calc(520px + 2 * var(--space-20)); }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--text-warm);
  text-wrap: balance;
}
h1 {
  margin: 0 0 var(--space-16);
  font-size: clamp(30px, 7vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2 {
  margin: var(--space-48) 0 var(--space-12);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  scroll-margin-top: var(--space-24);
}
h3 { margin: var(--space-32) 0 var(--space-8); font-size: 18px; line-height: 1.35; }

p { margin: 0 0 var(--space-16); }
p, li, td { text-wrap: pretty; }
strong { font-weight: 700; }
em { font-style: italic; color: var(--text-secondary); }

ul { margin: 0 0 var(--space-16); padding: 0; list-style: none; }
li { position: relative; margin: 0 0 var(--space-8); padding-left: var(--space-20); }
li::before {
  content: "\2022";
  position: absolute;
  left: 2px;
  color: var(--text-secondary);
}

hr { margin: var(--space-32) 0; border: 0; border-top: 1px solid var(--surface-l2); }
hr + h2 { margin-top: 0; }

a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

/* The locked disclaimer: the Intelligence card (Teal tint, dashed Teal). */
.disclaimer {
  margin: 0 0 var(--space-32);
  padding: var(--space-16) var(--space-20) var(--space-20);
  background: var(--teal-tint-8);
  border: 1px dashed var(--teal-border);
  border-radius: 10px;
}
.disclaimer-head { display: flex; align-items: center; gap: var(--space-12); margin-bottom: var(--space-12); }
.disclaimer-head img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 16px var(--teal-glow); }
.disclaimer-title {
  margin: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-warm);
}
.disclaimer-body { margin: 0; font-size: 15px; line-height: 1.65; }

/* Tables: a card, like the app's. */
.table-wrap {
  margin: var(--space-20) 0 var(--space-24);
  background: var(--surface-l1);
  border: 1px solid var(--surface-l2);
  border-radius: var(--radius-large);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
th {
  padding: 10px 14px;
  background: var(--surface-l2);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
}
td { padding: var(--space-12) 14px; border-top: 1px solid var(--surface-l2); vertical-align: top; }
td:first-child { color: var(--text-warm); font-weight: 700; }

@media (max-width: 559px) {
  .table-stack table,
  .table-stack tbody,
  .table-stack tr,
  .table-stack td { display: block; width: 100%; }
  .table-stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .table-stack tr { padding: var(--space-12) 14px; }
  .table-stack tr + tr { border-top: 1px solid var(--surface-l2); }
  .table-stack td { padding: 0; border: 0; }
  .table-stack td + td { margin-top: var(--space-8); }
  .table-stack td + td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* The fallback pages and 404: one card. */
.panel {
  padding: var(--space-32) var(--space-24) var(--space-24);
  background: var(--surface-l1);
  border: 1px solid var(--surface-l2);
  border-radius: var(--radius-xl);
}
.panel h1 { font-size: clamp(28px, 7vw, 32px); }
.actions { margin: var(--space-24) 0 var(--space-12); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-full);
  background: var(--cobalt);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 16px var(--cobalt-glow);
  transition: transform 150ms ease-in-out;
}
.button:active { transform: scale(0.97); }
.fine { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }

/* Home. */
.home { text-align: center; padding-top: var(--space-48); }
.portrait {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto var(--space-32);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--surface-l2), 0 0 64px var(--teal-glow);
}
.home h1 { font-size: clamp(36px, 10vw, 52px); margin-bottom: var(--space-20); }
.lead { max-width: 32em; margin: 0 auto var(--space-16); font-size: 18px; line-height: 1.65; }
.note { margin: 0 auto; color: var(--text-secondary); font-size: 14px; }
.links { margin: var(--space-48) auto 0; max-width: 420px; text-align: left; }
.links ul {
  margin: 0;
  background: var(--surface-l1);
  border: 1px solid var(--surface-l2);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.links li { margin: 0; padding: 0; }
.links li::before { content: none; }
.links li + li { border-top: 1px solid var(--surface-l2); }
.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 var(--space-20);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}
.links a::after { content: "\2192"; color: var(--text-secondary); }
.links a:hover { background: var(--surface-l2); }

.site-footer {
  padding-bottom: var(--space-48);
  color: var(--text-secondary);
  font-size: 14px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-20);
  padding-top: var(--space-24);
  border-top: 1px solid var(--surface-l2);
}
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-secondary); text-decoration: none; }
.site-footer nav a:hover { color: var(--text-primary); }
.site-footer p { margin: var(--space-8) 0 0; }
.site-footer p a { color: var(--text-secondary); }
