:root {
    --bg: #f5efe3;
    --bg-deep: #dbc9a7;
    --panel: rgba(255, 252, 245, 0.9);
    --panel-strong: #fffaf0;
    --text: #14231c;
    --muted: #53625b;
    --line: rgba(20, 35, 28, 0.12);
    --brand: #0f766e;
    --brand-dark: #0a4b45;
    --accent: #d97706;
    --danger: #b42318;
    --success: #166534;
    --shadow: 0 24px 60px rgba(20, 35, 28, 0.12);
    --radius-xl: 30px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --font-standard: Arial, Helvetica, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--font-standard);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(217, 119, 6, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 34%),
        linear-gradient(180deg,rgb(47, 4, 240) 0%, var(--bg) 48%, #efe1c0 100%);
    min-height: 100vh;
}

body.home-page {
    background:
        linear-gradient(rgba(254, 248, 238, 0.5), rgba(239, 225, 192, 0.5)),
        url("/images/skaap1.jpeg") center center / cover no-repeat;
}

body.about-page {
    background:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("/images/skaap2.jpeg") center center / cover no-repeat;
}

body.signup-page {
    background:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("/images/milies1.jpeg") center center / cover no-repeat;
}

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

a {
    color: var(--brand-dark);
}

main {
    flex: 1 0 auto;
    padding-bottom: 4rem;
}

.shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: static;
    overflow-x: clip;
    backdrop-filter: blur(18px);
    background: rgb(255, 255, 255);
    border-bottom: 30px solid rgb(13, 11, 146);
    border-top: 30px solid rgb(13, 11, 146);
    border-left: 30px solid rgb(13, 11, 146);
    border-right: 30px solid rgb(13, 11, 146);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.2rem 0;
    transform: translateX(-300px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1.35rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    display: block;
    width: 216px;
    height: auto;
    flex-shrink: 0;
}

.brand-copy {
    display: grid;
    gap: 0.35rem;
}

.brand-copy small,
.eyebrow,
.section-heading span {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem;
    transform: translateX(600px);
    font-family: var(--font-standard);
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.55rem 1rem;
    border: 4px solid rgb(13, 11, 146);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(247, 247, 247, 0.95);
    color: rgb(13, 11, 146);
    text-decoration: none;
    font-size: 1.12rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    transition:
        color 0.18s ease,
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: rgb(13, 11, 146);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(13, 11, 146, 0.92);
    box-shadow: 0 12px 26px rgba(247, 247, 247, 0.98);
    transform: translateY(-2px);
}

.site-nav .button-link,
.site-nav .button-link.button-link-ghost {
    background: rgba(255, 255, 255, 0.96);
    color: rgb(13, 11, 146);
    border: 4px solid rgb(13, 11, 146);
    box-shadow: 0 10px 24px rgba(247, 247, 247, 0.95);
}

.brand-copy {
    font-family: var(--font-standard);
}

.brand-copy strong {
    font-size: 2.7rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.95;
}

.brand-copy small {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button-link:hover {
    transform: translateY(-1px);
}

.button-primary,
.button-link {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(10, 75, 69, 0.18);
}

.button-link.button-link-ghost {
    background: rgba(255, 255, 255, 0.76);
    color: var(--brand-dark);
    border: 1px solid rgba(20, 35, 28, 0.12);
    box-shadow: none;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border: 1px solid rgba(20, 35, 28, 0.1);
}

.button-wide {
    width: 100%;
}

.home-showcase {
    padding: 4.5rem 0 3rem;
    overflow-x: clip;
}

.home-showcase .shell {
    width: min(1820px, calc(100% - 2rem));
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: minmax(320px, 440px) minmax(0, 3.4fr) minmax(320px, 440px);
    gap: clamp(1rem, 1.6vw, 2rem);
    align-items: center;
}

.home-rotobox {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    align-self: center;
}

.home-rotobox-left {
    transform: translateX(-22px);
}

.home-rotobox-right {
    transform: translateX(22px);
}

.home-rotobox-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
}

