/* Content pages (help, legal, guides, blog, compare). Builds on styles.css. */
.page-body { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, #eef3fd 0, #fff 380px); }
.page-main { flex: 1; padding: 56px 0 96px; }
.footer-tag { margin-top: 14px; color: var(--muted); font-size: 13.5px; font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 16px; }

.page-hero { max-width: 760px; }
.page-hero.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); }
.page-title { font-family: "EB Garamond", Georgia, serif; font-weight: 500; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.page-title em { font-style: italic; background: linear-gradient(90deg, #ff6a3d, #f59e0b 30%, #22a35a 60%, #2a8af0 85%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.page-lede { margin-top: 18px; font-size: 18.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.meta-line { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); }

/* Long-form text */
.page-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; margin-top: 48px; align-items: start; }
.page-grid > * { min-width: 0; }
.toc { position: sticky; top: 96px; font-size: 13.5px; }
.toc b { display: block; margin-bottom: 10px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--blue-ink); }
.prose { max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.1em; font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; color: var(--ink); scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.7em; font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); scroll-margin-top: 90px; }
.prose a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose code { font-size: .88em; padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: #0f121a; color: #e6e9f2; font-size: 13.5px; line-height: 1.55; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; border-radius: 16px; box-shadow: 0 20px 40px -26px rgba(20, 30, 60, .45); }
.prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: #f6f8fc; }
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.callout { padding: 16px 18px; border-radius: 14px; background: #f3f7ff; box-shadow: inset 0 0 0 1px #dbe6fb; font-size: 15px; }
.callout.warm { background: #fff7e6; box-shadow: inset 0 0 0 1px #f6e2b6; }
.legal h2 { font-size: 22px; }
.legal .prose { font-size: 15.5px; }

/* Compare pages */
.verdict { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.verdict > div { padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(20, 30, 60, .35); }
.verdict h3 { font-size: 15px; font-weight: 600; }
.verdict p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { position: sticky; top: 0; background: #f6f8fc; font-weight: 600; color: var(--ink); }
.cmp td:first-child { font-weight: 500; color: var(--ink); width: 26%; }
.cmp .yes::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.cmp .no::before { content: "✕ "; color: #c2410c; font-weight: 700; }
.sources { font-size: 13px; color: var(--muted); }
.sources a { color: var(--muted); }

/* Cards and lists */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.link-card { display: block; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(20, 30, 60, .35); transition: transform .15s ease, box-shadow .15s ease; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #c9d7f5, 0 24px 44px -28px rgba(20, 50, 120, .4); }
.link-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.link-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.link-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.link-card small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted-2); }
.help-search { margin-top: 28px; max-width: 520px; }
.help-search input { width: 100%; height: 50px; padding: 0 18px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -24px rgba(20, 30, 60, .5); font: inherit; font-size: 16px; }
.help-search input:focus { outline: 2px solid var(--blue-a); }
.help-section { margin-top: 48px; }
.help-section h2 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.help-section .faq-list { margin-top: 14px; }

/* Forms */
.ug-form { display: grid; gap: 12px; max-width: 560px; margin-top: 24px; }
.ug-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ug-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.ug-form input, .ug-form select, .ug-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.ug-form textarea { min-height: 150px; resize: vertical; }
.ug-form input:focus, .ug-form select:focus, .ug-form textarea:focus { outline: 2px solid var(--blue-a); outline-offset: -1px; }
.ug-form .hp { position: absolute; left: -9999px; }
.ug-form .form-note { font-size: 12.5px; color: var(--muted); }
.form-done { padding: 16px 18px; border-radius: 14px; background: #e8f7ee; color: #14532d; font-size: 15px; }
.form-error { color: #b42318; font-size: 14px; }
.inline-form { display: flex; gap: 8px; max-width: 460px; }
.inline-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }

/* Plan picker (same as the app) */
.plan-pick { display: grid; gap: 8px; margin-bottom: 16px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.pick:has(input:checked) { background: #f6f9ff; box-shadow: inset 0 0 0 2px var(--blue-a); }
.pick input { margin: 0; accent-color: var(--blue-a); }
.pick .grow { flex: 1; }
.pick b { font-weight: 500; }
.pick small { display: block; color: var(--muted); font-size: 12.5px; }
.pick .amt { font-weight: 600; font-size: 17px; white-space: nowrap; }
.pick .amt small { display: inline; font-weight: 400; }
.pick.pro { background: linear-gradient(90deg, rgba(42, 138, 240, .06), rgba(139, 92, 246, .07)); }

/* Gift card */
.gift-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.gift-card { position: relative; aspect-ratio: 1.6; border-radius: 24px; padding: 28px; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #2a8af0 0, #6d4fd8 45%, #ff6a3d 100%); box-shadow: 0 40px 80px -40px rgba(40, 30, 120, .7); }
.gift-card img { position: absolute; right: -6%; bottom: -10%; width: 58%; border-radius: 14px; transform: rotate(-7deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.gift-card .gc-brand { font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.gift-card .gc-amount { margin-top: 26px; font-family: "EB Garamond", Georgia, serif; font-size: 46px; line-height: 1; }
.gift-card .gc-to { margin-top: 14px; max-width: 46%; font-size: 14px; opacity: .92; }
.gift-card .gc-msg { margin-top: 6px; max-width: 46%; font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 18px; line-height: 1.25; }

/* 404 */
.notfound { text-align: center; padding-top: 40px; }
.notfound img { width: min(360px, 80%); border-radius: 18px; margin: 28px auto 0; box-shadow: 0 30px 60px -30px rgba(20, 30, 60, .5); }

@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; padding: 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .verdict, .card-grid { grid-template-columns: 1fr; }
  .gift-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ug-form .row { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .page-main { padding-top: 36px; }
}
