/*
|--------------------------------------------------------------------------
| OpenPage Homepage
|--------------------------------------------------------------------------
|
| Page:
| https://openpage.top/
|
| Requires:
| https://assets.mn-cdn.com/assets/css/websites/openpage.top/base.css
|
*/


/*
|--------------------------------------------------------------------------
| OpenPage design tokens
|--------------------------------------------------------------------------
*/

:root {
    --open-blue: #4776e6;
    --open-blue-dark: #315cc1;
    --open-violet: #815acb;
    --open-coral: #e85d75;
    --open-orange: #ed8b45;
    --open-gold: #e5ae38;
    --open-teal: #24a89b;
    --open-sky: #55a7d9;

    --open-gradient:
        linear-gradient(
            120deg,
            var(--open-blue),
            var(--open-violet),
            var(--open-coral)
        );

    --open-gradient-warm:
        linear-gradient(
            120deg,
            var(--open-coral),
            var(--open-orange),
            var(--open-gold)
        );

    --open-gradient-cool:
        linear-gradient(
            120deg,
            var(--open-blue),
            var(--open-violet),
            var(--open-teal)
        );

    --open-shadow-soft:
        0 18px 45px rgba(32, 29, 37, 0.09);

    --open-shadow-color:
        0 25px 60px rgba(71, 118, 230, 0.16);
}


/*
|--------------------------------------------------------------------------
| Page foundation
|--------------------------------------------------------------------------
*/

body {
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(71, 118, 230, 0.08),
            transparent 28rem
        ),
        radial-gradient(
            circle at 92% 38%,
            rgba(232, 93, 117, 0.08),
            transparent 30rem
        ),
        radial-gradient(
            circle at 40% 90%,
            rgba(36, 168, 155, 0.07),
            transparent 28rem
        ),
        var(--page-background);
}

section[id] {
    scroll-margin-top: 7rem;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(221, 217, 226, 0.74);
    background: rgba(246, 245, 248, 0.87);
    box-shadow:
        0 8px 28px rgba(32, 29, 37, 0.04);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.header-inner {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.75rem;
    color: var(--page-text);
    font-weight: 800;
    text-decoration: none;
}

.site-brand:hover {
    color: var(--page-text);
}

.brand-mark {
    position: relative;
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(129, 90, 203, 0.25);
    border-radius: 0.8rem;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(239, 234, 248, 0.95)
        );
    box-shadow:
        0 8px 22px rgba(32, 29, 37, 0.09);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.site-brand:hover .brand-mark {
    transform: rotate(-4deg) scale(1.04);
    box-shadow:
        0 13px 30px rgba(71, 118, 230, 0.17);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
    content: "";
    position: absolute;
    width: 1.15rem;
    height: 1.4rem;
    border: 1px solid var(--page-accent);
    border-radius: 0.2rem;
    background: var(--page-surface);
}

.brand-mark::before {
    opacity: 0.35;
    transform: translate(-0.24rem, 0.18rem);
}

.brand-mark::after {
    opacity: 0.68;
}

.brand-mark span {
    border-color: transparent;
    background: var(--open-gradient);
    transform: translate(0.24rem, -0.18rem);
}

.brand-name {
    font-size: 1rem;
    letter-spacing: -0.025em;
}

.primary-navigation {
    min-width: 0;
}

.navigation-list {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding-block: 0.45rem;
    color: var(--page-muted);
    font-size: 0.86rem;
    font-weight: 750;
    white-space: nowrap;
    text-decoration: none;
    transition:
        color 160ms ease,
        transform 160ms ease;
}

.navigation-list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.2rem;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--open-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.navigation-list a:hover {
    color: var(--page-text);
}

.navigation-list a:hover::after,
.navigation-list a:focus-visible::after {
    transform: scaleX(1);
}

.navigation-list li:last-child a {
    min-height: 2.6rem;
    padding: 0.55rem 1.05rem;
    color: var(--page-white);
    border-radius: 999px;
    background: var(--open-gradient);
    background-size: 160% 100%;
    box-shadow:
        0 8px 20px rgba(71, 118, 230, 0.22);
}

.navigation-list li:last-child a:hover {
    color: var(--page-white);
    background-position: 100% 0;
    transform: translateY(-1px);
}

.navigation-list li:last-child a::after {
    display: none;
}


/*
|--------------------------------------------------------------------------
| Shared section typography
|--------------------------------------------------------------------------
*/

.eyebrow {
    margin: 0 0 1rem;
    color: var(--page-accent);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.section-heading .eyebrow::before {
    content: "";
    width: 1.9rem;
    height: 3px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--open-gradient);
}

.section-heading h2 {
    max-width: 42rem;
    margin: 0;
    color: var(--page-text);
    font-size: clamp(2.25rem, 5vw, 3.9rem);
    font-weight: 850;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.section-heading-centered {
    max-width: 48rem;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.section-heading-centered h2 {
    margin-inline: auto;
}

.section-heading-centered .eyebrow {
    justify-content: center;
}

.section-description {
    max-width: 39rem;
    margin: 1.3rem auto 0;
    color: var(--page-muted);
    font-size: 1.05rem;
}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.button {
    min-height: 3.15rem;
    padding-inline: 1.3rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        background-position 300ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--page-white);
    border-color: transparent;
    background: var(--open-gradient);
    background-size: 170% 100%;
    box-shadow:
        0 12px 28px rgba(71, 118, 230, 0.24);
}

.button-primary:hover {
    color: var(--page-white);
    background-position: 100% 0;
    box-shadow:
        0 17px 36px rgba(71, 118, 230, 0.31);
}

.button-secondary {
    color: var(--page-text);
    border-color: rgba(129, 90, 203, 0.3);
    background: rgba(255, 255, 255, 0.64);
    box-shadow:
        0 9px 22px rgba(32, 29, 37, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.button-secondary:hover {
    color: var(--page-text);
    border-color: var(--open-violet);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 14px 28px rgba(129, 90, 203, 0.13);
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 76% 18%,
            rgba(71, 118, 230, 0.2),
            transparent 29rem
        ),
        radial-gradient(
            circle at 94% 76%,
            rgba(232, 93, 117, 0.16),
            transparent 27rem
        ),
        radial-gradient(
            circle at 16% 84%,
            rgba(36, 168, 155, 0.13),
            transparent 25rem
        ),
        linear-gradient(
            145deg,
            #faf9fc,
            #eeebf3
        );
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(93, 82, 108, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(93, 82, 108, 0.045) 1px,
            transparent 1px
        );
    background-size: 3rem 3rem;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7),
            transparent 94%
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7),
            transparent 94%
        );
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 9%;
    left: 47%;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(71, 118, 230, 0.18),
            rgba(129, 90, 203, 0.16),
            rgba(232, 93, 117, 0.14)
        );
    filter: blur(3px);
    animation:
        openpage-orbit 10s ease-in-out infinite;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(17rem, 0.7fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
    padding-block: clamp(5rem, 10vw, 8.5rem);
}

