/*
 * Sable shared design system
 */

:root {
    --color-cream: #fbf5ec;
    --color-cream-deep: #f3e8da;
    --color-white: #ffffff;
    --color-navy: #17324d;
    --color-navy-deep: #10283f;
    --color-navy-soft: #26455f;
    --color-ink: #173047;
    --color-body: #435568;
    --color-copper: #aa523d;
    --color-copper-dark: #893e2f;
    --color-copper-light: #d8a184;
    --color-peach: #efd0bc;
    --color-line: #d8c1ae;
    --color-border: #dfd1c2;
    --color-focus: #f0aa64;
    --color-black: #101418;

    --font-heading: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    --font-body: "DM Sans", "Segoe UI", sans-serif;

    --shadow-soft: 0 18px 45px rgba(23, 50, 77, 0.11);
    --shadow-card: 0 24px 60px rgba(16, 40, 63, 0.18);
    --shadow-header: 0 8px 30px rgba(16, 40, 63, 0.08);

    --radius-small: 0.75rem;
    --radius-medium: 1.25rem;
    --radius-large: 2rem;
    --radius-pill: 999px;

    --container: 75rem;
    --container-wide: 87.5rem;
    --text-measure: 44rem;
    --header-height: 4.75rem;
    --header-bottom: 4.75rem;
    --section-space: clamp(4.75rem, 9vw, 8.5rem);

    color-scheme: light;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 20rem;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1.5rem);
    background: var(--color-cream);
}

body {
    min-width: 20rem;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--color-cream);
    color: var(--color-body);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
