/**
 * Legal page styles - scoped under .trk-legal-page
 */

.trk-legal-page {
    --black: #131313;
    --white: #ffffff;
    --red: #E31E24;
    --red-dark: #B81015;
    --grey-50: #fafafa;
    --grey-100: #f5f5f5;
    --grey-150: #ededed;
    --grey-200: #e5e5e5;
    --grey-300: #d4d4d4;
    --grey-500: #737373;
    --grey-700: #404040;
    --max: 1240px;
    --gutter: 20px;
    --section: 80px;
    --radius: 14px;
}
@media (min-width: 768px) {
  .trk-legal-page {
    --gutter: 40px; --section: 100px;
  }
}
.trk-legal-page *, .trk-legal-page *::before, .trk-legal-page *::after {
    box-sizing: border-box;
}
.trk-legal-page {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.trk-legal-page img, .trk-legal-page svg {
    display: block; max-width: 100%;
}
.trk-legal-page a {
    color: inherit; text-decoration: none;
}
.trk-legal-page button {
    font: inherit; cursor: pointer; border: none; background: none;
}
.trk-legal-page .container {
    max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.trk-legal-page .legal-hero {
    padding: 60px 0 50px;
    background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--grey-150);
}
@media (min-width: 768px) {
  .trk-legal-page .legal-hero {
    padding: 90px 0 70px;
  }
}
.trk-legal-page .legal-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--grey-500);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.6s 0.05s ease forwards;
}
.trk-legal-page .legal-hero__breadcrumb a {
    color: var(--grey-700);
}
.trk-legal-page .legal-hero__breadcrumb a:hover {
    color: var(--black);
}
.trk-legal-page .legal-hero__breadcrumb svg {
    color: var(--grey-300);
}
.trk-legal-page .legal-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 18ch;
    opacity: 0;
    animation: fadeUp 0.7s 0.15s ease forwards;
}
.trk-legal-page .legal-hero__lede {
    font-size: clamp(15px, 1.7vw, 18px);
    color: var(--grey-700);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 0 24px;
    opacity: 0;
    animation: fadeUp 0.7s 0.3s ease forwards;
}
.trk-legal-page .legal-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    font-size: 13px;
    color: var(--grey-700);
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.7s 0.45s ease forwards;
}
.trk-legal-page .legal-hero__updated svg {
    color: var(--grey-500);
}
.trk-legal-page .legal-hero__updated strong {
    color: var(--black); font-weight: 600;
}
.trk-legal-page .legal-body {
    padding: var(--section) 0;
    background: var(--white);
}
.trk-legal-page .legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 1000px) {
  .trk-legal-page .legal-grid {
    grid-template-columns: 220px 1fr;
    gap: 80px;
  }
}
.trk-legal-page .legal-toc {
    position: relative;
}
@media (min-width: 1000px) {
  .trk-legal-page .legal-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
}
.trk-legal-page .legal-toc__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--grey-150);
}
.trk-legal-page .legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.trk-legal-page .legal-toc__list a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-700);
    border-radius: 8px;
    border-left: 3px solid transparent;
    margin-left: -3px;
    line-height: 1.4;
    transition: all 0.2s;
}
.trk-legal-page .legal-toc__list a:hover {
    color: var(--black);
    background: var(--grey-50);
}
.trk-legal-page .legal-toc__list a.is-active {
    color: var(--black);
    font-weight: 600;
    border-left-color: var(--red);
    background: var(--grey-50);
}
@media (max-width: 999px) {
  .trk-legal-page .legal-toc {
    background: var(--grey-50);
    border-radius: var(--radius);
    padding: 4px 0;
    border: 1px solid var(--grey-150);
  }
  .trk-legal-page .legal-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    background: none;
    border: none;
    text-align: left;
  }
  .trk-legal-page .legal-toc__header__icon {
    transition: transform 0.25s;
  }
  .trk-legal-page .legal-toc.is-open .legal-toc__header__icon {
    transform: rotate(180deg);
  }
  .trk-legal-page .legal-toc__title {
    display: none;
  }
  .trk-legal-page .legal-toc__list {
    display: none;
    padding: 6px 12px 16px;
  }
  .trk-legal-page .legal-toc.is-open .legal-toc__list {
    display: flex;
  }
}
@media (min-width: 1000px) {
  .trk-legal-page .legal-toc__header {
    display: none;
  }
}
.trk-legal-page .legal-content {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-700);
}
@media (min-width: 768px) {
  .trk-legal-page .legal-content {
    font-size: 17px;
  }
}
.trk-legal-page .legal-content h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    margin: 0 0 18px;
    padding-top: 32px;
    line-height: 1.2;
    scroll-margin-top: 100px;
}
.trk-legal-page .legal-content h2:first-child {
    padding-top: 0;
}
.trk-legal-page .legal-content h3 {
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--black);
    margin: 32px 0 12px;
    line-height: 1.3;
}
.trk-legal-page .legal-content p {
    margin: 0 0 18px;
}
.trk-legal-page .legal-content p:last-child {
    margin-bottom: 0;
}
.trk-legal-page .legal-content a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s;
}
.trk-legal-page .legal-content a:hover {
    color: var(--red);
}
.trk-legal-page .legal-content strong, .trk-legal-page .legal-content b {
    color: var(--black); font-weight: 700;
}
.trk-legal-page .legal-content ul, .trk-legal-page .legal-content ol {
    margin: 0 0 18px;
    padding-left: 24px;
}
.trk-legal-page .legal-content li {
    margin-bottom: 8px;
}
.trk-legal-page .legal-content li::marker {
    color: var(--grey-500);
}
.trk-legal-page .legal-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: var(--grey-50);
    border-left: 3px solid var(--black);
    border-radius: 4px;
}
.trk-legal-page .legal-content blockquote p {
    margin: 0; font-style: italic; color: var(--grey-700);
}
.trk-legal-page .legal-content hr {
    margin: 36px 0;
    border: none;
    border-top: 1px solid var(--grey-150);
}
.trk-legal-page .legal-content code {
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 0.92em;
    background: var(--grey-100);
    padding: 2px 7px;
    border-radius: 5px;
    color: var(--black);
}
.trk-legal-page .legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.trk-legal-page .legal-content table th, .trk-legal-page .legal-content table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--grey-150);
}
.trk-legal-page .legal-content table th {
    font-weight: 700;
    color: var(--black);
    background: var(--grey-50);
    border-bottom: 2px solid var(--black);
}
.trk-legal-page .legal-content .contact-block {
    background: var(--grey-50);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 32px 0;
    border: 1px solid var(--grey-150);
}
.trk-legal-page .legal-content .contact-block strong {
    display: block; margin-bottom: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500);
}
.trk-legal-page .related-policies {
    background: var(--grey-50);
    border-top: 1px solid var(--grey-150);
    padding: var(--section) 0;
}
.trk-legal-page .related-policies__head {
    margin-bottom: 36px;
}
.trk-legal-page .related-policies__head h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.trk-legal-page .related-policies__head p {
    font-size: 15px;
    color: var(--grey-700);
    margin: 0;
}
.trk-legal-page .related-policies__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .trk-legal-page .related-policies__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .trk-legal-page .related-policies__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.trk-legal-page .related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    color: var(--black);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.trk-legal-page .related-card:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.trk-legal-page .related-card__title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.trk-legal-page .related-card__arrow {
    width: 28px; height: 28px;
    border-radius: 999px;
    background: var(--grey-100);
    display: grid; place-items: center;
    color: var(--black);
    flex-shrink: 0;
    transition: all 0.25s;
}
.trk-legal-page .related-card:hover .related-card__arrow {
    background: var(--black); color: var(--white);
    transform: translateX(2px);
}
.trk-legal-page .related-card.is-current {
    background: var(--grey-100);
    color: var(--grey-500);
    border-color: transparent;
    pointer-events: none;
}
.trk-legal-page .related-card.is-current .related-card__arrow {
    background: var(--grey-200); color: var(--grey-500);
}
.trk-legal-page .final-cta {
    text-align: center;
    background: var(--black);
    color: var(--white);
    padding: var(--section) 0;
}
.trk-legal-page .final-cta h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.1; margin: 0 0 16px;
    color: var(--white);
}
.trk-legal-page .final-cta p {
    font-size: 16px; color: rgba(255,255,255,0.7);
    max-width: 520px; margin: 0 auto 28px;
}
.trk-legal-page .btn-primary {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 16px 32px;
    background: var(--red); color: var(--white);
    border-radius: 999px;
    font-weight: 700; font-size: 15px;
    transition: transform 0.15s, background 0.15s, box-shadow 0.2s;
}
.trk-legal-page .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(227,30,36,0.4);
}
.trk-legal-page .btn-primary svg {
    transition: transform 0.25s;
}
.trk-legal-page .btn-primary:hover svg {
    transform: translateX(4px);
}
.trk-legal-page .btn-secondary-dark {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 16px 28px;
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    margin-left: 12px;
    transition: all 0.15s;
}
.trk-legal-page .btn-secondary-dark:hover {
    background: var(--white); color: var(--black); border-color: var(--white);
}
@media (max-width: 480px) {
  .trk-legal-page .btn-secondary-dark {
    margin-left: 0; margin-top: 12px;
  }
}


