/* Shared visual language for public content pages. */
.ink-page-hero {
    background: #f8f9fa;
    border-top: 1px solid #e1e6ed;
    border-bottom: 1px solid #dbe2ea;
    color: #081a2e;
    height: auto;
    min-height: 0;
    padding: 24px 0;
}

.ink-page-hero .ink-page-hero__inner {
    max-width: 1120px;
}

.ink-page-hero--center .ink-page-hero__inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.ink-page-hero--left .ink-page-hero__inner {
    text-align: left;
}

.ink-page-hero__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #5f6b79;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ink-page-hero__title {
    margin: 0;
    color: #081a2e;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.ink-page-hero__subtitle {
    max-width: 920px;
    margin: 8px 0 0;
    color: #596777;
    font-size: clamp(.98rem, 1.45vw, 1.08rem);
    line-height: 1.5;
}

.ink-page-hero--center .ink-page-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.ink-page-hero__meta {
    margin-bottom: 10px;
    color: #6c7887;
    font-size: .9rem;
    font-weight: 600;
}

.ink-content-surface {
    background: #ffffff;
    color: #081a2e;
}

.ink-section-title {
    color: #081a2e;
    font-weight: 600;
    letter-spacing: -.015em;
}

.ink-soft-surface {
    background: #f7f9fc;
    border: 1px solid #e0e6ee;
}

.ink-standard-btn {
    min-height: 46px;
    border-radius: 10px !important;
    font-weight: 700;
}

/* Login: one radius and one height for the two primary authentication actions. */
.login-page-container #loginModal .btn-google,
.login-page-container #loginModal .btn-login-primary {
    min-height: 50px;
    border-radius: 10px !important;
    padding: .75rem 1rem;
    font-weight: 700;
    box-shadow: none;
    transform: none;
}

.login-page-container #loginModal .btn-google:hover,
.login-page-container #loginModal .btn-login-primary:hover {
    transform: none;
}

.login-page-container #loginModal .btn-login-primary {
    border: 1px solid #081a2e;
    background: #081a2e;
    color: #ffffff;
}

.login-page-container #loginModal .btn-login-primary:hover,
.login-page-container #loginModal .btn-login-primary:focus {
    border-color: #15324f;
    background: #15324f;
    color: #ffffff;
}

html[data-theme="dark"] .ink-page-hero,
body.dark-mode .ink-page-hero {
    background: #202838;
    border-color: #354054;
    color: #eef3f8;
}

html[data-theme="dark"] .ink-page-hero__title,
body.dark-mode .ink-page-hero__title,
html[data-theme="dark"] .ink-section-title,
body.dark-mode .ink-section-title {
    color: #f5f7fa;
}

html[data-theme="dark"] .ink-page-hero__eyebrow,
body.dark-mode .ink-page-hero__eyebrow,
html[data-theme="dark"] .ink-page-hero__subtitle,
body.dark-mode .ink-page-hero__subtitle,
html[data-theme="dark"] .ink-page-hero__meta,
body.dark-mode .ink-page-hero__meta {
    color: #aeb8c7;
}

html[data-theme="dark"] .ink-content-surface,
body.dark-mode .ink-content-surface {
    background: #1a1f2c;
    color: #d8dee8;
}

html[data-theme="dark"] .ink-soft-surface,
body.dark-mode .ink-soft-surface {
    background: #202838;
    border-color: #354054;
    color: #d8dee8;
}

html[data-theme="dark"] .login-page-container #loginModal .btn-google,
body.dark-mode .login-page-container #loginModal .btn-google {
    background: #202838;
    border-color: #3b465a;
    color: #eef3f8;
    box-shadow: none;
}

html[data-theme="dark"] .login-page-container #loginModal .btn-google:hover,
body.dark-mode .login-page-container #loginModal .btn-google:hover {
    background: #283245;
    border-color: #53617a;
    color: #ffffff;
}

html[data-theme="dark"] .login-page-container #loginModal .btn-login-primary,
body.dark-mode .login-page-container #loginModal .btn-login-primary {
    background: #315778;
    border-color: #315778;
    color: #ffffff;
}

html[data-theme="dark"] .login-page-container #loginModal .btn-login-primary:hover,
body.dark-mode .login-page-container #loginModal .btn-login-primary:hover {
    background: #3c678d;
    border-color: #3c678d;
}

@media (max-width: 767.98px) {
    .ink-page-hero {
        padding: 20px 0;
    }

    .ink-page-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }
}