video,
iframe,
embed,
object,
svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre,
code,
.code-block,
[class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p,
li,
td,
th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

input,
textarea,
select {
    max-width: 100%;
}

section {
    overflow: clip;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
a:not([class]) {
    color: var(--color-copper-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
a:not([class]):hover {
    color: var(--color-navy);
}

::selection {
    background: var(--color-peach);
    color: var(--color-navy-deep);
}

/* ============================================
   TYPOGRAPHY AND LAYOUT
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem, 9vw, 6.6rem);
}

h2 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

p + p {
    margin-top: 1rem;
}

ul,
ol {
    margin-top: 0;
}

.container,
.container-wide {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.container-wide {
    max-width: var(--container-wide);
}

.section {
    position: relative;
    padding-block: var(--section-space);
}

.section--cream {
    background: var(--color-cream);
}

.section--white {
    background: var(--color-white);
}

.section--navy {
    background: var(--color-navy);
    color: var(--color-cream);
}

.section--peach {
    background: var(--color-peach);
}

.section--navy h2,
.section--navy h3 {
    color: var(--color-cream);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: var(--color-copper-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 1.7rem;
    height: 0.12rem;
    border-radius: var(--radius-pill);
    background: currentColor;
    content: "";
}

.lead {
    max-width: var(--text-measure);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

main {
    min-height: 60vh;
    padding-top: var(--header-height);
}

.home-page main {
    padding-top: 0;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-small);
    background: var(--color-white);
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, summary, input, textarea, select):focus-visible {
    outline: 0.2rem solid var(--color-focus);
    outline-offset: 0.2rem;
}

#main-content:focus {
    outline: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.button {
    position: relative;
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.35rem;
    border: 0.0625rem solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.button:hover {
    transform: translateY(-0.12rem);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    background: var(--color-copper);
    color: var(--color-white);
    box-shadow: 0 0.75rem 2rem rgba(137, 62, 47, 0.2);
}

.button--primary:hover {
    background: var(--color-copper-dark);
    color: var(--color-white);
}

.button--secondary {
    border-color: currentColor;
    background: transparent;
    color: var(--color-navy);
}

.button--secondary:hover {
    background: var(--color-white);
}

.button--light {
    background: var(--color-cream);
    color: var(--color-navy);
}

.button--light:hover {
    background: var(--color-white);
}

.button--full {
    width: 100%;
}

.button--halo {
    isolation: isolate;
}

.button--halo::before,
.button--halo::after {
    position: absolute;
    z-index: -1;
    inset: -0.65rem;
    border: 0.0625rem solid currentColor;
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.button--halo::before {
    color: rgba(216, 161, 132, 0.52);
}

.button--halo::after {
    inset: -1.15rem;
    color: rgba(216, 161, 132, 0.25);
}

/* ============================================
   SHARED HEADER
   ============================================ */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    min-height: var(--header-height);
    color: var(--color-navy);
}

.site-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-bottom: 0.0625rem solid rgba(170, 82, 61, 0.18);
    background: rgba(251, 245, 236, 0.94);
    box-shadow: var(--shadow-header);
    content: "";
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
}

.home-page .site-header:not(.is-scrolled) {
    color: var(--color-white);
}

.home-page .site-header:not(.is-scrolled)::before {
    border-color: transparent;
    background: linear-gradient(to bottom, rgba(16, 40, 63, 0.55), transparent);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header__inner {
    position: relative;
    display: flex;
    width: min(calc(100% - 1.5rem), var(--container-wide));
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 2.75rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.site-brand__text {
    color: inherit;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 1;
}

.mobile-menu-toggle {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0;
    border: 0.0625rem solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.mobile-menu-toggle__line {
    display: block;
    width: 1.15rem;
    height: 0.1rem;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:first-child {
    transform: translateY(0.4rem) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:last-child {
    transform: translateY(-0.4rem) rotate(-45deg);
}

.primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-bottom);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    height: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-cream);
    color: var(--color-navy);
}

.primary-nav.is-open {
    display: block;
}

.primary-nav__inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem 2rem;
}

.primary-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav__list > li > a,
.nav-disclosure summary,
.nav-disclosure__panel a {
    display: flex;
    min-height: 3rem;
    align-items: center;
    border-radius: var(--radius-small);
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.primary-nav__list > li > a,
.nav-disclosure summary {
    padding-inline: 1rem;
}

.primary-nav__list > li > a:hover,
.nav-disclosure summary:hover {
    background: var(--color-cream-deep);
}

.nav-disclosure summary {
    cursor: pointer;
    list-style: none;
}

.nav-disclosure summary::-webkit-details-marker {
    display: none;
}

.nav-disclosure summary::after {
    width: 0.55rem;
    height: 0.55rem;
    margin-left: auto;
    border-right: 0.12rem solid currentColor;
    border-bottom: 0.12rem solid currentColor;
    content: "";
    transform: translateY(-0.15rem) rotate(45deg);
    transition: transform 160ms ease;
}

.nav-disclosure details[open] summary::after {
    transform: translateY(0.15rem) rotate(225deg);
}

.nav-disclosure__panel {
    display: grid;
    gap: 0.15rem;
    padding: 0.25rem 0 0.5rem 1rem;
}

.nav-disclosure__panel a {
    padding-inline: 1rem;
    color: var(--color-body);
    font-weight: 600;
}

.nav-disclosure__panel a:hover {
    background: var(--color-white);
    color: var(--color-copper-dark);
}

.site-nav__mobile-cta {
    padding-top: 2rem;
}

.header-actions {
    display: none;
}

/* ============================================
   SIGNAL-LINE MOTIF
   ============================================ */

.signal-lines {
    display: block;
    width: 100%;
    overflow: visible;
    color: var(--color-copper-light);
}

.signal-lines path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.signal-lines--copper {
    color: var(--color-copper-light);
}

.signal-lines--cream {
    color: var(--color-cream);
}

.signal-lines--navy {
    color: var(--color-navy);
}

/* ============================================
   PLAY MARKER AND STORE BUTTONS
   ============================================ */

.play-marker {
    display: inline-flex;
    width: 4.25rem;
    height: 4.25rem;
    align-items: center;
    justify-content: center;
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(16, 40, 63, 0.78);
    color: var(--color-white);
    box-shadow: 0 0.75rem 2rem rgba(16, 40, 63, 0.25);
}

.play-marker svg {
    width: 1.65rem;
    height: 1.65rem;
    transform: translateX(0.1rem);
}

.play-marker path {
    fill: currentColor;
}

.store-button {
    display: inline-flex;
    min-width: 12.5rem;
    min-height: 4rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    border: 0.0625rem solid var(--color-black);
    border-radius: 0.7rem;
    background: var(--color-black);
    color: var(--color-white);
    cursor: pointer;
    text-align: left;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
    box-shadow: 0 0.75rem 1.75rem rgba(16, 20, 24, 0.2);
    transform: translateY(-0.12rem);
}

.store-button__icon {
    display: inline-flex;
    width: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
}

.store-button__icon svg {
    width: 100%;
    max-height: 2.3rem;
    fill: var(--color-white);
}

.store-button__play-blue {
    fill: #48a9f8;
}

.store-button__play-green {
    fill: #3ddc84;
}

.store-button__play-yellow {
    fill: #ffcc45;
}

.store-button__play-red {
    fill: #f15b5d;
}

.store-button__copy {
    display: grid;
    gap: 0.05rem;
}

.store-button__eyebrow {
    font-size: 0.68rem;
    line-height: 1.1;
}

.store-button__label {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.15;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    display: grid;
    width: min(100%, 52rem);
    align-items: start;
    gap: 0.8rem;
    margin-inline: auto;
}

.faq__item {
    align-self: start;
    border: 0.0625rem solid var(--color-line);
    border-radius: var(--radius-medium);
    background: var(--color-white);
    box-shadow: 0 0.5rem 1.5rem rgba(23, 50, 77, 0.04);
}

.faq__heading {
    font: inherit;
}

.faq__trigger {
    display: flex;
    width: 100%;
    min-height: 4.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 0;
    border-radius: var(--radius-medium);
    background: transparent;
    color: var(--color-navy);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.14rem);
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.faq__trigger:hover {
    background: #fffaf4;
}

.faq__chevron {
    width: 0.75rem;
    height: 0.75rem;
    flex: 0 0 0.75rem;
    border-right: 0.13rem solid currentColor;
    border-bottom: 0.13rem solid currentColor;
    transform: translateY(-0.15rem) rotate(45deg);
    transition: transform 180ms ease;
}

.faq__trigger[aria-expanded="true"] .faq__chevron {
    transform: translateY(0.15rem) rotate(225deg);
}

.faq__panel {
    padding: 0 1.1rem 1.25rem;
}

.faq__panel[hidden] {
    display: none;
}

.faq__answer {
    max-width: 45rem;
    color: var(--color-body);
}

.faq__answer p + p {
    margin-top: 0.75rem;
}

/* ============================================
   LEGAL PAGE FOUNDATION
   ============================================ */

.legal-masthead {
    position: relative;
    min-height: 23rem;
    overflow: clip;
    background: var(--color-navy);
    color: var(--color-cream);
}

.legal-masthead__signal {
    position: absolute;
    right: -8%;
    bottom: 1.5rem;
    width: min(66rem, 78%);
    color: rgba(216, 161, 132, 0.48);
    pointer-events: none;
}

.legal-masthead__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
    padding: clamp(4.5rem, 10vw, 7.5rem) 0 0;
}

.legal-masthead h1 {
    max-width: 60rem;
    color: var(--color-cream);
    font-size: clamp(2.6rem, 7vw, 5.8rem);
}

.legal-masthead__intro {
    position: relative;
    width: min(100%, 61rem);
    margin-top: 2.25rem;
    margin-bottom: -4.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-large);
    background: var(--color-cream);
    color: var(--color-body);
    box-shadow: var(--shadow-card);
}

.legal-masthead__intro p:first-child {
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.7;
}

.legal-layout {
    display: grid;
    width: min(calc(100% - 2rem), var(--container));
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    margin-inline: auto;
    padding-block: 7rem var(--section-space);
}

.legal-toc__desktop {
    display: none;
}

.legal-toc__mobile {
    border: 0.0625rem solid var(--color-border);
    border-radius: var(--radius-medium);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.legal-toc__mobile summary {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--color-navy);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    list-style: none;
}

.legal-toc__mobile summary::-webkit-details-marker {
    display: none;
}

.legal-toc__mobile summary::after {
    width: 0.6rem;
    height: 0.6rem;
    margin-left: auto;
    border-right: 0.12rem solid currentColor;
    border-bottom: 0.12rem solid currentColor;
    content: "";
    transform: translateY(-0.15rem) rotate(45deg);
}

.legal-toc__mobile[open] summary::after {
    transform: translateY(0.15rem) rotate(225deg);
}

.legal-toc__mobile-panel {
    display: grid;
    padding: 0 0.6rem 0.7rem;
}

.legal-toc button {
    min-height: 2.8rem;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-left: 0.18rem solid transparent;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--color-body);
    cursor: pointer;
    line-height: 1.35;
    text-align: left;
}

.legal-toc button:hover,
.legal-toc button.is-active {
    border-left-color: var(--color-copper);
    background: var(--color-cream);
    color: var(--color-navy);
}

.legal-prose {
    min-width: 0;
}

.legal-prose section {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.legal-prose section + section {
    margin-top: clamp(3.5rem, 7vw, 5.75rem);
    padding-top: clamp(3.5rem, 7vw, 5.75rem);
    border-top: 0.0625rem solid var(--color-border);
}

.legal-prose h2 {
    max-width: 48rem;
    margin-bottom: 1.35rem;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.legal-prose h3 {
    margin: 2rem 0 0.85rem;
}

.legal-prose p,
.legal-prose li {
    max-width: 49rem;
}

.legal-prose ul,
.legal-prose ol {
    display: grid;
    gap: 0.7rem;
    max-width: 49rem;
    margin: 1.25rem 0 0;
    padding-left: 1.35rem;
}

.legal-prose strong {
    color: var(--color-navy);
}

.legal-callout {
    max-width: 49rem;
    margin-top: 1.75rem;
    padding: 1.4rem 1.5rem;
    border-left: 0.25rem solid var(--color-copper);
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
    background: var(--color-cream-deep);
}

.legal-callout p {
    max-width: none;
}

/* ============================================
   SHARED FOOTER
   ============================================ */

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--color-navy-deep);
    color: var(--color-cream);
}

.site-footer__signal {
    height: 4rem;
    overflow: hidden;
    border-top: 0.0625rem solid rgba(216, 161, 132, 0.22);
    color: rgba(216, 161, 132, 0.44);
}

.signal-lines--footer {
    width: 115%;
    min-width: 62rem;
    height: 6rem;
    margin-top: -2.1rem;
    margin-left: -7%;
}

.site-footer__inner {
    display: grid;
    width: min(calc(100% - 2rem), var(--container));
    gap: 3rem;
    margin-inline: auto;
    padding-block: 3rem 3.5rem;
}

.site-brand--footer {
    color: var(--color-white);
}

.site-brand--footer .site-brand__text {
    font-size: 2.25rem;
}

.site-footer__brand p {
    max-width: 32rem;
    margin-top: 1.25rem;
    color: #d8e0e7;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
}

.footer-nav__column {
    display: grid;
    align-content: start;
    gap: 0.6rem;
}

.footer-nav h2 {
    margin-bottom: 0.4rem;
    color: var(--color-white);
    font-size: 0.78rem;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: #d8e0e7;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--color-copper-light);
}

.site-footer__bottom {
    display: flex;
    width: min(calc(100% - 2rem), var(--container));
    flex-direction: column;
    gap: 0.4rem;
    margin-inline: auto;
    padding-block: 1.5rem 2rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.14);
    color: #c4d0da;
    font-size: 0.88rem;
}