.ad-rotator-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    padding: 1.45rem 1.25rem;
    border-radius: 30px;
    border: 8px solid rgb(255, 255, 255);
    box-shadow:
        0 10px 24px rgba(247, 247, 247, 0.95),
        0 18px 44px rgba(20, 35, 28, 0.12);
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.home-rotobox-left .ad-rotator-card {
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(245, 239, 227, 0.93));
}

.home-rotobox-right .ad-rotator-card {
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.2), transparent 42%),
        linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(248, 241, 227, 0.94));
}

.ad-rotator-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ad-rotator-copy {
    display: grid;
    gap: 0.7rem;
}

.ad-rotator-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.ad-rotator-copy h3 {
    margin: 0;
    font-family: var(--font-standard);
    font-size: clamp(2.2rem, 1.9vw, 3rem);
    line-height: 0.9;
    letter-spacing: 0.03em;
}

.ad-rotator-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.ad-rotator-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(20, 35, 28, 0.07);
    color: var(--text);
    font-family: var(--font-standard);
    font-size: 1.12rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-align: center;
}

.ad-rotator-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}

.ad-rotator-dot {
    width: 0.85rem;
    height: 0.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 35, 28, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.ad-rotator-dot.is-active {
    background: var(--brand);
    transform: scale(1.15);
}

.home-welcome-card {
    align-self: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(2.9rem, 4vw, 4.8rem) clamp(2.3rem, 4vw, 4.4rem);
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(116, 92, 253, 0.32), transparent 34%),
        linear-gradient(180deg, rgba(34, 17, 107, 0.97), rgba(13, 11, 146, 0.94));
    border: 10px solid rgb(255, 255, 255);
    box-shadow:
        0 10px 24px rgba(247, 247, 247, 0.95),
        0 28px 70px rgba(10, 12, 59, 0.4);
    color: #fff;
}

.home-welcome-card h1 {
    margin: 0.35rem 0 1.9rem;
    font-family: var(--font-standard);
    font-size: clamp(3.6rem, 5.6vw, 6.9rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: #fff;
}

body.home-page .home-welcome-card h1 {
    font-size: clamp(1.8rem, 2.8vw, 3.45rem);
}

body.about-page .home-welcome-card h1 {
    font-size: clamp(1.8rem, 2.8vw, 3.45rem);
}

.home-showcase .eyebrow {
    font-family: var(--font-standard);
    font-size: clamp(2.1rem, 2.8vw, 3rem);
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.95);
}

.home-welcome-lead {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.96);
}

body.about-page .home-welcome-lead {
    font-size: 1.4rem;
    line-height: 1.8;
}

body.home-page .home-welcome-lead {
    font-size: 1.4rem;
    line-height: 1.8;
}

.home-welcome-copy {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.home-welcome-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.03rem;
    line-height: 1.8;
}

body.about-page .home-welcome-copy p,
body.about-page .about-home-section p,
body.about-page .about-home-note {
    font-size: 1.16rem;
    line-height: 1.9;
}

body.home-page .home-welcome-copy p {
    font-size: 1.16rem;
    line-height: 1.9;
}

.home-welcome-list {
    display: grid;
    gap: 0.8rem 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.5rem 0 0;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

body.about-page .home-welcome-list {
    font-size: 1.12rem;
    line-height: 1.85;
}

body.home-page .home-welcome-list {
    font-size: 1.12rem;
    line-height: 1.85;
}

.about-home-section {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.about-home-section h2 {
    margin: 0;
    font-family: var(--font-standard);
    font-size: clamp(2rem, 2.5vw, 3rem);
    line-height: 0.95;
    color: #fff;
}

body.about-page .about-home-section h2 {
    font-size: clamp(2.2rem, 2.8vw, 3.2rem);
}

.about-home-section p,
.about-home-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.03rem;
    line-height: 1.8;
}

.about-home-note-stack {
    display: grid;
    gap: 0.35rem;
}

.about-home-list {
    margin: 0;
}

.about-home-list li {
    break-inside: avoid;
}

.home-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.hero-section {
    padding: 4.5rem 0 2.5rem;
}

.hero-grid,
.signup-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy h1,
.section-intro h1,
.status-card h1,
.content-card h1 {
    font-family: var(--font-standard);
    font-size: clamp(2.3rem, 4vw, 4.4rem);
    line-height: 1.02;
    margin: 0 0 1rem;
}

.hero-text,
.section-intro p,
.status-card p,
.content-card p {
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.hero-card,
.info-panel,
.signup-card,
.status-card,
.content-card {
    position: relative;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-xl);
    padding: 1.6rem;
    box-shadow: var(--shadow);
}

.hero-card {
    overflow: hidden;
}

.hero-card-glow {
    position: absolute;
    inset: auto -15% -30% auto;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.28), transparent 68%);
}

