@font-face {
    font-family: "Exo 2";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/exo2-700.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/montserrat-400.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/montserrat-600.ttf") format("truetype");
}

:root {
    color-scheme: light;
    --red: #ad2026;
    --footer-red: #a51c23;
    --paper: #f6f2ef;
    --ink: #282122;
    --muted: #716a6b;
    --on-red-muted: #f0c8ca;
    --line: #e6dfdc;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 Montserrat, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { color: white; background: var(--red); }
:focus-visible { outline: 3px solid #d28337; outline-offset: 5px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 6rem, 84rem); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 5; padding: .65rem 1rem; color: var(--red); background: white; border-radius: .4rem; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; font: 700 1.375rem/1.2 "Exo 2", sans-serif; letter-spacing: .025em; }
.brand-accent { color: var(--red); }
.site-header { position: relative; z-index: 2; color: white; background: var(--red); }
.header-inner { display: flex; align-items: center; gap: 3.5rem; min-height: 4.5rem; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { display: inline-flex; align-items: center; gap: .625rem; font-size: .875rem; }
.desktop-nav .nav-link { padding-block: .55rem; border-bottom: 1px solid transparent; }
.desktop-nav .current { font-weight: 600; border-bottom-color: white; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .625rem; min-height: 3.375rem; padding: .8rem 1.5rem; border-radius: .375rem; font-size: .875rem; font-weight: 600; line-height: 1.4; transition: background-color 160ms ease, box-shadow 160ms ease; }
.button-light { color: var(--red); background: white; }
.button-light:hover { background: #fae7e8; }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: #92171d; }
.header-cta { margin-left: auto; min-height: 2.75rem; padding-inline: 1.5rem; }
.nav-link:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle { display: none; }
main { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 6rem 1.25rem 8rem; background: linear-gradient(var(--red) 0 20rem, var(--paper) 20rem 100%); }
main:focus { outline: none; }
.hero-pattern { position: absolute; z-index: -1; top: 3rem; width: 14rem; height: 14rem; opacity: .09; background: url("pattern.svg") center/100% 100%; }
.hero-pattern-left { left: max(3rem, calc((100% - 84rem) / 2)); }
.hero-pattern-right { right: max(3rem, calc((100% - 84rem) / 2)); }
.payment-card { width: min(100%, 47.5rem); padding: 4rem 4.5rem 2.75rem; border-radius: 1.25rem; background: white; text-align: center; box-shadow: 0 1.5rem 3.5rem #53202412; }
.card-brand { justify-content: center; font-size: 2rem; letter-spacing: .02em; }
.shield-badge { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 2rem auto 1.5rem; color: var(--red); border-radius: 50%; background: #f9f1f1; }
.shield-badge .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.8; }
h1 { margin: 0 0 2rem; font: 700 2.25rem/1.25 "Exo 2", sans-serif; letter-spacing: .005em; }
.card-copy { margin-bottom: 2rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.card-copy p { margin: 0; }
.card-copy p + p { margin-top: 1rem; }
.payment-card .button { width: 100%; }
.copyright { margin: 0; font-size: .75rem; line-height: 1.5; }
.card-copyright { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer { padding: 3rem 0 2rem; color: white; background: var(--footer-red); }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; }
.footer-about { max-width: 26rem; }
.footer-about p { margin: 1rem 0 0; color: var(--on-red-muted); font-size: .875rem; line-height: 1.6; }
.footer-nav { display: flex; align-items: flex-start; gap: 2rem; font-size: .875rem; }
.footer-nav a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-nav .icon { width: .875rem; height: .875rem; }
.footer-copyright { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #ffffff1f; color: var(--on-red-muted); }

@media (max-width: 70rem) {
    .header-inner { gap: 2rem; }
    .hero-pattern { width: 10rem; }
}

@media (max-width: 47.99rem) {
    .container { width: calc(100% - 2.5rem); }
    .header-inner { min-height: 4rem; justify-content: space-between; gap: 1rem; }
    .brand { font-size: 1.125rem; }
    .desktop-nav, .header-cta { display: none; }
    .menu-toggle:not([hidden]) { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: .625rem; border: 1px solid #ffffff40; border-radius: .375rem; background: transparent; color: white; }
    .menu-toggle:hover { background: #ffffff15; }
    .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { position: absolute; width: 1.125rem; height: 1px; background: currentColor; content: ""; }
    .menu-toggle-lines::before { left: 0; top: -.35rem; }
    .menu-toggle-lines::after { left: 0; top: .35rem; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
    main { padding: 2.5rem 1.25rem 3.5rem; background: linear-gradient(var(--red) 0 12.5rem, var(--paper) 12.5rem 100%); }
    .hero-pattern { display: none; }
    .payment-card { max-width: 30rem; padding: 2.25rem 1.5rem 1.75rem; border-radius: 1rem; }
    .card-brand { font-size: 1.5rem; }
    .shield-badge { width: 3.5rem; height: 3.5rem; margin: 1.5rem auto 1rem; }
    .shield-badge .icon { width: 1.5rem; height: 1.5rem; }
    h1 { max-width: 17rem; margin: 0 auto 1.25rem; font-size: 1.625rem; line-height: 1.2; }
    .card-copy { margin-bottom: 1.5rem; font-size: .9375rem; line-height: 1.65; }
    .card-copy p + p { margin-top: 1.5rem; }
    .payment-card .button { min-height: 3rem; padding-inline: .5rem; }
    .card-copyright { margin-top: 1.25rem; padding-top: 1.375rem; font-size: .6875rem; }
    .site-footer { padding: 2.5rem 0 1.75rem; }
    .footer-top { flex-direction: column; gap: 1.5rem; }
    .footer-about p { margin-top: 1.5rem; font-size: .875rem; }
    .footer-nav { flex-wrap: wrap; gap: 1.5rem; font-size: .8125rem; }
    .footer-copyright { margin-top: 1.5rem; padding-top: 1.5rem; font-size: .6875rem; }
    .mobile-menu { position: fixed; inset: 4rem 0 0; z-index: 3; display: flex; flex-direction: column; padding: 1.5rem 1.25rem 2rem; padding-bottom: max(2rem, env(safe-area-inset-bottom)); overflow: auto; background: var(--red); }
    .mobile-menu-links .nav-link { display: flex; padding-block: 1.25rem; border-bottom: 1px solid #ffffff26; font-size: 1.25rem; }
    .mobile-menu-links .nav-link > .icon:last-child { margin-left: auto; }
    .mobile-menu-links .current { font-weight: 600; }
    .mobile-menu-bottom { margin-top: auto; padding-top: 3rem; }
    .mobile-menu-bottom .button { width: 100%; min-height: 3rem; }
    .mobile-menu-bottom .copyright { margin-top: 1.25rem; color: var(--on-red-muted); font-size: .6875rem; }
    body.menu-open { overflow: hidden; }
    body:not(.has-menu) .footer-nav { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
