/* Design Tokens */
:root {
    --primary-red: #8C0001;
    --accent-red: #B23A3B;
    --gold-main: #F48F3E;
    --gold-light: #FBD360;
    --gold-gradient: linear-gradient(26deg, #F48F3E 0%, #E8BE57 22%, #FB9442 53%, #FAE066 79%, #E8BE57 99%);
    --dark-gradient: linear-gradient(154deg, #000 0%, #3D3D3D 47%, #212121 59%, #6E6E6E 100%);
    --bg-light: #F4F5F5;
    --bg-white: #FDFDFD;
    --bg-card: #FEFEFE;
    --text-dark: #0B0B0B;
    --text-muted: #333333;
    --font-heading: "Forum", serif;
    --font-body: "Inter", sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 60px rgba(11, 11, 11, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    color-scheme: light;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: linear-gradient(180deg, #FDFDFD 0%, var(--bg-light) 44%, #ECEDED 100%);
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: 4px;
    background: rgba(11, 11, 11, 0.08);
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold-gradient);
    transition: width 0.1s linear;
}

header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(858px, calc(100% - 240px));
    height: 50px;
    gap: clamp(16px, 2vw, 30px);
    list-style: none;
    background: #F9F9F9;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: #0B0B0B;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary-red);
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-dark {
    background: var(--dark-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-header {
    position: relative;
    justify-content: flex-start;
    width: 160px;
    height: 50px;
    padding: 0 0 0 25px;
    border: 0.25px solid #FDFDFD;
    border-radius: 255px;
}

.btn-header span {
    font-weight: 600;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #FFFFFF;
}

.btn-header svg {
    position: absolute;
    right: 6px;
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 246, 145, 0.65);
    border-radius: 50%;
    background: var(--gold-gradient);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
}

.mobile-menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: #0C0C0C;
    transition: var(--transition);
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.is-open {
    display: block;
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.58);
    opacity: 0;
    transition: opacity 0.28s ease;
    backdrop-filter: blur(7px);
}

.mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 14px;
    right: 14px;
    width: min(360px, calc(100vw - 28px));
    max-height: none;
    overflow-y: hidden;
    background: #F4F5F5;
    border: 1px solid rgba(255, 246, 145, 0.46);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    transform: translateX(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.24s ease;
}

.mobile-menu.is-open .mobile-menu__panel {
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    transform: translateX(0) scale(1);
    opacity: 1;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.mobile-menu__top img {
    width: 54px;
    height: 50px;
    object-fit: contain;
}

.mobile-menu__close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(140, 0, 1, 0.14);
    border-radius: 50%;
    background: #8C0001;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #FDFDFD;
    border-radius: 999px;
}

.mobile-menu__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__nav {
    display: grid;
    gap: 10px;
}

.mobile-menu__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    background: #FFFFFF;
    color: #0B0B0B;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: inset 0 0 0 1px rgba(140, 0, 1, 0.06);
    transition: var(--transition);
}

.mobile-menu__nav a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #8C0001;
    border-right: 2px solid #8C0001;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-left: 14px;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
    background: #8C0001;
    color: #FDFDFD;
    outline: none;
}

.mobile-menu__nav a:hover::after,
.mobile-menu__nav a:focus-visible::after {
    border-color: #FBD360;
}

.mobile-menu__cta {
    align-items: center;
    justify-content: center;
    display: flex;
    min-height: 56px;
    margin-top: 18px;
    border-radius: 999px;
    background: var(--gold-gradient);
    color: #0C0C0C;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(244, 143, 62, 0.28);
}

.offer-hero {
    padding: 156px 0 58px;
}

.offer-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: end;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
}

.offer-hero h1 {
    max-width: 760px;
    font-family: var(--font-heading);
    font-size: clamp(46px, 8vw, 82px);
    font-weight: 400;
    line-height: 0.98;
}

.offer-hero p {
    max-width: 680px;
    margin-top: 22px;
    color: var(--text-muted);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.45;
}