/* ============================================
   OPTIONAL ONE-WAY REVEALS
   ============================================ */

[data-reveal] {
    transition: opacity 500ms ease, transform 500ms ease;
}

.js [data-reveal]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(1.25rem);
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ============================================
   TABLET
   ============================================ */

@media (min-width: 48rem) {
    :root {
        --header-height: 5rem;
    }

    body {
        font-size: 1.0625rem;
    }

    .container,
    .container-wide {
        width: min(calc(100% - 3rem), var(--container));
    }

    .site-header__inner {
        width: min(calc(100% - 3rem), var(--container-wide));
    }

    .mobile-menu-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        display: block;
        width: auto;
        height: auto;
        overflow: visible;
        background: transparent;
        color: inherit;
    }

    .primary-nav__inner {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: clamp(0.25rem, 1vw, 0.7rem);
    }

    .primary-nav__list > li > a,
    .nav-disclosure summary {
        min-height: 2.75rem;
        padding-inline: 0.8rem;
    }

    .home-page .site-header:not(.is-scrolled) .primary-nav__list > li > a:hover,
    .home-page .site-header:not(.is-scrolled) .nav-disclosure summary:hover {
        background: rgba(255, 255, 255, 0.12);
    }

    .nav-disclosure {
        position: relative;
    }

    .nav-disclosure__panel {
        position: absolute;
        z-index: 5;
        top: calc(100% + 0.6rem);
        right: 0;
        width: 14rem;
        padding: 0.55rem;
        border: 0.0625rem solid var(--color-border);
        border-radius: var(--radius-medium);
        background: var(--color-white);
        box-shadow: var(--shadow-soft);
        color: var(--color-navy);
    }

    .nav-disclosure__panel a {
        min-height: 2.75rem;
        padding-inline: 0.8rem;
    }

    .site-nav__mobile-cta {
        display: none;
    }

    .header-actions {
        display: block;
    }

    .header-actions .header-cta {
        display: inline-flex;
        min-height: 2.75rem;
        padding-inline: 1.1rem;
    }

    .site-footer__inner {
        width: min(calc(100% - 3rem), var(--container));
    }

    .footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__bottom {
        width: min(calc(100% - 3rem), var(--container));
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
}