.hero-content {
    max-width: 51rem;
}

.hero h1 {
    max-width: 50rem;
    margin: 0;
    color: transparent;
    background:
        linear-gradient(
            115deg,
            var(--page-text) 0%,
            var(--page-text) 43%,
            var(--open-blue) 65%,
            var(--open-violet) 81%,
            var(--open-coral) 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(3.7rem, 8vw, 7.2rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.89;
}

.hero-description {
    max-width: 44rem;
    margin: 1.9rem 0 0;
    color: #5f5966;
    font-size: clamp(1.05rem, 2vw, 1.27rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.3rem;
}

.hero-note {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid rgba(129, 90, 203, 0.23);
    border-radius: var(--page-radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.88),
            rgba(248, 243, 252, 0.76)
        );
    box-shadow: var(--open-shadow-color);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.hero-note::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--open-gradient);
}

.hero-note::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -5rem;
    right: -5rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: rgba(232, 93, 117, 0.1);
}

.hero-note > * {
    position: relative;
    z-index: 1;
}

.hero-note:hover {
    transform: translateY(-6px) rotate(0.5deg);
    box-shadow:
        0 34px 75px rgba(71, 118, 230, 0.18);
}

.note-indicator {
    width: 0.72rem;
    height: 0.72rem;
    display: block;
    margin-bottom: 3rem;
    border-radius: 50%;
    background: var(--open-gradient);
    animation:
        openpage-pulse 2.8s ease-in-out infinite;
}