.feature-list,
.timeline-list {
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.7;
}

.signup-shell {
    padding: 3rem 0;
}

.section-intro {
    max-width: 52rem;
    margin-bottom: 1.8rem;
}

.signup-card {
    background: rgba(255, 250, 240, 0.96);
}

.form-section + .form-section {
    border-top: 1px solid var(--line);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.section-heading h2,
.hero-card h2,
.info-panel h2 {
    margin: 0.3rem 0 1rem;
    font-family: var(--font-standard);
}

.field-grid {
    display: grid;
    gap: 1rem;
}

.field-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.one-up {
    grid-template-columns: 1fr;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field span,
.choice-group legend {
    font-weight: 700;
}

input,
select {
    width: 100%;
    border: 1px solid rgba(20, 35, 28, 0.14);
    border-radius: var(--radius-md);
    padding: 0.92rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
}

input:focus,
select:focus {
    outline: 2px solid rgba(15, 118, 110, 0.18);
    border-color: var(--brand);
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 3.9rem;
}

.password-input-wrap:focus-within .password-toggle {
    color: var(--brand-dark);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.password-toggle:focus-visible {
    outline: 2px solid rgba(15, 118, 110, 0.25);
    outline-offset: 2px;
}

.password-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-toggle__icon svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}

.field-hint,
.inline-note,
.subdomain-preview,
.subdomain-preview-copy {
    color: var(--muted);
    font-size: 0.92rem;
}

.field-error {
    min-height: 1.1rem;
    color: var(--danger);
    font-size: 0.88rem;
}

.choice-group {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 0.75rem;
}

.choice-group label,
.consent-box {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.choice-group input,
.consent-box input {
    width: auto;
    margin-top: 0.18rem;
}

.otp-row,
.otp-grid {
    display: grid;
    gap: 1rem;
}

.otp-row {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.otp-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
}

.otp-actions {
    padding-bottom: 1.1rem;
}

.verification-banner,
.global-feedback {
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: none;
}

.verification-banner.is-visible,
.global-feedback.is-visible {
    display: block;
}

.verification-banner.is-success,
.global-feedback.is-success {
    background: rgba(22, 101, 52, 0.1);
    color: var(--success);
}

.verification-banner.is-error,
.global-feedback.is-error {
    background: rgba(180, 35, 24, 0.08);
    color: var(--danger);
}

.feedback-modal[hidden] {
    display: none;
}

.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.feedback-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 28rem);
    margin: min(16vh, 8rem) auto 0;
    padding: 1.4rem;
    border: 1px solid rgba(180, 35, 24, 0.16);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.feedback-modal__dialog h3 {
    margin: 0 0 0.65rem;
}

.feedback-modal__dialog p {
    margin: 0 0 1rem;
    color: var(--text);
}

.feedback-modal__dialog .button {
    min-width: 7rem;
}

.turnstile-wrap {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.turnstile-box {
    min-height: 70px;
    display: flex;
    align-items: center;
}

.status-shell,
.content-shell {
    padding: 4rem 0;
}

.status-card,
.content-card {
    max-width: 46rem;
    margin: 0 auto;
}

.site-footer {
    margin-top: auto;
    padding: 1.5rem 0 2.25rem;
    border-top: 20px solid rgb(255, 255, 255);
    border-bottom: 20px solid rgb(255, 255, 255);
    border-left: 20px solid rgb(255, 255, 255);
    border-right: 20px solid rgb(255, 255, 255);
    background: rgb(34, 17, 107);
    backdrop-filter: blur(18px);
    overflow-x: clip;
}

body.cookie-bar-visible .site-footer {
    margin-bottom: 12rem;
}

.site-footer-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
}

.site-footer-sticker {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    text-decoration: none;
    margin-left: -200px;
}

.site-footer-sticker img {
    display: block;
    width: min(570px, 100%);
    height: auto;
}

.site-footer-meta {
    display: grid;
    gap: 0.8rem;
    width: 100%;
    justify-items: stretch;
    font-family: var(--font-standard);
}

.site-footer-links {
    display: grid;
    grid-template-columns: repeat(5, 110px);
    grid-auto-rows: 110px;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    justify-items: stretch;
    align-items: stretch;
    column-gap: 0.85rem;
    row-gap: 0.85rem;
    transform: translateX(300px);
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem 0.9rem;
    font: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.08;
    text-align: center;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: keep-all;
    border: 10px solid rgb(255, 255, 255);
    border-radius: 24px;
    background: rgba(116, 92, 253, 0.64);
    box-shadow: 0 10px 24px rgb(247, 247, 247);
    transition: color 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(116, 92, 253, 0.8);
    transform: translateY(-2px);
}

.footer-link-button {
    padding: 1rem 0.9rem;
    cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
    color: #fff;
}

.cookie-bar[hidden],
.cookie-preferences[hidden] {
    display: none;
}

.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1rem;
    z-index: 1100;
    padding: 0 1rem;
}

.cookie-bar-shell {
    padding: 1.35rem 1.5rem;
    border-radius: 26px;
    background: rgba(20, 35, 28, 0.96);
    color: #fff;
    box-shadow: 0 24px 60px rgba(20, 35, 28, 0.28);
    display: grid;
    gap: 1rem;
}

.cookie-bar-eyebrow {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-bar-copy h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-standard);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    color: #fff;
}

