/* Scsson look: the 8/29/2026 design plus the 12/1/2026 additions. One file for every page. */
:root {
    --navy: #17324d;
    --blue: #2f6f9f;
    --light-blue: #eaf4fa;
    --teal: #3f9d9a;
    --gold: #d49a32;
    --text: #24313d;
    --muted: #667784;
    --white: #ffffff;
    --border: #d9e3e9;
    --shadow: 0 12px 30px rgba(23, 50, 77, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #f7fafc;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.nav-container {
    width: min(1180px, 92%);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.logo {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    color: var(--white);
    font-size: 0.95rem;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #bfe8e5;
}

.hero {
    padding: 90px 20px 80px;
    text-align: center;
    background:
        linear-gradient(rgba(23, 50, 77, 0.84), rgba(23, 50, 77, 0.84)),
        url("logo.png") center / cover no-repeat;
    color: var(--white);
}

.hero-content {
    width: min(800px, 100%);
    margin: 0 auto;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
}

.hero p {
    max-width: 680px;
    margin: 0 auto 28px;
    font-size: 1.15rem;
}

.button {
    display: inline-block;
    border: 0;
    border-radius: 6px;
    padding: 13px 24px;
    color: var(--white);
    background: var(--teal);
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus {
    background: #327f7c;
    transform: translateY(-1px);
}

.button.secondary {
    background: var(--blue);
}

.button.secondary:hover,
.button.secondary:focus {
    background: #245779;
}

.section {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.plan-card.featured {
    border: 3px solid var(--gold);
    transform: translateY(-8px);
}

.featured-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 13px;
    border-radius: 20px;
    color: var(--white);
    background: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 1.35rem;
    text-align: center;
}

.price {
    margin: 0;
    color: var(--blue);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.billing {
    min-height: 52px;
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.plan-card ul {
    flex: 1;
    margin: 0 0 24px;
    padding-left: 20px;
    color: var(--text);
    font-size: 0.94rem;
}

.plan-card li {
    margin-bottom: 8px;
}

.plan-card .button {
    width: 100%;
    margin-top: auto;
}

.about {
    background: var(--light-blue);
}

.about-content {
    width: min(800px, 100%);
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    margin-top: 0;
    color: var(--navy);
}

.contact-box {
    width: min(700px, 100%);
    margin: 0 auto;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-box h2 {
    margin-top: 0;
    color: var(--navy);
}

.site-footer {
    padding: 28px 20px;
    color: var(--white);
    background: var(--navy);
    text-align: center;
}

.site-footer p {
    margin: 5px 0;
}

.site-footer a {
    color: #bfe8e5;
}

@media (max-width: 1050px) {
    .plans-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .plan-card.featured {
        transform: none;
    }
}

@media (max-width: 700px) {
    .nav-container {
        flex-direction: column;
        justify-content: center;
        padding: 12px 0;
    }

    .main-nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 65px 20px;
    }

    .section {
        padding: 52px 0;
    }

    .plan-card {
        max-width: 430px;
        width: 100%;
        margin: 0 auto;
    }
}

/* 12/1/2026: Scsson's benefit plan in this design */
.plan-card { padding: 30px 16px 22px; }
.plan-card h3 { font-size: 1.15rem; }
.dues { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--blue); font-size: 0.95rem; text-align: center; }
.dues p { margin: 2px 0; }
.plan-card ul { font-size: 0.86rem; padding-left: 18px; line-height: 1.45; }
.plan-card li.plus { list-style: none; margin: 12px 0 8px -18px; color: var(--navy); font-weight: 700; text-align: center; }
.pay-btns { display: grid; gap: 8px; margin-top: auto; }
.plan-card .pay-btns .button { margin-top: 0; padding: 11px 8px; font-size: 0.9rem; }
.featured-label { background: var(--navy); }

/* 12/1/2026: Scsson's menu items in this design */
.main-nav { gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.nav-drop { position: relative; display: inline-block; padding: 10px 0; }
.nav-top::after { content: " \25BE"; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px 0; background: var(--white); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); z-index: 200; }
.nav-menu.right { left: auto; right: 0; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { display: block; }
.main-nav .nav-menu a { display: block; padding: 8px 16px; color: var(--navy); white-space: nowrap; }
.main-nav .nav-menu a:hover, .main-nav .nav-menu a:focus { color: var(--navy); background: var(--light-blue); }
.main-nav .nav-menu a.sub { padding-left: 34px; }

/* 12/1/2026: heading all on one line */
.hero-content { width: min(1100px, 100%); }
.hero h1 { white-space: nowrap; font-size: clamp(0.9rem, 3.4vw, 2.6rem); }

/* 12/1/2026: "Scsson's Self-health Care Model" button about 10% bigger */
.hero .button { font-size: 1.1em; padding: 14px 26px; }

/* 12/1/2026: Login button at the right end of the menu */
.main-nav .login-btn { padding: 8px 18px; border: 2px solid var(--white); border-radius: 6px; font-weight: 700; }
.main-nav .login-btn:hover, .main-nav .login-btn:focus { color: var(--navy); background: var(--white); }

/* 12/1/2026: A+ button (larger text), remembered on the visitor's device, as on OptimizeMe */
.aplus { height: 38px; min-width: 50px; padding: 0 12px; border: 2px solid var(--white); border-radius: 6px; color: var(--white); background: transparent; font: 700 17px Arial, Helvetica, sans-serif; cursor: pointer; }
.aplus:hover, .aplus:focus { color: var(--navy); background: var(--white); }
.aplus[aria-pressed="true"] { color: var(--navy); background: #bfe8e5; border-color: #bfe8e5; }
html.easy { font-size: 112.5%; }
html.easy .nav-container { width: min(1320px, 96%); gap: 16px; }
html.easy .main-nav { gap: 14px; }
html.easy .brand { white-space: nowrap; }
    
/* 12/1/2026: the public model page */
.model-top { padding: 34px 20px 30px; text-align: center; color: var(--white); background: #3c536b; }
.model-top-content { width: min(1100px, 100%); margin: 0 auto; }
.model-top h1 { margin: 0 0 8px; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.2; }
.model-top p { margin: 0; font-size: 1.05rem; }
.model-section { padding: 40px 0 60px; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.model-card { display: flex; flex-direction: column; padding: 22px 22px 20px; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.model-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; line-height: 1.3; }
.model-card p { margin: 0 0 10px; font-size: 0.95rem; }
.model-card ul { margin: 0 0 10px; padding-left: 20px; font-size: 0.95rem; }
.model-card li { margin-bottom: 6px; }
.model-card .comes { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); color: var(--navy); font-weight: 700; }
.model-card .button { margin-top: 6px; padding: 10px 16px; font-size: 0.95rem; }
.model-end { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
@media (max-width: 1050px) { .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .model-grid { grid-template-columns: 1fr; } }

/* 12/1/2026: inner pages (Ideas About Food and the others): one white panel on the light page */
.page-card { position: relative; width: min(960px, 92%); margin: 36px auto 60px; padding: 28px 30px 30px; color: #000; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.page-card h1 { margin: 0 44px 12px 0; color: var(--navy); font-size: 1.4rem; line-height: 1.25; }
.page-card h2 { margin: 24px 0 8px; color: var(--navy); font-size: 1.15rem; line-height: 1.3; }
.page-card p { margin: 0 0 10px; font-size: 1rem; }
.page-card a { color: var(--blue); }
.page-card .video { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.page-card .video iframe, .page-card .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.page-card .credit { margin-top: 8px; font-size: 0.92rem; }
.card-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--navy); border-radius: 50%; color: var(--navy); background: var(--white); font-size: 24px; font-weight: 700; line-height: 30px; text-align: center; text-decoration: none; }
.page-card a.card-x { color: var(--navy); }
.page-card a.card-x:hover, .page-card a.card-x:focus { color: var(--white); background: var(--navy); }
@media (max-width: 650px) { .page-card { margin-top: 24px; padding: 22px 16px; } }

/* 12/1/2026: Ideas About Health Care, Nutraceuticals, Pharmaceuticals - the same parts as on OptimizeMe, in the Scsson look */
.ih-wrap, .nu-wrap { position: relative; margin: 36px auto 60px; padding: 28px 30px 30px; color: #000; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.ih-wrap { width: min(1400px, 94%); }
.nu-wrap { width: min(960px, 92%); }
.ih-wrap h1, .nu-wrap h1 { margin: 0 44px 12px 0; color: var(--navy); font-size: 1.4rem; line-height: 1.25; }
.ih-intro, .nu-intro { margin: 0 0 12px; color: #000; font-size: 1rem; line-height: 1.6; }
.ih-intro { max-width: 900px; }
.ih-wrap a, .nu-wrap a { color: var(--blue); }
#q { width: 100%; margin-top: 6px; padding: 12px 16px; color: #000; background: var(--white); border: 2px solid var(--navy); border-radius: 8px; font: inherit; font-size: 1rem; resize: vertical; outline: none; }
textarea#q { min-height: 90px; }
#q::placeholder { color: #000; opacity: 0.75; }
#q:focus { border-color: var(--teal); }
.boxes { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 4px; }
.boxes label { display: flex; align-items: center; gap: 6px; color: #000; font-size: 0.92rem; cursor: pointer; }
.boxes input { width: 16px; height: 16px; accent-color: var(--teal); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 6px; }
.btn { width: auto; padding: 10px 20px; color: var(--white); background: var(--teal); border: 1px solid var(--teal); border-radius: 6px; font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; }
.btn:hover, .btn:focus { background: #327f7c; border-color: #327f7c; }
.btn.light { color: var(--navy); background: var(--white); border: 1px solid var(--navy); }
.btn.light:hover, .btn.light:focus { color: var(--white); background: var(--navy); }
.btn:disabled { opacity: 0.55; cursor: default; }
.note { color: #a8002a; font-size: 0.92rem; font-weight: 700; }
.round { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.round-q { margin-bottom: 12px; font-size: 1.05rem; }
.round-q b { color: var(--navy); }
.grid { display: grid; gap: 14px; }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.g3, .grid.g4 { grid-template-columns: 1fr; } }
.alt { margin: 14px 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: 1rem; }
.alt b { color: var(--navy); }
.col, .ans { padding: 14px 16px; color: #000; background: #f7fafc; border: 1px solid var(--border); border-radius: 10px; line-height: 1.55; font-size: 0.95rem; overflow-wrap: anywhere; }
.col h2 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.def { margin-bottom: 10px; padding: 0 0 10px 10px; border-left: 3px solid var(--teal); border-bottom: 1px solid var(--border); font-size: 0.88rem; line-height: 1.5; }
.col h3, .col h4, .ans h3, .ans h4 { margin: 10px 0 5px; color: var(--navy); font-size: 1.02rem; }
.col p, .ans p { margin: 6px 0; }
.col ul, .col ol, .ans ul, .ans ol { margin: 6px 0; padding-left: 22px; }
.col table, .ans table { display: block; margin: 8px 0; border-collapse: collapse; font-size: 0.9rem; overflow-x: auto; }
.col td, .col th, .ans td, .ans th { padding: 5px 8px; border: 1px solid #000; text-align: left; vertical-align: top; }
.ans .drug-link { display: inline-block; width: auto; margin: 0 6px 8px 0; padding: 5px 12px; color: var(--navy); background: var(--white); border: 1px solid var(--teal); border-radius: 6px; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.ans .drug-link:hover, .ans .drug-link:focus { color: var(--white); background: var(--teal); }
.srcs { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.srcs ol { margin: 4px 0 0; padding-left: 18px; }
.status { color: var(--navy); font-style: italic; }
.err { margin-top: 8px; color: #a8002a; font-weight: 700; }
.reply { padding: 12px 14px; background: var(--light-blue); border: 1px solid var(--teal); border-radius: 10px; font-size: 1rem; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.share-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.share-menu[hidden] { display: none; }
.lbl { position: relative; display: inline-block; border-bottom: 1px dotted var(--navy); cursor: help; outline: none; }
.lbl .tip { display: none; position: absolute; left: 0; top: 100%; z-index: 20; width: min(360px, 80vw); margin-top: 6px; padding: 10px 12px; color: #000; background: var(--white); border: 1px solid var(--navy); border-radius: 8px; box-shadow: var(--shadow); font-size: 0.88rem; font-weight: 400; line-height: 1.5; }
.lbl:hover .tip, .lbl.open .tip { display: block; }
.lbl .ico { display: inline-block; width: 17px; height: 17px; margin-left: 6px; border: 1.5px solid var(--navy); border-radius: 50%; font-size: 11px; font-style: normal; font-weight: 700; line-height: 14px; text-align: center; vertical-align: 2px; }
.defpanel { position: relative; margin: 10px 0; padding: 12px 34px 12px 14px; color: #000; background: var(--light-blue); border: 1px solid var(--border); border-radius: 10px; font-size: 0.95rem; line-height: 1.5; }
.defpanel .x { position: absolute; top: 4px; right: 10px; color: #000; background: none; border: none; font-size: 22px; cursor: pointer; }
.intro-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 6px; font-size: 0.92rem; }
.ih-wrap a.card-x, .nu-wrap a.card-x { color: var(--navy); }
.ih-wrap a.card-x:hover, .nu-wrap a.card-x:hover, .ih-wrap a.card-x:focus, .nu-wrap a.card-x:focus { color: var(--white); background: var(--navy); }
@media (max-width: 650px) { .ih-wrap, .nu-wrap { margin-top: 24px; padding: 22px 16px; } }

/* 12/1/2026: on a short page the foot stays at the bottom of the window */
body { min-height: 100vh; display: flex; flex-direction: column; }
.site-footer { margin-top: auto; }

/* ===== 12/1/2026 stage 2: sign-in, the member menu and the member pages ===== */

/* the member's round menu button at the right end of the top menu */
.sc-profile { position: relative; display: inline-block; }
.sc-avatar { width: 40px; height: 40px; padding: 0; color: var(--navy); background: var(--white); border: 2px solid var(--white); border-radius: 50%; font: 700 17px Arial, Helvetica, sans-serif; cursor: pointer; }
.sc-avatar:hover, .sc-avatar:focus { background: #bfe8e5; border-color: #bfe8e5; }
.sc-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px; padding: 8px 0; background: var(--white); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); z-index: 300; }
.sc-profile.show .sc-menu { display: block; }
.main-nav .sc-menu a { display: block; padding: 9px 16px; color: var(--navy); white-space: nowrap; }
.main-nav .sc-menu a:hover, .main-nav .sc-menu a:focus { color: var(--navy); background: var(--light-blue); }

/* Login and Register box */
.sc-auth { display: none; position: fixed; inset: 0; z-index: 500; padding: 16px; background: rgba(23, 50, 77, 0.6); align-items: center; justify-content: center; overflow-y: auto; }
.sc-auth.show { display: flex; }
.auth-modal { position: relative; width: min(460px, 100%); height: auto !important; margin: auto; padding: 28px 30px 24px; color: #000; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.auth-modal .form-box.register { display: none; }
.auth-modal.slide .form-box.login { display: none; }
.auth-modal.slide .form-box.register { display: block; }
.auth-modal h2 { margin: 0 40px 16px 0; color: var(--navy); font-size: 1.35rem; }
.auth-modal p { margin: 14px 0 0; font-size: 0.98rem; text-align: center; }
.auth-modal a { color: var(--blue); font-weight: 700; }
.auth-modal .input-box { position: relative; margin: 0 0 14px !important; }
.auth-modal .input-box i { display: none; }
.auth-modal .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-modal .three { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 10px; }
.auth-modal input[type=text], .auth-modal input[type=email], .auth-modal input[type=tel], .auth-modal input[type=password], .auth-modal input[type=date], .auth-modal select { width: 100%; height: 44px; padding: 0 12px; color: #000; background: var(--white); border: 1px solid var(--navy); border-radius: 6px; font: inherit; font-size: 1rem; outline: none; }
.auth-modal input::placeholder { color: #000; opacity: 0.7; }
.auth-modal input:focus, .auth-modal select:focus { border-color: var(--teal); box-shadow: 0 0 0 2px #bfe8e5; }
.auth-modal .keep { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 0.98rem; cursor: pointer; }
.auth-modal .keep input { width: 17px; height: 17px; accent-color: var(--teal); }
.auth-modal .btn { width: 100%; padding: 12px 20px; font-size: 1rem; }
.close-btn-modal { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; color: var(--navy); background: var(--white); border: 1px solid var(--navy); border-radius: 50%; font-size: 24px; font-weight: 700; line-height: 28px; cursor: pointer; }
.close-btn-modal:hover, .close-btn-modal:focus { color: var(--white); background: var(--navy); }
@media (max-width: 450px) { .auth-modal { padding: 24px 18px 20px; } .auth-modal .two, .auth-modal .three { grid-template-columns: 1fr; gap: 0; } }

/* messages after signing in, registering and the like */
.alert-box { position: fixed; top: 88px; left: 50%; z-index: 600; width: min(560px, 92%); transform: translateX(-50%); }
.alert-box .alert { position: relative; margin-bottom: 8px; padding: 12px 44px 12px 16px; color: #000; background: var(--white); border: 1px solid var(--navy); border-left-width: 6px; border-radius: 8px; box-shadow: var(--shadow); font-size: 1rem; }
.alert-box .alert.success { border-color: #0a7d3b; }
.alert-box .alert.error { border-color: #a8002a; }
.alert-box .alert i { display: none; }
.alert-x { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; padding: 0; color: #000; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* home page: the signed-in greeting and the free email updates line */
.hero .welcome { margin: 0 auto 10px; font-size: 1.2rem; font-weight: 700; }
.hero .eu-home-link { margin: 18px auto 0; font-size: 1rem; }
.hero .eu-home-link a { color: var(--white); font-weight: 700; text-decoration: underline; }

/* My Home (home.php): the same parts as on OptimizeMe */
.home-wrap { position: relative; width: min(980px, 92%); margin: 36px auto 60px; }
.home-card { position: relative; padding: 28px 30px 30px; color: #000; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.home-card h1 { margin: 0 44px 6px 0; color: var(--navy); font-size: 1.4rem; }
.home-card h2 { margin: 26px 0 12px; color: var(--navy); font-size: 1.15rem; }
.home-card a { color: var(--blue); }
.plan-line { margin: 0 0 22px; font-size: 1rem; }
.plan-line a { font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.home-card a.tile { display: block; padding: 16px; color: #000; background: #f7fafc; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; }
.home-card a.tile:hover, .home-card a.tile:focus { border-color: var(--teal); }
.tile b { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1rem; }
.tile span { font-size: 0.9rem; }
.home-card a.tile.main { color: var(--white); background: var(--teal); border-color: var(--teal); }
.tile.main b { color: var(--white); }
.recent { margin: 0; padding-left: 20px; }
.recent li { margin: 0 0 8px; font-size: 0.97rem; overflow-wrap: anywhere; }
.none { margin: 0; font-size: 0.97rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.home-card .box { padding: 16px; background: #f7fafc; border: 1px solid var(--border); border-radius: 10px; }
.home-card .box h2 { margin-top: 0; }
.home-card .box p { margin: 0 0 12px; font-size: 0.97rem; }
.home-card a.hbtn { display: inline-block; padding: 9px 18px; color: var(--white); background: var(--teal); border-radius: 6px; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.home-card a.hbtn:hover, .home-card a.hbtn:focus { background: #327f7c; }
.back-top { margin-top: 26px; text-align: center; }
.back-top a { font-weight: 700; }
.home-card a.card-x { color: var(--navy); }
.home-card a.card-x:hover, .home-card a.card-x:focus { color: var(--white); background: var(--navy); }
@media (max-width: 700px) { .row2 { grid-template-columns: 1fr; } .home-card { padding: 22px 16px 26px; } }

/* Email Updates (email_updates.php) */
.eu-wrap { position: relative; width: min(620px, 92%); margin: 36px auto 60px; }
.eu-card { position: relative; padding: 28px 30px 30px; color: #000; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.eu-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; color: var(--navy); background: var(--white); border: 1px solid var(--navy); border-radius: 50%; font-size: 22px; font-weight: 700; line-height: 30px; text-align: center; text-decoration: none; }
.eu-card h1 { margin: 0 0 8px; padding-right: 40px; color: var(--navy); font-size: 1.4rem; }
.eu-card p.intro { margin: 0 0 22px; font-size: 1rem; }
.eu-card label.f { display: block; margin: 0 0 6px; font-size: 0.97rem; font-weight: 700; }
.eu-card input[type=email], .eu-card input[type=text] { width: 100%; margin: 0 0 16px; padding: 11px 14px; color: #000; background: var(--white); border: 1px solid var(--navy); border-radius: 6px; font: inherit; font-size: 1rem; }
.eu-card fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.eu-card legend { margin-bottom: 8px; font-size: 0.97rem; font-weight: 700; }
.eu-card .opt { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1rem; }
.eu-card .opt input { width: 18px; height: 18px; accent-color: var(--teal); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 14px; background: #f7fafc; border: 1px solid var(--border); border-radius: 10px; font-size: 1rem; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); }
.eu-btn { display: block; width: 100%; padding: 12px 16px; color: var(--white); background: var(--teal); border: 0; border-radius: 6px; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.req { color: #a8002a; }
.thanks { margin-top: 4px; padding: 14px; background: var(--light-blue); border: 1px solid var(--teal); border-radius: 10px; font-size: 1rem; }
.eu-card .err { margin: 0 0 16px; padding: 12px 14px; color: #000; background: #fdeeee; border: 1px solid #a8002a; border-radius: 10px; font-size: 1rem; font-weight: 400; }
.eu-card a.lnk { color: var(--blue); font-weight: 700; }
.own { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
.own h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.own table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.own td, .own th { padding: 6px 8px; border: 1px solid #000; text-align: left; }
.own .tbl { overflow-x: auto; }

/* the plain white pages (forgot password, new password): centred box on the light page */
body > .container, body > .pw { align-self: center; width: min(400px, 92%); margin-top: 60px !important; }

/* 12/1/2026: anything a page marks as hidden stays hidden until the page shows it */
[hidden] { display: none !important; }

/* 12/1/2026 9:46 PM (Dr. Young, from her phone: the menu spread over three lines and the heading came out very small):
   on phones and narrow screens the menu folds behind a button, as on OptimizeMe, and the heading may use two lines. */
.nav-toggle { display: none; }
@media (max-width: 900px) {
    .site-header { max-height: 100vh; overflow-y: auto; }
    .nav-container, html.easy .nav-container { width: 92%; min-height: 0; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 10px 0; }
    .brand, html.easy .brand { flex: 1 1 0; min-width: 0; white-space: normal; font-size: 1rem; }
    .logo { width: 44px; height: 44px; flex: 0 0 auto; }
    .nav-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 48px; height: 42px; padding: 0; border: 2px solid var(--white); border-radius: 6px; color: var(--white); background: transparent; font: 700 24px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
    .nav-toggle:hover, .nav-toggle:focus { color: var(--navy); background: var(--white); }
    .main-nav, html.easy .main-nav { display: none; flex: 1 0 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; padding: 4px 0 10px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
    .site-header.nav-open .main-nav { display: flex; }
    .main-nav > a, .main-nav .nav-top { display: block; padding: 12px 2px; font-size: 1.05rem; }
    .nav-drop { display: block; padding: 0; }
    .nav-menu, .nav-menu.right { position: static; min-width: 0; margin: 0 0 8px; border: 0; box-shadow: none; }
    .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: none; }
    .nav-drop.open .nav-menu { display: block; }
    .main-nav .nav-menu a, .main-nav .sc-menu a { padding: 11px 16px; white-space: normal; }
    .main-nav .aplus { order: -3; align-self: flex-start; margin: 10px 0 4px; }
    .main-nav > .login-btn { order: -2; align-self: flex-start; margin: 6px 0 4px; padding: 9px 22px; }
    .main-nav .sc-profile { order: -2; display: block; margin: 6px 0 4px; }
    .main-nav .sc-menu { position: static; margin-top: 8px; }
    .hero { padding: 44px 18px 50px; }
    .hero h1 { white-space: normal; font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
}
