/* Pricing, policy and support pages. Loaded after home.css and reuses its tokens, nav pill and footer. */

.doc-main { padding: 7.5rem 1.5rem 5rem; }
@media (min-width: 768px) { .doc-main { padding: 9rem 2rem 6rem; } }
.doc { max-width: 46rem; margin: 0 auto; color: var(--on-surface-variant); font-size: 16px; line-height: 1.7; }
.doc-wide { max-width: 64rem; }

.doc h1 { font-size: 40px; line-height: 46px; letter-spacing: -0.03em; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
@media (min-width: 768px) { .doc h1 { font-size: 52px; line-height: 58px; } }
.doc h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; color: var(--primary); margin: 2.75rem 0 .75rem; }
.doc h3 { font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--on-surface); margin: 1.75rem 0 .375rem; }
.doc h2[id], .doc h3[id], .doc section[id] { scroll-margin-top: 6.5rem; }
.doc p, .doc ul, .doc ol, .doc table { margin: 0 0 1rem; }
.doc ul { list-style: disc; padding-left: 1.25rem; }
.doc ol { list-style: decimal; padding-left: 1.4rem; }
.doc li + li { margin-top: .375rem; }
.doc li::marker { color: var(--outline); }
.doc strong { color: var(--on-surface); font-weight: 600; }
.doc a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.doc a:not(.btn):hover { text-decoration-thickness: 2px; }
.doc code { font-family: var(--mono); font-size: .9em; background: var(--sc); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }

.doc .lead { font-size: 19px; line-height: 1.6; color: var(--secondary); }
.doc .updated { font-size: 13px; color: var(--outline); margin-bottom: 2rem; }

.summary-box { border: 1px solid var(--sc-highest); background: var(--sc-lowest); border-radius: 1rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; box-shadow: var(--subtle-shadow); }
.summary-box h2 { font-size: 17px; margin: 0 0 .5rem; letter-spacing: 0; }
.summary-box > :last-child { margin-bottom: 0; }
.notice { background: var(--sc-low); border-color: var(--sc-high); box-shadow: none; }

.toc { font-size: 14px; line-height: 1.6; border-left: 2px solid var(--sc-highest); padding-left: 1rem; margin: 0 0 2rem; }
.doc .toc ol { margin: .25rem 0 0; }
.doc .toc li + li { margin-top: .125rem; }

.doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .625rem .75rem; border-bottom: 1px solid var(--sc-highest); }
.doc th { color: var(--on-surface); font-weight: 600; background: var(--sc-low); }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.table-wrap table { margin: 0; min-width: 32rem; }

.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--sc-highest); background: var(--sc-lowest); border-radius: 1rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.doc .contact-card p { margin: 0; }
.contact-card .email { font-weight: 600; color: var(--primary); overflow-wrap: anywhere; }

/* ---------- pricing ---------- */
.price-layout { display: grid; gap: 2rem; align-items: start; margin: 2rem 0 1rem; }
@media (min-width: 880px) { .price-layout { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 3rem; } }
.price-card { border: 1px solid var(--sc-highest); background: var(--sc-lowest); border-radius: 1.25rem; padding: 1.75rem; box-shadow: var(--subtle-shadow); }
.price-card .eyebrow { display: block; margin-bottom: .5rem; }
.doc .price-card h2 { margin: 0 0 1rem; font-size: 20px; }
.price-amount { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .25rem; }
.price-amount .amount { font-size: 48px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--primary); }
.price-amount .currency { font-size: 15px; font-weight: 600; color: var(--secondary); }
.doc .price-terms { font-size: 14px; line-height: 1.5; color: var(--on-surface); font-weight: 500; margin-bottom: 1.25rem; }
.price-actions { display: flex; flex-direction: column; gap: .625rem; margin-bottom: .75rem; }
.price-actions .btn { text-align: center; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--sc-high); color: var(--on-surface-variant); cursor: not-allowed; opacity: 1; transform: none; }
.doc .buy-note { font-size: 13px; line-height: 1.5; color: var(--outline); margin-bottom: 1.25rem; }
.doc .check-list { list-style: none; padding: 0; font-size: 14px; line-height: 1.5; }
.doc .check-list li { position: relative; padding-left: 1.5rem; }
.doc .check-list li + li { margin-top: .5rem; }
.doc .check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 600; }
.doc .price-refund { font-size: 13px; line-height: 1.5; color: var(--on-surface-variant); border-top: 1px solid var(--sc-highest); padding-top: 1rem; margin: 1.25rem 0 0; }
.price-details h2:first-child { margin-top: 0; }

.faq-block h3 { margin-top: 1.5rem; }