.cookie-bar-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.cookie-bar-actions,
.cookie-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-bar .button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-preferences {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 1rem;
}

.cookie-preferences-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-option input {
    width: auto;
    margin-top: 0.18rem;
}

.cookie-option span {
    display: grid;
    gap: 0.25rem;
}

.cookie-option strong {
    color: #fff;
}

.cookie-option small {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.legal-document-card {
    max-width: min(72rem, 100%);
}

.legal-documents-card {
    max-width: min(72rem, 100%);
}

.legal-documents-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.legal-documents-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(20, 35, 28, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    color: color-mix(in srgb, var(--text) 78%, var(--brand-dark) 22%);
    text-align: center;
    text-decoration: none;
    font-family: var(--font-standard);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.08;
    box-shadow: 0 10px 24px rgba(20, 35, 28, 0.08);
    transition: color 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.legal-documents-link:hover,
.legal-documents-link:focus-visible {
    color: var(--brand-dark);
    border-color: rgba(10, 75, 69, 0.18);
    background: rgba(255, 255, 255, 0.78);
    transform: translateY(-2px);
}

.legal-document-content {
    margin: 1.5rem 0 0;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.62);
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.7;
    font: inherit;
}

.gallery-shell,
.gallery-detail-shell {
    padding: 4rem 0;
}

.gallery-intro {
    max-width: 56rem;
}

.gallery-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.gallery-link-card {
    display: block;
    aspect-ratio: 4 / 3;
    border: 8px solid rgb(255, 255, 255);
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 10px 24px rgba(247, 247, 247, 0.95),
        0 18px 44px rgba(20, 35, 28, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-link-card:hover,
.gallery-link-card:focus-visible {
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(247, 247, 247, 0.98),
        0 22px 50px rgba(20, 35, 28, 0.16);
}

.gallery-link-card img,
.gallery-media-card img,
.gallery-media-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-link-card img {
    object-fit: contain;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
}

.gallery-link-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(116, 92, 253, 0.38), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.48), transparent 42%),
        linear-gradient(135deg, rgba(34, 17, 107, 0.95), rgba(13, 11, 146, 0.88));
}

