/* ============================================================
   WebsiteMarketingDr.com - Main Stylesheet
   Palette: navy #0A1628, blue #1B6FE8, teal #0D9373, white #fff, off-white #F7F9FC
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:      #0A1628;
    --navy-mid:  #0F2040;
    --navy-soft: #1A2F4E;
    --blue:      #1B6FE8;
    --blue-light:#3D8BFF;
    --blue-dark: #1458C4;
    --teal:      #0D9373;
    --teal-light:#10B88E;
    --white:     #FFFFFF;
    --off-white: #F7F9FC;
    --gray-50:   #F8FAFC;
    --gray-100:  #EEF2F7;
    --gray-200:  #E2E8F0;
    --gray-400:  #94A3B8;
    --gray-600:  #64748B;
    --gray-800:  #1E293B;
    --text:      #1E293B;
    --text-light:#475569;

    --header-height: 64px;
    --max-width: 1200px;
    --max-width-narrow: 860px;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow:    0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);

    --font-sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.65;
}

html { font-size: var(--font-size-base); scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: var(--line-height);
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 400; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.5rem;
    border-radius: var(--radius);
    font-size: .9375rem;
    font-weight: 500;
    font-family: var(--font-sans);
    letter-spacing: -.01em;
    text-decoration: none;
    transition: background .18s, color .18s, box-shadow .18s, transform .1s;
    white-space: nowrap;
    cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--blue);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(27,111,232,.35);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
}
.btn--white:hover {
    background: var(--off-white);
    color: var(--navy);
}

.btn--nav-cta {
    background: var(--blue);
    color: var(--white);
    padding: .5rem 1.125rem;
    font-size: .875rem;
    margin-left: 1rem;
    flex-shrink: 0;
}
.btn--nav-cta:hover { background: var(--blue-dark); color: var(--white); }

.btn--footer-cta {
    background: var(--blue);
    color: var(--white);
    padding: .65rem 1.25rem;
    font-size: .875rem;
    margin-top: .75rem;
}
.btn--footer-cta:hover { background: var(--blue-dark); color: var(--white); }

.btn--lg { padding: .875rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--sm { padding: .4rem 1rem; font-size: .8125rem; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.02em;
}
.site-logo__word { color: var(--navy); }
.site-logo__tld  { color: var(--blue); }
.site-logo:hover .site-logo__word { color: var(--blue-dark); }

.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0;
}
.site-nav__list {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.site-nav__link {
    padding: .4rem .75rem;
    font-size: .875rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 0;
    transition: color .15s;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--navy); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle__bar {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0D2952 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(27,111,232,.18) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(13,147,115,.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 1rem;
}

.hero__headline {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 200;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero__subheadline {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero__trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1.5rem;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    color: rgba(255,255,255,.65);
}
.hero__trust-item .icon { width: 16px; height: 16px; color: var(--teal-light); flex-shrink: 0; }

/* Hero visual / browser mockup */
.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero__device {
    width: 100%;
    max-width: 480px;
    position: relative;
}
.hero__device-screen {
    background: #1a2f4e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
    position: relative;
}
.hero__device-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(27,111,232,.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.mock-browser {
    background: #fff;
    border-radius: calc(var(--radius-lg) - 2px);
    overflow: hidden;
}
.mock-browser__bar {
    background: #f0f2f5;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-bottom: 1px solid #e2e8f0;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot--red    { background: #FF5F57; }
.mock-dot--yellow { background: #FEBC2E; }
.mock-dot--green  { background: #28C840; }
.mock-browser__url {
    font-size: .6875rem;
    color: #64748b;
    background: #fff;
    border: 1px solid #dde1e8;
    border-radius: 4px;
    padding: .2rem .6rem;
    margin-left: .5rem;
    font-family: monospace;
}
.mock-browser__content { padding: 1rem; }
.mock-nav {
    height: 32px;
    background: var(--navy);
    border-radius: 4px;
    margin-bottom: 1rem;
}
.mock-hero {
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
}
.mock-hero__text { flex: 1; }
.mock-line {
    height: 10px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-bottom: .5rem;
}
.mock-line--h1 { height: 16px; background: var(--gray-400); width: 80%; }
.mock-line--sub { width: 90%; }
.mock-line.short { width: 60%; }
.mock-btn {
    height: 26px;
    width: 100px;
    background: var(--blue);
    border-radius: 4px;
    margin-top: .75rem;
    opacity: .85;
}
.mock-hero__card {
    width: 140px;
    flex-shrink: 0;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: .75rem;
}
.mock-card__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--blue);
    opacity: .35;
    margin-bottom: .5rem;
}
.mock-card__line {
    height: 8px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-bottom: .4rem;
}
.mock-card__line.short { width: 65%; }
.mock-card__badge {
    margin-top: .5rem;
    font-size: .5rem;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: .25rem;
    font-weight: 500;
}
.mock-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}
.mock-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .5rem;
}
.mock-feat {
    height: 40px;
    background: var(--gray-100);
    border-radius: 4px;
}

