/* ============================================================
   odiegones — design tokens
   Minimalist editorial · monochrome + warm accent
   ============================================================ */

:root {
  /* Neutral scale — warm off-white through near-black */
  --paper:        #fafaf7;
  --paper-2:      #f3f2ec;
  --rule:         #e6e4dc;
  --ink-faint:    #b8b4a8;
  --ink-mute:     #6b6760;
  --ink-soft:     #3a3833;
  --ink:          #15140f;

  /* Accent — terracotta, used sparingly */
  --accent:       #d97757;
  --accent-soft:  #f4dccd;
  --accent-deep:  #b85a3d;

  /* Code block tints */
  --code-bg:      #f5f3ec;
  --code-rule:    #e6e4dc;

  /* Type — modern sans, mono for code */
  --font-sans: "Inter Tight", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Type scale */
  --t-mini:    13px;   /* labels, tags, mono meta */
  --t-meta:    15px;   /* nav links, captions, secondary text */
  --t-body:    18px;   /* body copy */
  --t-lede:    21px;   /* lead paragraph */
  --t-h6:      16px;
  --t-h5:      19px;
  --t-h4:      23px;
  --t-h3:      29px;
  --t-h2:      37px;
  --t-h1:      56px;
  --t-display: 88px;

  /* Spacing — 4px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 144px;

  /* Layout */
  --measure: 64ch;
  --content-w: 720px;
  --wide-w:    1080px;

  /* Radii — very subtle, editorial feel */
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 8px;

  /* Transitions */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Dark mode tokens */
.theme-dark {
  --paper:        #0f0e0c;
  --paper-2:      #1a1815;
  --rule:         #2a2722;
  --ink-faint:    #4a463e;
  --ink-mute:     #8a8678;
  --ink-soft:     #c4bfb1;
  --ink:          #f3f0e6;

  --accent:       #e89070;
  --accent-soft:  #3a261d;
  --accent-deep:  #f0a085;

  --code-bg:      #181614;
  --code-rule:    #2a2722;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== Reusable system primitives ===== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  width: 100%;
}

.hairline-top { border-top: 1px solid var(--rule); }
.hairline-bot { border-bottom: 1px solid var(--rule); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

button { font-family: inherit; cursor: pointer; }

/* ===== Page shell — mobile-first ===== */

/* Responsive horizontal padding */
.site-wrap {
  min-height: 100vh;
  background: var(--paper);
  font-family: var(--font-sans);
  padding: 0 20px;
}
@media (min-width: 640px)  { .site-wrap { padding: 0 40px; } }
@media (min-width: 1024px) { .site-wrap { padding: 0 88px; } }

/* Centred content column */
.site-inner {
  max-width: var(--wide-w);
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) { .site-header { padding: var(--s-5) 0; } }

.site-header .brand {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.site-header .brand .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
  flex-shrink: 0;
}
.site-header nav {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  flex-wrap: wrap;
}
@media (min-width: 640px) { .site-header nav { gap: var(--s-6); } }

.site-header nav a {
  font-size: 19px;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 150ms;
}
.site-header nav a:hover,
.site-header nav a.is-active { color: var(--ink); }

.site-header nav form.logout-form {
  display: inline-flex;
  margin: 0;
  padding: 0;
}
.site-header nav button.nav-link {
  appearance: none;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: inherit;
  font-size: 19px;
  line-height: inherit;
  color: var(--ink-mute);
  text-decoration: none;
  cursor: pointer;
  vertical-align: baseline;
  transition: color 150ms;
}
.site-header nav button.nav-link:hover { color: var(--ink); }

/* ===== Hero section — mobile-first ===== */

.hero-section {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px)  { .hero-section { padding: 40px 0 32px; } }
@media (min-width: 1024px) { .hero-section { padding: 60px 0 48px; } }

.hero-eyebrow { margin-bottom: 20px; }
@media (min-width: 640px) { .hero-eyebrow { margin-bottom: 24px; } }

.hero-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  max-width: 100%;
}
@media (min-width: 640px)  { .hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .hero-title { font-size: 68px; letter-spacing: -0.035em; } }

.hero-desc {
  margin-top: 24px;
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 52ch;
}
@media (min-width: 640px) { .hero-desc { margin-top: 40px; } }

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 640px) { .hero-actions { margin-top: 40px; } }

/* ===== Articles section — mobile-first ===== */

