@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@600;700;800&family=Noto+Sans:wght@400;500;700&display=swap');

/* ============================================================
   THE SENIOR SAFE — theseniorsafe.com
   Premium, accessible medical-alert review stylesheet
   Style: Accessible & Ethical  |  WCAG AAA-minded, high contrast
   Fonts: Figtree (headings) + Noto Sans (body)
   ============================================================ */

:root {
    /* Brand palette */
    --trust:      #173B61;   /* deep navy — primary authority */
    --trust-2:    #255A8A;   /* lighter navy */
    --trust-3:    #0F2A46;   /* darker navy (footer/hover) */
    --safe:       #0E8C6B;   /* teal-green — primary CTA / "go" */
    --safe-hover: #0B7357;
    --safe-tint:  #E6F4EF;   /* soft green surface */
    --alert:      #D64545;   /* warm red — sparse emergency accent */
    --alert-tint: #FBECEC;   /* soft red/caution surface */
    --amber-tint: #FFF7E6;   /* subtle disclosure note */
    --amber-line: #F0D48A;
    --amber-ink:  #7A5A12;

    --bg:      #F7F9FB;       /* warm off-white page */
    --surface: #FFFFFF;
    --surface-2: #F1F5F9;     /* subtle raised/tint */
    --ink:     #1A2A3A;       /* body text */
    --muted:   #556575;       /* secondary text */
    --border:  #E3E9EF;

    --radius:   15px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow:    0 2px 10px rgba(20, 40, 80, .06);
    --shadow-md: 0 8px 24px rgba(20, 40, 80, .10);
    --shadow-lg: 0 14px 36px rgba(20, 40, 80, .14);

    --content: 720px;        /* prose measure */
    --wide:    1080px;        /* wide layouts (versus) */
    --ease:    200ms cubic-bezier(.4, 0, .2, 1);

    --font-head: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 18px;                 /* senior-readable base */
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    border-top: 5px solid var(--trust);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;              /* no horizontal overflow */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--trust);
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
h1 { font-size: 2.4rem; margin: 0 0 1rem; }
h2 {
    font-size: 1.75rem;
    color: var(--trust);
    margin: 2.75rem 0 1rem;
    padding-bottom: .55rem;
    border-bottom: 2px solid var(--border);
}
h3 { font-size: 1.3rem; color: var(--trust); margin: 2rem 0 .65rem; }
h4 { font-size: 1.08rem; color: var(--trust-2); margin: 1.3rem 0 .5rem; }

p { margin: 1.1rem 0; }

a {
    color: var(--safe);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color var(--ease);
}
a:hover { color: var(--safe-hover); text-decoration: underline; }

ul, ol { margin: 1.1rem 0; padding-left: 1.5rem; }
li { margin: .5rem 0; }
li::marker { color: var(--trust-2); }

strong, b { color: var(--trust); font-weight: 700; }
em, i { color: inherit; }
small { font-size: .82rem; color: var(--muted); }
sup { font-size: .7em; }

mark, .mark {
    background: #FFF1B8;
    color: var(--ink);
    padding: 0 .18em;
    border-radius: 3px;
}

blockquote {
    border-left: 4px solid var(--safe);
    background: var(--safe-tint);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
    font-style: normal;
}
blockquote p { margin: .4rem 0; }
blockquote p:first-child { margin-top: 0; }
blockquote p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Tabular figures for numbers-heavy contexts */
.price, .pick-price, .pc-price, .product-price, .num, .hero-stat,
table, th, td { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------
   BASE TABLES (generic)
   ------------------------------------------------------------ */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; }
th {
    font-family: var(--font-head);
    font-weight: 700;
}

/* ------------------------------------------------------------
   LAYOUT CONTAINERS
   ------------------------------------------------------------ */
