:root {
    --brand: #003268;
    --brand-deep: #001e40;
    --accent: #FE4506;
    --ink: #0b1f38;
    --muted: #5b6b82;
    --line: #e3e9f1;
    --tint: #f6f9fc;
    --radius: 10px;
    --wrap: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-top: 3.5rem;
}

.container {
    margin: 0 auto;
    max-width: var(--wrap);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
}

.section {
    padding: 4.5rem 0;
}

.section-tight {
    padding: 3rem 0;
}

.section-tint {
    background: var(--tint);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

/* Nav */
.site-nav.navbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    min-height: 3.5rem;
    padding: 0 1.25rem;
}

.site-nav .navbar-item {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.7rem;
}

.site-nav .navbar-item:hover,
.site-nav .navbar-link:hover {
    background: transparent;
    color: var(--brand);
}

.site-nav .site-logo-link {
    padding-left: 0;
}

.site-nav .site-logo {
    display: block;
    height: auto;
    max-height: 2.5rem;
    max-width: 11rem;
    object-fit: contain;
}

.site-nav .nav-links .navbar-item {
    border-radius: 6px;
}

.site-nav .nav-link-active {
    color: var(--brand) !important;
    font-weight: 800;
}

.site-nav .nav-link-active::after {
    background: var(--accent);
    border-radius: 999px;
    bottom: 0.15rem;
    content: "";
    height: 2px;
    left: 0.7rem;
    position: absolute;
    right: 0.7rem;
}

.site-nav .navbar-link {
    color: var(--ink);
    font-weight: 700;
}

.site-nav .navbar-dropdown {
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 2px solid var(--accent);
    box-shadow: 0 18px 36px rgba(0, 30, 64, 0.12);
    padding: 0.25rem 0;
}

.site-nav .navbar-dropdown .navbar-item {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.site-nav .navbar-dropdown .navbar-item:hover {
    background: var(--tint);
    color: var(--brand);
}

.site-nav .nav-sub-link-active {
    color: var(--accent) !important;
}

.site-nav .language-switch {
    align-items: center;
    display: flex;
    gap: 0.3rem;
}

.site-nav .language-switch a,
.site-nav .language-switch span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.site-nav .language-switch a.is-active {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent) !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.45rem 1rem !important;
}

.nav-cta:hover {
    filter: brightness(0.94);
}

/* Buttons */
.button {
    border-radius: var(--radius);
    font-weight: 700;
}

.button.is-primary,
.button.is-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.button.is-primary:hover,
.button.is-link:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
}

.button.is-outline {
    background: #fff;
    border: 1.5px solid var(--brand);
    color: var(--brand);
}

.button.is-outline:hover {
    background: var(--brand);
    color: #fff;
}

.button .arrow {
    margin-left: 0.5rem;
}

/* Page head (light hero) */
.page-head {
    background: var(--tint);
    border-bottom: 1px solid var(--line);
    padding: 3.75rem 0 3rem;
}

.page-head-solid {
    background: linear-gradient(160deg, var(--brand-deep), var(--brand));
    color: #fff;
}

.page-kicker {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.page-head-solid .page-kicker {
    color: #ffb59e;
}

.page-title {
    color: var(--brand);
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
    max-width: 22ch;
}

.page-head-solid .page-title {
    color: #fff;
}

.page-lead {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    max-width: 60ch;
}

.page-head-solid .page-lead {
    color: rgba(255, 255, 255, 0.86);
}

.rule {
    background: var(--accent);
    border-radius: 999px;
    display: block;
    height: 3px;
    margin: 0 0 1.25rem;
    width: 3rem;
}

/* Small neutral page image */
.page-head-grid,
.home-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr) auto;
}

.page-media {
    border-radius: var(--radius);
    margin: 0;
    overflow: hidden;
    width: clamp(7.5rem, 15vw, 12rem);
}

.page-media img {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: block;
    filter: saturate(0.82) contrast(0.98);
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    width: 100%;
}

.page-head-solid .page-media img {
    border-color: rgba(255, 255, 255, 0.35);
}

.page-media.is-promo {
    margin-top: 1.75rem;
    width: clamp(7rem, 12vw, 9.5rem);
}

.page-media.is-center {
    margin: 0 auto 1.25rem;
    width: 7rem;
}

