/* Standalone stylesheet for the static pages (limits.html).
   Same tokens as the calculator app; no build step touches this file. */

:root {
  --accent: #a9c7df;
  --accent-bright: #c7dbea;
  --accent-deep: #5d6d7b;
  --accent-border: rgba(169, 199, 223, 0.35);
  --bg: #08090b;
  --text: #e7eaef;
  --text-secondary: #9aa3b0;
  --text-mid: #c3cad4;
  --text-muted: #666f7e;
  --hairline: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 860px;
  padding: 64px 24px 96px;
  font-family: "Inter Tight", Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(
      1100px 620px at 50% -8%,
      color-mix(in srgb, var(--accent) 16%, transparent),
      transparent 62%
    );
  background-attachment: fixed;
  background-repeat: no-repeat;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: 34px;
  line-height: 1.15;
}

h2 {
  font-size: 22px;
  margin-top: 2.2em;
}

h3 {
  font-size: 17px;
}

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

a:hover {
  color: var(--accent-bright);
}

strong {
  color: var(--text-mid);
}

code,
pre {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--text-mid);
}

hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 2.5em 0;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 10px 12px 8px 0;
  border-bottom: 1px solid var(--hairline);
}

td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}

.col-size {
  white-space: nowrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--text-mid);
}

.col-direction {
  white-space: nowrap;
}

::selection {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}
