/* Guide, free-tool and policy pages on the October 2026 look. Loads after site.css, which
   supplies the tokens, header, buttons and footer. Every rule is scoped to .tma-v2 so it
   outranks the older styles.css/free-tools.css rules and the :where() generated dark rules;
   colours come only from the --v-* tokens so light and dark both follow them. */

/* ---------- page frame ---------- */
.tma-v2 .seo-page, .tma-v2 .policy { padding: 8px 0 72px; border: 0; }
body.tma-v2[data-page-type] { background: var(--v-bg); }
body.tma-v2[data-page-type] .site-header { border-bottom: 0; }
body.tma-v2[data-page-type] .breadcrumb { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 16px 0 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--v-muted); font-size: 14px; font-weight: 500; box-shadow: none; transform: none; }
body.tma-v2[data-page-type] .breadcrumb:hover { border: 0; background: none; color: var(--v-ink); transform: none; }
.tma-v2 a { text-underline-offset: 3px; }

/* ---------- hero ---------- */
.tma-v2 .seo-hero { margin: 0; padding: 28px 0 56px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.tma-v2 .seo-hero::before, .tma-v2 .seo-hero::after { content: none; }
.tma-v2 .seo-hero .eyebrow { display: inline-block; min-height: 0; margin: 0 0 16px; padding: 0; border: 0; background: none; color: var(--v-accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.tma-v2 .seo-hero h1 { max-width: 840px; margin: 0 0 20px; color: var(--v-ink); font-size: clamp(38px, 5.2vw, 60px); font-weight: 640; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.tma-v2 .seo-hero .lede { max-width: 660px; margin: 0 0 30px; color: var(--v-muted); font-size: clamp(17px, 1.8vw, 19px); font-weight: 400; line-height: 1.6; }
.tma-v2 .seo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tma-v2 .seo-actions .button { min-height: 48px; padding-inline: 22px; box-shadow: none; }
.tma-v2 .seo-actions .button::after { content: none; }
.tma-v2 .seo-offer-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.tma-v2 .seo-offer-strip span { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 12px; border: 1px solid var(--v-line); border-radius: 999px; background: var(--v-surface); color: var(--v-text); font-size: 13px; font-weight: 500; }
.tma-v2 .seo-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--v-muted); font-size: 13px; font-weight: 500; }
.tma-v2 .seo-proof a { color: var(--v-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--v-line-strong); }
.tma-v2 .seo-proof span::before { background: var(--v-line-strong); }

/* ---------- sections: heading left, content right ---------- */
.tma-v2 .seo-section { display: grid; grid-template-columns: minmax(200px, .34fr) minmax(0, .66fr); gap: 28px clamp(28px, 5vw, 64px); align-items: start; padding: 56px 0; border: 0; border-top: 1px solid var(--v-line); }
.tma-v2 .seo-section > :not(h2) { grid-column: 2; }
.tma-v2 .seo-section h2 { position: sticky; top: 24px; margin: 0; color: var(--v-ink); font-size: clamp(24px, 2.6vw, 32px); font-weight: 640; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.tma-v2 .seo-section h3, .tma-v2 .faq-item h3 { margin: 28px 0 8px; color: var(--v-ink); font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.tma-v2 .seo-section h3:first-child { margin-top: 0; }
.tma-v2 .seo-section p, .tma-v2 .seo-section li { color: var(--v-text); font-size: 16px; font-weight: 400; line-height: 1.7; }
.tma-v2 .seo-section p { margin: 0 0 14px; }
.tma-v2 .seo-section p:last-child, .tma-v2 .seo-section ul:last-child, .tma-v2 .seo-section ol:last-child { margin-bottom: 0; }
.tma-v2 .seo-section ul, .tma-v2 .seo-section ol { margin: 0 0 16px; padding-left: 22px; }
.tma-v2 .seo-section li + li { margin-top: 8px; }
.tma-v2 .seo-section li::marker { color: var(--v-accent); font-weight: 600; }
.tma-v2 .seo-section a:not(.button) { color: var(--v-ink); text-decoration: underline; text-decoration-color: var(--v-line-strong); }
.tma-v2 .seo-section a:not(.button):hover { text-decoration-color: var(--v-ink); }
.tma-v2 .seo-section strong { color: var(--v-ink); font-weight: 600; }
.tma-v2 .seo-section code { padding: 1px 6px; border-radius: 6px; background: var(--v-surface-2); color: var(--v-ink); font-size: .9em; }
.tma-v2 .seo-section .lede { margin-bottom: 18px; color: var(--v-text); font-size: 16px; }

/* ---------- answer box ---------- */
.tma-v2 .seo-answer-box { padding: 24px 28px; border: 0; border-radius: var(--v-radius); background: var(--v-accent-soft); box-shadow: none; }
.tma-v2 .seo-answer-box p { color: var(--v-ink); font-size: 17px; font-weight: 450; line-height: 1.65; }
.tma-v2 .seo-answer-box + div { margin-top: 28px; }

/* ---------- cards ---------- */
.tma-v2 .seo-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tma-v2 .seo-card { position: static; padding: 22px; border: 1px solid var(--v-line); border-radius: var(--v-radius); background: var(--v-surface); box-shadow: none; }
.tma-v2 .seo-card::before { content: none; }
.tma-v2 .seo-card h3 { margin: 0 0 8px; font-size: 17px; }
.tma-v2 .seo-card p { color: var(--v-muted); font-size: 15px; line-height: 1.6; }

/* ---------- step cards ---------- */
.tma-v2 .seo-process-grid { display: grid; gap: 12px; }
.tma-v2 .seo-process-card { display: grid; grid-template-columns: minmax(160px, .4fr) minmax(0, .6fr); gap: 20px; align-items: center; margin: 0; padding: 12px; border: 1px solid var(--v-line); border-radius: var(--v-radius); background: var(--v-surface); box-shadow: none; }
.tma-v2 .seo-process-card > img, .tma-v2 .seo-process-card__provider { width: 100%; height: auto; aspect-ratio: 3 / 2; border: 0; border-radius: var(--v-radius-sm); background: var(--v-surface-2); object-fit: cover; }
.tma-v2 .seo-process-card__provider { display: grid; place-items: center; }
.tma-v2 .seo-process-card__provider img { width: 56px; height: 56px; object-fit: contain; }
.tma-v2 .seo-process-card figcaption, .tma-v2 .seo-process-card__copy { padding: 6px 12px 6px 0; }
.tma-v2 .seo-process-card__step { display: block; margin: 0 0 6px; color: var(--v-accent); font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .01em; text-transform: none; }
.tma-v2 .seo-process-card h3, .tma-v2 .seo-process-card strong { display: block; margin: 0 0 6px; color: var(--v-ink); font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.tma-v2 .seo-process-card p { margin: 0; color: var(--v-muted); font-size: 14px; line-height: 1.6; }

/* ---------- tables ---------- */
.tma-v2 .seo-table-wrap, .tma-v2 .policy-table-wrap { overflow-x: auto; border: 1px solid var(--v-line); border-radius: var(--v-radius); background: var(--v-surface); box-shadow: none; }
.tma-v2 .seo-comparison-table, .tma-v2 .policy-table-wrap table { width: 100%; border-collapse: collapse; }
.tma-v2 .seo-comparison-table th, .tma-v2 .seo-comparison-table td, .tma-v2 .policy-table-wrap th, .tma-v2 .policy-table-wrap td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--v-line); background: transparent; color: var(--v-text); font-size: 15px; font-weight: 400; text-align: left; vertical-align: top; }
.tma-v2 .seo-comparison-table th, .tma-v2 .policy-table-wrap th { color: var(--v-ink); font-weight: 600; }
.tma-v2 .seo-comparison-table tr:last-child td, .tma-v2 .policy-table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- FAQ lists ---------- */
.tma-v2 .faq-list { display: grid; gap: 0; }
.tma-v2 .faq-item { padding: 20px 0; border: 0; border-bottom: 1px solid var(--v-line); }
.tma-v2 .faq-item:first-child { padding-top: 0; }
.tma-v2 .faq-item:last-child { padding-bottom: 0; border-bottom: 0; }
.tma-v2 .faq-item h3 { margin-top: 0; }

/* ---------- related links ---------- */
.tma-v2 .related-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tma-v2 .related-pages a, .tma-v2 .seo-section .related-pages a:not(.button) { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 16px; border: 1px solid var(--v-line); border-radius: var(--v-radius-sm); background: var(--v-surface); color: var(--v-ink); font-size: 15px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.tma-v2 .related-pages a::after { content: "→"; flex: 0 0 auto; color: var(--v-muted); }
.tma-v2 .related-pages a:hover, .tma-v2 .seo-section .related-pages a:not(.button):hover { border-color: var(--v-ink); background: var(--v-surface); text-decoration: none; }
.tma-v2 .related-pages a:hover::after { color: var(--v-ink); }

/* ---------- free web tool card ---------- */
.tma-v2 .free-tool { margin: 0 0 56px; padding: 28px 32px 24px; border: 1px solid var(--v-line); border-radius: var(--v-radius); background: var(--v-surface); box-shadow: var(--v-shadow); }
.tma-v2 .free-tool .eyebrow { margin: 0 0 10px; padding: 0; border: 0; background: none; color: var(--v-accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.tma-v2 .free-tool h2 { margin: 0 0 8px; color: var(--v-ink); font-size: clamp(22px, 2.6vw, 28px); font-weight: 640; letter-spacing: -.03em; }
.tma-v2 .free-tool__intro { margin: 0; color: var(--v-muted); font-size: 16px; line-height: 1.6; }
.tma-v2 .free-tool .web-downloader { margin: 20px 0 0; }
.tma-v2 .free-tool .web-downloader__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tma-v2 .free-tool .web-downloader__bar input { min-height: 52px; padding: 12px 18px; border: 1px solid var(--v-line-strong); border-radius: 999px; background: var(--v-bg); color: var(--v-ink); font-size: 16px; }
.tma-v2 .free-tool .web-downloader__bar input::placeholder { color: var(--v-muted); opacity: .8; }
.tma-v2 .free-tool .web-downloader__bar input:focus { border-color: var(--v-ink); outline: none; }
.tma-v2 .free-tool .web-downloader__submit { min-height: 52px; min-width: 128px; padding: 12px 24px; font-size: 16px; }
.tma-v2 .free-tool .web-downloader__support, .tma-v2 .free-tool .web-downloader__status { margin: 12px 0 0; color: var(--v-muted); font-size: 14px; }
.tma-v2 .free-tool__details { margin-top: 16px; border-top: 1px solid var(--v-line); padding-top: 12px; }
.tma-v2 .free-tool__details > summary { width: fit-content; padding: 4px 0; color: var(--v-muted); font-size: 14px; font-weight: 500; cursor: pointer; }
.tma-v2 .free-tool__details > summary:hover { color: var(--v-ink); }
.tma-v2 .free-tool__details p { margin: 10px 0 0; color: var(--v-text); font-size: 14px; line-height: 1.65; }
.tma-v2 .free-tool__details a { color: var(--v-ink); text-decoration: underline; }

/* ---------- policy pages (privacy, terms) ---------- */
.tma-v2 .policy .container { max-width: 1000px; margin: 0 auto; }
.tma-v2 .policy .policy-hero { display: block; margin: 0 0 32px; padding: 28px 0 40px; border: 0; border-bottom: 1px solid var(--v-line); border-radius: 0; background: none; box-shadow: none; }
.tma-v2 .policy .policy-hero::before, .tma-v2 .policy .policy-hero::after { content: none; }
.tma-v2 .policy .policy-hero .eyebrow { margin: 0 0 16px; padding: 0; border: 0; background: none; color: var(--v-accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.tma-v2 .policy .policy-hero h1 { max-width: 820px; margin: 0 0 18px; color: var(--v-ink); font-size: clamp(38px, 5vw, 56px); font-weight: 640; letter-spacing: -.04em; line-height: 1.04; }
.tma-v2 .policy .policy-hero .policy-summary { max-width: 720px; margin: 0 0 22px; padding: 0; border: 0; background: none; color: var(--v-muted); font-size: 18px; line-height: 1.6; }
.tma-v2 .policy-meta span { padding: 5px 12px; border: 1px solid var(--v-line); border-radius: 999px; background: var(--v-surface); color: var(--v-text); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.tma-v2 .policy .privacy-overview, .tma-v2 .policy .license-notice, .tma-v2 .policy-toc { border: 1px solid var(--v-line); border-radius: var(--v-radius); background: var(--v-surface); box-shadow: none; }
.tma-v2 .policy .eyebrow { color: var(--v-accent); }
.tma-v2 .policy-toc a { color: var(--v-text); }
.tma-v2 .policy-toc a:hover { color: var(--v-ink); }
.tma-v2 .policy-block { border-color: var(--v-line); background: none; box-shadow: none; }
.tma-v2 .policy h2, .tma-v2 .policy h3 { color: var(--v-ink); }
.tma-v2 .policy p, .tma-v2 .policy li { color: var(--v-text); }
.tma-v2 .policy-block a, .tma-v2 .privacy-overview a { color: var(--v-ink); text-decoration: underline; text-decoration-color: var(--v-line-strong); }
.tma-v2 .policy-section-number { color: var(--v-accent); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .tma-v2 .seo-hero { padding: 16px 0 40px; }
  .tma-v2 .seo-actions .button { flex: 1 1 auto; }
  .tma-v2 .seo-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 40px 0; }
  .tma-v2 .seo-section h2 { position: static; }
  .tma-v2 .seo-section > :not(h2) { grid-column: auto; }
  .tma-v2 .seo-answer-box { padding: 20px; }
  .tma-v2 .seo-process-card { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tma-v2 .seo-process-card figcaption, .tma-v2 .seo-process-card__copy { padding: 0 6px 8px; }
  .tma-v2 .related-pages { grid-template-columns: minmax(0, 1fr); }
  .tma-v2 .free-tool { padding: 20px 18px; }
  .tma-v2 .free-tool .web-downloader__bar { grid-template-columns: minmax(0, 1fr); }
  .tma-v2 .free-tool .web-downloader__submit { width: 100%; }
}

@media (max-width: 360px) {
  .tma-v2 .site-header nav { flex-wrap: nowrap; gap: 0; }
  .tma-v2 .site-header { gap: 10px; }
  .tma-v2 .brand { gap: 6px; font-size: 13.5px; }
  .tma-v2 .brand img { width: 24px; height: 24px; }
  .tma-v2 .nav-account { padding: 8px 12px; }
}