/* Home hero */
.home-hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 5rem 0 4.5rem;
}

.home-hero h1 {
    color: var(--brand);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin-bottom: 1.25rem;
    max-width: 20ch;
}

.home-hero .page-lead {
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-actions .button {
    min-height: 2.9rem;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

/* Telehealth booking bar */
.telehealth-bar {
    background: linear-gradient(120deg, var(--brand-deep), var(--brand));
    color: #fff;
    padding: 1.4rem 0;
}

.telehealth-bar-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.telehealth-bar .page-kicker {
    color: #ffb59e;
    margin-bottom: 0.2rem;
}

.telehealth-bar h2 {
    color: #fff;
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.telehealth-bar .button.is-primary {
    background: var(--accent);
    border-color: var(--accent);
    min-height: 2.8rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.telehealth-bar .button.is-primary:hover {
    filter: brightness(0.94);
}

/* Tiles */
.tile-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    padding: 1.4rem;
    text-decoration: none;
    transition: border-color 140ms ease, transform 140ms ease;
}

.tile:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.tile-num {
    color: var(--accent);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 1.4rem;
}

.tile-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.tile-text {
    color: var(--muted);
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
}

.tile.is-blue { border-top: 3px solid var(--brand); }
.tile.is-orange { border-top: 3px solid var(--accent); }
.tile.is-teal { border-top: 3px solid #008c8c; }
.tile.is-purple { border-top: 3px solid #6142b4; }

/* Feature grid */
.feature-grid {
    align-items: start;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.feature-main h2 {
    color: var(--brand);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.feature-main p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    border-top: 1px solid var(--line);
}

.feature-item {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: block;
    padding: 1.1rem 0;
    text-decoration: none;
}

.feature-item span {
    color: var(--accent);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.feature-item strong {
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-item:hover strong {
    color: var(--brand);
}

/* Steps */
.steps {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step span {
    align-items: center;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand);
    display: inline-flex;
    font-weight: 800;
    height: 2.5rem;
    justify-content: center;
    margin-bottom: 0.85rem;
    width: 2.5rem;
}

.step strong {
    color: var(--brand);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.step p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Cards */
.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.is-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card-tag {
    color: var(--accent);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.card h3 {
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.card-num {
    align-items: center;
    background: var(--brand);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    height: 2.4rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 2.4rem;
}

.card.is-hot .card-num {
    background: var(--accent);
}

/* Timeline */
.timeline {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
    border-top: 3px solid var(--brand);
    padding-top: 1rem;
}

.timeline-step:nth-child(even) {
    border-top-color: var(--accent);
}

.timeline-step span {
    color: var(--accent);
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.timeline-step strong {
    color: var(--brand);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.timeline-step p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Notice */
.notice {
    align-items: flex-start;
    background: #fff4f1;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
}

.notice strong {
    color: var(--brand);
}

.notice p {
    color: var(--muted);
    line-height: 1.5;
}

.notice-icon {
    align-items: center;
    background: var(--accent);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: none;
    font-weight: 800;
    height: 1.9rem;
    justify-content: center;
    width: 1.9rem;
}

/* Panel / CTA */
.panel {
    background: linear-gradient(160deg, var(--brand-deep), var(--brand));
    border-radius: var(--radius);
    color: #fff;
    padding: 2.5rem;
}

.panel h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.panel p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

.panel-actions {
    margin-top: 1.25rem;
}

.panel .button.is-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.panel .button.is-primary:hover {
    filter: brightness(0.94);
}

.panel .button.is-outline {
    border-color: rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fff;
}

.panel .button.is-outline:hover {
    background: #fff;
    color: var(--brand);
}

.split {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

/* Pills */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
}

/* Forms */
.form-shell {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.form-aside h2 {
    color: var(--brand);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.85rem;
}

.form-aside p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}

.form-card .label {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-card .input,
.form-card .textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
}

.form-card .input:focus,
.form-card .textarea:focus {
    border-color: var(--brand);
    box-shadow: none;
}

/* Policy */
.policy {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 70ch;
    padding: 2rem;
}

/* Auth */
.auth-shell {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.8fr);
    margin: 0 auto;
    max-width: var(--wrap);
    padding: 4rem 1.25rem;
}

.auth-shell.is-centered {
    display: block;
    max-width: 34rem;
}

.auth-promo h1 {
    color: var(--brand);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.auth-promo p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.55;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}

.auth-card h2 {
    color: var(--brand);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.auth-card .label {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-card .input {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
}

.auth-card .input:focus {
    border-color: var(--brand);
    box-shadow: none;
}

.profile-line {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.profile-line span {
    color: var(--accent);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.profile-line strong {
    color: var(--brand);
    font-size: 1.1rem;
}

/* Newsletter */
.newsletter {
    align-items: center;
    display: grid;
    gap: 1.75rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
}

.newsletter h2 {
    color: var(--brand);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.newsletter .input,
.newsletter .button {
    border-radius: 8px;
    min-height: 2.9rem;
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
}

.site-footer .footer-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.site-footer .footer-brand {
    color: var(--brand);
    font-weight: 800;
}

.site-footer a {
    color: var(--muted);
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--brand);
}

/* Utilities */
.has-text-brand {
    color: var(--brand) !important;
}

.mt-5 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

.field-validation-error,
.help.is-danger {
    color: #cc0f35;
    font-size: 0.8rem;
}

.input-validation-error {
    border-color: #cc0f35 !important;
}

/* Admin content management */
.admin-table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow-x: auto;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table th {
    background: var(--tint);
    color: var(--brand);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--muted);
    vertical-align: middle;
}

.admin-table td strong {
    color: var(--brand);
}

.admin-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.admin-form .label {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-form .input,
.admin-form .textarea,
.admin-form .select select {
    border-color: var(--line);
    box-shadow: none;
}

.admin-form .input:focus,
.admin-form .textarea:focus,
.admin-form .select select:focus {
    border-color: var(--brand);
    box-shadow: none;
}

.admin-confirmation {
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    max-width: 42rem;
    padding: 2rem;
}

.admin-confirmation h2 {
    color: var(--brand);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

/* Public articles */
.articles-filter {
    align-items: end;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(10rem, 0.8fr)) auto;
    margin-bottom: 2rem;
    padding: 1rem;
}

.articles-filter .label {
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.articles-filter .input,
.articles-filter select {
    border-color: var(--line);
    box-shadow: none;
}

.articles-filter-action {
    margin-bottom: 0.75rem;
}

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

.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 140ms ease, transform 140ms ease;
}

.article-card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.article-card > img {
    background: var(--tint);
    display: block;
    height: 11rem;
    object-fit: cover;
    width: 100%;
}

.article-card-body {
    padding: 1.25rem;
}

.article-meta {
    align-items: center;
    color: var(--accent);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.68rem;
    font-weight: 800;
    gap: 0.45rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.article-meta span + span::before {
    color: var(--line);
    content: "/";
    margin-right: 0.45rem;
}

.article-card h2 {
    color: var(--brand);
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.55rem;
}

.article-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-card a,
.rail-text-link {
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
}

.articles-empty {
    border: 1px dashed var(--line);
    color: var(--muted);
    padding: 3rem 1.5rem;
    text-align: center;
}

.articles-empty h2 {
    color: var(--brand);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.article-detail {
    max-width: 54rem;
}

.article-detail-image {
    border-radius: var(--radius);
    display: block;
    height: clamp(14rem, 38vw, 28rem);
    margin-bottom: 2rem;
    object-fit: cover;
    width: 100%;
}

.article-detail-copy {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.article-detail-copy p {
    margin-bottom: 1rem;
}

.rail-heading > a {
    align-items: center;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    height: 1.8rem;
    justify-content: center;
    text-decoration: none;
    width: 1.8rem;
}

.rail-empty {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Mobile-first telehealth homepage */
.priority-home {
    padding: 1.75rem 0 1.25rem;
}

.priority-home-copy {
    max-width: 42rem;
}

.welcome-line {
    color: var(--accent);
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}

.priority-home h1 {
    color: var(--brand);
    font-size: clamp(2.25rem, 7vw, 4rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin-bottom: 1rem;
}

.priority-home h1 span {
    font-size: 0.72em;
    letter-spacing: -0.03em;
}

.priority-service-list {
    border-left: 2px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0.4rem 0 1.5rem;
    padding-left: 0.85rem;
}

.priority-service-list a {
    color: var(--brand);
    font-size: 1.03rem;
    line-height: 1.36;
    text-decoration: none;
}

.priority-service-list a:hover {
    color: var(--accent);
}

.priority-note {
    color: var(--brand);
    font-size: 1rem;
    line-height: 1.35;
    padding-left: 1.25rem;
}

.priority-visits {
    color: var(--accent);
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 0 1.1rem;
}

.priority-booking {
   /* background: var(--brand-deep);*/
    max-width: 22rem;
   /* padding: 0.35rem;*/
}

.priority-booking .button {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 0.85rem;
    font-weight: 850;
    justify-content: center;
    min-height: 2.8rem;
    width: 100%;
}

.priority-booking .button:hover {
    filter: brightness(0.94);
}

.home-stress-section {
    padding-top: 0.5rem;
}

.home-stress-list {
    border-top: 1px solid var(--line);
    max-width: 42rem;
}

.home-stress-list a {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: block;
    padding: 1rem 0.7rem;
    text-decoration: none;
}

.home-stress-list a:hover {
    background: var(--tint);
}

.home-stress-list strong,
.home-stress-list span {
    display: block;
}

.home-stress-list strong {
    color: var(--brand);
    font-size: 0.98rem;
    font-weight: 850;
}

.home-stress-list span {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.home-secondary-section .feature-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(7rem, 0.45fr) minmax(0, 0.9fr);
}

.home-secondary-media {
    align-self: center;
    justify-self: center;
}

.home-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.portal-hero {
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fbff 62%, #eef5fb 100%);
    padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(1.75rem, 4vw, 3.5rem);
}

.portal-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
}

.portal-copy h1 {
    color: var(--brand);
    font-size: clamp(2.15rem, 4.5vw, 4.2rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1.02;
    margin-bottom: 0.95rem;
    max-width: 17ch;
}

.portal-intro {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.5;
    margin-bottom: 1.4rem;
    max-width: 52ch;
}

.portal-copy .welcome-line {
    margin-bottom: 0.8rem;
}

.portal-copy .welcome-line span {
    font-weight: 800;
}

.care-directory {
    border-left: 2px solid var(--accent);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.35rem 0 1.5rem;
    padding-left: 1rem;
}

.care-group h2 {
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 850;
    margin-bottom: 0.35rem;
}

.care-group:nth-child(2) h2 {
    color: var(--accent);
}

.care-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.care-group li {
    color: var(--brand);
    font-size: 0.98rem;
    line-height: 1.45;
}

.care-group li::before {
    color: var(--accent);
    content: "";
    display: inline-block;
    height: 0.35rem;
    margin: 0 0.45rem 0.12rem 0;
    width: 0.35rem;
}

.membership-note {
    color: var(--brand);
    font-size: 0.76rem;
    line-height: 1.35;
    margin-bottom: 0.28rem;
}

.portal-hero .priority-booking {
    max-width: 25rem;
}

.telehealth-hero-image {
    background: #eaf3fa;
    border: 1px solid rgba(0, 50, 104, 0.13);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 50, 104, 0.14);
    margin: 0;
    overflow: hidden;
    position: relative;
}

.telehealth-hero-image::after {
    background: linear-gradient(180deg, transparent 55%, rgba(0, 30, 64, 0.72));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.telehealth-hero-image img {
    display: block;
    height: clamp(20rem, 37vw, 31rem);
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.telehealth-hero-image figcaption {
    bottom: 1.2rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 750;
    left: 1.3rem;
    position: absolute;
    right: 1.3rem;
    z-index: 1;
}

/* Homepage editorial right rail */
.portal-layout {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
}

.portal-main {
    min-width: 0;
}

.portal-main-grid {
    align-items: center;
    display: grid;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(15rem, 0.92fr);
}

.home-rail {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.rail-newsletter {
    background: #f8fbfe;
    border-top: 3px solid var(--accent);
}

.rail-card .page-kicker {
    font-size: 0.66rem;
    margin-bottom: 0.45rem;
}

.rail-card h2 {
    color: var(--brand);
    font-size: clamp(1rem, 1.35vw, 1.28rem);
    font-weight: 850;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.rail-newsletter .input {
    border-color: #d3dce8;
    border-radius: 5px;
    box-shadow: none;
    font-size: 0.8rem;
    height: 2.5rem;
}

.rail-newsletter .button {
    border-radius: 5px;
    font-size: 0.8rem;
    min-height: 2.45rem;
    width: 100%;
}

.rail-heading {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    padding-bottom: 0.55rem;
}

.rail-heading h2 {
    font-size: 1rem;
    margin: 0;
}

.rail-heading > span {
    align-items: center;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    height: 1.8rem;
    justify-content: center;
    width: 1.8rem;
}

.story-preview {
    align-items: center;
    color: var(--brand);
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    text-decoration: none;
}

.story-preview img {
    aspect-ratio: 1.25;
    border-radius: 3px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.story-preview small,
.story-preview strong {
    display: block;
}

.story-preview small {
    color: var(--muted);
    font-size: 0.62rem;
    margin-bottom: 0.22rem;
}

.story-preview strong {
    font-size: 0.78rem;
    line-height: 1.2;
}

.story-preview:hover strong,
.rail-text-link:hover {
    color: var(--accent);
}

.rail-text-link {
    border-top: 1px solid var(--line);
    color: var(--brand);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    margin-top: 0.8rem;
    padding-top: 0.7rem;
    text-decoration: none;
}

.rail-shop {
    background: var(--brand-deep);
    color: #fff;
}

.rail-shop h2 {
    color: #fff;
    font-size: 1rem;
}

.rail-shop .page-kicker {
    color: #ffb59e;
}

.shop-mark {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 1.4rem;
    height: 2.2rem;
    justify-content: center;
    margin-bottom: 0.75rem;
    width: 2.2rem;
}

.rail-shop .button.is-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    font-size: 0.76rem;
    width: 100%;
}

.rail-shop .button.is-outline:hover {
    background: #fff;
    color: var(--brand);
}

/* Responsive */
@media (max-width: 1023px) {
    .site-nav.navbar {
        padding: 0 1rem;
    }

    .site-nav .navbar-menu {
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 36px rgba(0, 30, 64, 0.1);
        margin: 0;
        padding: 0.5rem 0 1rem;
    }

    .site-nav .navbar-item {
        padding: 0.6rem 0.25rem;
    }

    .site-nav .navbar-dropdown {
        border-top: 0;
        box-shadow: none;
        display: block;
        padding: 0.15rem 0 0.15rem 1rem;
        position: static;
    }

    .site-nav .navbar-dropdown .navbar-item {
        padding: 0.5rem 0;
    }

    .site-nav .nav-link-active::after {
        display: none;
    }

    .tile-row,
    .card-grid,
    .card-grid.is-4,
    .timeline,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .split,
    .form-shell,
    .auth-shell,
    .newsletter {
        grid-template-columns: 1fr;
    }

    .home-secondary-section .feature-grid {
        grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.35fr);
    }

    .home-secondary-section .feature-list {
        grid-column: 1 / -1;
    }

    .portal-hero-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .portal-layout {
        grid-template-columns: 1fr;
    }

    .telehealth-hero-image {
        max-width: 36rem;
    }

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

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

@media (max-width: 768px) {
    .page-head-grid,
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-media {
        width: 8rem;
    }

    .section {
        padding: 3rem 0;
    }

    .home-hero {
        padding: 3.5rem 0 3rem;
    }

    .page-head {
        padding: 2.75rem 0 2.25rem;
    }

    .tile-row,
    .card-grid,
    .card-grid.is-4,
    .timeline,
    .steps {
        grid-template-columns: 1fr;
    }

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

    .priority-home {
        padding-top: 1.4rem;
    }

    .priority-booking {
        max-width: none;
    }

    .portal-hero {
        padding-top: 1.5rem;
    }

    .care-directory {
        grid-template-columns: 1fr;
    }

    .portal-main-grid {
        grid-template-columns: 1fr;
    }

    .telehealth-hero-image img {
        height: 15rem;
    }

    .articles-filter,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .articles-filter-action {
        margin-bottom: 0;
    }

    .articles-filter-action .button {
        width: 100%;
    }

    .home-secondary-section .feature-grid {
        display: block;
    }

    .home-secondary-media {
        margin: 1.5rem 0;
    }

    .telehealth-bar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .telehealth-bar .button {
        width: 100%;
    }

    .newsletter .field.has-addons {
        display: block;
    }

    .newsletter .field.has-addons .control,
    .newsletter .button {
        width: 100%;
    }

    .newsletter .button {
        margin-top: 0.5rem;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
