/* ============================================================
   Antique Silver Hallmarks — Editorial Design System
   Single source of truth for tokens + components.
   Aesthetic: typography-first, hairline-divided, museum-quiet.
   ============================================================ */

/* ---- Fonts (font-display: swap to avoid CLS) ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Palette */
  --bg:        #FBFAF7;  /* bone / cream off-white */
  --surface:   #FFFFFF;  /* contrast sections */
  --ink:       #1A1A1A;  /* charcoal ink */
  --ink-2:     #6B6760;  /* warmed secondary gray */
  --ink-3:     #908B82;  /* faint captions */
  --slate:     #4A5568;  /* smoked antique-silver accent */
  --slate-deep:#374151;
  --bronze:    #B08D57;  /* faded bronze / champagne — hairlines + micro only */
  --bronze-ink:#8A6D3F;  /* bronze text that passes AA on cream */
  --line:      #E6E2D9;  /* hairline */
  --line-2:    #D8D3C7;  /* stronger hairline */

  /* Typography */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Modular scale ~1.265 */
  --step--1: 0.889rem;
  --step-0:  1.0625rem;   /* ~17px body */
  --step-1:  1.266rem;
  --step-2:  1.602rem;
  --step-3:  2.027rem;
  --step-4:  2.566rem;
  --step-5:  3.247rem;
  --step-6:  4.110rem;
  --step-7:  5.000rem;

  /* Spacing — 8px base */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Layout */
  --measure: 68ch;          /* reading column */
  --container: 76rem;       /* wide layout */
  --container-narrow: 50rem;
  --radius: 8px;
  --radius-sm: 5px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ============================================================
   2. RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-6); font-optical-sizing: auto; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 500; }

p { text-wrap: pretty; }

::selection { background: var(--slate); color: #fff; }

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

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--bg); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--bg); }

.rule { height: 1px; background: var(--line); border: 0; }
.rule--bronze { background: var(--bronze); opacity: 0.55; }

/* eyebrow */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-ink);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--bronze);
}
.eyebrow--badge {
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 14px;
  color: var(--slate);
}
.eyebrow--badge::before { display: none; }

/* prose / reading column */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-8); font-size: var(--step-3); }
.prose h3 { margin-top: var(--s-6); font-size: var(--step-1); }
.prose p { color: #2A2926; }
.prose a {
  color: var(--slate-deep);
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s var(--ease);
}
.prose a:hover { text-decoration-color: var(--slate); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s-2); }
.prose strong { font-weight: 600; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
}

/* ============================================================
   4. HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: 68px;
}
.wordmark {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark em {
  font-style: italic;
  color: var(--slate);
}
.wordmark .dot { color: var(--bronze); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.nav a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 2px;
  position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-5);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: var(--s-10) var(--s-9);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-8);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, var(--step-7));
  margin-top: var(--s-5);
  line-height: 1.12;
  letter-spacing: -0.02em;
  padding-bottom: 0.08em;
}
.hero h1 em { font-style: italic; color: var(--slate); }
.hero__lead { margin-top: var(--s-6); max-width: 46ch; }
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

/* faint engraved texture behind hero */
.hero__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg, transparent 0 22px, color-mix(in srgb, var(--bronze) 6%, transparent) 22px 23px);
  opacity: 0.5;
  mask-image: radial-gradient(120% 90% at 80% 20%, #000 10%, transparent 70%);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--slate-deep); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--slate); transform: translateY(-1px); }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 500;
  font-size: var(--step--1);
  text-decoration: none;
  color: var(--slate-deep);
}
.tlink span { border-bottom: 1px solid var(--bronze); padding-bottom: 1px; transition: border-color .2s; }
.tlink:hover span { border-color: var(--slate); }
.tlink svg { transition: transform .2s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* ============================================================
   7. REGION CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.rcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), transform .25s var(--ease);
  background: var(--surface);
}
.rcard:hover { background: #FCFBF8; transform: translateY(-2px); }
.rcard__num {
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--bronze-ink);
  font-variant-numeric: tabular-nums;
}
.rcard__icon { color: var(--slate); margin-bottom: var(--s-4); }
.rcard__icon svg { width: 32px; height: 32px; stroke-width: 1.25; }
.rcard h3 { margin-top: var(--s-3); font-size: var(--step-2); }
.rcard p { margin-top: var(--s-2); color: var(--ink-2); font-size: var(--step--1); flex: 1; }
.rcard__more {
  margin-top: var(--s-5);
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--step--1); font-weight: 500; color: var(--slate-deep);
}
.rcard__more svg { transition: transform .2s var(--ease); }
.rcard:hover .rcard__more svg { transform: translateX(3px); }
.rcard__top {
  display: flex; align-items: flex-start; justify-content: space-between;
}

