/* =====================================================================
   Help-centre pages (policies, about, contact, FAQ)
   ===================================================================== */
.tm-page { padding-bottom: 32px; }
.tm-page__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 8px; }
.tm-page__nav { position: sticky; top: calc(var(--mast-h) + 16px); }
.tm-page__nav-t { padding: 0 12px 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tm-page__nav ul { list-style: none; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.tm-page__nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.tm-page__nav a .tm-i { color: var(--muted); }
.tm-page__nav a:hover { background: var(--soft); }
.tm-page__nav a[aria-current] { background: var(--ink); color: #fff; }
.tm-page__nav a[aria-current] .tm-i { color: var(--gold); }
.tm-page__contact { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--tint); font-size: 14px; }
.tm-page__contact strong { display: block; font-size: 15px; }
.tm-page__contact p { margin: 4px 0 8px; color: var(--ink-2); }
.tm-page__contact a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.tm-page__main { max-width: 880px; min-width: 0; }
.tm-page__t { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 18px; }
.tm-page__updated { margin-top: 32px; font-size: 13px; color: var(--faint); }

@media (max-width: 1000px) {
  .tm-page__grid { grid-template-columns: 1fr; gap: 20px; }
  .tm-page__nav { position: static; order: 2; }
  .tm-page__t { font-size: 27px; }
}

/* Prose */
.tm-prose h2 { margin: 36px 0 12px; font-size: 23px; font-weight: 800; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.tm-prose h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.tm-prose > h2:first-child { margin-top: 0; }
.tm-prose p { margin: 0 0 14px; }
.tm-prose ul, .tm-prose ol { margin: 0 0 16px; padding-left: 22px; }
.tm-prose li { margin-bottom: 6px; }
.tm-prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tm-prose a:hover { text-decoration-color: var(--ink); }
.tm-prose strong { color: var(--ink); }
.tm-prose img { border-radius: var(--r); }
.tm-prose table { width: 100%; border-collapse: collapse; }

/* The store's policy components (markup lives in the page content) */
.tm-policy .tm-lead { font-size: 19px; line-height: 1.6; color: var(--ink); margin-bottom: 24px; }
.tm-policy .tm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 20px 0 26px; }
.tm-policy .tm-fact { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; line-height: 1.4; }
.tm-policy .tm-fact__i { width: 42px; height: 42px; margin-bottom: 6px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--ink); }
.tm-policy .tm-fact__i svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tm-policy .tm-fact strong { font-size: 16px; font-weight: 800; }
.tm-policy .tm-fact__b { font-size: 14px; color: var(--muted); }
.tm-policy .tm-fact__b a { color: var(--ink); }

.tm-policy .tm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.tm-policy .tm-stat { padding: 18px; border-radius: var(--r-lg); background: var(--soft); }
.tm-policy .tm-stat strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.tm-policy .tm-stat span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

.tm-policy .tm-steps { display: grid; gap: 10px; margin: 16px 0 24px; }
.tm-policy .tm-step { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.tm-policy .tm-step__n { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--mast); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.tm-policy .tm-step__c h3 { margin: 4px 0 4px; font-size: 16.5px; }
.tm-policy .tm-step__c p { margin: 0; font-size: 15px; }

.tm-policy .tm-q { margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.tm-policy .tm-q > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; list-style: none; cursor: pointer; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.tm-policy .tm-q > summary::-webkit-details-marker { display: none; }
.tm-policy .tm-q > summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 20px; font-weight: 500; line-height: 1; }
.tm-policy .tm-q[open] > summary::after { content: "–"; background: var(--ink); color: #fff; }
.tm-policy .tm-q__a { padding: 0 18px 6px; font-size: 15.5px; }

.tm-policy .tm-note { margin: 14px 0 22px; padding: 14px 16px; border-left: 4px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--gold-soft); font-size: 15px; color: var(--ink-2); }

.tm-policy .tm-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 22px; }
.tm-policy .tm-linkcard { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tm-policy .tm-linkcard:hover { border-color: var(--ink); box-shadow: var(--sh-1); }
.tm-policy .tm-linkcard strong { font-size: 16px; color: var(--ink); }
.tm-policy .tm-linkcard span { font-size: 14px; font-weight: 400; color: var(--muted); }

.tm-policy .tm-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.tm-policy .tm-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: var(--pill); border: 1.5px solid var(--brand); font-size: 15px; font-weight: 700; text-decoration: none; }
.tm-policy .tm-btn--solid { background: var(--brand); color: #fff; }
.tm-policy .tm-btn--solid:hover { background: var(--brand-h); color: #fff; }
.tm-policy .tm-btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.tm-policy .tm-btn--ghost:hover { background: var(--ink); color: #fff; }

.tm-policy .tm-table { margin: 14px 0 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.tm-policy .tm-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tm-policy .tm-table th { padding: 12px 16px; background: var(--soft); text-align: left; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tm-policy .tm-table td { padding: 12px 16px; border-top: 1px solid var(--line-2); vertical-align: top; }

.tm-policy .tm-yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 22px; }
.tm-policy .tm-yesno__col { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.tm-policy .tm-yesno__col.is-yes { border-top: 4px solid var(--ok); }
.tm-policy .tm-yesno__col.is-no { border-top: 4px solid var(--bad); }
.tm-policy .tm-yesno__col h3 { margin-top: 0; }
.tm-policy .tm-yesno__col ul { margin-bottom: 0; }
@media (max-width: 600px) {
  .tm-policy .tm-yesno { grid-template-columns: 1fr; }
  .tm-policy .tm-lead { font-size: 17px; }
}

/* =====================================================================
   Journal
   ===================================================================== */
.tm-journal { padding-bottom: 32px; }
.tm-article-wrap { padding-bottom: 24px; }
.tm-article { max-width: 760px; margin: 12px auto 0; }
.tm-article__kick { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.tm-article__t { margin-top: 8px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.tm-article__meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.tm-article__hero { margin: 24px 0 0; border-radius: var(--r-lg); overflow: hidden; }
.tm-article__body { margin-top: 28px; font-size: 17.5px; line-height: 1.75; }
.tm-article__more { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.tm-article__more a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.tm-article__more a:hover { border-color: var(--ink); }
.tm-article__more small { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tm-article__more strong { font-size: 16px; line-height: 1.35; }
@media (max-width: 600px) { .tm-article__more { grid-template-columns: 1fr; } .tm-article__body { font-size: 16.5px; } }

/* 404 */
.tm-404 { padding: 24px 0 40px; }
.tm-search--page { width: 100%; max-width: 480px; }
.tm-search--page input { border: 1.5px solid var(--line-3); }