.container,
.inner,
.foot-inner,
.sh-inner,
.sf-inner,
.site-header-inner,
.site-footer-inner {
    max-width: var(--wide);
    margin-inline: auto;
    padding-inline: 20px;
    width: 100%;
}

main {
    background: var(--surface);
    max-width: var(--wide);
    margin: 0 auto;
    padding: 40px 20px 8px;
}

/* Prose blocks read at a comfortable measure */
.guide-container,
.prose {
    max-width: var(--content);
    margin-inline: auto;
    padding: 0;
}
.prose > p,
.guide-container > p { max-width: var(--content); }

.section-intro {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: var(--content);
    margin: .5rem auto 1.5rem;
}
.text { color: var(--ink); }

/* ------------------------------------------------------------
   SITE HEADER + LOGO WORDMARK
   ------------------------------------------------------------ */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(20,40,80,.02), 0 6px 18px rgba(20,40,80,.04);
    backdrop-filter: saturate(1.1);
}
.site-header .sh-inner,
.site-header .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 14px;
}

/* Wordmark: "The Senior Safe" + shield/pulse mark */
.brand,
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
    color: var(--trust);
    text-decoration: none;
    line-height: 1;
}
.brand:hover, .logo:hover { color: var(--trust); text-decoration: none; }
.brand span { color: var(--safe); }        /* "Safe" accent when split */

.brand::before,
.logo::before {
    content: "";
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202l8%203v6c0%205-3.4%209-8%2011-4.6-2-8-6-8-11V5z'%20fill='%23173B61'/%3E%3Cpath%20d='M5.5%2012H9l1.4-3.4L13%2015l1.4-3H18.5'%20fill='none'%20stroke='%23ffffff'%20stroke-width='1.7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Ccircle%20cx='17.7'%20cy='6.7'%20r='2'%20fill='%23D64545'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* When header sits on a dark band, keep wordmark readable */
.site-header.on-dark { background: var(--trust); border-bottom-color: var(--trust-3); }
.site-header.on-dark .brand,
.site-header.on-dark .logo { color: #fff; }
.site-header.on-dark .brand span { color: #7FD9BE; }

.tagline {
    display: block;
    width: 100%;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 2px;
}

.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-header nav a {
    color: var(--muted);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--ease), color var(--ease);
}
.site-header nav a:hover { color: var(--trust); background: var(--surface-2); text-decoration: none; }

/* ------------------------------------------------------------
   BREADCRUMB
   ------------------------------------------------------------ */
.breadcrumb {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 14px 20px;
    font-size: .9rem;
    color: var(--muted);
    background: transparent;
}
.breadcrumb a { color: var(--trust-2); font-weight: 500; }
.breadcrumb a:hover { color: var(--safe-hover); text-decoration: underline; }

/* ------------------------------------------------------------
   HEROES
   ------------------------------------------------------------ */
.guide-hero,
.split-hero {
    background: linear-gradient(135deg, var(--trust) 0%, var(--trust-2) 100%);
    color: #fff;
    text-align: center;
    padding: 64px 20px;
    position: relative;
}
.guide-hero { border-bottom: 4px solid var(--safe); }
.guide-hero-inner { max-width: 860px; margin: 0 auto; }

.guide-hero h1,
.split-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: .75rem; }

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255,255,255,.92);
    max-width: 720px;
    margin: 0 auto 1.25rem;
}

.meta-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: .92rem;
    color: rgba(255,255,255,.85);
}

/* Split (versus) hero: dual accent rule */
.split-hero {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--trust-2) 50%, var(--safe) 50%) 1;
}
.split-hero .subtitle { color: rgba(255,255,255,.9); }
.split-hero .cta-button { margin-top: .5rem; }