.gallery-back-link {
    margin-top: 0.6rem;
}

.gallery-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.gallery-media-card {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 28px rgba(20, 35, 28, 0.12);
}

.gallery-media-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 10, 34, 0.84);
    cursor: pointer;
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    justify-items: end;
    max-width: 94vw;
}

.gallery-lightbox-close {
    min-height: 2.8rem;
    padding: 0.55rem 1rem;
    border: 3px solid #fff;
    border-radius: 999px;
    background: rgba(13, 11, 146, 0.96);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.gallery-lightbox-image {
    display: block;
    max-width: min(92vw, 1400px);
    max-height: 84vh;
    border: 4px solid #fff;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    object-fit: contain;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-empty-card {
    max-width: 34rem;
}

@media (max-width: 960px) {
    .nav-shell {
        gap: 1.35rem;
        transform: none;
    }

    .home-showcase-grid {
        grid-template-columns: 1fr;
    }

    .home-welcome-card {
        order: -1;
    }

    .home-rotobox {
        max-width: min(20rem, 100%);
        width: 100%;
        margin: 0 auto;
        transform: none;
    }

    .brand-logo {
        width: 148px;
    }

    .brand-copy strong {
        font-size: 1.9rem;
    }

    .brand-copy small {
        font-size: 0.95rem;
    }

    .site-nav a {
        font-size: 1.35rem;
    }

    .site-nav {
        transform: none;
    }

    .hero-grid,
    .signup-grid {
        grid-template-columns: 1fr;
    }

    .cookie-preferences-grid {
        grid-template-columns: 1fr;
    }

    .gallery-link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-shell,
    .site-nav,
    .otp-row,
    .otp-grid,
    .hero-actions,
    .site-footer-links,
    .cookie-bar-actions,
    .cookie-preferences-actions {
        flex-direction: column;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .site-nav {
        width: 100%;
        gap: 0.9rem;
    }

    .home-showcase {
        padding-top: 3rem;
    }

    .home-rotobox {
        max-width: min(18rem, 100%);
    }

    .home-welcome-card h1 {
        font-size: 3.2rem;
    }

    body.home-page .home-welcome-card h1 {
        font-size: 1.6rem;
    }

    body.about-page .home-welcome-card h1 {
        font-size: 1.6rem;
    }

    .home-welcome-lead {
        font-size: 1.05rem;
    }

    .home-welcome-list {
        grid-template-columns: 1fr;
    }

    .brand-logo {
        width: 108px;
    }

    .brand-copy strong {
        font-size: 1.45rem;
    }

    .brand-copy small {
        font-size: 0.74rem;
    }

    .site-nav a {
        font-size: 1.08rem;
    }

    .field-grid.two-up {
        grid-template-columns: 1fr;
    }

    .gallery-media-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .section-intro h1,
    .status-card h1,
    .content-card h1 {
        font-size: 2.2rem;
    }

    .site-footer-shell {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .site-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
        justify-items: stretch;
        grid-auto-rows: 102px;
        column-gap: 1.4rem;
        row-gap: 0.9rem;
        transform: none;
    }

    .site-footer-sticker img {
        width: min(320px, 100%);
    }

    .site-footer-sticker {
        margin-left: -1rem;
    }

    .site-footer-meta {
        justify-items: stretch;
    }

    .cookie-bar {
        bottom: 0.75rem;
    }

    .cookie-bar-shell {
        padding: 1.15rem;
        border-radius: 22px;
    }

    body.cookie-bar-visible .site-footer {
        margin-bottom: 18rem;
    }

    .cookie-bar .button,
    .footer-link-button {
        width: 100%;
        justify-content: center;
    }

    .footer-link {
        width: 100%;
        font-size: 1.05rem;
    }
}