/* ============================================================
   8. PULL-QUOTE / ASIDE
   ============================================================ */
.aside-note {
  border-left: 2px solid var(--bronze);
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  margin-block: var(--s-7);
}
.aside-note .eyebrow { margin-bottom: var(--s-3); }
.aside-note p {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--ink);
}
.pullquote {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.3;
  color: var(--slate-deep);
  text-wrap: balance;
  margin-block: var(--s-7);
}
.pullquote cite {
  display: block;
  margin-top: var(--s-4);
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--step--1);
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   9. FAQ — accordion
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--slate); }
.faq summary .faq__sign {
  flex: none;
  font-family: var(--sans);
  font-size: var(--step-2);
  color: var(--bronze-ink);
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq details[open] summary .faq__sign { transform: rotate(45deg); }
.faq__body {
  padding: 0 0 var(--s-6);
  max-width: var(--measure);
  color: var(--ink-2);
}

/* ============================================================
   10. APP FUNNEL CTA
   ============================================================ */
.appcta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: clamp(var(--s-6), 5vw, var(--s-8));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-8);
  align-items: center;
}
.appcta h2 { color: var(--bg); font-size: var(--step-3); }
.appcta .eyebrow { color: var(--bronze); }
.appcta .eyebrow::before { background: var(--bronze); }
.appcta p { color: #C9C6C0; margin-top: var(--s-4); max-width: 44ch; }
.appcta__note { font-size: var(--step--1); color: #908B82 !important; margin-top: var(--s-5) !important; }
.appcta__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.qr {
  width: 148px; height: 148px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: grid;
  place-items: center;
}
.qr svg { width: 100%; height: 100%; }
.qr-caption {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #908B82;
}
.store-badges { display: flex; gap: var(--s-3); margin-top: var(--s-5); flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  border: 1px solid #3A3A3A; border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: var(--step--1); color: var(--bg);
  text-decoration: none; transition: border-color .2s var(--ease);
}
.store-badge:hover { border-color: var(--bronze); }

/* ============================================================
   11. TABLES — zebra / hairline
   ============================================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.marks {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  background: var(--surface);
}
table.marks caption {
  text-align: left;
  padding: var(--s-4) var(--s-5);
  color: var(--ink-2);
  font-size: var(--step--1);
  border-bottom: 1px solid var(--line);
}
table.marks th, table.marks td {
  text-align: left;
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.marks thead th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-deep);
  background: #F4F2EC;
}
table.marks tbody tr:nth-child(even) { background: #FCFBF8; }
table.marks tbody tr:hover { background: #F6F4EE; }
table.marks td .glyph {
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--ink);
}
.symbol-cell { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--slate-deep); }

/* ============================================================
   12. NUMBERED STEPS
   ============================================================ */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: var(--step-3);
  color: var(--bronze-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--step-2); }
.step p { margin-top: var(--s-3); color: var(--ink-2); max-width: 56ch; }

/* ============================================================
   13. IMAGE PLACEHOLDERS
   ============================================================ */
.ph {
  position: relative;
  background-color: #F1EFE8;
  background-image: repeating-linear-gradient(
    45deg, transparent 0 11px, color-mix(in srgb, var(--slate) 7%, transparent) 11px 12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: var(--s-5);
  aspect-ratio: 4 / 3;
}
.ph--tall { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1; }

/* ============================================================
   14. FEATURE / SPLIT BLOCKS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.split--narrow-img { grid-template-columns: 1.2fr 0.8fr; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.section-head h2 { font-size: var(--step-4); max-width: 18ch; }
.section-head p { color: var(--ink-2); max-width: 40ch; }

/* small caps label rows */
.kv { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-5); }
.kv dt { font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { font-size: var(--step-0); color: var(--ink); }

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: var(--s-8) var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-7);
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s-4);
}
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.footer-grid a { text-decoration: none; color: var(--ink-2); font-size: var(--step--1); transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--ink); }
.footer-about p { color: var(--ink-2); font-size: var(--step--1); margin-top: var(--s-4); max-width: 34ch; }
.footer-bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  justify-content: space-between;
  font-size: var(--step--1);
  color: var(--ink-3);
}