/* ============================================================
   LEGAL_FIX_OVERRIDES — theme color overrides + layout reset
   (same pattern as About/Contact/Track/Help pages)
   ============================================================ */

.trk-legal-page,
.trk-legal-page h1, .trk-legal-page h2, .trk-legal-page h3,
.trk-legal-page h4, .trk-legal-page p { color: #131313; }

.trk-legal-page .legal-hero h1,
.trk-legal-page .legal-toc__title,
.trk-legal-page .legal-content h2,
.trk-legal-page .legal-content h3,
.trk-legal-page .legal-content strong,
.trk-legal-page .legal-content b,
.trk-legal-page .related-policies__head h2,
.trk-legal-page .related-card__title { color: #131313 !important; }

.trk-legal-page .legal-content,
.trk-legal-page .legal-content p,
.trk-legal-page .legal-content li,
.trk-legal-page .legal-content blockquote p { color: #404040 !important; }

.trk-legal-page .legal-hero__lede,
.trk-legal-page .related-policies__head p { color: #404040 !important; }

.trk-legal-page .legal-toc__title,
.trk-legal-page .legal-toc__list a,
.trk-legal-page .legal-hero__breadcrumb,
.trk-legal-page .legal-hero__breadcrumb a,
.trk-legal-page .legal-hero__updated { color: #737373 !important; }
.trk-legal-page .legal-toc__list a.is-active { color: #131313 !important; }
.trk-legal-page .legal-hero__breadcrumb a:hover { color: #131313 !important; }
.trk-legal-page .legal-hero__updated strong { color: #131313 !important; }

.trk-legal-page .legal-content a {
    color: #131313 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.trk-legal-page .legal-content a:hover {
    color: #E31E24 !important;
}

/* Final CTA on dark — text must stay light */
.trk-legal-page .final-cta h2 { color: #ffffff !important; }
.trk-legal-page .final-cta p { color: rgba(255,255,255,0.7) !important; }
.trk-legal-page .btn-primary { color: #ffffff !important; }
.trk-legal-page .btn-secondary-dark { color: #ffffff !important; }
.trk-legal-page .btn-secondary-dark:hover { color: #131313 !important; }

/* "You're here" card stays muted */
.trk-legal-page .related-card.is-current,
.trk-legal-page .related-card.is-current .related-card__title { color: #737373 !important; }

/* Layout reset — bust theme constraints */
.trk-legal-page,
.trk-legal-page section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}
.trk-legal-page section.legal-hero,
.trk-legal-page section.legal-body,
.trk-legal-page section.related-policies,
.trk-legal-page section.final-cta {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.trk-legal-page .container {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: auto !important;
    box-sizing: border-box !important;
    float: none !important;
}
@media (min-width: 768px) {
    .trk-legal-page .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

.trk-legal-page a, .trk-legal-page a:visited {
    color: inherit;
    text-decoration: none;
}

/* WP gutenberg block styles that may slip through (paragraph blocks, list blocks) */
.trk-legal-page .legal-content .wp-block-table { width: 100%; margin: 24px 0; }
.trk-legal-page .legal-content .wp-block-quote { margin: 24px 0; }
.trk-legal-page .legal-content .wp-block-separator {
    margin: 36px 0;
    border: none;
    border-top: 1px solid #ededed;
}

/* ============================================================
   PHASE 6 — SIZE GUIDE PAGE: alias all .trk-legal-page styles
   so the size-guide template inherits the same layout/components.
   ============================================================ */

 * Legal page styles - scoped under .trk-size-guide-page
 */

.trk-size-guide-page {
    --black: #131313;
    --white: #ffffff;
    --red: #E31E24;
    --red-dark: #B81015;
    --grey-50: #fafafa;
    --grey-100: #f5f5f5;
    --grey-150: #ededed;
    --grey-200: #e5e5e5;
    --grey-300: #d4d4d4;
    --grey-500: #737373;
    --grey-700: #404040;
    --max: 1240px;
    --gutter: 20px;
    --section: 80px;
    --radius: 14px;
}

  .trk-size-guide-page {
    --gutter: 40px; --section: 100px;
  }

.trk-size-guide-page *, .trk-size-guide-page *::before, .trk-size-guide-page *::after {
    box-sizing: border-box;
}

.trk-size-guide-page {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.trk-size-guide-page img, .trk-size-guide-page svg {
    display: block; max-width: 100%;
}

.trk-size-guide-page a {
    color: inherit; text-decoration: none;
}

.trk-size-guide-page button {
    font: inherit; cursor: pointer; border: none; background: none;
}

.trk-size-guide-page .container {
    max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}

.trk-size-guide-page .legal-hero {
    padding: 60px 0 50px;
    background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--grey-150);
}

  .trk-size-guide-page .legal-hero {
    padding: 90px 0 70px;
  }

.trk-size-guide-page .legal-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--grey-500);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.6s 0.05s ease forwards;
}

.trk-size-guide-page .legal-hero__breadcrumb a {
    color: var(--grey-700);
}

.trk-size-guide-page .legal-hero__breadcrumb a:hover {
    color: var(--black);
}

.trk-size-guide-page .legal-hero__breadcrumb svg {
    color: var(--grey-300);
}

.trk-size-guide-page .legal-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 18ch;
    opacity: 0;
    animation: fadeUp 0.7s 0.15s ease forwards;
}

.trk-size-guide-page .legal-hero__lede {
    font-size: clamp(15px, 1.7vw, 18px);
    color: var(--grey-700);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 0 24px;
    opacity: 0;
    animation: fadeUp 0.7s 0.3s ease forwards;
}

.trk-size-guide-page .legal-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    font-size: 13px;
    color: var(--grey-700);
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.7s 0.45s ease forwards;
}

.trk-size-guide-page .legal-hero__updated svg {
    color: var(--grey-500);
}

.trk-size-guide-page .legal-hero__updated strong {
    color: var(--black); font-weight: 600;
}

.trk-size-guide-page .legal-body {
    padding: var(--section) 0;
    background: var(--white);
}

.trk-size-guide-page .legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

  .trk-size-guide-page .legal-grid {
    grid-template-columns: 220px 1fr;
    gap: 80px;
  }

.trk-size-guide-page .legal-toc {
    position: relative;
}

  .trk-size-guide-page .legal-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

.trk-size-guide-page .legal-toc__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--grey-150);
}

.trk-size-guide-page .legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trk-size-guide-page .legal-toc__list a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-700);
    border-radius: 8px;
    border-left: 3px solid transparent;
    margin-left: -3px;
    line-height: 1.4;
    transition: all 0.2s;
}

.trk-size-guide-page .legal-toc__list a:hover {
    color: var(--black);
    background: var(--grey-50);
}

.trk-size-guide-page .legal-toc__list a.is-active {
    color: var(--black);
    font-weight: 600;
    border-left-color: var(--red);
    background: var(--grey-50);
}

  .trk-size-guide-page .legal-toc {
    background: var(--grey-50);
    border-radius: var(--radius);
    padding: 4px 0;
    border: 1px solid var(--grey-150);
  }

  .trk-size-guide-page .legal-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    background: none;
    border: none;
    text-align: left;
  }

  .trk-size-guide-page .legal-toc__header__icon {
    transition: transform 0.25s;
  }

  .trk-size-guide-page .legal-toc.is-open .legal-toc__header__icon {
    transform: rotate(180deg);
  }

  .trk-size-guide-page .legal-toc__title {
    display: none;
  }

  .trk-size-guide-page .legal-toc__list {
    display: none;
    padding: 6px 12px 16px;
  }

  .trk-size-guide-page .legal-toc.is-open .legal-toc__list {
    display: flex;
  }

  .trk-size-guide-page .legal-toc__header {
    display: none;
  }

.trk-size-guide-page .legal-content {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-700);
}

  .trk-size-guide-page .legal-content {
    font-size: 17px;
  }

.trk-size-guide-page .legal-content h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    margin: 0 0 18px;
    padding-top: 32px;
    line-height: 1.2;
    scroll-margin-top: 100px;
}

.trk-size-guide-page .legal-content h2:first-child {
    padding-top: 0;
}

.trk-size-guide-page .legal-content h3 {
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--black);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.trk-size-guide-page .legal-content p {
    margin: 0 0 18px;
}

.trk-size-guide-page .legal-content p:last-child {
    margin-bottom: 0;
}

.trk-size-guide-page .legal-content a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s;
}

.trk-size-guide-page .legal-content a:hover {
    color: var(--red);
}

.trk-size-guide-page .legal-content strong, .trk-size-guide-page .legal-content b {
    color: var(--black); font-weight: 700;
}

.trk-size-guide-page .legal-content ul, .trk-size-guide-page .legal-content ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.trk-size-guide-page .legal-content li {
    margin-bottom: 8px;
}

.trk-size-guide-page .legal-content li::marker {
    color: var(--grey-500);
}

.trk-size-guide-page .legal-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: var(--grey-50);
    border-left: 3px solid var(--black);
    border-radius: 4px;
}

.trk-size-guide-page .legal-content blockquote p {
    margin: 0; font-style: italic; color: var(--grey-700);
}

.trk-size-guide-page .legal-content hr {
    margin: 36px 0;
    border: none;
    border-top: 1px solid var(--grey-150);
}

.trk-size-guide-page .legal-content code {
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 0.92em;
    background: var(--grey-100);
    padding: 2px 7px;
    border-radius: 5px;
    color: var(--black);
}

.trk-size-guide-page .legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.trk-size-guide-page .legal-content table th, .trk-size-guide-page .legal-content table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--grey-150);
}