/* Text-only accent panel hero (roundup) */
.hero-panel {
    background: linear-gradient(135deg, var(--trust) 0%, var(--trust-2) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.85rem;
    margin: 1.75rem 0;
    box-shadow: var(--shadow-md);
}
.hero-panel h2 { color: #fff; border: none; padding: 0; margin: 0 0 .5rem; font-size: 1.55rem; }
.hero-panel p { margin: .4rem 0 0; color: rgba(255,255,255,.94); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.4rem; }
.hero-stat {
    flex: 1 1 130px;
    min-width: 130px;
    padding: .9rem 1rem;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-sm);
}
.hero-stat .num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; display: block; color: #fff; }
.hero-stat .lbl { font-size: .82rem; color: rgba(255,255,255,.88); }

/* Article header (roundup) */
.article-header { margin-bottom: 1.75rem; }
.article-header h1 { color: var(--trust); font-size: 2.25rem; }
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    color: var(--muted);
    font-size: .92rem;
    margin: .75rem 0 1.25rem;
}
.article-meta a { color: var(--trust-2); font-weight: 500; }
.article-meta strong { color: var(--ink); }

/* Category / eyebrow badge on heroes */
.category-badge {
    display: inline-block;
    background: var(--safe);
    color: #fff;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.1rem;
}

/* ------------------------------------------------------------
   DISCLOSURES (subtle amber notes)
   ------------------------------------------------------------ */
.disclosure-strip,
.affiliate-disclosure,
.aff-disclosure,
.disclosure,
.disclosure-bar {
    background: var(--amber-tint);
    border: 1px solid var(--amber-line);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    margin: 20px 0;
    font-size: .86rem;
    line-height: 1.6;
    color: var(--amber-ink);
}
.disclosure-strip strong,
.affiliate-disclosure strong,
.aff-disclosure strong,
.disclosure strong,
.disclosure-bar strong { color: #5E4408; }

.disclosure-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    border-inline: none;
    justify-content: center;
    text-align: center;
}

/* ------------------------------------------------------------
   AUTHOR / PROFILE BOX (EEAT)
   ------------------------------------------------------------ */