.articles-section {
  padding: 40px 0 32px;
}
@media (min-width: 640px)  { .articles-section { padding: 56px 0 40px; } }
@media (min-width: 1024px) { .articles-section { padding: 72px 0 56px; } }

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
  }
}

.section-title {
  font-family: var(--font-sans);
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

.section-tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .section-tags { justify-content: flex-end; max-width: 360px; }
}

.search-form {
  display: flex;
  gap: var(--s-2);
  width: 100%;
}
.search-form .search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-meta) var(--font-sans);
  outline: none;
}
.search-form .search-input:focus {
  border-color: var(--accent);
}
.search-form .search-submit {
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .section-header .search-form { width: auto; flex: 0 1 320px; }
}

/* ===== Newsletter block — mobile-first ===== */

.newsletter-block {
  margin: var(--s-6) 0 var(--s-8);
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--rule);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
@media (min-width: 768px) {
  .newsletter-block {
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
  }
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }

.newsletter-input {
  font: 400 var(--t-meta) var(--font-sans);
  padding: 12px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-1);
  outline: none;
  width: 100%;
}
@media (min-width: 480px) { .newsletter-input { width: auto; min-width: 220px; } }

/* ===== Footer — mobile-first ===== */

.site-footer {
  padding: var(--s-7) 0 var(--s-6);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.site-footer a { text-decoration: none; color: var(--ink-mute); }
.site-footer a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
}

@media (min-width: 640px) {
  .footer-legal {
    justify-content: flex-end;
  }
}

.footer-social a {
  display: flex;
  align-items: center;
  color: var(--ink-mute);
  transition: color 0.15s ease;
}
.footer-social a:hover { color: var(--accent); }

/* ===== Dark-mode toggle button ===== */

.theme-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  padding: 0;
  cursor: pointer;
  transition: border-color 150ms, color 150ms;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--ink); color: var(--ink); }

/* Show moon in light mode, sun in dark mode */
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
.theme-dark .theme-toggle .icon-moon { display: none; }
.theme-dark .theme-toggle .icon-sun  { display: block; }

/* ===== Article prose ===== */

.prose {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.6;
  color: var(--ink);
  max-width: var(--measure);
  font-feature-settings: "onum";
}
.prose > * + * { margin-top: 1.4em; }
.prose h2 {
  font-family: var(--font-sans);
  font-size: var(--t-h3);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2.2em;
  margin-bottom: 0.4em;
}
.prose h3 {
  font-family: var(--font-sans);
  font-size: var(--t-h4);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.3em;
}
.prose p { margin: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.prose a:hover { color: var(--accent); }

.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 0 0 0 var(--s-5);
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--t-h5);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.prose ul, .prose ol { padding-left: 1.4em; margin: 0; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ink-faint); }

.prose hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 2.5em 0;
}

/* Inline code */
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--code-bg);
  border: 1px solid var(--code-rule);
  border-radius: var(--r-1);
  padding: 1px 5px;
  color: var(--ink);
}

/* ===== Code blocks ===== */

.codeblock {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.6;
  background: var(--code-bg);
  border: 1px solid var(--code-rule);
  border-radius: var(--r-2);
  padding: var(--s-4) var(--s-5);
  overflow-x: auto;
  color: var(--ink);
  margin: 0;
  position: relative;
}
.codeblock .cb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  color: var(--ink-mute);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--code-rule);
}