.trk-size-guide-page .legal-content table th {
    font-weight: 700;
    color: var(--black);
    background: var(--grey-50);
    border-bottom: 2px solid var(--black);
}

.trk-size-guide-page .legal-content .contact-block {
    background: var(--grey-50);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 32px 0;
    border: 1px solid var(--grey-150);
}

.trk-size-guide-page .legal-content .contact-block strong {
    display: block; margin-bottom: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-500);
}

.trk-size-guide-page .related-policies {
    background: var(--grey-50);
    border-top: 1px solid var(--grey-150);
    padding: var(--section) 0;
}

.trk-size-guide-page .related-policies__head {
    margin-bottom: 36px;
}

.trk-size-guide-page .related-policies__head h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.trk-size-guide-page .related-policies__head p {
    font-size: 15px;
    color: var(--grey-700);
    margin: 0;
}

.trk-size-guide-page .related-policies__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

  .trk-size-guide-page .related-policies__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trk-size-guide-page .related-policies__grid {
    grid-template-columns: repeat(3, 1fr);
  }

.trk-size-guide-page .related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    color: var(--black);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trk-size-guide-page .related-card:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.trk-size-guide-page .related-card__title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.trk-size-guide-page .related-card__arrow {
    width: 28px; height: 28px;
    border-radius: 999px;
    background: var(--grey-100);
    display: grid; place-items: center;
    color: var(--black);
    flex-shrink: 0;
    transition: all 0.25s;
}

