/* Shared styles for the data-driven SEO "loop" pages: streaming price
   comparisons, referral bonus articles, airline compensation guides and
   (later) unclaimed-property guides. Uses the site's existing tokens
   (--cream, --ink, --muted, --border, --orange, --navy, --blue) and the
   legal-hero / legal-content shell, so nothing here fights styles.css. */

.lp-hero { padding: 72px 32px 64px; }
.lp-hero h1 { font-size: 56px; line-height: 64px; letter-spacing: -1.1px; max-width: 980px; margin-left: auto; margin-right: auto; }
.lp-hero p { max-width: 820px; }
.lp-crumbs { font-size: 13px; line-height: 20px; color: var(--muted); margin-bottom: 20px; }
.lp-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.lp-crumbs span[aria-hidden] { margin: 0 6px; }
.lp-hero .lp-updated { display: inline-flex; align-items: center; gap: 8px; margin: 22px auto 0; padding: 6px 12px; border: 1px solid var(--border); background: #fff; font-size: 13px; line-height: 20px; font-weight: 500; color: #414651; }
.lp-hero .lp-updated::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.lp-hero .actions { margin-top: 28px; }

.lp-content { margin-top: 0; padding: 72px 32px 88px; }
.lp-copy { max-width: 1216px; margin: 0 auto; }
.legal-copy.lp-copy h2 { padding: 56px 0 18px; }
.legal-copy.lp-copy h2:first-child { padding-top: 0; }
.legal-copy.lp-copy p + p { margin-top: 18px; }
.legal-copy.lp-copy ul + p, .legal-copy.lp-copy p + ul { margin-top: 18px; }
.lp-copy li + li { margin-top: 8px; }
.lp-copy ol { margin: 0; padding-left: 27px; }
.lp-copy ol li { font-size: 18px; line-height: 28px; color: #414651; }
.lp-copy ol li + li { margin-top: 10px; }
.lp-copy .lp-lede { font-size: 20px; line-height: 32px; color: #2a2f3a; max-width: 860px; }
.lp-copy small, .lp-note { font-size: 14px; line-height: 21px; color: var(--muted); }
.lp-note { margin-top: 12px; }
.lp-copy .lp-lede + .lp-stats, .lp-copy .lp-lede + .lp-callout { margin-top: 28px; }

/* Key facts strip */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); background: #fff; margin: 4px 0 8px; }
.lp-stats > div { padding: 22px 22px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-stats b { display: block; font-size: 30px; line-height: 38px; letter-spacing: -.5px; font-weight: 700; color: var(--ink); }
.lp-stats span { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.lp-stats em { font-style: normal; font-weight: 600; color: #414651; }

/* Data tables (override the homepage `table{height:100%;table-layout:fixed}` rules) */
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--border); background: #fff; -webkit-overflow-scrolling: touch; }
.lp-table { width: 100%; height: auto; table-layout: auto; border-collapse: collapse; font-size: 15px; color: #414651; min-width: 720px; }
.lp-table th, .lp-table td { height: auto; padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); font-weight: 400; line-height: 22px; }
.lp-table th:first-child, .lp-table td:first-child { width: auto; color: inherit; text-align: left; }
.lp-table thead th { position: sticky; top: 0; background: #f5f0e1; font-size: 12px; line-height: 16px; letter-spacing: .4px; text-transform: uppercase; font-weight: 600; color: #6b5c3a; white-space: nowrap; }
.lp-table tbody tr:hover td { background: #fbf8ef; }
.lp-table td.num, .lp-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-table td.rank { width: 56px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-table td strong { color: var(--ink); font-weight: 600; }
.lp-table a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #c9c2ac; }
.lp-table a:hover { text-decoration-color: var(--orange); }
.lp-table .lp-sub { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.lp-table .lp-keen { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: #fdd9c2; color: #be4a06; font-size: 11px; line-height: 16px; font-weight: 600; text-decoration: none; }
.lp-table .lp-flag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #f0ead8; color: #6b5c3a; font-size: 11px; line-height: 16px; font-weight: 600; }
.lp-table .lp-flag.warn { background: #fff0d6; color: #8a5a00; }
.lp-bar { display: block; height: 6px; margin-top: 6px; background: #f0ead8; }
.lp-bar > i { display: block; height: 100%; background: var(--blue); }
.lp-bar.hi > i { background: var(--orange); }
.lp-table tr.is-cheap td:first-child { box-shadow: inset 3px 0 0 var(--success); }
.lp-table tr.is-pricey td:first-child { box-shadow: inset 3px 0 0 var(--orange); }

.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-callout { padding: 20px 24px; border: 1px solid var(--border); background: #fff; border-left: 4px solid var(--blue); }
.lp-callout.warn { border-left-color: var(--orange); background: #fff8f2; }
.lp-callout h3 { padding: 0 0 8px; font-size: 18px; line-height: 26px; }
.lp-callout p, .lp-callout li { font-size: 16px; line-height: 25px; }
.lp-callout ul { padding-left: 22px; }
.legal-copy .lp-callout p + p { margin-top: 10px; }

/* Program / airline cards */
.lp-card-list { display: grid; gap: 20px; }
.lp-card { border: 1px solid var(--border); background: #fff; padding: 24px 28px; }
.lp-card h3 { padding: 0; font-size: 22px; line-height: 30px; margin: 0 0 4px; }
.lp-card .lp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.lp-card .lp-badge { padding: 2px 8px; border-radius: 4px; background: #f0ead8; color: #6b5c3a; font-size: 12px; line-height: 18px; font-weight: 600; }
.lp-card .lp-badge.ok { background: #dcf5e7; color: #0c6a3b; }
.lp-card .lp-badge.warn { background: #fff0d6; color: #8a5a00; }
.lp-card dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 20px; margin: 0; }
.lp-card dt { font-size: 14px; line-height: 22px; font-weight: 600; color: #414651; }
.lp-card dd { margin: 0; font-size: 16px; line-height: 24px; color: #414651; }
.lp-card .lp-src { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--muted); }
.lp-card .lp-src a { text-decoration: underline; text-underline-offset: 2px; }

/* Steps */
.lp-steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.lp-steps li { counter-increment: step; position: relative; padding: 16px 20px 16px 64px; border: 1px solid var(--border); background: #fff; }
.lp-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.lp-steps li + li { margin-top: 0 !important; }

/* FAQ (native details, no JS) */
.lp-faq-list { border-top: 1px solid var(--border); background: #fff; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.lp-faq-list details { border-bottom: 1px solid var(--border); }
.lp-faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-size: 17px; line-height: 26px; font-weight: 600; color: var(--ink); position: relative; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 16px; font-size: 24px; color: var(--muted); }
.lp-faq-list details[open] summary::after { content: "\2212"; }
.lp-faq-list details > div { padding: 0 24px 22px; font-size: 16px; line-height: 26px; color: #414651; max-width: 900px; }

/* CTA band */
.lp-cta { margin-top: 56px; padding: 40px 40px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-cta h2, .legal-copy .lp-cta h2 { padding: 0; font-size: 30px; line-height: 38px; font-weight: 600; color: #fff; }
.lp-cta p, .legal-copy .lp-cta p { margin-top: 8px; font-size: 16px; line-height: 26px; color: #c8ccd6; max-width: 640px; }
.lp-cta .actions { flex-wrap: wrap; }
.lp-cta .button-orange { background: var(--orange); color: #fff; }
.lp-cta .button-light { background: #ece6d6; color: var(--navy); }
.lp-cta a { text-decoration: none; }
.lp-cta .lp-dl, .legal-copy .lp-cta .lp-dl { flex-basis: 100%; margin-top: 4px; font-size: 14px; line-height: 22px; color: #a4a7ae; }
.lp-cta .lp-dl a { color: #fff; text-decoration: underline; text-underline-offset: 2px; margin: 0 2px; }

.lp-sources { font-size: 14px; line-height: 22px; color: var(--muted); }
.lp-sources li { font-size: 14px; line-height: 22px; color: var(--muted); }
.lp-disclaimer { margin-top: 28px; padding: 16px 20px; border: 1px dashed #d8d0ba; background: #fffdf7; font-size: 14px; line-height: 22px; color: #6b5c3a; }

.lp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }

@media (max-width: 1100px) {
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lp-hero { padding: 48px 20px 40px; }
  .lp-hero h1 { font-size: 36px; line-height: 44px; letter-spacing: -.6px; }
  .lp-hero p { font-size: 17px; line-height: 26px; }
  .lp-content { padding: 48px 20px 64px; }
  .legal-copy.lp-copy h2 { font-size: 26px; line-height: 34px; padding-top: 40px; }
  .lp-copy .lp-lede { font-size: 18px; line-height: 28px; }
  .lp-two, .lp-related { grid-template-columns: 1fr; }
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-stats b { font-size: 24px; line-height: 30px; }
  .lp-card { padding: 20px; }
  .lp-card dl { grid-template-columns: 1fr; gap: 2px; }
  .lp-card dt { margin-top: 10px; }
  .lp-cta { padding: 28px 22px; }
  .lp-table { font-size: 14px; }
  .lp-table th, .lp-table td { padding: 10px 12px; }
}
