@font-face {
    font-family: 'Poppins';
    src: local('Poppins Regular'), local('Poppins-Regular'), local('Poppins');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: local('Poppins Medium'), local('Poppins-Medium');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: local('Poppins SemiBold'), local('Poppins-SemiBold');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: local('Poppins Bold'), local('Poppins-Bold');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: local('Poppins ExtraBold'), local('Poppins-ExtraBold');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --font-sans: 'Poppins', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bg: #06080d;
    --bg-elevated: #0c1118;
    --bg-elevated-2: #101723;
    --surface: rgba(14, 18, 26, 0.92);
    --surface-strong: rgba(9, 12, 18, 0.98);
    --surface-soft: rgba(18, 23, 33, 0.78);
    --line: rgba(229, 208, 170, 0.14);
    --line-strong: rgba(229, 208, 170, 0.26);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f8f4ec;
    --text-soft: rgba(248, 244, 236, 0.78);
    --text-muted: rgba(248, 244, 236, 0.58);
    --accent: #e4c684;
    --accent-strong: #f0ddaf;
    --accent-flat: #d9b975;
    --accent-contrast: #101217;
    --success: #96e6b4;
    --danger: #ffb9b9;
    --danger-bg: rgba(117, 28, 36, 0.22);
    --shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 28px 76px rgba(0, 0, 0, 0.32);
    --radius-xs: 12px;
    --radius-sm: 16px;
    --radius-md: 22px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --container: 1240px;
    --content: 1120px;
    --section-space: clamp(72px, 7vw, 112px);
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --transition-fast: 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 0%, rgba(228, 198, 132, 0.16), transparent 28%),
        radial-gradient(circle at 90% 14%, rgba(113, 86, 41, 0.14), transparent 24%),
        linear-gradient(180deg, #06080d 0%, #090d13 45%, #06080d 100%);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.is-nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

::selection {
    background: rgba(228, 198, 132, 0.28);
    color: #fff;
}

:focus-visible {
    outline: 2px solid rgba(228, 198, 132, 0.78);
    outline-offset: 3px;
}

main {
    position: relative;
    z-index: 1;
}

body,
p,
input,
textarea,
button,
select {
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
label {
    letter-spacing: -0.03em;
}

h1,
.hero-copy h1,
.legal-hero h1 {
    font-size: clamp(2.6rem, 5.8vw, 5.8rem);
    line-height: 0.96;
    font-weight: 800;
}

h2,
.section-head h2,
.legal-section h2,
.hero-panel h2 {
    font-size: clamp(1.85rem, 3.2vw, 3rem);
    line-height: 1.02;
    font-weight: 700;
}

h3,
.info-card strong,
.feature-card h3,
.module-card h3,
.service-plan h3,
.review-meta strong {
    font-size: clamp(1.06rem, 2vw, 1.32rem);
    line-height: 1.18;
    font-weight: 600;
}

p,
.info-card span,
.feature-card p,
.module-card p,
.legal-section p,
.legal-meta p,
.legal-update,
.review-meta span,
.review-meta small,
.hero-copy p,
.section-head p,
.hero-callout p {
    color: var(--text-soft);
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
}

small {
    font-size: 0.84rem;
}

.eyebrow,
.panel-kicker,
.service-plan__eyebrow,
.section-head--compact .section-head__eyebrow,
.legal-toc a,
.matches-filter__label,
.matches-search-field__label,
.field-label,
.service-quote-modal__summary-label,
.service-quote-modal__tip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent-strong);
    background: rgba(228, 198, 132, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 600;
}

.hero-title-split {
    display: grid;
    gap: 0.25rem;
}

.hero-title-accent,
.hero-title-gold {
    color: var(--accent-strong);
}

.mini-pill,
.index-pill,
.status-pill,
.card-link,
.service-plan__badge,
.duel-card__live-pill,
.duel-card__result-pill,
.matches-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.25rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tan-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: -0.125em;
    overflow: visible;
    shape-rendering: geometricPrecision;
}