.trk-size-guide-page .related-card:hover .related-card__arrow {
    background: var(--black); color: var(--white);
    transform: translateX(2px);
}

.trk-size-guide-page .related-card.is-current {
    background: var(--grey-100);
    color: var(--grey-500);
    border-color: transparent;
    pointer-events: none;
}

.trk-size-guide-page .related-card.is-current .related-card__arrow {
    background: var(--grey-200); color: var(--grey-500);
}

.trk-size-guide-page .final-cta {
    text-align: center;
    background: var(--black);
    color: var(--white);
    padding: var(--section) 0;
}

.trk-size-guide-page .final-cta h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.1; margin: 0 0 16px;
    color: var(--white);
}

.trk-size-guide-page .final-cta p {
    font-size: 16px; color: rgba(255,255,255,0.7);
    max-width: 520px; margin: 0 auto 28px;
}

.trk-size-guide-page .btn-primary {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 16px 32px;
    background: var(--red); color: var(--white);
    border-radius: 999px;
    font-weight: 700; font-size: 15px;
    transition: transform 0.15s, background 0.15s, box-shadow 0.2s;
}

.trk-size-guide-page .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(227,30,36,0.4);
}

.trk-size-guide-page .btn-primary svg {
    transition: transform 0.25s;
}

.trk-size-guide-page .btn-primary:hover svg {
    transform: translateX(4px);
}