.offer-meta {
    background: rgba(253, 253, 253, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
    backdrop-filter: blur(18px);
}

.offer-meta dl,
.details-section dl {
    display: grid;
    gap: 18px;
}

.offer-meta dt,
.details-section dt {
    color: rgba(11, 11, 11, 0.56);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.offer-meta dd,
.details-section dd {
    margin-top: 3px;
    font-weight: 600;
}

.offer-meta a,
.details-section a {
    color: var(--primary-red);
    text-decoration: none;
}

.offer-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding-bottom: 90px;
}

.offer-toc {
    position: relative;
    top: auto;
    left: auto;
    z-index: 50;
    width: 260px;
}

.offer-toc__inner {
    width: 260px;
    padding: 22px;
    background: rgba(253, 253, 253, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.offer-toc.is-fixed .offer-toc__inner {
    position: fixed;
    top: 104px;
    left: max(20px, calc((100vw - 1200px) / 2 + 20px));
}

.offer-toc__toggle {
    display: none;
}

.offer-toc p {
    margin-bottom: 14px;
    color: rgba(11, 11, 11, 0.56);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.offer-toc nav {
    display: grid;
    gap: 4px;
}

.offer-toc a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: rgba(11, 11, 11, 0.76);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.offer-toc a:hover,
.offer-toc a.is-active {
    background: rgba(140, 0, 1, 0.08);
    color: var(--primary-red);
}

.offer-document {
    padding: clamp(28px, 5vw, 58px);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.offer-document .lead {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 3px solid var(--gold-main);
    color: #1D1D1D;
    font-size: 18px;
    line-height: 1.65;
}

.offer-document section {
    padding-top: 34px;
    margin-top: 34px;
    border-top: 1px solid rgba(11, 11, 11, 0.1);
}

.offer-document section:first-of-type {
    margin-top: 0;
}

.offer-document h2 {
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.offer-document h3 {
    margin: 22px 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.offer-document p {
    margin-top: 12px;
    color: #242424;
    font-size: 16px;
}

.offer-document ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 22px;
    color: #242424;
}

.offer-document li::marker {
    color: var(--primary-red);
}

.details-section {
    background: linear-gradient(180deg, rgba(251, 211, 96, 0.14), rgba(244, 143, 62, 0.06));
    margin-left: clamp(-18px, -2vw, -10px);
    margin-right: clamp(-18px, -2vw, -10px);
    padding: 34px clamp(18px, 3vw, 30px);
    border-radius: 8px;
}

.document-note {
    margin-top: 24px;
    font-weight: 600;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--dark-gradient);
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

footer {
    background: #D9D9D9;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-content strong {
    display: block;
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.offer-toc.reveal,
.offer-toc.reveal.is-visible {
    transform: none;
}

@media (max-width: 1080px) {
    .nav-links {
        width: min(680px, calc(100% - 230px));
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .btn-header {
        display: inline-flex;
    }

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

    .offer-hero__inner,
    .offer-layout {
        grid-template-columns: 1fr;
    }

    .offer-toc {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        z-index: 20;
    }

    .offer-toc__inner {
        width: 100%;
    }

    .offer-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    header {
        top: 12px;
    }

    .logo img {
        height: 46px;
    }

    .offer-hero {
        padding: 122px 0 38px;
    }

    .offer-hero h1 {
        font-size: 44px;
    }

    .offer-hero p {
        font-size: 17px;
    }

    .offer-meta,
    .offer-toc__inner,
    .offer-document {
        border-radius: 8px;
    }

    .offer-document {
        padding: 24px 18px;
    }

    .offer-document .lead {
        padding-left: 14px;
        font-size: 16px;
    }

    .offer-document p,
    .offer-document li {
        font-size: 15px;
    }

    .offer-toc nav {
        grid-template-columns: 1fr;
    }

    .offer-toc__inner {
        top: 70px;
        padding: 12px;
    }

    .offer-toc p {
        display: none;
    }

    .offer-toc__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        border: 0;
        border-radius: 8px;
        background: rgba(140, 0, 1, 0.08);
        color: var(--primary-red);
        padding: 0 14px;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
    }

    .offer-toc__toggle svg {
        transition: transform 0.25s ease;
    }

    .offer-toc.is-open .offer-toc__toggle svg {
        transform: rotate(180deg);
    }

    .offer-toc nav {
        display: none;
        gap: 6px;
        margin-top: 8px;
        max-height: min(58vh, 430px);
        overflow-y: auto;
    }

    .offer-toc.is-open nav {
        display: grid;
    }

    .offer-toc a {
        padding: 10px 12px;
        background: #FFFFFF;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .mobile-menu__panel {
        top: 10px;
        right: 10px;
        width: calc(100vw - 20px);
        border-radius: 24px;
        padding: 16px;
    }

    .mobile-menu__nav a {
        min-height: 50px;
        font-size: 15px;
    }
}

/* Header and footer match index.html */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    background: #F9F9F9;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
    width: 858px;
    height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 140%;
    color: #0B0B0B;
    transition: var(--transition);
    opacity: 0.8;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.btn-header {
    width: 160px;
    height: 50px;
    min-height: 50px;
    padding: 0 0 0 25px;
    border: 0.25px solid #FDFDFD;
    border-radius: 255px;
    background: linear-gradient(154deg, #000 0%, #3D3D3D 46.62%, #212121 58.62%, #6E6E6E 100%);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.btn-header span {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 120%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF;
}

.btn-header svg {
    position: absolute;
    right: 6px;
    margin: 0;
    flex-shrink: 0;
}

footer {
    background: #D9D9D9;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 1280px) {
    .container {
        max-width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .nav-links {
        width: min(100%, 760px);
        gap: 22px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .offer-toc.is-fixed .offer-toc__inner {
        left: 32px;
    }
}

@media (max-width: 1100px) {
    .btn-header {
        width: 148px;
    }

    .nav-links {
        width: min(100%, 620px);
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-wrapper {
        min-width: 0;
        justify-content: flex-start;
        gap: 14px;
    }

    .btn-header {
        display: inline-flex;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .footer-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    header .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo img {
        height: 38px;
    }

    .btn-header {
        width: 126px;
        height: 42px;
        min-height: 42px;
        padding-left: 16px;
    }

    .btn-header span {
        font-size: 10px;
    }

    .btn-header svg {
        width: 30px;
        height: 30px;
        right: 5px;
    }

    footer {
        padding: 42px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