.btn .tan-icon,
.icon-box .tan-icon,
.status-pill .tan-icon,
.panel-kicker .tan-icon,
.matches-filter__value .tan-icon,
.matches-filter__date-wrap .tan-icon,
.matches-search-field__input-wrap .tan-icon,
.service-plan__icon .tan-icon,
.review-stars .tan-icon,
.legal-toc .tan-icon {
    width: 1rem;
    height: 1rem;
}

.icon-box .tan-icon,
.service-plan__icon .tan-icon {
    stroke-width: 2.15;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bg-layer,
.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-left {
    background: radial-gradient(circle at 12% 10%, rgba(228, 198, 132, 0.12), transparent 24%);
}

.bg-right {
    background: radial-gradient(circle at 88% 12%, rgba(228, 198, 132, 0.08), transparent 18%);
}

.bg-grid {
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 78%);
}


/* Phase 13 — flatter, denser, more structured */
:root {
    --bg: #06070a;
    --bg-elevated: #0b1016;
    --bg-elevated-2: #10161f;
    --surface: rgba(11, 16, 22, 0.96);
    --surface-strong: rgba(9, 13, 18, 0.98);
    --surface-soft: rgba(14, 19, 27, 0.92);
    --line: rgba(223, 191, 127, 0.14);
    --line-strong: rgba(223, 191, 127, 0.24);
    --text: #f6f3ee;
    --text-soft: rgba(246, 243, 238, 0.82);
    --text-muted: rgba(246, 243, 238, 0.58);
    --accent: #dfbf7f;
    --accent-strong: #f2dca7;
    --accent-flat: #d6ad62;
    --accent-contrast: #0c1016;
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 16px 34px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 28px 56px rgba(0, 0, 0, 0.28);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --container: 1260px;
    --content: 1080px;
    --section-space: clamp(56px, 6vw, 88px);
}

body {
    background:
        radial-gradient(circle at 16% 0%, rgba(223, 191, 127, 0.12), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(223, 191, 127, 0.08), transparent 18%),
        linear-gradient(180deg, #05070a 0%, #090d12 44%, #05070a 100%);
}

h1,
.hero-copy h1,
.legal-hero h1 {
    font-size: clamp(2.55rem, 5.7vw, 5.75rem);
    line-height: 0.95;
}

h2,
.section-head h2,
.legal-section h2,
.hero-panel h2 {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.02;
}

p,
.info-card span,
.feature-card p,
.module-card p,
.legal-section p,
.legal-meta p,
.legal-update,
.review-meta span,
.review-meta small,
.hero-copy p,
.section-head p,
.hero-callout p {
    font-size: clamp(0.97rem, 1.05vw, 1.05rem);
    line-height: 1.72;
}

.eyebrow,
.panel-kicker,
.service-plan__eyebrow,
.section-head--compact .section-head__eyebrow,
.legal-toc a,
.field-label,
.service-quote-modal__summary-label,
.service-quote-modal__tip {
    min-height: 2.2rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(223, 191, 127, 0.08);
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.hero-title-gold,
.text-gold-gradient {
    background: linear-gradient(135deg, #f3e2b8 0%, #e0bc77 42%, #c89342 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tan-icon {
    shape-rendering: geometricPrecision;
}

.bg-left {
    background: radial-gradient(circle at 18% 10%, rgba(223, 191, 127, 0.11), transparent 26%);
}

.bg-right {
    background: radial-gradient(circle at 82% 8%, rgba(223, 191, 127, 0.06), transparent 18%);
}

.bg-grid {
    opacity: 0.07;
    background-size: 44px 44px;
}

/* Phase 14 — flatter rhythm and denser spacing */
:root {
    --section-space: clamp(54px, 5vw, 84px);
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.16);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.22);
    --radius-lg: 24px;
    --radius-xl: 30px;
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(223, 191, 127, 0.12), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(127, 89, 31, 0.1), transparent 24%),
        linear-gradient(180deg, #05070a 0%, #090c12 46%, #05070a 100%);
}

p,
.info-card span,
.feature-card p,
.module-card p,
.legal-section p,
.legal-meta p,
.legal-update,
.review-meta span,
.review-meta small,
.hero-copy p,
.section-head p,
.hero-callout p {
    font-size: clamp(0.96rem, 1vw, 1.04rem);
}