.author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--safe);
    border-radius: var(--radius-sm);
    margin: 24px 0;
}
.author-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--trust) 0%, var(--trust-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .04em;
}
.author-box .author-name,
.author-name { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--trust); font-size: 1.05rem; }
.author-box strong { color: var(--trust); }
.author-title,
.author-credentials { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.author-disclosure { margin: 8px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.author-box p { margin: 0; }

/* ------------------------------------------------------------
   QUICK ANSWER / QUICK PICK (highlighted answer boxes)
   ------------------------------------------------------------ */
.quick-answer {
    background: #EAF2F8;
    border: 1px solid #CBDDEC;
    border-left: 5px solid var(--trust-2);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    margin: 24px 0;
}
.quick-answer h2 { border: none; padding: 0; margin: 0 0 .6rem; font-size: 1.3rem; color: var(--trust); }
.quick-answer p { margin: .5rem 0; color: var(--ink); }
.quick-answer p:last-child { margin-bottom: 0; }
.quick-answer strong { color: var(--trust-3); }

.qa-label,
.quick-pick-label {
    display: inline-block;
    background: var(--trust);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .7rem;
}
.qa-date, .qa-sub { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.qa-text { color: var(--ink); }

.qa-picks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.1rem;
}
.qa-pick {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}
.qa-pick h4 { margin: 0 0 .35rem; color: var(--trust); }
.qa-pick p { margin: .3rem 0; }

/* ------------------------------------------------------------
   QUICK PICK BOX (top-pick banner)
   ------------------------------------------------------------ */
.quick-pick-box {
    background: linear-gradient(135deg, var(--trust) 0%, var(--trust-2) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}
.quick-pick-content { display: flex; gap: 1.5rem; align-items: center; }
.quick-pick-mark {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: #fff;
    color: var(--trust-3);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-shadow: inset 0 0 0 1px rgba(20,40,80,.06);
}
.quick-pick-mark .mk-brand { font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2; color: var(--trust); }
.quick-pick-mark .mk-sub { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.quick-pick-details h3 { color: #fff; margin: 0 0 .35rem; font-size: 1.35rem; }
.quick-pick-details p { color: rgba(255,255,255,.94); margin: .4rem 0; font-size: .96rem; }
.quick-pick-details .price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: .35rem; color: #fff; }

/* ------------------------------------------------------------
   TABLE OF CONTENTS
   ------------------------------------------------------------ */
.toc {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--safe);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 22px 26px;
    margin: 2rem 0;
}
.toc h2, .toc h3 { border: none; padding: 0; margin: 0 0 .9rem; font-size: 1.05rem; color: var(--trust); }
.toc ol, .toc ul { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 8px 0; }
.toc a { color: var(--trust); font-weight: 500; }
.toc a:hover { color: var(--safe-hover); padding-left: 4px; text-decoration: none; }

/* ------------------------------------------------------------
   PICKS GRID / PICK CARD (homepage curated)
   ------------------------------------------------------------ */
.picks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}
.pick-card,
.card-body,
.contact-card,
.size-card,
.icon-card,
.provider-card,
.product-card,
.related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.pick-card {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    transition: transform var(--ease), box-shadow var(--ease);
}
.pick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pick-badge {
    align-self: flex-start;
    background: var(--safe-tint);
    color: var(--safe-hover);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 12px;
}
.pick-card.editor .pick-badge,
.editor .pick-badge { background: #FDEEDD; color: #A85712; }
.pick-card h3 { margin: 0 0 4px; font-size: 1.2rem; color: var(--trust); }
.pick-price {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--safe-hover);
    margin: 4px 0 10px;
}
.pick-price span { font-size: .8rem; font-weight: 500; color: var(--muted); }
.pick-card ul { list-style: none; padding: 0; margin: 6px 0 16px; font-size: .9rem; }
.pick-card ul li { position: relative; padding: 3px 0 3px 24px; margin: 2px 0; }
.pick-card ul li::before {
    content: "\2713";
    position: absolute; left: 0;
    color: var(--safe);
    font-weight: 700;
}
.pick-why { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.pick-cta { margin-top: auto; }

/* ------------------------------------------------------------
   RELATED GRID / CARDS
   ------------------------------------------------------------ */
.related-grid,
.category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 2rem 0;
}
.related-card {
    padding: 18px 20px;
    display: block;
    color: var(--ink);
    text-decoration: none;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #CBDDEC;
    text-decoration: none;
}
.related-card h4 { color: var(--trust); font-size: 1.02rem; margin: 0 0 6px; }
.related-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.rc-arrow { color: var(--safe); font-weight: 700; font-size: .88rem; white-space: nowrap; }

/* Related articles list block */
.related-articles {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
    margin: 2rem 0;
}
.related-articles h3 { color: var(--trust); margin: 0 0 1rem; font-size: 1.1rem; }
.related-articles ul { margin: 0; padding-left: 1.1rem; }
.related-articles a { color: var(--trust); font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; }
.related-articles a:hover { color: var(--safe-hover); }

/* ------------------------------------------------------------
   TRUST STRIP
   ------------------------------------------------------------ */
.trust-strip {
    background: var(--safe-tint);
    border: 1px solid #BFE3D6;
    border-left: 4px solid var(--safe);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 24px;
    margin: 2rem 0;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--trust);
}
.dot { color: var(--safe); margin: 0 6px; }

/* ------------------------------------------------------------
   TABLES: reference + comparison
   ------------------------------------------------------------ */
.table-wrapper,
.table-note + .table-wrapper { margin: 2rem 0; }
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.reference-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    font-size: .95rem;
}
.reference-table { min-width: 640px; }
.comparison-table {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.reference-table th,
.comparison-table th,
.comparison-table thead th {
    background: var(--trust);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    vertical-align: middle;
}
.reference-table td,
.comparison-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.reference-table tr:nth-child(even),
.comparison-table tr:nth-child(even) { background: #F6F9FC; }   /* zebra */
.reference-table tr:hover,
.comparison-table tr:hover { background: #EAF2F8; }
.comparison-table td:first-child { font-weight: 700; color: var(--trust); }

/* Highlighted rows / winner emphasis */
.highlight-row,
.reference-table .highlight-row { background: var(--amber-tint) !important; }
.highlight-row td:first-child { box-shadow: inset 4px 0 0 var(--amber-line); }

.winner-cell,
.winner-col {
    background: var(--safe-tint) !important;
    font-weight: 700;
    color: var(--safe-hover);
}

.winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--safe-tint);
    color: var(--safe-hover);
    border: 1px solid #A9DDCB;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .92rem;
    margin: 1rem 0;
}
.winner-badge svg { width: 16px; height: 16px; }

.table-note {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.55;
}
.table-note ol { margin: 4px 0 0; padding-left: 1.2rem; }
.table-note li { margin: 2px 0; }

/* ------------------------------------------------------------
   INFO / CALLOUT BOXES
   ------------------------------------------------------------ */
.info-box {
    background: #EAF2F8;
    border-left: 4px solid var(--trust-2);
    padding: 16px 20px;
    margin: 1.6rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
}
.info-box strong { color: var(--trust-3); }
.info-box.tip,
.tip {
    background: var(--safe-tint);
    border-color: var(--safe);
}
.info-box.warning,
.warning {
    background: var(--alert-tint);
    border-left: 4px solid var(--alert);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin: 1.6rem 0;
}
.info-box.warning strong,
.warning strong { color: #A32B2B; }

/* ------------------------------------------------------------
   CTA BUTTONS (accessible, min 48px)
   ------------------------------------------------------------ */
.cta-button,
.pick-cta,
.quick-pick-cta,
.verdict-cta,
.qa-cta,
.amazon-cta,
.contact-email,
.cta-a,
.cta-b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    background: var(--safe);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.cta-button:hover,
.pick-cta:hover,
.quick-pick-cta:hover,
.verdict-cta:hover,
.qa-cta:hover,
.amazon-cta:hover,
.contact-email:hover,
.cta-a:hover {
    background: var(--safe-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 140, 107, .30);
    text-decoration: none;
}

/* pick-cta stretches full width in cards */
.pick-cta { width: 100%; }

/* Small inline CTA (e.g. table "Get it") */
.cta-small {
    min-height: 40px;
    padding: 8px 16px;
    font-size: .88rem;
    margin: 0;
}

/* Text / link-style CTAs */
.cta-inline {
    color: var(--safe);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cta-inline:hover { color: var(--safe-hover); }
.cta-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* Dual CTA (versus final verdict) */
.dual-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem; }
.dual-cta .cta-button { min-width: 230px; }
.dual-cta .cta-a { background: var(--safe); color: #fff; }
.dual-cta .cta-b { background: #fff; color: var(--trust); border: 2px solid #fff; }
.dual-cta .cta-b:hover { background: #EAF2F8; color: var(--trust); }

/* Final verdict banner */
.final-verdict-cta {
    background: linear-gradient(135deg, var(--trust-2) 0%, var(--trust) 100%);
    color: #fff;
    text-align: center;
    padding: 2.25rem 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}
.final-verdict-cta h3 { color: #fff; margin: 0 0 .5rem; }
.final-verdict-cta p { color: rgba(255,255,255,.94); }

/* ------------------------------------------------------------
   PROVIDER CARD (cost guide)
   ------------------------------------------------------------ */
.provider-card { padding: 20px 22px; margin: 16px 0; }
.provider-card h4,
.pc-name { margin: 0 0 4px; font-size: 1.15rem; color: var(--trust); }
.pc-price {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--safe-hover);
    margin: 4px 0 8px;
}
.provider-card p { margin: 6px 0; font-size: .95rem; }
.pc-best-for { font-size: .92rem; color: var(--muted); }

/* ------------------------------------------------------------
   PRODUCT CARD (roundup picks)
   ------------------------------------------------------------ */
.product-card { padding: 1.6rem; margin: 2rem 0; }
.product-badge,
.size-badge {
    display: inline-block;
    background: var(--safe);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .85rem;
}
.product-content {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.product-mark {
    width: 100%;
    min-height: 150px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
}
.mk-initial {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--trust) 0%, var(--trust-2) 100%);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}
.product-mark .mk-brand { font-family: var(--font-head); font-weight: 700; color: var(--trust); font-size: .95rem; line-height: 1.2; }
.mk-sub { font-size: .75rem; color: var(--muted); margin-top: 4px; }

.product-details { min-width: 0; }
.product-name { font-size: 1.3rem; color: var(--trust); margin: 0 0 .5rem; }
.product-price {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--safe-hover);
    margin-bottom: .7rem;
}
.product-price small { font-size: .82rem; font-weight: 500; color: var(--muted); }
.best-for { font-size: .95rem; color: var(--ink); margin-bottom: .5rem; }
.product-features { list-style: none; padding: 0; margin: .75rem 0; }
.product-features li { position: relative; padding: 4px 0 4px 26px; }
.product-features li::before {
    content: "\2713";
    position: absolute; left: 0;
    color: var(--safe);
    font-weight: 700;
}

/* ------------------------------------------------------------
   PROS / CONS
   ------------------------------------------------------------ */
.pros-cons,
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.25rem 0;
    font-size: .94rem;
}
.pros h4, .cons h4,
.pros-box h4, .cons-box h4 {
    font-family: var(--font-head);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .55rem;
}
.pros h4 { color: var(--safe-hover); }
.cons h4 { color: #A32B2B; }

.pros-box,
.pros {
    background: var(--safe-tint);
    border: 1px solid #BFE3D6;
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}
.cons-box,
.cons {
    background: var(--alert-tint);
    border: 1px solid #F3CFCF;
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}
.pros-box h4 { color: var(--safe-hover); }
.cons-box h4 { color: #A32B2B; }

.pros ul, .cons ul,
.pros-box ul, .cons-box ul { list-style: none; padding: 0; margin: 0; }
.pros li, .cons li,
.pros-box li, .cons-box li { position: relative; padding: 3px 0 3px 22px; }
.pros li::before,
.pros-box li::before { content: "\2713"; color: var(--safe-hover); font-weight: 700; position: absolute; left: 0; }
.cons li::before,
.cons-box li::before { content: "\2013"; color: #B23636; font-weight: 700; position: absolute; left: 0; }

/* ------------------------------------------------------------
   DOs & DON'Ts
   ------------------------------------------------------------ */
.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.do-box {
    background: var(--safe-tint);
    border: 1px solid #BFE3D6;
    border-left: 4px solid var(--safe);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.25rem;
}
.dont-box {
    background: var(--alert-tint);
    border: 1px solid #F3CFCF;
    border-left: 4px solid var(--alert);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.25rem;
}
.do-box h4 { color: var(--safe-hover); margin: 0 0 .5rem; }
.dont-box h4 { color: #A32B2B; margin: 0 0 .5rem; }

/* ------------------------------------------------------------
   BADGES / TAGS / PILLS
   ------------------------------------------------------------ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--surface-2);
    color: var(--trust);
}
.badge-blue   { background: #E4EEF7; color: var(--trust-2); }
.badge-green  { background: var(--safe-tint); color: var(--safe-hover); }
.badge-orange { background: #FDEEDD; color: #A85712; }

.tag-yes, .tag-inc, .tag-no {
    display: inline-block;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.3;
}
.tag-yes, .tag-inc { background: var(--safe-tint); color: var(--safe-hover); }
.tag-no { background: var(--alert-tint); color: #A32B2B; }

/* ------------------------------------------------------------
   VS / VERSUS ELEMENTS
   ------------------------------------------------------------ */
.vs-badge {
    display: inline-block;
    background: var(--safe);
    color: #fff;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .6rem;
}
.vs-word,
.versus-line {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--alert);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.versus-line { display: block; text-align: center; color: var(--muted); margin: .5rem 0; }

/* Profile card (versus provider snapshot) */
.profile-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}
.profile-card h4 {
    color: var(--trust-2);
    font-size: 1rem;
    margin: 0 0 .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.profile-card ul { list-style: none; padding: 0; margin: 0; }
.profile-card li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.profile-card li:last-child { border-bottom: none; }
.profile-card li strong { color: var(--trust); min-width: 150px; display: inline-block; }

/* Decision boxes (who should pick which) */
.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
.decision-box {
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--surface);
}
.decision-box h4 { margin: 0 0 .75rem; font-size: 1.05rem; }
.decision-box ul { list-style: none; padding: 0; margin: 0; }
.decision-box li { position: relative; padding: 5px 0 5px 22px; font-size: .95rem; }
.decision-box li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; }

.choose-a { background: #EAF2F8; border-color: #CBDDEC; }
.choose-a h4 { color: var(--trust-2); }
.choose-a li::before { color: var(--trust-2); }

.choose-b { background: var(--amber-tint); border-color: var(--amber-line); }
.choose-b h4 { color: var(--amber-ink); }
.choose-b li::before { color: #B98A18; }

.choose-both { background: var(--safe-tint); border-color: #A9DDCB; }
.choose-both h4 { color: var(--safe-hover); }
.choose-both li::before { color: var(--safe); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-section { margin: 2.25rem 0; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--safe);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    margin-bottom: 16px;
}
.faq-question {
    font-family: var(--font-head);
    color: var(--trust);
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}
.faq-answer { color: var(--ink); font-size: .97rem; line-height: 1.65; margin: 0; }
.faq-answer p { margin: .4rem 0; }
.faq-answer p:first-child { margin-top: 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   CONCLUSION BOX
   ------------------------------------------------------------ */
.conclusion-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--trust);
    border-radius: var(--radius);
    padding: 24px;
    margin: 2rem 0;
}
.conclusion-box h3 { color: var(--trust); margin: 0 0 .6rem; }

/* ------------------------------------------------------------
   ICON GRID / CATEGORY CARDS
   ------------------------------------------------------------ */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 2rem 0;
}
.icon-card {
    padding: 1.4rem 1.5rem;
    text-align: center;
    transition: transform var(--ease), box-shadow var(--ease);
}
.icon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ic-emoji {
    font-size: 1.6rem;                /* small / muted, not a focal icon */
    line-height: 1;
    opacity: .8;
    display: inline-block;
    margin-bottom: .6rem;
    filter: saturate(.85);
}
.ic-title { font-family: var(--font-head); font-weight: 700; color: var(--trust); font-size: 1.05rem; margin: 0 0 .35rem; }
.ic-desc { font-size: .9rem; color: var(--muted); margin: 0; }

/* Category cards reuse related-card look */
.category-cards .card-body,
.size-card { padding: 1.3rem 1.4rem; }
.size-card { text-align: center; }

/* ------------------------------------------------------------
   CONTACT / TEAM
   ------------------------------------------------------------ */
.contact-card { padding: 1.6rem 1.75rem; margin: 1.5rem 0; text-align: center; }
.contact-label { font-family: var(--font-head); font-weight: 700; color: var(--trust); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; display: block; margin-bottom: .4rem; }
.contact-email { display: inline-flex; margin: .5rem 0; }
.contact-note { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 2rem 0; }

/* ------------------------------------------------------------
   SITE FOOTER (dark navy)
   ------------------------------------------------------------ */
.site-footer {
    background: var(--trust-3);
    color: #C7D4E1;
    padding: 40px 20px;
    margin-top: 3rem;
    font-size: .9rem;
    line-height: 1.65;
}
.site-footer .sf-inner,
.site-footer .site-footer-inner,
.site-footer .foot-inner { max-width: 940px; margin: 0 auto; }
.site-footer:not(:has(.sf-inner)):not(:has(.foot-inner)) { text-align: center; }
.site-footer p { margin: .5rem 0; }
.site-footer strong { color: #fff; }
.site-footer a { color: #7FD9BE; font-weight: 500; }
.site-footer a:hover { color: #A6E7D4; text-decoration: underline; }
.sf-disclosure,
.foot-disclosure {
    margin-top: 14px;
    font-size: .8rem;
    color: #93A6BA;
    line-height: 1.6;
}
.sf-disclosure strong,
.foot-disclosure strong { color: #C7D4E1; }

/* ------------------------------------------------------------
   UTILITIES + ACCESSIBILITY
   ------------------------------------------------------------ */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -140%);
    top: 8px;
    z-index: 1000;
    background: var(--safe);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 700;
    transition: transform var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; text-decoration: none; }

/* Visible focus rings on every interactive target */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
.cta-button:focus-visible,
.pick-cta:focus-visible,
.verdict-cta:focus-visible,
.qa-cta:focus-visible,
.amazon-cta:focus-visible,
.related-card:focus-visible,
.pick-card:focus-visible,
.faq-item:focus-visible,
tr:focus-visible,
.reference-table tr:focus-within,
.comparison-table tr:focus-within {
    outline: 3px solid var(--safe);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Fallback for browsers without :focus-visible */
a:focus, button:focus { outline: 3px solid var(--safe); outline-offset: 2px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* Reduced motion: disable transitions & smooth scroll */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    .pick-card:hover, .related-card:hover, .icon-card:hover,
    .cta-button:hover, .pick-cta:hover, .cta-a:hover { transform: none; }
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .picks-grid,
    .related-grid,
    .category-cards,
    .icon-grid { grid-template-columns: repeat(2, 1fr); }
    .decision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 17px; }
    h1, .guide-hero h1, .split-hero h1, .article-header h1 { font-size: 1.85rem; }
    h2 { font-size: 1.45rem; }
    .guide-hero, .split-hero { padding: 44px 18px; }
    main { padding: 28px 16px 4px; }

    .picks-grid,
    .related-grid,
    .category-cards,
    .icon-grid,
    .decision-grid,
    .qa-picks,
    .pros-cons,
    .pros-cons-grid,
    .dos-donts { grid-template-columns: 1fr; }

    .product-content { grid-template-columns: 1fr; }
    .product-mark { max-width: 220px; margin: 0 auto; }

    .quick-pick-content { flex-direction: column; text-align: center; }
    .quick-pick-mark { margin: 0 auto; }

    .author-box { flex-direction: column; text-align: center; }
    .hero-stats { gap: .9rem; }

    .site-header .sh-inner,
    .site-header .site-header-inner { justify-content: center; text-align: center; }
    .site-header nav { justify-content: center; }

    .dual-cta { flex-direction: column; }
    .dual-cta .cta-button { min-width: 0; width: 100%; }
}

@media (max-width: 480px) {
    h1, .guide-hero h1, .split-hero h1 { font-size: 1.55rem; }
    .subtitle { font-size: 1.05rem; }
    .brand, .logo { font-size: 1.14rem; }
    .cta-button, .pick-cta, .cta-a, .cta-b { width: 100%; }
}

/* Article hero image (added 2026-08-09) */
.post-hero-img{display:block;width:100%;max-width:900px;margin:0 auto 1.5rem;aspect-ratio:16/9;object-fit:cover;border-radius:16px;box-shadow:0 4px 18px rgba(20,40,80,.10);}
@media(max-width:768px){.post-hero-img{border-radius:12px;margin-bottom:1rem;}}
