/* v5 marketing pages (Pricing, Learn). Loaded after home-v5.css; only adds what
   those pages need beyond the shared home styles. */
.v5-nav nav a[aria-current="page"] { color: var(--v5-bright); }
.v5-kicker { font: 500 11px/16px var(--v5-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--v5-bright); }

/* page header: nav + hero on a soft teal glow */
.v5-pagehead { background: radial-gradient(130% 90% at 50% -25%, #10302d 0%, #081617 42%, var(--v5-bg) 74%); }

/* centered page hero (Pricing) */
.v5-page-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 72px 0 96px; }
.v5-page-hero h1 { font-size: 84px; line-height: 86px; letter-spacing: -.045em; font-weight: 500; color: #fff; }
.v5-page-hero > p { font-size: 19px; line-height: 30px; color: #ffffffb8; max-width: 620px; }
.v5-page-hero .v5-actions { justify-content: center; margin-top: 8px; }
.v5-page-hero small { font-size: 13px; line-height: 16px; color: var(--v5-muted); }

/* pay as you go */
.v5-fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v5-fact { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--v5-border); border-radius: 16px; background: var(--v5-surface); }
.v5-fact strong { font-size: 40px; line-height: 44px; letter-spacing: -.03em; font-weight: 500; color: var(--v5-text); }
.v5-fact span { font-size: 15px; line-height: 20px; font-weight: 500; }
.v5-fact p { font-size: 14px; line-height: 21px; color: var(--v5-muted); }
.v5-payg-note { margin-top: 28px; font-size: 15px; line-height: 24px; color: #6e7e7d; }

/* learn hero (left-aligned, editorial) */
.v5-learn-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 72px 0; }
.v5-learn-hero h1 { font-size: 72px; line-height: 74px; letter-spacing: -.04em; font-weight: 500; color: #fff; }
.v5-learn-hero > p { font-size: 19px; line-height: 30px; color: #ffffffb8; max-width: 620px; }

/* learn hub: featured + guide grid */
.v5-learn { display: flex; flex-direction: column; gap: 28px; }
.v5-featured { display: flex; flex-direction: column; gap: 20px; padding: 48px; border-radius: 20px; border: 1px solid #1c4a45; background: linear-gradient(145deg, #0a1f1e 0%, #0e2e2b 55%, #123e39 100%); }
.v5-featured .v5-kicker { font-size: 12px; }
.v5-featured h2 { font-size: 40px; line-height: 44px; letter-spacing: -.03em; font-weight: 500; }
.v5-featured > p { font-size: 18px; line-height: 28px; color: #b9c6c4; max-width: 680px; }
.v5-featured-foot { display: flex; align-items: center; gap: 16px; }
.v5-featured-foot small { color: #7e8e8c; font-size: 14px; line-height: 20px; }
.v5-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.v5-guide { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--v5-border); border-radius: 16px; background: var(--v5-surface); transition: border-color .18s, transform .18s; }
.v5-guide:hover { border-color: #5cefe04d; transform: translateY(-2px); }
.v5-guide h3 { font-size: 22px; line-height: 28px; letter-spacing: -.02em; font-weight: 500; }
.v5-guide p { font-size: 15px; line-height: 22px; color: var(--v5-muted); }
.v5-guide small { font-size: 14px; line-height: 20px; color: #6e7e7d; margin-top: 4px; }

/* learn article */
.v5-article-head { display: flex; flex-direction: column; gap: 22px; padding: 56px 0 40px; }
.v5-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 18px; }
.v5-crumb a { color: var(--v5-bright); }
.v5-crumb span { color: var(--v5-muted); }
.v5-article-head h1 { font-size: 60px; line-height: 62px; letter-spacing: -.04em; font-weight: 500; color: #fff; max-width: 860px; }
.v5-article-meta { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 18px; color: var(--v5-muted); }
.v5-article-meta .v5-badge { padding: 5px 12px; font: 500 11px/16px var(--v5-mono); letter-spacing: .08em; text-transform: uppercase; }
.v5-article { display: flex; align-items: flex-start; gap: 72px; padding-block: 24px 104px; }
.v5-prose { flex: 1; min-width: 0; max-width: 744px; display: flex; flex-direction: column; gap: 28px; }
.v5-prose .v5-lede { font-size: 21px; line-height: 33px; color: #c4d0ce; }
.v5-prose h2 { font-size: 29px; line-height: 34px; letter-spacing: -.02em; font-weight: 500; padding-top: 20px; }
.v5-prose > p { font-size: 18px; line-height: 30px; color: #aebcba; }
.v5-prose ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.v5-prose li { position: relative; padding-left: 24px; font-size: 18px; line-height: 28px; color: #aebcba; }
.v5-prose li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--v5-bright); }
.v5-callout { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; background: #0e1c1b; border-left: 3px solid var(--v5-accent); border-radius: 10px; }
.v5-callout p { font-size: 17px; line-height: 28px; color: #c4d0ce; }
.v5-prose-links { display: flex; align-items: center; gap: 28px; padding-top: 8px; flex-wrap: wrap; }
.v5-prose-links a { font-size: 16px; line-height: 22px; }
.v5-toc { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 6px; position: sticky; top: 28px; }
.v5-toc .v5-kicker { color: #6e7e7d; }
.v5-toc a { font-size: 14px; line-height: 20px; color: var(--v5-muted); }
.v5-toc a:hover, .v5-toc a.is-active { color: var(--v5-bright); }
.v5-keep { display: flex; flex-direction: column; gap: 28px; }
.v5-keep-title { font-size: 24px; line-height: 30px; letter-spacing: -.02em; font-weight: 500; }

@media (max-width: 1300px) {
  .v5-page-hero h1 { font-size: clamp(52px, 5.8vw, 84px); line-height: 1.04; }
  .v5-learn-hero h1 { font-size: clamp(48px, 5.2vw, 72px); line-height: 1.04; }
  .v5-article-head h1 { font-size: clamp(44px, 4.6vw, 60px); line-height: 1.05; }
}
@media (max-width: 980px) {
  .v5-article { flex-direction: column; gap: 40px; padding-bottom: 88px; }
  .v5-toc { position: static; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; order: -1; padding: 16px 0 4px; }
  .v5-prose { max-width: none; }
  .v5-page-hero, .v5-learn-hero { padding-block: 56px 72px; }
}
@media (max-width: 760px) {
  .v5-fact-grid, .v5-guide-grid { grid-template-columns: 1fr; }
  .v5-featured { padding: 32px; }
  .v5-featured h2 { font-size: 32px; line-height: 36px; }
}
@media (max-width: 600px) {
  .v5-page-hero h1 { font-size: clamp(40px, 10.7vw, 64px); }
  .v5-learn-hero h1 { font-size: clamp(38px, 10vw, 60px); }
  .v5-article-head h1 { font-size: clamp(36px, 9.6vw, 52px); }
  .v5-fact { padding: 28px; }
  .v5-prose .v5-lede { font-size: 19px; line-height: 30px; }
  .v5-prose > p, .v5-prose li { font-size: 17px; line-height: 28px; }
}

/* page-head intro, doc + legal prose, feature grids, 404 */
.v5-head-intro { font-size: 19px; line-height: 30px; color: #ffffffb8; max-width: 680px; }
.v5-doc { padding-block: 48px 104px; }
.v5-doc-setup .v5-code-panel { margin-top: 8px; }
.v5-prose-doc { max-width: 820px; }
.v5-prose-doc h2 { font-size: 28px; line-height: 34px; letter-spacing: -.02em; font-weight: 500; padding-top: 20px; color: var(--v5-text); }
.v5-prose-doc h3 { font-size: 20px; line-height: 26px; font-weight: 500; padding-top: 8px; color: var(--v5-text); }
.v5-prose-doc > p, .v5-prose-doc li, .v5-prose-doc dd { font-size: 17px; line-height: 28px; color: #c3cfcd; }
.v5-prose-doc .article-lede { font-size: 21px; line-height: 33px; color: #d6e2e1; }
.v5-prose-doc a { color: var(--v5-bright); text-decoration: underline; text-underline-offset: 3px; }
.v5-prose-doc .v5-text-link, .v5-prose-doc .text-link { text-decoration: none; font-weight: 500; }
.v5-prose-doc ul, .v5-prose-doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.v5-prose-doc li { position: static; padding-left: 0; list-style: disc; }
.v5-prose-doc li::before { content: none; }
.v5-prose-doc ol li { list-style: decimal; }
.v5-prose-doc .note { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border: 1px solid var(--v5-border); border-left: 3px solid var(--v5-accent); border-radius: 12px; background: var(--v5-surface); }
.v5-prose-doc .note strong { color: var(--v5-text); font-weight: 600; }
.v5-prose-doc .table-wrap { overflow-x: auto; border: 1px solid var(--v5-border); border-radius: 12px; }
.v5-prose-doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.v5-prose-doc th, .v5-prose-doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--v5-border); }
.v5-prose-doc th { color: var(--v5-muted); font-weight: 500; }
.v5-prose-doc tr:last-child td { border-bottom: 0; }
.v5-prose-doc dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: baseline; }
.v5-prose-doc dt { font: 500 14px/22px var(--v5-mono); color: var(--v5-bright); }
.v5-prose-doc dd { margin: 0; }
.v5-prose-doc pre { padding: 18px 20px; border-radius: 12px; background: #00000059; border: 1px solid var(--v5-border); overflow: auto; font: 14px/24px var(--v5-mono); color: #d6e2e1; }
.v5-prose-doc code { font: 13px/1.5 var(--v5-mono); background: #ffffff12; padding: 2px 6px; border-radius: 5px; }
.v5-prose-doc pre code { background: none; padding: 0; }

.v5-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v5-feat { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--v5-border); border-radius: 16px; background: var(--v5-surface); }
.v5-feat h3 { font-size: 19px; line-height: 24px; font-weight: 500; }
.v5-feat p { font-size: 15px; line-height: 23px; color: var(--v5-muted); }

.v5-404 { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 96px 0 140px; }
.v5-404 h1 { font-size: 84px; line-height: 86px; letter-spacing: -.045em; font-weight: 500; color: #fff; }
.v5-404 > p { font-size: 19px; line-height: 30px; color: #ffffffb8; max-width: 520px; }
.v5-404 .v5-actions { margin-top: 8px; }

@media (max-width: 980px) {
  .v5-prose-doc dl { grid-template-columns: 1fr; gap: 4px 0; }
  .v5-prose-doc dt { margin-top: 10px; }
}
@media (max-width: 760px) {
  .v5-feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .v5-404 h1 { font-size: clamp(44px, 12vw, 70px); }
  .v5-prose-doc > p, .v5-prose-doc li, .v5-prose-doc dd { font-size: 16px; line-height: 27px; }
}
