/* x402 Social Stats API by FindClout. Shared stylesheet (landing + blog). */

:root {
  --bg: #05070d;
  --bg-soft: #0a0e17;
  --surface: #0d1320;
  --surface-2: #131b2c;
  --border: #1d2739;
  --border-soft: #16202f;
  --text: #e9eef7;
  --muted: #96a1b8;
  --faint: #5f6b83;
  --accent: #34e08b;
  --accent-strong: #1fc975;
  --accent-ink: #04170d;
  --accent-glow: rgba(52, 224, 139, 0.14);
  --blue: #58aaff;
  --green: #34e08b;
  --amber: #fdb022;
  --red: #f97066;
  --code-bg: #070b13;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Safety net: root causes below are fixed too, this catches strays. */
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* clip, not hidden: does not create a scroll container, keeps sticky header working */
  overflow-x: clip;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; margin: 2.75rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.4rem; }
strong { color: #fff; }

::selection { background: rgba(52, 224, 139, 0.28); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo .dim { color: var(--faint); font-weight: 400; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-nav a.active { color: var(--accent); background: var(--accent-glow); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 48px; position: relative; }
.hero-landing {
  padding: 84px 0 30px;
  background:
    radial-gradient(1100px 480px at 18% -10%, rgba(52, 224, 139, 0.09), transparent 60%),
    radial-gradient(900px 420px at 88% 4%, rgba(88, 170, 255, 0.07), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: 48px;
  align-items: center;
}
/* Grid/flex children default to min-width:auto and can blow past the viewport */
.hero-grid > *,
.how-steps > *,
.compare-grid > *,
.pay-grid > *,
.footer-cols > * { min-width: 0; }
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 820px;
}
.hero h1 .hl { color: var(--accent); }
.hero .tagline {
  margin: 20px 0 10px;
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 720px;
}
.hero .price-line {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--green);
  margin-bottom: 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(52, 224, 139, 0.32);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 22px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 224, 139, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 224, 139, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 224, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 224, 139, 0); }
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.hero-stat .n {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stat .l { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 9px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s, border-color 0.15s;
}
.btn-primary {
  background: linear-gradient(180deg, #3fe996 0%, var(--accent-strong) 100%);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -8px rgba(52, 224, 139, 0.45);
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 28px -8px rgba(52, 224, 139, 0.55);
}
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* Terminal window */
.term {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 60px -24px rgba(0, 0, 0, 0.8),
    0 0 80px -30px rgba(52, 224, 139, 0.25);
  overflow: hidden;
  min-width: 0;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.td-r { background: #ff5f57; }
.td-a { background: #febc2e; }
.td-g { background: #28c840; }
.term-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
}
.term-body {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 16px 18px 18px;
  font-size: 0.74rem;
  line-height: 1.55;
  white-space: pre-wrap;
  /* Wrap long tokens (payTo address, URLs) inside the panel; auto is a backstop only */
  overflow-wrap: anywhere;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.term-body .t-cmd { overflow-wrap: anywhere; }
.t-line { display: block; }
.t-prompt { color: var(--accent); font-weight: 700; }
.t-dim { color: var(--faint); }
.t-402 { color: var(--amber); font-weight: 700; }
.t-200 { color: var(--green); font-weight: 700; }
.t-caret {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.t-group { display: block; }
.anim .t-group { opacity: 0; transform: translateY(5px); animation: rise 0.5s ease forwards; }
.anim .tg-1 { animation-delay: 0.25s; }
.anim .tg-2 { animation-delay: 1.15s; }
.anim .tg-3 { animation-delay: 2.05s; }
.anim .tg-4 { animation-delay: 2.75s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .t-group { animation: none; opacity: 1; transform: none; }
  .t-caret, .eyebrow .pulse { animation: none; }
  .btn { transition: none; }
}

/* ---------- "Never need" strip ---------- */
.no-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding: 22px 0;
  margin-top: 40px;
}
.no-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.no-strip .lead-in {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.badge {
  font-size: 0.84rem;
  font-family: var(--mono);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
}
.badge-no {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  color: var(--faint);
}
.badge-yes {
  color: var(--accent);
  border-color: rgba(52, 224, 139, 0.35);
  background: var(--accent-glow);
  text-decoration: none;
}

/* ---------- Sections ---------- */
section { padding: 14px 0 28px; }
.section-lede { color: var(--muted); max-width: 780px; font-size: 1.02rem; }
.anchor-offset { scroll-margin-top: 84px; }
.section-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 3rem 0 -0.4rem;
}
.section-kicker + h2 { margin-top: 0.6rem; }

/* ---------- How it works ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0 8px;
}
.how-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.how-step .step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--faint);
}
.how-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--accent-glow);
  border: 1px solid rgba(52, 224, 139, 0.28);
  margin-bottom: 14px;
}
.how-icon svg { display: block; }
.how-step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.how-step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Comparison ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0 20px;
  align-items: stretch;
}
.compare-card {
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.compare-card.bad h3, .compare-card.good h3 { margin-top: 0; font-size: 1.02rem; }
.compare-card ul { list-style: none; margin: 14px 0 0; }
.compare-card li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.93rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.compare-card li:last-child { border-bottom: 0; }
.mark { font-family: var(--mono); font-weight: 700; flex: 0 0 auto; }
.mark-x { color: var(--red); }
.mark-ok { color: var(--green); }
.compare-card.good {
  border-color: rgba(52, 224, 139, 0.35);
  background:
    radial-gradient(420px 200px at 80% 0%, rgba(52, 224, 139, 0.08), transparent 70%),
    var(--surface);
}
.compare-card.good .one-liner {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  margin: 14px 0 0;
  overflow-wrap: anywhere;
}

/* ---------- Code blocks ---------- */
pre {
  position: relative;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 16px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.25rem;
  font-size: 0.84rem;
  line-height: 1.6;
}
code { font-family: var(--mono); }
p code, li code, td code, h3 code, summary code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.85em;
  /* Long tokens (0x addresses, URLs, JSON) must wrap, never push the page wide */
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
td code { word-break: break-all; }
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--mono);
  padding: 4px 10px;
  cursor: pointer;
  opacity: 0.85;
}
.copy-btn:hover { color: var(--text); border-color: var(--accent); opacity: 1; }

/* Syntax accents (hand-annotated spans) */
.k { color: var(--blue); }              /* JSON keys / flags */
.s { color: #7ee2a8; }                  /* strings */
.n { color: var(--amber); }             /* numbers */
.b { color: #c792ea; }                  /* booleans, null, keywords */
.c { color: var(--faint); font-style: italic; }  /* comments */
.f { color: #82cfff; }                  /* function / method names */
.cmt { color: var(--faint); }
.out { color: var(--green); }

/* ---------- Endpoint cards ---------- */
.endpoint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  margin: 0 0 20px;
  transition: border-color 0.15s;
}
.endpoint:hover { border-color: #2a3854; }
.endpoint h3 { margin-top: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.method {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid rgba(52, 224, 139, 0.35);
  background: rgba(52, 224, 139, 0.08);
  border-radius: 6px;
  padding: 2px 9px;
  vertical-align: middle;
}
.price-tag {
  float: right;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--amber);
  border: 1px solid rgba(253, 176, 34, 0.3);
  background: rgba(253, 176, 34, 0.07);
  border-radius: 999px;
  padding: 2px 10px;
}
.endpoint-path { font-family: var(--mono); font-size: 0.98rem; word-break: break-all; }

/* Collapsible example responses */
details.resp {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  margin: 0 0 1.1rem;
  overflow: hidden;
}
details.resp summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 0.86rem;
  font-family: var(--mono);
  color: var(--muted);
  user-select: none;
}
details.resp summary::-webkit-details-marker { display: none; }
details.resp summary::before {
  content: "\25B8";
  color: var(--faint);
  transition: transform 0.15s;
}
details.resp[open] summary::before { transform: rotate(90deg); }
details.resp summary:hover { color: var(--text); }
details.resp .status-200 { color: var(--green); font-weight: 700; }
details.resp pre { border: 0; border-top: 1px solid var(--border-soft); border-radius: 0; margin: 0; }

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
  min-width: 480px;
}
th, td {
  text-align: left;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-soft);
}

/* ---------- Callouts ---------- */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 9px;
  padding: 14px 18px;
  margin: 0 0 1.25rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.callout strong { color: var(--text); }
.callout.good { border-left-color: var(--green); }
.callout.warn { border-left-color: var(--amber); }

/* ---------- Payment section ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 18px;
  margin: 26px 0 20px;
  align-items: stretch;
}
.price-card {
  border: 1px solid rgba(52, 224, 139, 0.35);
  border-radius: 14px;
  padding: 28px 24px;
  background:
    radial-gradient(480px 260px at 30% 0%, rgba(52, 224, 139, 0.1), transparent 70%),
    var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.price-card .big-price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 4.2rem);
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.price-card .per { color: var(--muted); margin: 10px 0 0; font-size: 0.95rem; }
.price-card .never {
  margin: 18px auto 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--green);
  border: 1px solid rgba(52, 224, 139, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  display: inline-block;
}
.pay-steps { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.pay-steps ol { margin: 0 0 0 1.3rem; }
.pay-steps li { margin-bottom: 0.7rem; color: var(--muted); font-size: 0.94rem; }
.pay-steps li strong { color: var(--text); }
.addr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  margin: 0 0 1.1rem;
}
.addr-row .lbl {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex: 0 0 auto;
}
.addr-row code {
  font-size: 0.82rem;
  color: var(--accent);
  background: transparent;
  border: 0;
  padding: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  flex: 1 1 200px;
}
.copy-chip {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--mono);
  padding: 4px 10px;
  cursor: pointer;
  flex: 0 0 auto;
}
.copy-chip:hover { color: var(--text); border-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted); }
.faq-item p + p { margin-top: 8px; }
details.faq-item { padding: 0; }
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 4px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--faint);
  transition: transform 0.15s;
  flex: 0 0 auto;
}
details.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
details.faq-item summary:hover { color: var(--accent); }
details.faq-item .faq-body { padding: 0 4px 18px; }
details.faq-item .faq-body p { margin: 0 0 8px; color: var(--muted); max-width: 820px; }
details.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- FindClout CTA band ---------- */
.fc-band {
  position: relative;
  background:
    radial-gradient(900px 380px at 50% -30%, rgba(52, 224, 139, 0.1), transparent 65%),
    linear-gradient(135deg, #0b1220 0%, #0a0f1a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  margin-top: 56px;
}
.fc-band h2 { margin-top: 0; letter-spacing: -0.025em; }
.fc-band p { color: var(--muted); max-width: 780px; }
.fc-band .btn-primary { margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 44px 0 48px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg-soft);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}
.footer-cols h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--faint);
  margin-bottom: 10px;
}
.footer-cols ul { list-style: none; margin: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--text); }
.footer-legal { color: var(--faint); font-size: 0.82rem; border-top: 1px solid var(--border-soft); padding-top: 20px; }

/* ---------- Blog ---------- */
.blog-list { list-style: none; margin: 0; }
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}
.post-card:hover { border-color: #2a3854; }
.post-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--accent); text-decoration: none; }
.post-card p { color: var(--muted); margin: 0 0 6px; font-size: 0.95rem; }
.post-meta { color: var(--faint); font-size: 0.82rem; font-family: var(--mono); }