.note-label {
    margin: 0;
    color: var(--open-violet);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.note-text {
    margin: 0.75rem 0 0;
    color: var(--page-text);
    font-size: clamp(1.15rem, 2vw, 1.3rem);
    font-weight: 750;
    line-height: 1.35;
}


/*
|--------------------------------------------------------------------------
| Hero decorations
|--------------------------------------------------------------------------
*/

.hero-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-page {
    position: absolute;
    display: block;
    border: 1px solid rgba(93, 82, 108, 0.12);
    border-radius: 1.5rem;
    box-shadow:
        0 20px 55px rgba(71, 118, 230, 0.09);
    will-change: transform;
}

.decoration-page-one {
    top: 9%;
    right: -6rem;
    width: 19rem;
    height: 25rem;
    background:
        linear-gradient(
            145deg,
            rgba(71, 118, 230, 0.12),
            rgba(255, 255, 255, 0.4)
        );
    transform: rotate(-8deg);
    animation:
        openpage-float-one 8s ease-in-out infinite;
}

.decoration-page-two {
    right: 8%;
    bottom: -16rem;
    width: 24rem;
    height: 31rem;
    background:
        linear-gradient(
            145deg,
            rgba(232, 93, 117, 0.11),
            rgba(229, 174, 56, 0.09)
        );
    transform: rotate(16deg);
    animation:
        openpage-float-two 10s ease-in-out infinite;
}

.decoration-page-three {
    bottom: -17rem;
    left: -9rem;
    width: 22rem;
    height: 27rem;
    background:
        linear-gradient(
            145deg,
            rgba(36, 168, 155, 0.11),
            rgba(85, 167, 217, 0.09)
        );
    transform: rotate(-18deg);
    animation:
        openpage-float-three 11s ease-in-out infinite;
}


/*
|--------------------------------------------------------------------------
| Purpose
|--------------------------------------------------------------------------
*/

.purpose-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5rem, 10vw, 9rem);
    background:
        radial-gradient(
            circle at 91% 24%,
            rgba(36, 168, 155, 0.09),
            transparent 25rem
        ),
        var(--page-surface);
}

.purpose-section::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -11rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(36, 168, 155, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.purpose-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(20rem, 1.1fr);
    gap: clamp(3rem, 9vw, 8rem);
    align-items: start;
}

.purpose-copy {
    padding-top: 0.25rem;
}

.purpose-copy p {
    margin: 0;
    color: var(--page-muted);
    font-size: clamp(1.1rem, 2vw, 1.37rem);
}

.purpose-copy p:first-child::first-letter {
    color: var(--open-violet);
    font-size: 1.45em;
    font-weight: 850;
}

.purpose-copy p + p {
    margin-top: 1.5rem;
}


/*
|--------------------------------------------------------------------------
| Page types
|--------------------------------------------------------------------------
*/

.pages-section {
    position: relative;
    padding-block: clamp(5rem, 10vw, 9rem);
    overflow: hidden;
    border-top: 1px solid var(--page-border);
    border-bottom: 1px solid var(--page-border);
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(71, 118, 230, 0.07),
            transparent 25rem
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(232, 93, 117, 0.07),
            transparent 27rem
        ),
        var(--page-background);
}

.page-type-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.page-type-card {
    --card-start: var(--open-blue);
    --card-end: var(--open-violet);
    --card-glow: rgba(71, 118, 230, 0.11);

    position: relative;
    isolation: isolate;
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.55rem;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius-medium);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.98),
            rgba(250, 249, 252, 0.95)
        );
    box-shadow:
        0 10px 25px rgba(32, 29, 37, 0.04);
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
}

.page-type-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 0.38rem;
    background:
        linear-gradient(
            90deg,
            var(--card-start),
            var(--card-end)
        );
}

.page-type-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -6rem;
    right: -6rem;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: var(--card-glow);
    transition:
        opacity 300ms ease,
        transform 300ms ease;
}

.page-type-card > * {
    position: relative;
    z-index: 1;
}

.page-type-card:nth-child(2) {
    --card-start: var(--open-violet);
    --card-end: var(--open-coral);
    --card-glow: rgba(129, 90, 203, 0.11);
}

.page-type-card:nth-child(3) {
    --card-start: var(--open-coral);
    --card-end: var(--open-orange);
    --card-glow: rgba(232, 93, 117, 0.11);
}

.page-type-card:nth-child(4) {
    --card-start: var(--open-teal);
    --card-end: var(--open-sky);
    --card-glow: rgba(36, 168, 155, 0.11);
}

.page-type-card:hover {
    border-color: rgba(129, 90, 203, 0.22);
    box-shadow:
        0 24px 50px rgba(32, 29, 37, 0.13);
    transform: translateY(-8px);
}

.page-type-card:hover::after {
    transform: scale(1.3);
}

