/* =============================================
   OSTRICH — Interior page styles
   Additive only. Loaded alongside style.css on
   service/content pages. Adds no selectors that
   the homepage uses, so index.html is unaffected.
   ============================================= */

/* ——— Page hero ——— */
.page-hero {
  background: var(--navy);
  padding-top: calc(var(--nav-height) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.page-hero__inner {
  max-width: 820px;
}

.page-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.page-hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 66ch;
}

.page-hero__cta {
  margin-top: 2.25rem;
}

/* ——— Breadcrumb ——— */
.crumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.crumb a:hover { color: var(--mint); }
.crumb span { padding: 0 0.5rem; opacity: 0.5; }

/* ——— Answer-first block (AEO) ——— */
.answer {
  background: var(--mint-soft);
  border-left: 4px solid var(--mint);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 3rem;
}

.answer p {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.answer p + p { margin-top: 1rem; }
.answer strong { font-weight: 700; }

/* ——— Page body / prose ——— */
.page-body {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* First body section sits directly under the dark hero — tighten the seam. */
.page-hero + .page-body {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

.prose {
  max-width: 74ch;
  margin-inline: auto;
}

.prose--wide { max-width: 100%; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 3.5rem 0 1.25rem;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 2.5rem 0 0.875rem;
}

.prose p {
  color: var(--ink-2);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.prose p strong { color: var(--ink); font-weight: 600; }

.prose ul, .prose ol {
  margin: 0 0 1.5rem 1.25rem;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 0.625rem;
  line-height: 1.65;
  padding-left: 0.25rem;
}

.prose li strong { color: var(--ink); font-weight: 600; }

.prose a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: var(--violet-deep); }

.prose em { font-style: italic; }

/* ——— Tables ——— */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--slate-line);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 520px;
  background: var(--white);
}

.data-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 1rem 1.25rem;
  background: var(--slate);
  border-bottom: 1px solid var(--slate-line);
  white-space: nowrap;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-line);
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.55;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--ink); font-weight: 600; }
.data-table .is-ours { background: var(--violet-soft); }
.data-table .is-ours td { color: var(--ink); }

/* ——— Callout ——— */
.callout {
  background: var(--slate);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 2.5rem;
}

.callout__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.75rem;
}

.callout h3 {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.callout p { color: var(--ink-2); margin-bottom: 0; line-height: 1.65; }
.callout p + p { margin-top: 0.875rem; }

.callout--mint {
  background: var(--mint-soft);
  border-color: rgba(0, 209, 133, 0.25);
}

/* ——— Speed strip (time-to-live differentiator) ——— */
.speed-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.speed-card {
  background: var(--white);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.speed-card__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
  margin-bottom: 0.625rem;
}

.speed-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.speed-card__body {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}

/* ——— Key/verdict list ——— */
.verdict {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.875rem;
}

.verdict--do { background: var(--mint-soft); color: #047857; }
.verdict--skip { background: rgba(26, 26, 46, 0.06); color: var(--ink-3); }
.verdict--maybe { background: var(--violet-soft); color: var(--violet-deep); }

/* ——— Interior FAQ (reuses .faq__* look on light bg) ——— */
.page-faq { background: var(--slate); padding-block: var(--section-pad); }

/* ——— Related pages ——— */
.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.related__card {
  display: block;
  background: var(--white);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
}

.related__card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.related__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.related__card-body {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}

/* ——— Nav on light interior pages ——— */
.nav--solid { background: var(--navy); }

@media (max-width: 700px) {
  .data-table { font-size: 0.875rem; }
}

/* =============================================
   INTERIOR PAGE COMPONENTS — v2
   Borrowed from the homepage design language so
   service pages stop reading as a wall of prose.
   ============================================= */

/* ——— Section background variants (rhythm) ——— */
.section--slate { background: var(--slate); }

.section--dark {
  background: var(--navy);
}

.section--dark .prose h2,
.section--dark .prose h3 { color: var(--white); }

.section--dark .prose p,
.section--dark .prose li { color: rgba(255,255,255,0.75); }

.section--dark .prose p strong,
.section--dark .prose li strong { color: var(--white); }

.section--dark .prose a { color: var(--mint); }

/* ——— Stat band: big numbers, dark, full-width ——— */
.stat-band {
  background: var(--navy);
  padding-block: clamp(2.75rem, 6vw, 4rem);
}

.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1000px;
  margin-inline: auto;
}

.stat-band__item { text-align: center; }

.stat-band__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.stat-band__label {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.stat-band__source {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ——— Feature cards with icons ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.section--slate .feature-card { background: var(--white); }

.feature-card__icon {
  width: 40px;
  height: 40px;
  background: var(--violet);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.125rem;
}

.feature-card__icon svg { width: 20px; height: 20px; }

.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.feature-card__body {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ——— Split contrast cards (fits / doesn't fit) ——— */
.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 0 2rem;
}

.split-card {
  border-radius: var(--radius-card);
  padding: 1.875rem;
  border: 1px solid var(--slate-line);
}

.split-card--yes {
  background: var(--mint-soft);
  border-color: rgba(0, 209, 133, 0.3);
}

.split-card--no {
  background: var(--slate);
}

.split-card__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.125rem;
}

.split-card__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

.split-card--yes .split-card__mark { background: #059669; }
.split-card--no .split-card__mark { background: var(--ink-3); }

.split-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-card li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.split-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5625rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.5;
}

.split-card li:last-child { margin-bottom: 0; }

/* ——— Pull quote ——— */
.pull {
  border-left: 3px solid var(--violet);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2.5rem 0;
}

.pull p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.section--dark .pull { border-left-color: var(--mint); }
.section--dark .pull p { color: var(--white); }

/* ——— Proof strip ——— */
.proof-strip {
  background: var(--slate);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--slate-line);
}

.proof-strip__label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2rem;
}

.proof-strip .partner-logos { margin-bottom: 2rem; }
.proof-strip .aarp-badge { justify-content: center; }

/* ——— Steps on interior pages (reuses homepage .steps look) ——— */
.page-steps { margin: 0 0 2.5rem; }

@media (max-width: 780px) {
  .split-cards { grid-template-columns: 1fr; }
}

/* Related cards are anchors sitting inside .prose, so `.prose a`
   was underlining them and painting the body text violet. */
.prose .related__card,
.prose .related__card:hover {
  text-decoration: none;
  color: inherit;
}

.prose .related__card .related__card-title { color: var(--ink); }
.prose .related__card .related__card-body { color: var(--ink-3); }
.prose .related__card:hover .related__card-title { color: var(--violet); }
