:root {
    --wht-navy: #071c2c; --wht-navy-deep: #04131f; --wht-paper: #f8f4ea;
    --wht-paper-soft: #fcfaf4; --wht-sage: #e9eee4; --wht-olive: #5f7a3f;
    --wht-olive-dark: #40562b; --wht-gold: #c8a969; --wht-ink: #1f2b25;
    --wht-muted: #687066; --wht-line: rgba(31,43,37,.16); --wht-white: #fffdf8;
    --wht-shadow: 0 24px 60px rgba(7,28,44,.12); --wht-radius-lg: 18px;
    --wht-radius-md: 12px; --wht-container: 1180px;
}
html { scroll-behavior: smooth; }
body.wht-terms-page-template {
    margin: 0; background: var(--wht-paper-soft); color: var(--wht-ink);
    font-family: "Instrument Sans", Arial, sans-serif; font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.wht-terms-page-template *, body.wht-terms-page-template *::before, body.wht-terms-page-template *::after { box-sizing: border-box; }
body.wht-terms-page-template img { display: block; max-width: 100%; height: auto; }
body.wht-terms-page-template a { color: inherit; }
body.wht-terms-page-template button, body.wht-terms-page-template input, body.wht-terms-page-template select, body.wht-terms-page-template textarea { font: inherit; }
body.wht-terms-page-template .grecaptcha-badge { visibility: hidden !important; }

.wht-skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 10000; padding: 10px 14px;
    border-radius: 6px; background: #fff; color: var(--wht-navy); font-weight: 700;
    text-decoration: none; transform: translateY(-160%);
}
.wht-skip-link:focus { transform: translateY(0); }
.wht-container, .wht-site-header__inner, .wht-site-footer__inner, .wht-site-footer__legal-inner {
    width: min(calc(100% - 48px), var(--wht-container)); margin-inline: auto;
}
.wht-page h1, .wht-page h2, .wht-page h3 {
    margin-top: 0; font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: -.035em;
}
.wht-page h1 { font-size: clamp(3.25rem,6vw,6rem); line-height: .94; }
.wht-page h2 { font-size: clamp(2.15rem,4vw,4rem); line-height: 1.02; }
.wht-page h3 { font-size: clamp(1.35rem,2vw,1.75rem); line-height: 1.15; }
.wht-page p { margin-top: 0; }
.wht-eyebrow {
    display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--wht-gold);
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.wht-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.wht-button {
    display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border: 1px solid transparent; border-radius: 999px;
    background: var(--wht-olive); color: #fff !important; font-weight: 800; line-height: 1;
    text-decoration: none; cursor: pointer; box-shadow: 0 14px 28px rgba(43,63,29,.22);
    transition: transform 180ms ease, background-color 180ms ease;
}
.wht-button:hover { background: var(--wht-olive-dark); transform: translateY(-2px); }
.wht-text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.wht-text-link svg, .wht-button svg { width: 18px; height: 12px; transition: transform 180ms ease; }
.wht-text-link:hover svg, .wht-button:hover svg { transform: translateX(4px); }
.wht-button:focus-visible, .wht-text-link:focus-visible, .wht-site-header a:focus-visible,
.wht-site-header button:focus-visible, .wht-site-footer a:focus-visible,
.wht-page input:focus-visible, .wht-page textarea:focus-visible, .wht-page summary:focus-visible {
    outline: 3px solid #e6c77f; outline-offset: 4px;
}

