/* ===== GeneratePress overrides: full width homepage ===== */

/* ===== Shared section styles ===== */
.tm-home { padding-top: 40px; }
.tm-sec { padding-top: 80px; }
.tm-sec--last { padding-bottom: 80px; }
.tm-h2 { margin: 0 0 4px; font-size: clamp(26px, 3vw, 36px); }
.tm-sub { margin: 0 0 28px; color: var(--tm-muted); }
.tm-sub--tight { margin-bottom: 0; }
.tm-sub--dark { color: var(--tm-body); }
.tm-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.tm-btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-muted { color: var(--tm-muted); }
.tm-strong { font-weight: 600; }

/* ===== Hero ===== */
.tm-hero__grid { display: flex; flex-wrap: wrap; gap: 20px; }
.tm-hero__main { flex: 999 1 600px; min-width: 0; background: var(--tm-sky-panel); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.tm-hero__title { margin: 0; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; max-width: 680px; }
.tm-hero__lede { margin: 0; font-size: 18px; color: var(--tm-ink-2); max-width: 620px; }
.tm-finder { background: #FFFFFF; border-radius: 20px; padding: 22px 24px; box-shadow: 0 12px 32px rgba(3, 105, 161, .12); display: flex; flex-direction: column; gap: 18px; }
.tm-finder__sentence { margin: 0; font-size: clamp(18px, 2vw, 21px); font-weight: 600; line-height: 1.9; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.tm-finder select { font: inherit; font-size: inherit; font-weight: 700; color: var(--tm-btn); background: var(--tm-sky-wash); border: 0; border-bottom: 2px solid var(--tm-accent); border-radius: 6px 6px 0 0; padding: 2px 8px; cursor: pointer; max-width: 100%; width: auto; }
.tm-finder__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--tm-muted); }
.tm-finder__submit { min-height: 50px; padding: 0 26px; font-size: 16px; font-family: inherit; }
.tm-hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #0C4A6E; font-weight: 600; }

.tm-tod { flex: 1 1 320px; min-width: 0; border: 1px solid var(--tm-line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.tm-tod__top { display: flex; justify-content: space-between; align-items: center; }
.tm-tod__label { font-size: 14px; font-weight: 600; color: var(--tm-btn); }
.tm-tod__date { font-size: 13px; color: var(--tm-muted); }
.tm-tod__id { display: flex; align-items: center; gap: 14px; }
.tm-logo--xl { width: 60px; height: 60px; border-radius: 16px; font-size: 26px; background: var(--tm-ink); color: #FFFFFF; }
.tm-logo--xl img { width: 36px; height: 36px; }
.tm-tod__name { margin: 0; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.tm-tod__tag { font-size: 14px; color: var(--tm-muted); }
.tm-tod__facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.tm-tod__facts dt { color: var(--tm-muted); }
.tm-tod__facts dd { margin: 0; font-weight: 600; }
.tm-tod__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.tm-tod__actions .tm-btn { flex: 1 1 auto; }

/* ===== Quick answers ===== */
.tm-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.tm-answer { border: 1px solid var(--tm-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tm-answer h3 { margin: 0; font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; font-weight: 700; }
.tm-answer p { margin: 0; color: var(--tm-body); }
.tm-answer p a { color: var(--tm-ink); }
.tm-answer__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--tm-muted); }
.tm-answer__foot a { font-weight: 600; }

/* ===== Leaderboard ===== */
.tm-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-tab { border: 1px solid var(--tm-line); cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; min-height: 40px; background: #FFFFFF; color: var(--tm-ink); }
.tm-tab[aria-selected="true"] { background: var(--tm-ink); border-color: var(--tm-ink); color: #FFFFFF; }
.tm-board__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(540px, 100%), 1fr)); column-gap: 40px; border-top: 2px solid var(--tm-ink); }
.tm-board__row { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--tm-line); color: var(--tm-ink); }
.tm-board__row:hover { text-decoration: none; background: var(--tm-soft); color: var(--tm-ink); }
.tm-board__rank { width: 34px; flex: none; font-size: 22px; font-weight: 800; color: var(--tm-faint); letter-spacing: -0.03em; }
.tm-board__text { flex: 1 1 auto; min-width: 0; }
.tm-board__name { display: block; font-weight: 700; font-size: 17px; }
.tm-board__best { display: block; font-size: 14px; color: var(--tm-muted); }
.tm-board__price { font-size: 14px; font-weight: 600; color: var(--tm-body); white-space: nowrap; }

/* ===== Price index ===== */
.tm-index { background: var(--tm-sky-wash); border: 1px solid var(--tm-sky-line); border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.tm-index__intro { max-width: 680px; }
.tm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tm-stat { margin: 0; background: #FFFFFF; border-radius: 18px; padding: 22px; }
.tm-stat__value { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--tm-btn); }
.tm-stat figcaption { margin-top: 8px; font-size: 15px; color: var(--tm-body); }
.tm-index__h3 { margin: 36px 0 12px; font-size: 18px; letter-spacing: -0.01em; font-weight: 700; }
.tm-table-wrap { overflow-x: auto; background: #FFFFFF; border-radius: 16px; border: 1px solid var(--tm-sky-line); }
.tm-table { border-collapse: collapse; width: 100%; min-width: 600px; margin: 0; border: 0; font-size: 15px; }
.tm-table th, .tm-table td { padding: 12px 18px; text-align: left; border: 0; border-top: 1px solid #E0F2FE; }
.tm-table thead th, .tm-table thead td { border-top: 0; font-size: 13px; font-weight: 600; color: var(--tm-muted); }
.tm-table tbody th { font-weight: 700; }
.tm-table tbody th a { color: var(--tm-ink); }

/* ===== Stacks ===== */
.tm-stacks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tm-stack { min-height: 240px; background: var(--tm-soft); border: 1px solid var(--tm-line); border-radius: 24px; padding: 28px; color: var(--tm-ink); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tm-stack:hover { text-decoration: none; color: var(--tm-ink); border-color: var(--tm-accent); }
.tm-stack--big { grid-column: span 2; background: var(--tm-accent); border-color: var(--tm-accent); padding: 32px; min-height: 260px; }
.tm-stack__title { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.tm-stack--big .tm-stack__title { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; max-width: 440px; }
.tm-stack__desc { display: block; margin-top: 8px; font-size: 15px; color: var(--tm-muted); }
.tm-stack--big .tm-stack__desc { color: var(--tm-ink); font-size: 16px; max-width: 440px; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chip { background: #FFFFFF; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.tm-chip--line { border: 1px solid var(--tm-line); padding: 5px 12px; font-size: 13px; }
.tm-chip--dark { background: var(--tm-ink); color: #FFFFFF; }
@media (max-width: 640px) { .tm-stack--big { grid-column: auto; } }

/* ===== Versus ===== */
.tm-vs { background: var(--tm-ink); border-radius: 28px; padding: clamp(28px, 5vw, 52px); color: #FFFFFF; display: flex; flex-wrap: wrap; gap: 48px; }
.tm-vs__main { flex: 999 1 560px; min-width: 0; }
.tm-vs__eyebrow { font-size: 14px; font-weight: 600; color: #7DD3FC; }
.tm-vs__title { margin: 6px 0 12px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; color: #FFFFFF; }
.tm-vs__verdict { margin: 0 0 24px; color: #CBD5E1; max-width: 600px; }
.tm-vs__verdict strong { color: #FFFFFF; }
.tm-table-wrap--dark { background: transparent; border-color: var(--tm-ink-2); }
.tm-table--dark { min-width: 480px; color: #FFFFFF; }
.tm-table--dark th, .tm-table--dark td { border-top-color: var(--tm-ink-2); }
.tm-table--dark thead th { color: var(--tm-faint); }
.tm-table--dark tbody th { color: #CBD5E1; font-weight: 500; }
.tm-table--dark tbody td { font-weight: 600; }
.tm-vs__cta { margin-top: 24px; }
.tm-vs__side { flex: 1 1 280px; min-width: 0; }
.tm-vs__side h3 { margin: 0 0 14px; font-size: 16px; color: #FFFFFF; letter-spacing: 0; font-weight: 700; }
.tm-vs__side ul { list-style: none; margin: 0; padding: 0; }
.tm-vs__side li { border-top: 1px solid var(--tm-ink-2); }
.tm-vs__side a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; color: #FFFFFF; font-weight: 500; }
.tm-vs__cat { color: var(--tm-faint); font-size: 14px; }

/* ===== Verify ===== */
.tm-verify { display: flex; flex-wrap: wrap; gap: 48px; }
.tm-verify__intro { flex: 1 1 340px; }
.tm-verify__intro .tm-sub { margin-bottom: 20px; max-width: 420px; }
.tm-editors { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tm-editors li { display: flex; align-items: center; gap: 14px; }
.tm-editor__photo { width: 48px; height: 48px; border-radius: 50%; }
.tm-editor__name { display: block; font-weight: 700; color: var(--tm-ink); }
.tm-editor__role { display: block; font-size: 14px; color: var(--tm-muted); }
.tm-checks { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tm-check { border: 1px solid var(--tm-line); border-radius: 20px; padding: 24px; }
.tm-check h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; font-weight: 700; }
.tm-check p { margin: 0; color: var(--tm-muted); font-size: 15px; }

/* ===== A to Z ===== */
.tm-az { columns: 4 220px; column-gap: 32px; }
.tm-az__group { break-inside: avoid; margin-bottom: 22px; }
.tm-az__letter { display: block; font-size: 28px; font-weight: 800; color: var(--tm-btn); line-height: 1; margin-bottom: 8px; }
.tm-az ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tm-az a { color: var(--tm-ink); }

/* ===== FAQ ===== */
.tm-faq { display: flex; flex-wrap: wrap; gap: 48px; }
.tm-faq__intro { flex: 1 1 320px; }
.tm-faq__intro .tm-sub { max-width: 380px; }
.tm-faq__list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--tm-line); }
.tm-faq__item { border-bottom: 1px solid var(--tm-line); padding: 18px 0; }
.tm-faq__item summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.tm-faq__item summary::-webkit-details-marker { display: none; }
.tm-faq__item summary h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.tm-faq__item summary span { color: var(--tm-btn); font-size: 22px; line-height: 1; }
.tm-faq__item[open] summary span { transform: rotate(45deg); }
.tm-faq__item p { margin: 12px 0 0; color: var(--tm-muted); }

/* ===== CTA ===== */
.tm-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.tm-cta__card { border: 1px solid var(--tm-line); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tm-cta__card--sky { background: var(--tm-sky-panel); border-color: var(--tm-sky-panel); }
.tm-cta__card h2 { margin: 0; font-size: 28px; }
.tm-cta__card p { margin: 0; color: var(--tm-muted); }
.tm-cta__card ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--tm-body); }
.tm-news { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.tm-news input { flex: 1 1 220px; height: 48px; box-sizing: border-box; padding: 0 18px; border: 1px solid var(--tm-line); border-radius: 999px; font: inherit; font-size: 15px; background: #FFFFFF; }
.tm-news .tm-btn { min-height: 48px; font-family: inherit; }