.card-number {
    width: 2.45rem;
    height: 2.45rem;
    display: grid;
    place-items: center;
    margin-bottom: 3.5rem;
    color: var(--card-start);
    border: 1px solid rgba(93, 82, 108, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    box-shadow:
        0 7px 18px rgba(32, 29, 37, 0.06);
}

.page-type-card h3 {
    margin: auto 0 0;
    color: var(--page-text);
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.page-type-card p {
    margin: 0.8rem 0 0;
    color: var(--page-muted);
    font-size: 0.92rem;
}

.card-action {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    margin-top: 1.3rem;
    padding: 0.57rem 0.88rem;
    color: var(--page-text);
    border: 1px solid var(--page-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        gap 180ms ease,
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.card-action:hover {
    gap: 0.78rem;
    color: var(--page-white);
    border-color: transparent;
    background: var(--page-accent-dark);
    box-shadow:
        0 10px 22px rgba(32, 29, 37, 0.14);
    transform: translateY(-2px);
}

.card-action span {
    font-size: 1rem;
    line-height: 1;
}


/*
|--------------------------------------------------------------------------
| Direct-access notice
|--------------------------------------------------------------------------
*/

.access-note {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(18rem, 0.8fr)
        auto;
    align-items: center;
    gap: 2.5rem;
    overflow: hidden;
    margin-top: 1rem;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border: 1px solid rgba(129, 90, 203, 0.2);
    border-radius: var(--page-radius-medium);
    background:
        linear-gradient(
            120deg,
            rgba(71, 118, 230, 0.09),
            rgba(129, 90, 203, 0.09),
            rgba(232, 93, 117, 0.08)
        );
    box-shadow:
        0 12px 30px rgba(32, 29, 37, 0.05);
}

.access-note::before {
    content: "";
    position: absolute;
    top: 0;
    right: 18%;
    left: 18%;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--open-gradient);
}

.access-label {
    margin: 0 0 0.35rem;
    color: var(--open-violet);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.access-note h3 {
    margin: 0;
    color: var(--page-text);
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    letter-spacing: -0.03em;
}

.access-note > p {
    margin: 0;
    color: var(--page-muted);
}

.access-button {
    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Contact
|--------------------------------------------------------------------------
*/

.contact-section {
    padding-block: clamp(5rem, 9vw, 8rem);
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(229, 174, 56, 0.07),
            transparent 22rem
        ),
        var(--page-surface);
}

.contact-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(13rem, auto);
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--page-radius-large);
    color: var(--page-white);
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(255, 255, 255, 0.16),
            transparent 14rem
        ),
        linear-gradient(
            125deg,
            #273d73,
            #604591 48%,
            #9b465b 100%
        );
    box-shadow:
        0 30px 70px rgba(39, 61, 115, 0.25);
}

.contact-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -8rem;
    left: 25%;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(36, 168, 155, 0.17);
}

.contact-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -9rem;
    right: -7rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.contact-panel .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.contact-panel h2 {
    max-width: 36rem;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.contact-panel p:not(.eyebrow) {
    max-width: 39rem;
    margin: 1.2rem 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.contact-action {
    justify-self: end;
    max-width: 100%;
}

.contact-panel .button-primary {
    max-width: 100%;
    color: var(--page-text);
    background: var(--page-white);
    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.16);
    overflow-wrap: anywhere;
}

.contact-panel .button-primary:hover {
    color: var(--page-text);
    background: #f4edf9;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.22);
}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    position: relative;
    border-top: 1px solid var(--page-border);
    background: var(--page-background);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--open-blue),
            var(--open-violet),
            var(--open-coral),
            var(--open-orange),
            var(--open-teal),
            transparent
        );
}

.footer-inner {
    min-height: 7rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    color: var(--page-muted);
    font-size: 0.78rem;
}

.footer-inner p {
    margin: 0;
}

.footer-brand {
    color: var(--page-text);
    font-weight: 850;
}

.footer-attribution {
    text-align: center;
}

.footer-attribution a {
    color: var(--page-text);
    font-weight: 750;
}

.footer-copyright {
    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Animation
|--------------------------------------------------------------------------
*/

@keyframes openpage-orbit {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(2.5rem, 1.5rem, 0)
            scale(1.08);
    }
}

@keyframes openpage-float-one {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(-8deg);
    }

    50% {
        transform:
            translateY(-1.2rem)
            rotate(-5deg);
    }
}

@keyframes openpage-float-two {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(16deg);
    }

    50% {
        transform:
            translateY(-1.6rem)
            rotate(12deg);
    }
}