/* ============================================================
   16. MOTION — scroll fade-in
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; font-size: var(--step--1); color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--line-2); }

/* page header band */
.page-head { padding-block: var(--s-8) var(--s-7); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, var(--step-6)); margin-top: var(--s-4); }
.page-head .lead { margin-top: var(--s-5); max-width: 52ch; }

/* tag / chip */
.chip {
  display: inline-block;
  font-size: var(--step--1);
  color: var(--slate-deep);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ============================================================
   18. BLOG (Twenty Twenty-Five reading aesthetic)
   ============================================================ */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: var(--s-6);
  align-items: baseline;
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .25s var(--ease);
}
.post-row:hover { background: #FCFBF8; }
.post-row__date { font-size: var(--step--1); color: var(--ink-3); letter-spacing: 0.04em; }
.post-row__body h3 {
  font-size: var(--step-3);
  transition: color .2s var(--ease);
}
.post-row:hover .post-row__body h3 { color: var(--slate); }
.post-row__body p { color: var(--ink-2); margin-top: var(--s-3); max-width: 60ch; }
.post-row__meta { margin-top: var(--s-3); display: flex; gap: var(--s-3); align-items: center; }
.post-row__arrow { color: var(--bronze-ink); align-self: center; transition: transform .2s var(--ease); }
.post-row:hover .post-row__arrow { transform: translateX(4px); }

.post-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
  padding-block: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.post-feature h2 { font-size: clamp(2rem, 4vw, var(--step-5)); margin-top: var(--s-4); }
.post-feature p { color: var(--ink-2); margin-top: var(--s-5); max-width: 46ch; }

/* single post */
.post-header { padding-block: var(--s-8) var(--s-6); }
.post-header h1 { font-size: clamp(2.4rem, 5vw, var(--step-6)); margin-top: var(--s-4); max-width: 20ch; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center;
  margin-top: var(--s-6);
  font-size: var(--step--1); color: var(--ink-3);
}
.post-meta .dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.post-cover { margin-block: var(--s-6) var(--s-8); }
.article { max-width: var(--measure); margin-inline: auto; }
.article > * + * { margin-top: var(--s-5); }
.article h2 { font-size: var(--step-3); margin-top: var(--s-8); }
.article h3 { font-size: var(--step-1); margin-top: var(--s-6); }
.article p { color: #2A2926; }
.article a { color: var(--slate-deep); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.article blockquote {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--slate-deep);
  border-left: 2px solid var(--bronze);
  padding-left: var(--s-5);
  margin-block: var(--s-7);
}
.article figure { margin-block: var(--s-7); }
.article figcaption { font-family: ui-monospace, monospace; font-size: 12px; color: var(--ink-3); margin-top: var(--s-3); }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: var(--s-2); }
.article code {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 0.88em;
  background: #F1EFE8;
  padding: 2px 6px;
  border-radius: 4px;
}
.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-5);
  background: var(--surface);
  margin-block: var(--s-7);
}
.toc h4 { font-family: var(--sans); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-3); }
.toc ol { list-style: none; padding: 0; counter-reset: toc; display: grid; gap: var(--s-2); }
.toc li { counter-increment: toc; }
.toc a { text-decoration: none; color: var(--ink-2); font-size: var(--step--1); display: flex; gap: var(--s-3); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--bronze-ink); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .post-row { grid-template-columns: 1fr; gap: var(--s-2); }
  .post-row__arrow { display: none; }
  .post-feature { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --step-6: 3.4rem; --step-5: 2.8rem; --step-4: 2.2rem; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .split, .split--narrow-img { grid-template-columns: 1fr; }
  .appcta { grid-template-columns: 1fr; gap: var(--s-6); }
  .appcta__qr { flex-direction: row; align-items: center; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --step-6: 2.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: var(--s-2); }
  .container { padding-inline: var(--s-4); }
}

/* staging: reveal-on-scroll JS olmadan içerik görünür kalsın */
.reveal{opacity:1 !important;transform:none !important}

/* home-width-fix: WP constrained layout ana sayfa bölümlerini 50rem'e sıkıştırıyordu;
   site.css .container (76rem) kontrol etsin diye kısıtı kaldır */
.home main .wp-block-post-content,
.home main .wp-block-post-content > * { max-width: none !important; }
