/* Threxa — shared stylesheet for static content pages.
   Tokens match public/threxa-site.html: ink #0A0A0F, paper #FAFAF7, accent #7B4DF6. */

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

:root {
  --ink: #0A0A0F;
  --paper: #FAFAF7;
  --accent: #7B4DF6;
  --muted: rgba(10, 10, 15, 0.64);
  --rule: rgba(10, 10, 15, 0.12);
  --panel: rgba(10, 10, 15, 0.035);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-head {
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.site-head a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-head a:hover { color: #fff; }
.site-head img { height: 34px; width: auto; display: block; }

/* Typography */
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin: 48px 0 20px;
}
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(25px, 3.4vw, 33px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  margin: 52px 0 16px;
}
h3 { font-size: 19px; font-weight: 600; margin: 32px 0 10px; letter-spacing: -0.012em; }

p { margin: 0 0 18px; }
ul, ol { margin: 0 0 20px; padding-left: 22px; }
li { margin-bottom: 9px; }
strong { font-weight: 600; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.standfirst { font-size: 20px; line-height: 1.5; color: var(--muted); margin-bottom: 34px; }
.meta { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); margin-bottom: 40px; }

/* Answer block — the first thing a generative engine should find */
.answer {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 22px 24px;
  margin: 0 0 36px;
}
.answer p:last-child { margin-bottom: 0; }

.formula {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px; line-height: 1.7;
  background: var(--ink); color: var(--paper);
  padding: 20px 22px; border-radius: 10px;
  margin: 0 0 24px; overflow-x: auto; white-space: pre;
}

table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 500; }
td.num { font-family: 'JetBrains Mono', ui-monospace, monospace; white-space: nowrap; }
.scroll { overflow-x: auto; }

.note { font-size: 15px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 32px; }

.cta {
  display: inline-block; background: var(--ink); color: var(--paper);
  padding: 14px 24px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 16px;
  margin: 8px 0 0;
}
.cta:hover { background: var(--accent); color: #fff; }
.cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.faq dt { font-weight: 600; margin: 24px 0 7px; }
.faq dd { margin: 0; color: var(--muted); }

.site-foot { border-top: 1px solid var(--rule); margin-top: 72px; padding: 36px 0 56px; font-size: 15px; color: var(--muted); }
.site-foot a { color: var(--muted); }
.site-foot p { margin-bottom: 8px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .standfirst { font-size: 18px; }
  .formula { font-size: 12.5px; }
}