article.post { padding: 48px 0 24px; }
article.post header h1 { font-size: 2rem; max-width: 100%; }
article.post header .post-meta { display: block; margin: 14px 0 0; }
article.post .post-body { margin-top: 28px; }
article.post .post-body h2 { font-size: 1.45rem; }
article.post .post-body img { max-width: 100%; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .how-steps { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  h1 { font-size: 1.85rem; }
  .hero { padding: 48px 0 32px; }
  .hero-landing { padding: 52px 0 26px; }
  .hero .tagline { font-size: 1.03rem; }
  h2 { font-size: 1.4rem; }
  .endpoint { padding: 18px; }
  .price-tag { float: none; display: inline-block; margin-bottom: 8px; }
  .hero-stats { gap: 18px; }
  .term-body { font-size: 0.7rem; }
  article.post { padding: 36px 0 20px; }
  article.post header h1 { font-size: 1.6rem; }

  /* Header: logo row + one swipeable nav row (native tab-bar feel, no wrap jumble) */
  .header-inner { padding: 10px 16px 0; gap: 0 12px; }
  .site-nav {
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 4px 12px 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; padding: 9px 10px; }
  .anchor-offset { scroll-margin-top: 104px; }

  /* Thumb-friendly targets */
  .copy-btn, .copy-chip { padding: 8px 12px; font-size: 0.74rem; }
  .copy-btn { opacity: 1; }
  details.resp summary { padding: 13px 16px; }

  /* Breathing room without waste */
  pre { padding: 14px; font-size: 0.8rem; }
  .how-step, .compare-card, .pay-steps, .post-card { padding: 20px; }
  .price-card { padding: 24px 20px; }
  .fc-band { padding: 44px 0; margin-top: 44px; }
  .site-footer { padding: 36px 0 40px; }
}
@media (max-width: 480px) {
  .wrap, .wrap-wide, .wrap-narrow { padding: 0 16px; }
  .eyebrow { font-size: 0.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .fc-band .btn-primary { width: 100%; text-align: center; padding: 14px 22px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .term-body { font-size: 0.68rem; padding: 14px; }
  .addr-row .lbl { flex-basis: 100%; }
  h2 { margin-top: 2.25rem; }
  .section-kicker { margin-top: 2.25rem; }
}