/* Floating badges */
.hero__floating-badge {
    position: absolute;
    background: var(--white);
    border-radius: 40px;
    padding: .45rem .85rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--navy);
    box-shadow: var(--shadow);
    white-space: nowrap;
    z-index: 2;
}
.hero__floating-badge .icon { width: 14px; height: 14px; color: var(--blue); }
.hero__floating-badge--top  { top: -12px; right: 10%; }
.hero__floating-badge--bottom { bottom: 12px; left: -20px; }

/* ── Pillars / Solutions ───────────────────────────────────── */
.pillars {
    padding: 5rem 1.5rem;
    background: var(--off-white);
}
.pillars__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.pillars__header {
    text-align: center;
    margin-bottom: 3rem;
}
.pillars__heading {
    font-size: clamp(1.625rem, 3.5vw, 2.375rem);
    color: var(--navy);
    margin-bottom: .75rem;
}
.pillars__subheading {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
}
.pillars__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: box-shadow .2s, transform .2s;
}
.pillar-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.pillar-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(27,111,232,.1), rgba(13,147,115,.08));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.pillar-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
    stroke: var(--blue);
}
.pillar-card__title {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .625rem;
    letter-spacing: -.01em;
}
.pillar-card__text {
    font-size: .9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ── Framework Steps ──────────────────────────────────────── */
.framework-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}
.framework-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.framework-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.framework-section__heading { color: var(--navy); margin-bottom: .75rem; }
.framework-section__subheading {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

.framework-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
    counter-reset: none;
}
.framework-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}
.framework-step:last-child { border-bottom: none; }

.framework-step__num {
    font-size: 2rem;
    font-weight: 200;
    color: var(--blue);
    letter-spacing: -.04em;
    line-height: 1;
    padding-top: .125rem;
    flex-shrink: 0;
}
.framework-step__title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .375rem;
    letter-spacing: -.01em;
}
.framework-step__text {
    font-size: .9375rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.65;
}
.framework-section__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ── Assessment Section ───────────────────────────────────── */
.assessment-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
    color: var(--white);
}
.assessment-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.assessment-section__heading {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    color: var(--white);
    font-weight: 300;
    margin-bottom: 1rem;
}
.assessment-section__intro {
    color: rgba(255,255,255,.75);
    margin-bottom: 1.25rem;
}
.assessment-section__list {
    margin-bottom: 2rem;
}
.assessment-section__list li {
    padding: .375rem 0;
    color: rgba(255,255,255,.8);
    font-size: .9375rem;
    display: flex;
    align-items: center;
    gap: .625rem;
}
.assessment-section__list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-light);
    flex-shrink: 0;
}

