/* RingPilot blog — clean editorial. DM Serif headings, Inter body, near-black text,
   accent reserved for CTAs/links. Matches getringpilot.com brand without the dated look. */
:root {
  --accent: #6c63ff;
  --accent-hover: #5a52e0;
  --text: #171717;
  --muted: #5a5a5a;
  --light: #8a8a8a;
  --bg: #ffffff;
  --card: #f6f6fb;
  --line: #ececf3;
  --answer: #f3f1ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65;
  font-size: 17px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--text); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.bnav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 880px; margin: 0 auto; padding: 18px 20px;
}
.bnav .brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.bnav nav { display: flex; gap: 18px; align-items: center; }
.bnav nav a { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.bnav nav a:hover { color: var(--text); }
.bnav .cta-nav { background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 9px; }
.bnav .cta-nav:hover { background: var(--accent-hover); color: #fff; }

main { max-width: 720px; margin: 0 auto; padding: 12px 20px 56px; }

/* breadcrumb + meta */
.crumb { font-size: 0.82rem; color: var(--light); margin: 10px 0 22px; }
.crumb a { color: var(--light); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { margin: 0 7px; opacity: 0.6; }
.updated { font-size: 0.84rem; color: var(--light); margin: -6px 0 22px; }

/* typography */
h1 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 2.4rem; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 14px; }
h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.5rem; margin: 36px 0 12px; letter-spacing: -0.01em; }
p { margin-bottom: 16px; color: #2a2a2a; }
.lede { font-size: 1.15rem; color: var(--muted); }
ul, ol { margin: 0 0 16px 1.25rem; }
li { margin-bottom: 8px; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
strong { font-weight: 700; }
hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }

/* answer box — the AEO money block */
.answer {
  background: var(--answer); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 18px 22px; margin: 8px 0 28px;
}
.answer p { margin: 0; font-size: 1.08rem; color: var(--text); }
.cue-line { font-style: italic; color: var(--muted); }

/* article + hub cards */
.articles { list-style: none; margin: 0; padding: 0; }
.articles li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.articles li:hover {
  border-color: var(--accent);
  background: var(--answer);
  box-shadow: 0 2px 14px rgba(108, 99, 255, 0.10);
}
.articles li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--accent);
  text-decoration: none;
}
.articles li > a::after {
  content: "→";
  font-weight: 600;
  transition: transform .14s ease;
}
.articles li:hover > a::after { transform: translateX(4px); }
.articles li > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.articles .tip { font-size: 0.92rem; color: var(--muted); margin-top: 5px; }
.related { list-style: none; margin: 0; padding: 0; }
.related li { padding: 8px 0; }
.soon { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--light); font-weight: 600; }

/* CTA box */
.cta-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: center; margin: 32px 0; }
.cta-box p { margin-bottom: 12px; color: var(--muted); }
.cta-tool, a.cta-tool { display: inline-block; background: var(--accent); color: #fff; padding: 13px 26px; border-radius: 11px; font-weight: 700; text-decoration: none; font-size: 1rem; }
.cta-tool:hover { background: var(--accent-hover); color: #fff; }

footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--light); }
footer a { color: var(--light); }
footer a:hover { color: var(--accent); }

*:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 540px) {
  body { font-size: 16px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.3rem; }
}