@keyframes openpage-float-three {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(-18deg);
    }

    50% {
        transform:
            translateY(-1rem)
            rotate(-14deg);
    }
}

@keyframes openpage-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 0.35rem rgba(71, 118, 230, 0.1);
    }

    50% {
        box-shadow:
            0 0 0 0.68rem rgba(232, 93, 117, 0.09);
    }
}


/*
|--------------------------------------------------------------------------
| Tablet layout
|--------------------------------------------------------------------------
*/

@media (max-width: 1000px) {
    .hero-inner {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(16rem, 0.85fr);
        gap: 3rem;
    }

    .page-type-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .access-note {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(16rem, 0.8fr);
    }

    .access-button {
        justify-self: start;
    }
}


/*
|--------------------------------------------------------------------------
| Mobile layout
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {
    section[id] {
        scroll-margin-top: 9rem;
    }

    .header-inner {
        min-height: auto;
        flex-wrap: wrap;
        gap: 0.65rem;
        padding-block: 0.85rem;
    }

    .primary-navigation {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .primary-navigation::-webkit-scrollbar {
        display: none;
    }

    .navigation-list {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .navigation-list a {
        min-height: 2.25rem;
    }

    .navigation-list li:last-child {
        margin-left: auto;
    }

    .navigation-list li:last-child a {
        min-height: 2.3rem;
        padding: 0.45rem 0.85rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner,
    .purpose-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        gap: 3rem;
        padding-block: 5rem;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 16vw, 5.7rem);
    }

    .hero-note {
        max-width: 34rem;
    }

    .purpose-grid {
        gap: 2rem;
    }

    .access-note {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .access-button {
        width: 100%;
    }

    .contact-action {
        justify-self: start;
        width: 100%;
    }

    .contact-action .button {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding-block: 2rem;
        text-align: center;
    }

    .footer-copyright {
        text-align: center;
    }
}


/*
|--------------------------------------------------------------------------
| Small mobile layout
|--------------------------------------------------------------------------
*/

@media (max-width: 520px) {
    .brand-mark {
        width: 2.45rem;
        height: 2.45rem;
    }

    .hero-inner {
        padding-block: 4rem;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 17vw, 4.8rem);
    }

    .hero::after {
        left: 64%;
        width: 8rem;
        height: 8rem;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-note {
        padding: 1.5rem;
    }

    .page-type-grid {
        grid-template-columns: 1fr;
    }

    .page-type-card {
        min-height: 18rem;
    }

    .contact-panel {
        padding: 2rem 1.35rem;
    }
}


/*
|--------------------------------------------------------------------------
| Devices that support hover
|--------------------------------------------------------------------------
*/

@media (hover: hover) and (pointer: fine) {
    .page-type-card:hover .card-number {
        border-color: var(--card-start);
    }
}


/*
|--------------------------------------------------------------------------
| Reduced motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .decoration-page-one,
    .decoration-page-two,
    .decoration-page-three,
    .note-indicator {
        animation: none;
    }

    .hero-note:hover,
    .page-type-card:hover,
    .site-brand:hover .brand-mark,
    .button:hover,
    .card-action:hover {
        transform: none;
    }
}


/*
|--------------------------------------------------------------------------
| Increased contrast
|--------------------------------------------------------------------------
*/

@media (prefers-contrast: more) {
    .site-header,
    .hero-note,
    .page-type-card,
    .access-note {
        border-color: var(--page-text);
    }

    .navigation-list a,
    .page-type-card p,
    .access-note > p,
    .purpose-copy p {
        color: var(--page-text);
    }
}


/*
|--------------------------------------------------------------------------
| Backdrop-filter fallback
|--------------------------------------------------------------------------
*/

@supports not (backdrop-filter: blur(1rem)) {
    .site-header {
        background: rgba(246, 245, 248, 0.98);
    }

    .hero-note,
    .button-secondary {
        background: rgba(255, 255, 255, 0.96);
    }
}

/*
|--------------------------------------------------------------------------
| Footer experiment links
|--------------------------------------------------------------------------
*/

.footer-brand-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.footer-experiments {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--page-muted);
    font-size: 0.68rem;
}

.footer-experiments a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.72;
    transition:
        color 160ms ease,
        opacity 160ms ease;
}

.footer-experiments a:hover,
.footer-experiments a:focus-visible {
    color: var(--page-accent);
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (max-width: 700px) {
    .footer-brand-group {
        align-items: center;
    }
}