/* Header parity with WHT pages */
.wht-site-header {
    position: absolute; inset: 0 0 auto; z-index: 1000; width: 100%;
    background: linear-gradient(180deg, rgba(7,22,36,.88), rgba(7,22,36,.46) 62%, transparent);
    color: #fffdf8;
}
.wht-site-header__inner {
    display: flex; width: 100%; min-height: 110px; align-items: center;
    gap: clamp(18px,2.35vw,38px); padding: 18px clamp(28px,5.15vw,72px);
}
.wht-site-header__brand { display: inline-flex; width: clamp(280px,25.8vw,360px); min-width: 280px; flex: 0 0 auto; align-items: center; text-decoration: none; }
.wht-site-header__logo-image { width: 100%; max-height: 59px; object-fit: contain; object-position: left center; }
.wht-site-header__desktop-nav { display: flex; align-items: center; gap: clamp(18px,2vw,34px); margin-left: auto; }
.wht-site-header__menu-item { position: relative; display: inline-flex; align-items: center; }
.wht-site-header__menu-trigger, .wht-site-header__plain-link {
    display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 12px 0;
    border: 0; background: transparent; color: #fffdf8; font-size: .86rem; font-weight: 750;
    text-decoration: none; white-space: nowrap; cursor: pointer;
}
.wht-site-header__menu-trigger svg { width: 10px; height: 7px; transition: transform 180ms ease; }
.wht-site-header__menu-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.wht-site-header__dropdown {
    position: absolute; top: calc(100% + 6px); left: -16px; z-index: 20; width: 290px;
    padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
    background: rgba(7,22,36,.985); box-shadow: 0 18px 40px rgba(0,0,0,.24);
}
.wht-site-header__dropdown[hidden] { display: none; }
.wht-site-header__dropdown a { display: block; padding: 11px 13px; border-radius: 6px; color: #fffdf8; font-size: .86rem; text-decoration: none; }
.wht-site-header__dropdown a:hover, .wht-site-header__dropdown a:focus-visible { background: rgba(255,255,255,.1); }
.wht-site-header__actions { display: flex; align-items: center; gap: 10px; }
.wht-site-header__social, .wht-site-header__mobile-toggle {
    display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center;
    padding: 0; border: 1px solid rgba(255,255,255,.23); background: rgba(7,22,36,.16); color: #fffdf8;
}
.wht-site-header__social { border-radius: 50%; text-decoration: none; }
.wht-site-header__social svg { width: 18px; height: 18px; }
.wht-site-header__contact, .wht-site-header__contact:visited {
    display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px;
    border: 1px solid #fffdf8; border-radius: 8px; background: #fffdf8; color: var(--wht-navy) !important;
    font-size: .78rem; font-weight: 800; text-decoration: none;
}
.wht-site-header__contact:hover { background: var(--wht-gold); border-color: var(--wht-gold); }
.wht-site-header__mobile-toggle { display: none; border-radius: 8px; cursor: pointer; }
.wht-site-header__mobile-toggle svg { width: 26px; height: 22px; }
.wht-site-header__mobile-close { display: none; }
.wht-site-header__mobile-toggle[aria-expanded="true"] .wht-site-header__mobile-open { display: none; }
.wht-site-header__mobile-toggle[aria-expanded="true"] .wht-site-header__mobile-close { display: inline-flex; }
.wht-site-header__mobile-panel { display: none; }

/* Footer */
.wht-site-footer { background: #12324b; color: #fff; }
.wht-site-footer__inner { display: grid; grid-template-columns: 1.15fr 1.35fr 1.1fr .95fr; gap: 42px; padding: 62px 0 54px; }
.wht-site-footer__column { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.wht-site-footer__column h2 { margin: 0 0 9px; color: #9fc46b; font-family: Georgia,serif; font-size: 1rem; }
.wht-site-footer__column a { color: rgba(255,255,255,.84); font-size: .78rem; text-decoration: none; }
.wht-site-footer__column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.wht-site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); }
.wht-site-footer__legal-inner { padding: 18px 0 22px; color: rgba(255,255,255,.66); font-size: .72rem; }

@media (max-width: 1100px) {
    .wht-site-header { background: linear-gradient(180deg, rgba(7,22,36,.97), rgba(7,22,36,.86)); }
    .wht-site-header__inner { min-height: 92px; gap: 10px; padding: 12px clamp(20px,4.5vw,48px); }
    .wht-site-header__brand { width: clamp(210px,31vw,320px); min-width: 0; }
    .wht-site-header__logo-image { max-height: 52px; }
    .wht-site-header__desktop-nav, .wht-site-header__contact { display: none; }
    .wht-site-header__actions { margin-left: auto; }
    .wht-site-header__mobile-toggle { display: inline-flex; }
    .wht-site-header__mobile-panel {
        position: fixed; top: 0; right: 0; z-index: 1050; display: block;
        width: min(88vw,390px); height: 100dvh; padding: 92px 24px 32px;
        background: #071624; box-shadow: -18px 0 42px rgba(0,0,0,.3); overflow-y: auto;
    }
    .wht-site-header__mobile-panel[hidden] { display: none; }
    .wht-site-header__mobile-panel nav { display: grid; gap: 7px; }
    .wht-site-header__mobile-group > button, .wht-site-header__mobile-link {
        display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between;
        padding: 13px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
        background: rgba(255,255,255,.045); color: #fffdf8; font-size: 1rem; font-weight: 700;
        text-align: left; text-decoration: none; cursor: pointer;
    }
    .wht-site-header__mobile-submenu { display: grid; gap: 3px; padding: 5px 0 7px 14px; }
    .wht-site-header__mobile-submenu[hidden] { display: none; }
    .wht-site-header__mobile-submenu a { display: block; padding: 10px 12px; border-radius: 6px; color: rgba(255,255,255,.84); font-size: .88rem; text-decoration: none; }
    .wht-site-header__mobile-submenu a:hover { background: rgba(255,255,255,.08); color: #fff; }
    .wht-site-header__mobile-socials { display: flex; gap: 10px; margin-top: 16px; padding: 16px 12px 2px; border-top: 1px solid rgba(255,255,255,.12); }
    .wht-site-header__mobile-socials a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
    .wht-site-footer__inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
    .wht-container, .wht-site-header__inner, .wht-site-footer__inner, .wht-site-footer__legal-inner { width: min(calc(100% - 32px), var(--wht-container)); }
    .wht-site-header__inner { min-height: 82px; padding: 10px 16px; }
    .wht-site-header__brand { width: clamp(150px,46vw,205px); min-width: 0; }
    .wht-site-header__logo-image { max-height: 34px; }
    .wht-site-header__social { display: none; }
    .wht-site-footer__inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.wht-terms-hero { padding: 156px 0 84px; background: var(--wht-navy); color: #fff; }
.wht-terms-hero h1 { max-width: 820px; margin-bottom: 24px; color: #fff; }
.wht-terms-hero__lead { max-width: 720px; color: rgba(255,255,255,.76); font-size: 1.15rem; }
.wht-terms-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 28px; color: rgba(255,255,255,.58); font-size: .78rem; }
.wht-terms-summary { padding: 46px 0; background: #fff; border-bottom: 1px solid var(--wht-line); }
.wht-terms-summary__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.wht-terms-summary__grid > div { padding: 12px 26px; border-right: 1px solid var(--wht-line); }
.wht-terms-summary__grid > div:last-child { border-right: 0; }
.wht-terms-summary small { display: block; margin-bottom: 7px; color: var(--wht-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wht-terms-summary strong { font-family: Georgia,serif; font-size: 1.08rem; line-height: 1.25; }
.wht-terms-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 80px; padding: 88px 0 110px; }
.wht-terms-toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; padding-right: 16px; }
.wht-terms-toc h2 { font-size: 1.45rem; }
.wht-terms-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--wht-line); }
.wht-terms-toc a { display: block; padding: 9px 0; border-bottom: 1px solid var(--wht-line); color: var(--wht-muted); font-size: .77rem; text-decoration: none; }
.wht-terms-toc a:hover { color: var(--wht-ink); }
.wht-terms-content { max-width: 800px; }
.wht-terms-section { scroll-margin-top: 24px; padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid var(--wht-line); }
.wht-terms-section:last-child { border-bottom: 0; }
.wht-terms-section h2 { font-size: clamp(1.8rem,3vw,2.65rem); }
.wht-terms-section h3 { margin-top: 30px; }
.wht-terms-section p, .wht-terms-section li { color: #4e5850; }
.wht-terms-section ul, .wht-terms-section ol { padding-left: 22px; }
.wht-legal-notice { padding: 24px; border-left: 3px solid var(--wht-gold); background: var(--wht-paper); }
.wht-identity { display: grid; grid-template-columns: 180px 1fr; gap: 8px 22px; padding: 24px; border: 1px solid var(--wht-line); border-radius: 12px; background: #fff; }
.wht-identity dt { font-weight: 800; }
.wht-identity dd { margin: 0; color: var(--wht-muted); overflow-wrap: anywhere; }
.wht-withdrawal { padding: 26px; border: 1px solid var(--wht-line); border-radius: 12px; background: #fff; }
@media (max-width: 980px) {
    .wht-terms-summary__grid { grid-template-columns: repeat(2,1fr); }
    .wht-terms-summary__grid > div:nth-child(2) { border-right: 0; }
    .wht-terms-summary__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--wht-line); }
    .wht-terms-layout { grid-template-columns: 1fr; gap: 42px; }
    .wht-terms-toc { position: static; max-height: none; }
}
@media (max-width: 760px) {
    .wht-terms-hero { padding: 130px 0 66px; }
    .wht-terms-summary__grid { grid-template-columns: 1fr; }
    .wht-terms-summary__grid > div { border-right: 0; border-bottom: 1px solid var(--wht-line); padding: 18px 0; }
    .wht-terms-layout { padding: 66px 0 80px; }
    .wht-identity { grid-template-columns: 1fr; }
}


/* 1.1.0 legal-page refinement */
.wht-terms-hero {
	padding-top: 166px;
	padding-bottom: 78px;
	background:
		radial-gradient(circle at 78% 22%, rgba(200, 169, 105, 0.14), transparent 34%),
		var(--wht-navy);
}

.wht-terms-hero h1 {
	max-width: 900px;
	font-size: clamp(3.6rem, 6.4vw, 6.3rem);
}

.wht-terms-hero__lead {
	max-width: 820px;
	font-size: clamp(1.05rem, 1.5vw, 1.22rem);
	line-height: 1.72;
}

.wht-terms-summary {
	padding: 34px 0;
	background: var(--wht-paper);
}

.wht-terms-summary__grid {
	gap: 14px;
}

.wht-terms-summary__grid > div {
	min-height: 112px;
	padding: 22px 24px;
	border: 1px solid var(--wht-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 10px 28px rgba(7, 28, 44, 0.05);
}

.wht-terms-summary__grid > div:last-child,
.wht-terms-summary__grid > div {
	border-right: 1px solid var(--wht-line);
}

.wht-terms-summary strong {
	display: block;
	font-size: 1.14rem;
	line-height: 1.34;
}

.wht-terms-layout {
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 72px;
	padding-top: 78px;
}

.wht-terms-toc {
	top: 20px;
	max-height: calc(100vh - 40px);
	padding: 24px;
	border: 1px solid var(--wht-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 14px 36px rgba(7, 28, 44, 0.06);
}

.wht-terms-toc h2 {
	margin-bottom: 16px;
	font-size: 1.55rem;
}

.wht-terms-toc ol {
	border-top: 0;
}

.wht-terms-toc a {
	padding: 8px 0;
	border-bottom: 0;
	line-height: 1.35;
}

.wht-terms-toc a:hover,
.wht-terms-toc a:focus-visible {
	color: var(--wht-olive-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wht-terms-content {
	max-width: 900px;
}

.wht-terms-section {
	padding-bottom: 42px;
	margin-bottom: 42px;
}

.wht-terms-section h2 {
	max-width: 760px;
	font-size: clamp(2rem, 3vw, 3rem);
}

.wht-terms-section h3 {
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	letter-spacing: -0.02em;
}

.wht-terms-section p,
.wht-terms-section li {
	max-width: 830px;
	font-size: 1rem;
	line-height: 1.76;
}

.wht-terms-section a {
	color: var(--wht-olive-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wht-legal-notice {
	margin-top: 26px;
	border-radius: 0 10px 10px 0;
	line-height: 1.7;
}

.wht-identity {
	grid-template-columns: 190px minmax(0, 1fr);
	padding: 30px;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(7, 28, 44, 0.06);
}

.wht-withdrawal {
	margin-top: 28px;
	padding: 30px;
	background: var(--wht-paper-soft);
	box-shadow: 0 12px 30px rgba(7, 28, 44, 0.05);
}

@media (max-width: 980px) {
	.wht-terms-summary__grid {
		gap: 12px;
	}

	.wht-terms-summary__grid > div:nth-child(-n + 2),
	.wht-terms-summary__grid > div {
		border: 1px solid var(--wht-line);
	}

	.wht-terms-layout {
		gap: 38px;
	}

	.wht-terms-toc {
		max-height: none;
	}
}

@media (max-width: 760px) {
	.wht-terms-hero {
		padding-top: 132px;
		padding-bottom: 62px;
	}

	.wht-terms-hero h1 {
		font-size: clamp(3.1rem, 14vw, 4.6rem);
	}

	.wht-terms-summary__grid {
		gap: 10px;
	}

	.wht-terms-summary__grid > div {
		min-height: 0;
		padding: 20px;
		border: 1px solid var(--wht-line);
	}

	.wht-terms-toc {
		padding: 22px;
	}

	.wht-terms-section {
		padding-bottom: 34px;
		margin-bottom: 34px;
	}

	.wht-identity {
		padding: 22px;
	}
}
