/* Asker carbon-door articles — /a/*.html
   Charcoal hangar; light grey text; fluid responsive. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #1c1c1c;
  --bg-card: #252525;
  --text: #b5b5b5;
  --text-soft: #9e9e9e;
  --text-mute: #7a7a7a;
  --heading: #f0f0f0;
  --accent: #6f9e88;
  --accent-hot: #8fbfa8;
  --border: #3a3a3a;
  --quote-border: #5a7a6a;
  --code-bg: #121212;
  --pad: clamp(1rem, 4vw, 2.5rem);
  /* Desktop: use most of the viewport; still readable, not a skinny column */
  --measure: min(100% - 2 * var(--pad), 72rem);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent-hot);
  text-underline-offset: 0.15em;
}

a:hover {
  color: #b8e0cc;
}

u {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: var(--pad);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.wrap > .card,
.wrap > footer.note {
  width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

header.site {
  width: var(--measure);
  margin: 0 auto 1.25rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
  color: var(--text-mute);
}

header.site a {
  color: var(--text-soft);
  text-decoration: none;
}

header.site a:hover {
  color: var(--accent-hot);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

h1 {
  font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  font-weight: 650;
  color: var(--heading);
  margin: 1.75rem 0 0.6rem;
}

h3,
h4,
h5,
h6 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--heading);
  margin: 1.2rem 0 0.4rem;
}

h4 {
  font-size: 1rem;
}

h5,
h6 {
  font-size: 0.95rem;
}

p,
li,
td,
blockquote {
  font-weight: 300;
}

strong {
  font-weight: 650;
  color: var(--heading);
}

.lead {
  font-size: 1.12em;
  font-style: italic;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.byline {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--text-mute);
  margin: 0 0 1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.9rem 1.25rem;
  min-height: 44px;
  min-width: 44px;
  background: var(--accent);
  color: #111 !important;
  text-decoration: none;
  border-radius: 8px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 650;
}

.cta:hover {
  background: var(--accent-hot);
  color: #111 !important;
}

footer.note {
  margin-top: 1.75rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.88rem;
  color: var(--text-mute);
}

footer.note a {
  color: var(--text-soft);
}

blockquote {
  margin: 0.85rem 0;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 3px solid var(--quote-border);
  color: var(--text-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85rem 0;
  font-size: 0.95em;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

thead,
tbody,
tr {
  width: 100%;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--heading);
  background: #2e2e2e;
}

ul,
ol {
  padding-left: 1.3rem;
}

li {
  margin: 0.25rem 0;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88em;
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--text-soft);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.hub ol {
  padding-left: 1.4rem;
}

.hub li {
  margin: 0.45rem 0;
}

.hub a {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.98rem;
}

@media (max-width: 520px) {
  body {
    line-height: 1.55;
  }

  .cta {
    width: 100%;
  }

  table {
    font-size: 0.9em;
  }
}
