/* ==========================================================================
   common-27.css
   Shared foundation for templates that do NOT load Bootstrap, common.min.css
   or common-23.css (see DependenciesLoader::$noOldDependencies).
   Tokens, reset, containers, buttons and the utilities the header/footer use.
   Values follow css/msp-page/style.css and the Figma file.
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------ */
:root {
    --h-bg: #020611;
    --h-surface: #070d1d;
    --h-surface-soft: rgba(12, 22, 44, .72);
    --h-border: #18365d;
    --h-navy: #0a1a65;
    --h-blue: #0065fe;
    --h-blue-300: #408bfe;
    --h-blue-200: #80b2ff;
    --h-blue-100: #bfd8ff;
    --h-white: #fff;
    --h-pink: #ff2f70;
    --h-red: #ff2626;
    --h-green: #30c779;

    --h-font-body: "Nunito Sans", Arial, sans-serif;
    --h-font-heading: "Inter", "Nunito Sans", Arial, sans-serif;

    --h-radius-pill: 30px;
    --h-radius-card: 1.875rem;

    /* Figma content width is 1680px at a 1920px frame */
    --h-container: 105rem;
    --h-gutter: clamp(1.25rem, 4vw, 4.5rem);
}

/* 02. Reset and base elements ------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    margin-top: 0 !important;
}

body {
    font-family: var(--h-font-body);
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

a {
    outline: 0;
    text-decoration: none;
}

img,
svg {
    vertical-align: middle;
}

img {
    height: auto;
    max-width: 100%;
}

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

/* The footer's decorative ::before/::after are position:absolute and need a
   positioned footer, otherwise they cover the whole page. */
footer {
    position: relative;
}

/* 03. Containers & Menu -------------------------------------------------------- */
/* The desktop header menu follows the same container as the page sections.
   header.css caps .layout-container at 1720px and the header's inline <style> at
   Bootstrap widths with 16px padding, so the menu content never lined up with the
   sections; header.site-header out-ranks both. */
.h-container,
header.site-header .layout-container {
    margin-inline: auto;
    max-width: calc(var(--h-container) + 2 * var(--h-gutter));
    padding-inline: var(--h-gutter);
    width: 100%;
}

.site-header,
.site-header.scrolled,
.global-bg {
    background: rgb(0 0 0 / 60%);
    backdrop-filter: blur(40px);
}



@media (max-width: 1440px) {
    .h-container,
    header.site-header .layout-container {
        max-width: 90rem;
        padding-inline: clamp(1.5rem, 4vw, 3.75rem);
    }
}

@media (max-width: 640px) {
    .h-container,
    header.site-header .layout-container {
        padding-inline: 1rem;
    }
}

/* 04. Colors ------------------------------------------------------------ */
.h-bg-dark {
    background-color: var(--h-bg);
}

.h-bg-surface {
    background-color: var(--h-surface);
}

.h-text-white {
    color: var(--h-white);
}

.h-text-blue-100 {
    color: var(--h-blue-100);
}

.h-text-blue-200 {
    color: var(--h-blue-200);
}

.h-text-pink {
    color: var(--h-pink);
}

/* 05. Typography helpers ------------------------------------------------ */
.h-eyebrow {
    color: var(--h-blue-200);
    font-family: var(--h-font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.h-lead {
    color: var(--h-blue-100);
    font-size: 1.25rem;
    line-height: 1.55;
}

/* 06. Buttons ----------------------------------------------------------- */
.h-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--h-radius-pill);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--h-font-body);
    font-size: 1.125rem;
    font-weight: 600;
    gap: 1.25rem;
    justify-content: center;
    letter-spacing: -.02em;
    line-height: 1.364;
    padding: .875rem 2.5rem;
    text-decoration: none;
    isolation: isolate;
    position: relative;
    transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
    white-space: nowrap;
}

.h-btn>img {
    flex: none;
    height: auto;
    max-width: none;
    width: auto;
}

.h-btn:hover {
    color: var(--h-white);
    text-decoration: none;
}

.h-btn--primary {
    background: linear-gradient(90deg, var(--h-pink), var(--h-red));
    color: var(--h-white);
}

/* Figma hover (Smart Animate, ease-in-out, 0.3s): gradient turns flat pink */
.h-btn--primary::before {
    background: var(--h-pink);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .3s ease-in-out;
    z-index: -1;
}

.h-btn--primary:hover::before {
    opacity: 1;
}

.h-btn--secondary {
    background: transparent;
    border-color: var(--h-white);
    color: var(--h-white);
}

.h-btn--secondary:hover {
    background: var(--h-white);
    color: var(--h-navy);
}

@media (max-width: 640px) {
    .h-btn {
        padding: .75rem 1.35rem;
        white-space: normal;
        width: 100%;
    }
}

/* 07. Utilities used by the shared header/footer ------------------------ */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.space-between {
    justify-content: space-between;
}

.m-auto {
    margin: 0 auto;
}

.pos-relative {
    position: relative;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.weight-600 {
    font-weight: 600;
}

.inter {
    font-family: 'Inter', sans-serif;
}

.text-white {
    color: #fff;
}

.d-flex-center {
    display: flex;
    justify-content: center;
}

.section-space-sm {
    padding: 5rem 0;
}

/* 08. Legacy CTA buttons (footer and header still use .cta-v3) ---------- */
/* ~~ buttons ~~~ */
.cta-v3 {
    color: #fff;
    display: inline-block;
    position: relative;
    padding: 0.7em 2em;
    font-size: 1.3125rem;
    background: #FF2F70;
    background: linear-gradient(90deg, #FF2F70 0%, #FF2626 100%);
    font-family: "Nunito Sans";
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.42px;
    border-radius: 30px;
    font-weight: 600;
}

.cta-v3:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 520px;
    box-shadow: 0 0 200px 50px rgb(255 0 0 / 32%);
    z-index: -1;
}

.cta-v3 span {
    position: relative;
    z-index: 1;
}

.cta-v3 img {
    width: 25px;
    margin-bottom: 3px;
    margin-left: 20px;
    transition: 0.2s;
}

.cta-v3:hover img {
    transform: translateX(6px);
}

.cta-v3:before {
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(84deg, #FF2F70 0%, #FF2F70 85%);
    transition: 0.2s ease-in-out;
    border-radius: 30px;
}

.cta-v3:hover:before {
    opacity: 1;
}

.cta-v3:hover {
    color: #fff;
}

.cta-v3-secondary {
    color: #fff;
    display: inline-block;
    color: #FFF;
    font-family: "Nunito Sans";
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.42px;
    padding: 0.64em 2em;
    font-weight: 600;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 1.3125rem;
    transition: all 300ms ease;
}

.cta-v3-secondary:hover {
    color: #0A1A65;
    background: #fff;
}

.cta-v3-blue {
    display: inline-block;
    color: #0A1A65;
    font-family: "Nunito Sans";
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.42px;
    padding: 0.64em 2em;
    font-weight: 600;
    border: 2px solid #0A1A65;
    border-radius: 30px;
    font-size: 1.3125rem;
    transition: all 300ms ease;
}

a.cta-v3-blue:hover {
    background: #0A1A65;
    color: white;
}