/* Terminal-dark design system per the Pressure Atlas design brief.
   One accent, no gradients, no glow, hairline depth, tabular numerals. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0c0e12;
  --surface: #14171c;
  --line: #232830;
  --text: #e8eaed;
  --text-dim: #9aa1ac;
  --accent: #3a82ff;
  --up: #3fb26f;
  --down: #d05656;
  --radius: 5px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.num,
time,
.readout {
  font-variant-numeric: tabular-nums;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  max-width: 1080px;
  margin: 0 auto;
}
.wordmark {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav nav {
  display: flex;
  gap: 24px;
}
.nav nav a {
  color: var(--text-dim);
}
.nav nav a:hover {
  color: var(--text);
  text-decoration: none;
}

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

/* Landing hero: asymmetric, copy left, readout right. */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0 72px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.hero .sub {
  color: var(--text-dim);
  margin-top: 20px;
  max-width: 52ch;
}
.hero .disclaimer {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 16px;
  max-width: 52ch;
}
.cta {
  display: inline-block;
  margin-top: 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius);
}
.cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}
.cta-secondary {
  display: inline-block;
  margin-top: 28px;
  margin-left: 12px;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: var(--radius);
}
.cta-secondary:hover {
  text-decoration: none;
  border-color: var(--text-dim);
}

/* Instrument readout: hairlines + monospace, no chrome. */
.readout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 14px;
  padding: 20px;
}
.readout .label {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.readout .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.readout .row:last-child {
  border-bottom: 0;
}
.readout .big {
  font-size: 34px;
  color: var(--text);
}
.readout .accent {
  color: var(--accent);
}
.readout .up {
  color: var(--up);
}
.readout .down {
  color: var(--down);
}
.readout .note {
  color: var(--text-dim);
  font-size: 11px;
  padding-top: 10px;
}

section.block {
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
section.block h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cols h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cols p {
  color: var(--text-dim);
  font-size: 15px;
}
.step {
  border-left: 2px solid var(--line);
  padding-left: 16px;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.plan .price {
  font-family: var(--mono);
  font-size: 26px;
  margin: 8px 0 16px;
}
.plan ul {
  list-style: none;
  color: var(--text-dim);
  font-size: 15px;
}
.plan li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.plan li:last-child {
  border-bottom: 0;
}

.faq dt {
  font-weight: 600;
  margin-top: 20px;
}
.faq dd {
  color: var(--text-dim);
  margin-top: 6px;
  max-width: 70ch;
}

.footer {
  border-top: 1px solid var(--line);
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  color: var(--text-dim);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Blog */
.post,
.post-list {
  max-width: 720px;
}
.post h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
}
.byline {
  color: var(--text-dim);
  font-size: 14px;
  margin: 12px 0 32px;
}
.post h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}
.post p,
.post li {
  margin-bottom: 14px;
  color: var(--text);
}
.post code {
  font-family: var(--mono);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 14px;
}
.post pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 14px;
}
.post pre code {
  border: 0;
  background: transparent;
  padding: 0;
}
.post blockquote {
  border-left: 2px solid var(--line);
  padding-left: 16px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.post table {
  border-collapse: collapse;
  margin-bottom: 14px;
}
.post th,
.post td {
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 15px;
}

.post-list {
  list-style: none;
  margin-top: 24px;
}
.post-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.post-list time {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 3px;
}
.post-list p {
  color: var(--text-dim);
  font-size: 15px;
  margin-top: 4px;
}

@media (max-width: 800px) {
  .hero,
  .cols,
  .plans {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
}