/* ============================================
   DESKTOP
   ============================================ */

@media (min-width: 64rem) {
    :root {
        --header-height: 5.5rem;
    }

    .site-brand__text {
        font-size: 2rem;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
    }

    .primary-nav {
        justify-self: center;
    }

    .header-actions {
        justify-self: end;
    }

    .legal-layout {
        grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
        gap: clamp(3.5rem, 7vw, 7rem);
        padding-top: 8rem;
    }

    .legal-toc__desktop {
        position: sticky;
        top: calc(var(--header-height) + 1.5rem);
        display: block;
        max-height: calc(100vh - var(--header-height) - 3rem);
        overflow-y: auto;
        padding: 1.1rem;
        border: 0.0625rem solid var(--color-border);
        border-radius: var(--radius-medium);
        background: var(--color-white);
        box-shadow: var(--shadow-soft);
    }

    .legal-toc__desktop:focus {
        outline: 0.2rem solid var(--color-focus);
        outline-offset: 0.2rem;
    }

    .legal-toc__desktop ul {
        display: grid;
        gap: 0.1rem;
        margin: 0.7rem 0 0;
        padding: 0;
        list-style: none;
    }

    .legal-toc__title {
        color: var(--color-navy);
        font-family: var(--font-heading);
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .legal-toc__desktop button {
        width: 100%;
    }

    .legal-toc__mobile {
        display: none;
    }

    .site-footer__inner {
        grid-template-columns: minmax(18rem, 1.1fr) minmax(0, 1.6fr);
        gap: clamp(4rem, 8vw, 8rem);
        padding-block: 4rem 5rem;
    }
}

/* ============================================
   LARGE DESKTOP
   ============================================ */

@media (min-width: 80rem) {
    .primary-nav__list {
        gap: 1rem;
    }

    .primary-nav__list > li > a,
    .nav-disclosure summary {
        padding-inline: 1rem;
    }

    .legal-masthead__intro {
        margin-left: clamp(2rem, 6vw, 7rem);
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js [data-reveal],
    .js [data-reveal]:not(.is-revealed) {
        opacity: 1;
        transform: none;
    }
}