.trk-size-guide-page .btn-secondary-dark {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 16px 28px;
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    margin-left: 12px;
    transition: all 0.15s;
}

.trk-size-guide-page .btn-secondary-dark:hover {
    background: var(--white); color: var(--black); border-color: var(--white);
}

  .trk-size-guide-page .btn-secondary-dark {
    margin-left: 0; margin-top: 12px;
  }

.trk-size-guide-page,
.trk-size-guide-page h1, .trk-size-guide-page h2, .trk-size-guide-page h3,
.trk-size-guide-page h4, .trk-size-guide-page p { color: #131313; }


.trk-size-guide-page .legal-hero h1,
.trk-size-guide-page .legal-toc__title,
.trk-size-guide-page .legal-content h2,
.trk-size-guide-page .legal-content h3,
.trk-size-guide-page .legal-content strong,
.trk-size-guide-page .legal-content b,
.trk-size-guide-page .related-policies__head h2,
.trk-size-guide-page .related-card__title { color: #131313 !important; }


.trk-size-guide-page .legal-content,
.trk-size-guide-page .legal-content p,
.trk-size-guide-page .legal-content li,
.trk-size-guide-page .legal-content blockquote p { color: #404040 !important; }


.trk-size-guide-page .legal-hero__lede,
.trk-size-guide-page .related-policies__head p { color: #404040 !important; }


.trk-size-guide-page .legal-toc__title,
.trk-size-guide-page .legal-toc__list a,
.trk-size-guide-page .legal-hero__breadcrumb,
.trk-size-guide-page .legal-hero__breadcrumb a,
.trk-size-guide-page .legal-hero__updated { color: #737373 !important; }
.trk-size-guide-page .legal-toc__list a.is-active { color: #131313 !important; }

.trk-size-guide-page .legal-hero__breadcrumb a:hover { color: #131313 !important; }
.trk-size-guide-page .legal-hero__updated strong { color: #131313 !important; }

.trk-size-guide-page .legal-content a {
    color: #131313 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.trk-size-guide-page .legal-content a:hover {
    color: #E31E24 !important;
}

.trk-size-guide-page .final-cta h2 { color: #ffffff !important; }
.trk-size-guide-page .final-cta p { color: rgba(255,255,255,0.7) !important; }

.trk-size-guide-page .btn-primary { color: #ffffff !important; }
.trk-size-guide-page .btn-secondary-dark { color: #ffffff !important; }

.trk-size-guide-page .btn-secondary-dark:hover { color: #131313 !important; }


.trk-size-guide-page .related-card.is-current,
.trk-size-guide-page .related-card.is-current .related-card__title { color: #737373 !important; }


.trk-size-guide-page,
.trk-size-guide-page section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.trk-size-guide-page section.legal-hero,
.trk-size-guide-page section.legal-body,
.trk-size-guide-page section.related-policies,
.trk-size-guide-page section.final-cta {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.trk-size-guide-page .container {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: auto !important;
    box-sizing: border-box !important;
    float: none !important;
}

    .trk-size-guide-page .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

.trk-size-guide-page a, .trk-size-guide-page a:visited {
    color: inherit;
    text-decoration: none;
}

.trk-size-guide-page .legal-content .wp-block-table { width: 100%; margin: 24px 0; }
.trk-size-guide-page .legal-content .wp-block-quote { margin: 24px 0; }

.trk-size-guide-page .legal-content .wp-block-separator {
    margin: 36px 0;
    border: none;
    border-top: 1px solid #ededed;
}