/* Assessment checklist visual */
.assessment-checklist {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}
.assessment-checklist__item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .9375rem;
    color: var(--text-light);
}
.assessment-checklist__item:last-child { border-bottom: none; }
.assessment-checklist__item.is-checked { color: var(--text); }
.icon--sm { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Closing CTA ──────────────────────────────────────────── */
.closing-cta {
    padding: 6rem 1.5rem;
    background: var(--navy);
    text-align: center;
}
.closing-cta__inner {
    max-width: 640px;
    margin: 0 auto;
}
.closing-cta__heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 200;
    color: var(--white);
    letter-spacing: -.03em;
    margin-bottom: 1.25rem;
}
.closing-cta__text {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ── Page wrapper (inner pages) ────────────────────────────── */
.page-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.page-wrapper--article { grid-template-columns: 1fr 300px; }
.page-wrapper--narrow  { max-width: var(--max-width-narrow); grid-template-columns: 1fr; }
.page-wrapper--centered { text-align: center; grid-template-columns: 1fr; }

.page-body {
    min-width: 0;
}
.page-body h1 { margin-bottom: 1.25rem; }
.page-body h2 { margin-top: 2.5rem; margin-bottom: .875rem; }
.page-body h3 { margin-top: 1.75rem; margin-bottom: .625rem; }
.page-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.page-body li { margin-bottom: .35rem; }
.page-body p { color: var(--text-light); }

.page-intro { margin-bottom: 2rem; }

/* ── Article body ─────────────────────────────────────────── */
.article-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.article-title { margin-bottom: .75rem; }
.article-excerpt { font-size: 1.125rem; color: var(--text-light); margin-bottom: 1rem; }
.article-meta { font-size: .875rem; color: var(--gray-400); }
.article-content { font-size: 1.0625rem; line-height: 1.75; color: var(--text-light); }
.article-content h2, .article-content h3 { color: var(--navy); margin-top: 2rem; margin-bottom: .75rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: .4rem; }
.article-footer { margin-top: 3rem; }

/* ── Sidebar ──────────────────────────────────────────────── */
.article-sidebar { position: sticky; top: calc(var(--header-height) + 1.5rem); }
.sidebar-block {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-block--cta {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.sidebar-block--cta h3 { color: var(--white); margin-bottom: .5rem; }
.sidebar-block--cta p { color: rgba(255,255,255,.7); margin-bottom: .75rem; font-size: .9375rem; }
.sidebar-block__heading {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
}
.sidebar-block__list li { margin-bottom: .5rem; }
.sidebar-block__list a { font-size: .9375rem; color: var(--text-light); }
.sidebar-block__list a:hover { color: var(--blue); }

/* ── Article grid (listing) ─────────────────────────────── */
.article-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.article-card {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card__title { font-size: 1.0625rem; margin-bottom: .625rem; }
.article-card__title a { color: var(--navy); }
.article-card__title a:hover { color: var(--blue); }
.article-card__excerpt { font-size: .9375rem; color: var(--text-light); margin-bottom: .875rem; }
.article-card__date { font-size: .8125rem; color: var(--gray-400); display: block; margin-bottom: .75rem; }
.article-card__link { font-size: .875rem; color: var(--blue); font-weight: 500; }

/* ── Framework grid (frameworks page) ────────────────────── */
.framework-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin: 2rem 0;
}
.framework-card {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow .2s, transform .2s;
}
.framework-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.framework-card h2 { font-size: 1.0625rem; margin-bottom: .625rem; }
.framework-card h2 a { color: var(--navy); }
.framework-card h2 a:hover { color: var(--blue); }
.framework-card p { font-size: .9375rem; color: var(--text-light); margin: 0; }

/* ── Contact form ─────────────────────────────────────────── */
.contact-form {
    max-width: 580px;
    margin-top: 1.5rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: .4rem;
}
.required { color: var(--blue); }
.form-group input,
.form-group textarea,
.form-group select {
    display: block;
    width: 100%;
    padding: .65rem .875rem;
    font-size: .9375rem;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    transition: border-color .15s, box-shadow .15s;
    line-height: 1.5;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27,111,232,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: .9375rem;
}
.alert--success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert--error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ── Inline CTA ───────────────────────────────────────────── */
.inline-cta {
    background: linear-gradient(135deg, var(--navy-soft), var(--navy-mid));
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    color: var(--white);
}
.inline-cta h3 {
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1rem;
}

/* ── Glossary ─────────────────────────────────────────────── */
.glossary-nav { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 2rem; }
.glossary-nav__letter {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 4px;
    font-size: .8125rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--text);
    transition: background .15s, color .15s;
}
.glossary-nav__letter:hover { background: var(--blue); color: var(--white); }
.glossary-group { margin-bottom: 2rem; }
.glossary-group__letter {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: .875rem;
    padding-bottom: .375rem;
    border-bottom: 2px solid var(--gray-100);
}
.glossary-group__list li { margin-bottom: .4rem; font-size: .9375rem; }
.glossary-group__list a { color: var(--text); }
.glossary-group__list a:hover { color: var(--blue); }
.glossary-short-def { color: var(--gray-400); }
.glossary-term__short { font-size: 1.125rem; color: var(--text-light); margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: var(--off-white); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.glossary-term__also-known { font-size: .875rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.glossary-term__full { margin-bottom: 2rem; }
.glossary-term__nav { margin-top: 2rem; }
.glossary-term__nav a { color: var(--blue); }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs {
    font-size: .875rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--blue); }

/* ── 404 error ────────────────────────────────────────────── */
.error-page { padding: 4rem 0; }
.error-page__code { font-size: 6rem; font-weight: 200; color: var(--gray-200); letter-spacing: -.04em; line-height: 1; margin-bottom: .5rem; }
.error-page__heading { margin-bottom: 1rem; }
.error-page__text { color: var(--text-light); margin-bottom: 2rem; }
.error-page__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.error-page__links ul { list-style: disc; text-align: left; display: inline-block; }
.error-page__links li { margin-bottom: .5rem; }
.error-page__links a { color: var(--blue); }

/* ── Empty state ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--text-light); }
.empty-state h2 { margin-bottom: .75rem; color: var(--navy); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.65);
}
.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -.02em;
    margin-bottom: .375rem;
}
.site-footer__tagline {
    font-size: .8125rem;
    color: rgba(255,255,255,.5);
    margin-bottom: .75rem;
}
.site-footer__desc {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    margin: 0;
    line-height: 1.6;
}
.site-footer__col-heading {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 1rem;
}
.site-footer__links { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__links a {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .15s;
}
.site-footer__links a:hover { color: var(--white); }
.site-footer__cta-text { font-size: .875rem; color: rgba(255,255,255,.55); margin-bottom: 0; }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .8125rem;
    color: rgba(255,255,255,.35);
}
.site-footer__admin-link { color: inherit; text-decoration: none; }
.site-footer__admin-link:hover { color: rgba(255,255,255,.5); }
.site-footer__legal { display: flex; gap: 1.25rem; }
.site-footer__legal a { color: rgba(255,255,255,.35); }
.site-footer__legal a:hover { color: rgba(255,255,255,.6); }

/* ── Admin styles ─────────────────────────────────────────── */
.admin-wrap {
    min-height: 100vh;
    background: #0d1117;
    color: #e6edf3;
    font-size: .9375rem;
}
.admin-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 0 1.5rem;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-header__brand { font-size: .875rem; font-weight: 600; color: #e6edf3; margin-right: auto; }
.admin-header__nav { display: flex; gap: 1.5rem; }
.admin-header__nav a { font-size: .8125rem; color: #8b949e; text-decoration: none; }
.admin-header__nav a:hover,
.admin-header__nav a.is-active { color: #e6edf3; }
.admin-header__user { font-size: .8125rem; color: #8b949e; }
.admin-header__logout { font-size: .8125rem; color: #8b949e; text-decoration: none; margin-left: .75rem; }
.admin-header__logout:hover { color: #e6edf3; }

.admin-main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.admin-page-title { font-size: 1.375rem; font-weight: 500; color: #e6edf3; margin-bottom: 2rem; letter-spacing: -.02em; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.admin-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}
.admin-card__label { font-size: .75rem; color: #8b949e; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .375rem; }
.admin-card__value { font-size: 2rem; font-weight: 300; color: #e6edf3; letter-spacing: -.03em; }

.admin-section-title { font-size: .9375rem; font-weight: 600; color: #e6edf3; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #30363d; }
.admin-table { width: 100%; border-collapse: collapse; background: #161b22; border: 1px solid #30363d; border-radius: 8px; overflow: hidden; }
.admin-table th { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: #8b949e; padding: .75rem 1rem; background: #0d1117; text-align: left; border-bottom: 1px solid #30363d; }
.admin-table td { padding: .75rem 1rem; border-bottom: 1px solid #21262d; font-size: .875rem; color: #c9d1d9; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table a { color: #58a6ff; text-decoration: none; }
.admin-table a:hover { text-decoration: underline; }

.admin-form { max-width: 500px; }
.admin-form .form-group { margin-bottom: 1.25rem; }
.admin-form label { display: block; font-size: .8125rem; font-weight: 500; color: #8b949e; margin-bottom: .35rem; }
.admin-form input, .admin-form textarea, .admin-form select {
    display: block; width: 100%; padding: .55rem .75rem;
    font-size: .875rem; font-family: var(--font-sans);
    color: #e6edf3; background: #0d1117;
    border: 1px solid #30363d; border-radius: 6px;
    transition: border-color .15s;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus {
    outline: none; border-color: #58a6ff; box-shadow: 0 0 0 3px rgba(88,166,255,.12);
}
.admin-form textarea { resize: vertical; min-height: 80px; }

.admin-alert { padding: .75rem 1rem; border-radius: 6px; margin-bottom: 1.25rem; font-size: .875rem; }
.admin-alert--success { background: rgba(46,160,67,.15); color: #56d364; border: 1px solid rgba(46,160,67,.3); }
.admin-alert--error   { background: rgba(248,81,73,.12); color: #f85149; border: 1px solid rgba(248,81,73,.3); }

.admin-btn { display: inline-flex; align-items: center; gap: .375rem; padding: .5rem 1.125rem; border-radius: 6px; font-size: .875rem; font-weight: 500; font-family: var(--font-sans); cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: background .15s, color .15s; }
.admin-btn--primary { background: #238636; color: #fff; border-color: #2ea043; }
.admin-btn--primary:hover { background: #2ea043; color: #fff; }
.admin-btn--danger  { background: transparent; color: #f85149; border-color: #f8514933; }
.admin-btn--danger:hover  { background: rgba(248,81,73,.12); }
.admin-btn--ghost   { background: transparent; color: #8b949e; border-color: #30363d; }
.admin-btn--ghost:hover   { background: #21262d; color: #e6edf3; }

.admin-login-wrap {
    min-height: 100vh;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-login-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
}
.admin-login-title { font-size: 1.25rem; font-weight: 400; color: #e6edf3; margin-bottom: 1.75rem; text-align: center; }
.admin-login-brand { font-size: .875rem; color: #8b949e; text-align: center; margin-bottom: 1.75rem; }

/* ── Utilities ────────────────────────────────────────────── */
.text-muted { color: var(--gray-400); }
.icon { display: inline-block; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero__visual { order: -1; }
    .hero__device { max-width: 400px; }
    .assessment-section__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero__floating-badge--bottom { left: 0; }
}

@media (max-width: 768px) {
    :root { --header-height: 56px; }

    .nav-toggle { display: flex; }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform .25s ease;
        border-top: 1px solid var(--gray-200);
        overflow-y: auto;
        margin-left: 0;
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__link {
        display: block;
        padding: .875rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-100);
    }
    .btn--nav-cta {
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .hero__inner { padding: 3rem 1.5rem; }
    .hero__visual { display: none; }
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { width: 100%; justify-content: center; }

    .pillars__grid { grid-template-columns: 1fr; }
    .framework-step { grid-template-columns: 48px 1fr; gap: 1rem; }
    .framework-step__num { font-size: 1.5rem; }

    .page-wrapper { grid-template-columns: 1fr; padding: 2rem 1rem 3rem; }
    .article-sidebar { display: none; }
    .assessment-section__visual { display: none; }

    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }

    .admin-cards { grid-template-columns: repeat(2, 1fr); }
    .admin-header__nav { display: none; }
}

@media (max-width: 480px) {
    .hero__trust-strip { flex-direction: column; gap: .5rem; }
    .error-page__actions { flex-direction: column; align-items: center; }
    .admin-cards { grid-template-columns: 1fr; }
}