/* Syntax — mellow, paper-friendly */
.tok-kw   { color: #a04030; }
.tok-fn   { color: #4a6b8a; }
.tok-str  { color: #5c7a3a; }
.tok-num  { color: #8a5a20; }
.tok-com  { color: var(--ink-faint); font-style: italic; }
.tok-var  { color: var(--ink); }
.tok-pun  { color: var(--ink-mute); }
.tok-dec  { color: #7a5aa0; }

.theme-dark .tok-kw   { color: #e89070; }
.theme-dark .tok-fn   { color: #82a8d4; }
.theme-dark .tok-str  { color: #b3c98a; }
.theme-dark .tok-num  { color: #d4a464; }
.theme-dark .tok-com  { color: #5a564b; }
.theme-dark .tok-pun  { color: #8a8678; }
.theme-dark .tok-dec  { color: #c0a0e0; }

/* Codehilite (markdown + Pygments output) */
.codehilite {
  background: var(--code-bg) !important;
  border: 1px solid var(--code-rule);
  border-radius: var(--r-2);
  padding: var(--s-4) var(--s-5);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.6;
  margin: 1.4em 0;
}
.codehilite pre {
  margin: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
}
.codehilite code { background: transparent; border: 0; padding: 0; }

/* ===== Article cards ===== */

/* Variant: list — mobile-first */
.card-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5) var(--s-4);
  margin: 0 calc(var(--s-4) * -1);
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background-color 200ms var(--ease-out);
  border-radius: var(--s-1);
}
.card-list:hover {
  background-color: var(--paper-2);
}
.card-list:hover .c-title a {
  color: var(--accent);
}
@media (min-width: 640px) {
  .card-list {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    gap: var(--s-6);
    align-items: start;
  }
}

.card-list .c-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-list .c-date {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.card-list .c-title {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 6px 0;
}
.card-list .c-title a {
  text-decoration: none;
  color: inherit;
  transition: color 200ms var(--ease-out);
}
.card-list .c-summary {
  color: var(--ink-mute);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}
.card-list .c-summary a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.card-list:hover .c-title a,
.card-list:hover .c-summary a {
  color: var(--accent);
}
.card-list .c-meta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.card-list .c-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.card-list .c-tags .tag-pill:nth-child(n+4) {
  display: none;
}

/* Variant: bordered card */
.card-bordered {
  border: 1px solid var(--rule);
  padding: var(--s-5);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  cursor: pointer;
  transition: border-color 200ms var(--ease-out);
}
.card-bordered:hover { border-color: var(--ink); }
.card-bordered .c-tag {
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-bordered .c-title {
  font-size: var(--t-h4);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.card-bordered .c-summary {
  color: var(--ink-mute);
  font-size: var(--t-meta);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.card-bordered .c-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  color: var(--ink-faint);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
}

/* Variant: numbered */
.card-numbered {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  align-items: start;
}
@media (min-width: 640px) {
  .card-numbered { grid-template-columns: 64px 1fr; gap: var(--s-5); }
}
.card-numbered .c-num {
  font-family: var(--font-mono);
  font-size: var(--t-h4);
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  padding-top: 6px;
  letter-spacing: -0.02em;
}
.card-numbered .c-title {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 var(--s-2) 0;
}
.card-numbered .c-summary {
  color: var(--ink-mute);
  font-size: var(--t-meta);
  line-height: 1.6;
  margin: 0 0 var(--s-3) 0;
  max-width: 56ch;
}
.card-numbered .c-meta {
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  display: flex;
  gap: var(--s-4);
}
.card-numbered .c-meta .tag { color: var(--accent); text-transform: uppercase; }

/* ===== Tag pills ===== */

.tag-pill {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink-mute);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.tag-pill:hover { color: var(--ink); border-color: var(--ink); }
.tag-pill.is-accent { color: var(--accent); border-color: var(--accent); }

/* ===== Buttons ===== */

.btn {
  font-family: var(--font-sans);
  font-size: var(--t-meta);
  font-weight: 500;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-1);
  letter-spacing: -0.005em;
  transition: opacity 150ms;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); opacity: 1; }

/* ===== Callout ===== */

.callout {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-meta);
  line-height: 1.55;
  color: var(--ink);
}
.theme-dark .callout { background: var(--accent-soft); color: var(--ink); }
.callout .callout-label {
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 4px;
  display: block;
  font-weight: 600;
}
.theme-dark .callout .callout-label { color: var(--accent); }

/* ===== Pricing cards ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin: 0 0 var(--s-6);
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.pricing-card:hover { border-color: var(--ink-soft); }
.pricing-card.is-featured { border-color: var(--accent); }
.pricing-card:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.pricing-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pricing-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
}

.pricing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.pricing-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 600;
}
.theme-dark .pricing-tag { color: var(--accent); }

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: var(--s-1);
}
.pricing-price {
  font-family: var(--font-sans);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.pricing-period {
  font-family: var(--font-mono);
  font-size: var(--t-meta);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.pricing-savings {
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
}
.theme-dark .pricing-savings { color: var(--accent); }

.pricing-note {
  font-size: var(--t-meta);
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 0;
}

/* ===== Reading-comfort polish ===== */

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.hero-title,
.section-title,
.prose h2,
.prose h3,
.card-list .c-title {
  text-wrap: balance;
}
.prose p { text-wrap: pretty; }

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 50;
  transition: width 80ms linear;
  pointer-events: none;
}

.article-shell {
  max-width: var(--wide-w);
  margin: 0 auto;
}
.article-shell .prose {
  max-width: none;
}
.article-shell .hero-title {
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .read-progress { transition: none; }
  .theme-toggle,
  .site-header nav a { transition: none; }
}
