/* ============================================================
   Provider Scale - Shared Design System
   Warm, approachable palette built for NDIS care sector.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    /* ── Core palette (warm amber + cream + white) ── */
    /* Note: CSS variable names kept as --purple* for backwards compatibility.
       The values are now warm amber/orange. One day rename the variables. */
    --purple: #EA580C;          /* Primary brand - deep amber */
    --purple-deep: #C2410C;     /* Hover / dark accents - darker amber */
    --purple-soft: #FB923C;     /* Secondary accent - soft orange */
    --purple-tint: #FFEDD5;     /* Section backgrounds - peach tint */
    --purple-faint: #FFF7ED;    /* Subtle backgrounds - very soft peach */

    --cream: #FEF7F0;           /* Warm alternating section */
    --amber: #F59E0B;           /* Urgency / highlight - golden yellow */
    --amber-tint: #FEF3C7;      /* Amber soft background */
    --yellow: #FBBF24;          /* Bright yellow accent */
    --coral: #FB7185;           /* Secondary highlight */

    --ink: #1F2937;             /* Primary text */
    --ink-soft: #4B5563;        /* Body text */
    --gray: #6B7280;            /* Secondary text */
    --gray-soft: #9CA3AF;       /* Muted text */
    --line: #E5E7EB;            /* Borders */
    --line-soft: #F3F4F6;       /* Soft dividers */

    --white: #FFFFFF;
    --off-white: #FAFAFA;

    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* ── Type scale ── */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ── Spacing ── */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 3px rgba(31, 41, 55, 0.06);
    --shadow-md: 0 4px 16px rgba(31, 41, 55, 0.08);
    --shadow-lg: 0 12px 40px rgba(31, 41, 55, 0.10);
    --shadow-purple: 0 12px 40px rgba(234, 88, 12, 0.25);
    --shadow-purple-lg: 0 20px 60px rgba(234, 88, 12, 0.30);
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
    background: linear-gradient(90deg, var(--purple), var(--purple-deep));
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.announce strong { font-weight: 800; }
.announce a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 37px;
    z-index: 99;
}

.nav-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}
.nav-logo {
    height: 44px;
    width: auto;
    display: block;
}
@media (max-width: 520px) {
    .nav-logo { height: 36px; }
}
/* Legacy text-brand classes kept for backwards compatibility */
.nav-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
}
.nav-brand span { color: var(--purple); }
.nav-motto {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--purple);
    margin-top: 4px;
}
@media (max-width: 520px) { .nav-motto { display: none; } }

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); font-weight: 600; }

/* ── Dropdown menu ── */
.nav-links .has-dropdown { position: relative; }
.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}
.dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s;
    margin-left: 2px;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 200;
    margin-top: 16px;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.nav-links .has-dropdown:hover .dropdown-menu,
.nav-links .has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}
.dropdown-menu li { display: block; }
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    border-radius: 0;
}
.dropdown-menu a:hover {
    background: var(--purple-tint);
    color: var(--purple);
}
.dropdown-menu a .dropdown-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    margin-top: 2px;
}
@media (max-width: 860px) {
    .dropdown-trigger::after { display: none; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 8px 0 8px 16px;
        background: transparent;
        margin-top: 4px;
        min-width: 0;
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu a { padding: 8px 12px; }
}

.nav-cta {
    background: var(--purple);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--r-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--purple-deep); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

@media (max-width: 860px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px 28px; border-bottom: 1px solid var(--line); gap: 16px; }
    .nav.open .nav-cta { display: inline-flex; margin: 20px 28px; justify-content: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}
.btn-primary:hover {
    background: var(--purple-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.btn-amber {
    background: var(--amber);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}
.btn-amber:hover {
    background: #D97706;
    transform: translateY(-2px);
}

.btn-lg { padding: 20px 40px; font-size: 16px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 96px 24px;
}
.section-alt { background: var(--cream); }
.section-tint { background: var(--purple-faint); }

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--purple);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 20px;
}
.section-title .hl { color: var(--purple); }

.section-sub {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 680px;
    margin-bottom: 56px;
}

.center-text .section-title,
.center-text .section-sub,
.center-text .eyebrow {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section { padding: 72px 20px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(180deg, var(--purple-faint) 0%, var(--white) 100%);
    padding: 80px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 24px;
}
.hero h1 .hl { color: var(--purple); }
.hero h1 .hl-amber { color: var(--amber); }

.hero p.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-trust-item svg { color: var(--success); }

/* Hero visual (image placeholder or graphic) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    max-width: 480px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
    color: var(--gray-soft);
    text-align: center;
    font-size: 13px;
}

/* Floating stat cards (decorative on hero) */
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    z-index: 2;
}

.float-card .emoji { font-size: 24px; }
.float-card.top-left { top: 40px; left: -20px; }
.float-card.bottom-right { bottom: 40px; right: -20px; }
.float-card .num {
    color: var(--purple);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    display: block;
}
.float-card .lbl { color: var(--gray); font-size: 11px; font-weight: 500; display: block; margin-top: 2px; letter-spacing: 0.5px; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .float-card.top-left { top: 10px; left: 0; }
    .float-card.bottom-right { bottom: 10px; right: 0; }
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-placeholder {
    background: var(--purple-faint);
    border: 2px dashed var(--purple-soft);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-align: center;
    padding: 28px;
    font-size: 13px;
    min-height: 240px;
    transition: border-color 0.2s;
}
.img-placeholder:hover { border-color: var(--purple); }
.img-placeholder strong {
    color: var(--purple);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-weight: 700;
}

/* ============================================================
   LOGO / TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--white);
    padding: 40px 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-stat {
    text-align: center;
}
.trust-stat .n {
    font-size: 36px;
    font-weight: 900;
    color: var(--purple);
    line-height: 1;
    letter-spacing: -1px;
}
.trust-stat .l {
    font-size: 13px;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   FEATURE GRID (what you get / why us)
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 36px 32px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: var(--purple-soft);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--purple-tint);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}
.feature-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

/* ============================================================
   SERVICE CARDS (the two-service overview on home)
   ============================================================ */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-2xl);
    padding: 44px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--purple);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--purple);
}
.service-card.amber::before { background: var(--amber); }

.service-tag {
    display: inline-block;
    background: var(--purple-tint);
    color: var(--purple);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    align-self: flex-start;
}
.service-card.amber .service-tag { background: var(--amber-tint); color: #92400E; }

.service-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--ink);
}

.service-card p.service-desc {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}
.service-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.5;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA580C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.service-price {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
}
.service-price strong { color: var(--ink); font-size: 20px; font-weight: 800; }
.service-price .strike { text-decoration: line-through; color: var(--gray-soft); margin-right: 8px; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    position: relative;
}
.process-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 36px 28px 28px;
    text-align: center;
    position: relative;
}

.process-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: var(--shadow-purple);
}
.process-step h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 16px 0 10px;
    color: var(--ink);
}
.process-step p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}
.process-step .timing {
    display: block;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 14px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.reviews-header .big-rating {
    font-size: 56px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -2px;
}
.reviews-header .stars-row { color: var(--amber); font-size: 22px; letter-spacing: 3px; }
.reviews-header .meta { color: var(--gray); font-size: 13px; margin-top: 4px; }

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tcard {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.tcard .stars {
    color: var(--amber);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.tcard .quote {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tcard .author {
    display: flex;
    gap: 14px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.tcard .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-tint);
    border: 2px dashed var(--purple-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.tcard .author-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.tcard .author-role { color: var(--gray); font-size: 12px; margin-top: 2px; }

/* ============================================================
   DEADLINE / URGENCY BAND
   ============================================================ */
.deadline-band {
    background: linear-gradient(135deg, var(--amber-tint) 0%, #FDE68A 100%);
    padding: 64px 24px;
    position: relative;
    overflow: hidden;
}
.deadline-band-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.deadline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #B91C1C;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.deadline-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.deadline-band h2 {
    font-size: clamp(26px, 3.8vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    color: #78350F;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.deadline-band p {
    color: #92400E;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 420px;
}
.count-block {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 18px 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.count-num {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 900;
    color: #78350F;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.count-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #92400E;
    letter-spacing: 1.5px;
    margin-top: 6px;
    text-transform: uppercase;
}

@media (max-width: 780px) {
    .deadline-band-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING CARD
   ============================================================ */
.price-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--purple);
    border-radius: var(--r-2xl);
    padding: 48px 44px;
    position: relative;
    box-shadow: var(--shadow-purple-lg);
}

.price-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: var(--white);
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: var(--shadow-purple);
}

.price-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}
.price-sub {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 32px;
}

.price-row {
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.price-was {
    font-size: 22px;
    color: var(--gray-soft);
    text-decoration: line-through;
}
.price-now {
    font-size: 64px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -2.5px;
}
.price-now .cur { font-size: 30px; vertical-align: top; margin-right: 2px; color: var(--purple); }

.price-meta {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 32px;
}
.price-meta .save { color: var(--success); font-weight: 700; }

.price-features {
    list-style: none;
    margin-bottom: 32px;
}
.price-features li {
    padding: 12px 0 12px 34px;
    position: relative;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 22px;
    height: 22px;
    background: var(--purple);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.price-card .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 18px;
}

.price-guarantee {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.price-guarantee svg { color: var(--success); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--purple-soft); }

.faq-q {
    width: 100%;
    padding: 20px 26px;
    background: transparent;
    border: none;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    gap: 16px;
}
.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--purple-tint);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--purple); color: var(--white); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 26px 22px; }

/* ============================================================
   CALLOUT (amber urgent band)
   ============================================================ */
.callout {
    background: linear-gradient(135deg, var(--purple-tint) 0%, var(--cream) 100%);
    border-radius: var(--r-2xl);
    padding: 56px 48px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.callout h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.callout h2 .hl { color: var(--purple); }
.callout p {
    color: var(--ink-soft);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #0F172A;
    color: var(--white);
    padding: 0 0 28px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1F2937;
    margin-bottom: 28px;
}
.footer-brand-col { max-width: 360px; }
.footer-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-brand span { color: var(--purple-soft); }
.footer-logo {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.footer-desc {
    color: #CBD5E1;
    font-size: 14px;
    line-height: 1.65;
    max-width: 340px;
    margin-bottom: 22px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1E293B;
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
    transform: translateY(-2px);
}

.footer-col h5,
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: #FFFFFF;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-col a:hover {
    color: #FED7AA;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: #94A3B8;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}
.footer-bottom a { color: #94A3B8; text-decoration: none; }
.footer-bottom a:hover { color: #FED7AA; }

/* Defensive: any footer link is readable, any footer list has no bullets */
footer a { color: #CBD5E1; text-decoration: none; }
footer a:hover { color: #FED7AA; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 11px; }
footer h4, footer h5 { color: #FFFFFF; }

@media (max-width: 1020px) {
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
    .footer-brand-col { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 640px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 420px) {
    .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG POST CARDS (for blog.html)
   ============================================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.post-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.post-card-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: inherit;
    text-decoration: none;
}
.post-thumb {
    aspect-ratio: 16/9;
    background: var(--purple-tint);
    overflow: hidden;
}
.post-thumb svg { display: block; width: 100%; height: 100%; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}
.post-cat {
    background: var(--purple-tint);
    color: var(--purple);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.post-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.post-excerpt {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}
.post-cta {
    color: var(--purple);
    font-weight: 700;
    font-size: 14px;
}

/* ============================================================
   RESOURCE CARDS (for resources.html)
   ============================================================ */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.resource-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 32px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.resource-icon {
    width: 56px;
    height: 56px;
    background: var(--purple-tint);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    margin-bottom: 20px;
}
.resource-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.resource-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.resource-desc {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}
.resource-card .btn { align-self: flex-start; }

/* Filter pills (for blog category filter, optional) */
.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-pill {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--purple); color: var(--purple); }
.filter-pill.active { background: var(--purple); color: var(--white); border-color: var(--purple); }

/* ============================================================
   ARTICLE / BLOG POST STYLING
   ============================================================ */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-header { padding: 60px 24px 30px; max-width: 780px; margin: 0 auto; text-align: center; }
.article-header .eyebrow { margin-bottom: 12px; }
.article-header h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; line-height: 1.15; letter-spacing: -0.8px; color: var(--ink); margin-bottom: 22px; }
.article-meta { display: inline-flex; gap: 16px; align-items: center; color: var(--gray); font-size: 14px; padding: 10px 18px; background: var(--purple-faint); border-radius: 100px; flex-wrap: wrap; justify-content: center; }
.article-meta-divider { color: var(--line); }
.article-hero-img { max-width: 900px; margin: 30px auto 0; padding: 0 24px; }
.article-hero-img > div { aspect-ratio: 16/9; border-radius: var(--r-2xl); overflow: hidden; background: var(--purple-tint); }
.article-hero-img svg { display: block; width: 100%; height: 100%; }

.article-body { padding: 50px 0 70px; }
.article-body p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; margin-bottom: 22px; }
.article-body h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: var(--ink); margin: 50px 0 20px; letter-spacing: -0.4px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 30px 0 12px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.article-body a:hover { color: var(--purple-deep); }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body li { color: var(--ink-soft); font-size: 17px; line-height: 1.75; margin-bottom: 10px; }
.article-body ul li::marker { color: var(--purple); }
.article-body ol li::marker { color: var(--purple); font-weight: 700; }

.lead-paragraph { font-size: 19px !important; color: var(--ink) !important; font-weight: 500; padding: 22px 26px; background: var(--purple-tint); border-radius: var(--r-md); border-left: 4px solid var(--purple); margin-bottom: 30px !important; }

.toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; margin: 30px 0 40px; }
.toc-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.toc ol { margin: 0 0 0 20px; counter-reset: toc; }
.toc li { font-size: 15px; line-height: 1.7; margin-bottom: 4px; }
.toc a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--purple); }

.pull-quote { border-left: 4px solid var(--amber); padding: 18px 24px; margin: 36px 0; font-size: 19px; color: var(--ink); font-weight: 600; line-height: 1.55; font-style: italic; background: var(--amber-tint); border-radius: 0 var(--r-md) var(--r-md) 0; }

.article-cta-box { background: linear-gradient(135deg, var(--purple-tint), var(--cream)); border-radius: var(--r-2xl); padding: 36px 32px; margin: 40px 0; text-align: center; }
.article-cta-box h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.article-cta-box p { font-size: 15px; color: var(--ink-soft); margin-bottom: 20px; }

.author-block { background: white; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; margin: 40px 0; display: flex; gap: 20px; align-items: center; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--purple); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; flex-shrink: 0; }
.author-info h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.author-info p { font-size: 14px; color: var(--gray); margin: 0; line-height: 1.5; }

.related-posts { background: var(--cream); padding: 60px 24px; }
.related-posts-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.related-post-card { background: white; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; text-decoration: none; color: inherit; transition: all 0.3s ease; display: block; }
.related-post-card:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.related-post-card .post-cat { margin-bottom: 10px; }
.related-post-card h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.related-post-card p { color: var(--gray); font-size: 13px; line-height: 1.5; margin: 0; }

/* ============================================================
   GALLERY & IMAGE SECTIONS
   ============================================================ */
.gallery-section { padding: 90px 24px; background: var(--white); }
.gallery-section.tinted { background: var(--cream); }
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.gallery-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.gallery-head .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); background: var(--purple-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.gallery-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }
.gallery-head h2 .hl { background: linear-gradient(120deg, var(--purple), var(--amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gallery-head p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

/* Image grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery-grid, .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid, .gallery-grid.cols-2, .gallery-grid.cols-4 { grid-template-columns: 1fr; } }

/* Asymmetric mosaic gallery */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery-mosaic .gitem { border-radius: var(--r-xl); overflow: hidden; position: relative; }
.gallery-mosaic .gitem.wide { grid-column: span 2; }
.gallery-mosaic .gitem.tall { grid-row: span 2; }
.gallery-mosaic .gitem.large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
    .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
    .gallery-mosaic .gitem.wide,
    .gallery-mosaic .gitem.tall,
    .gallery-mosaic .gitem.large { grid-column: span 1; grid-row: span 1; }
}

/* Gallery item card */
.gitem { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; position: relative; }
.gitem:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-soft); }
.gitem-image { width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--purple-tint), var(--cream)); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.gitem-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gitem-caption { padding: 16px 18px; }
.gitem-caption h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.gitem-caption p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.5; }

/* Image placeholder (when no image yet - drop in your photos) */
.img-placeholder { width: 100%; height: 100%; min-height: 220px; background: linear-gradient(135deg, var(--purple-tint) 0%, var(--cream) 50%, var(--amber-tint) 100%); border: 2px dashed var(--purple-soft); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--purple-deep); font-weight: 600; font-size: 14px; padding: 24px; text-align: center; transition: all 0.3s ease; position: relative; }
.img-placeholder:hover { border-color: var(--purple); background: linear-gradient(135deg, var(--purple-tint) 0%, var(--amber-tint) 100%); }
.img-placeholder svg { width: 40px; height: 40px; stroke: var(--purple); opacity: 0.65; }
.img-placeholder .ph-label { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; }
.img-placeholder .ph-hint { font-size: 11px; color: var(--gray); font-weight: 500; max-width: 220px; line-height: 1.4; }
.img-placeholder .ph-filename { font-family: 'SF Mono', Monaco, monospace; font-size: 11px; background: rgba(255,255,255,0.7); padding: 3px 8px; border-radius: 4px; color: var(--purple-deep); margin-top: 4px; }

/* Logo strip (client logos) */
.logo-strip { padding: 60px 24px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip-inner { max-width: 1200px; margin: 0 auto; }
.logo-strip-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 32px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-item { aspect-ratio: 3 / 1; background: var(--cream); border: 1px dashed var(--line); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 12px; font-size: 11px; color: var(--gray); font-weight: 600; text-align: center; transition: all 0.2s; overflow: hidden; }
.logo-item:hover { border-color: var(--purple-soft); color: var(--purple-deep); background: var(--purple-tint); }
.logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Single feature image - large hero-style */
.feature-image { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-2xl); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); margin: 32px 0; background: linear-gradient(135deg, var(--purple-tint), var(--amber-tint)); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-image-caption { display: block; text-align: center; font-size: 13px; color: var(--gray); margin-top: 12px; font-style: italic; }

/* Side-by-side image + content */
.image-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.image-block.reversed .image-block-image { order: 2; }
.image-block.reversed .image-block-content { order: 1; }
@media (max-width: 860px) { .image-block { grid-template-columns: 1fr; gap: 32px; padding: 60px 24px; } .image-block.reversed .image-block-image, .image-block.reversed .image-block-content { order: initial; } }
.image-block-image { aspect-ratio: 4 / 3; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.image-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-block-content .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); background: var(--purple-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.image-block-content h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em; }
.image-block-content p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }

/* Team photo grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1; border-radius: var(--r-2xl); overflow: hidden; margin-bottom: 16px; background: linear-gradient(135deg, var(--purple-tint), var(--cream)); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.team-role { font-size: 13px; color: var(--purple); font-weight: 600; }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 64px; }
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; }

/* ============================================================
   PROGRAMMATIC PAGE STYLES (glossary, faq, how-to, audits, etc.)
   ============================================================ */
.article-page { padding: 60px 24px 80px; background: var(--white); }
.article-inner { max-width: 800px; margin: 0 auto; }
.article-icon-badge { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--purple-tint), var(--amber-tint)); color: var(--purple-deep); padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 18px; }
.article-icon-badge svg { width: 16px; height: 16px; }
.article-page .breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.article-page .breadcrumb a { color: var(--purple); text-decoration: none; }
.article-page .breadcrumb a:hover { text-decoration: underline; }
.article-page .breadcrumb span { color: var(--ink); font-weight: 500; }
.article-page .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); background: var(--purple-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.article-page h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.article-page h1 .hl { background: linear-gradient(120deg, var(--purple), var(--amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.article-page .lede { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 36px; font-weight: 500; }
.article-page .answer-snippet { padding: 20px 24px; background: var(--purple-faint); border-left: 4px solid var(--purple); border-radius: 0 var(--r-md) var(--r-md) 0; font-weight: 500; }
.article-page .article-body { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.article-page .article-body h2 { font-size: 26px; font-weight: 700; color: var(--ink); margin: 36px 0 14px; letter-spacing: -0.01em; }
.article-page .article-body h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.article-page .article-body p { margin-bottom: 16px; }
.article-page .article-body ol, .article-page .article-body ul { margin: 16px 0 24px 24px; }
.article-page .article-body li { margin-bottom: 8px; }
.article-page .article-body strong { color: var(--ink); font-weight: 700; }
.article-page .article-meta { font-size: 13px; color: var(--gray); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

.steps, .how-to-steps { counter-reset: step; list-style: none !important; padding-left: 0 !important; }
.steps li, .how-to-steps li { counter-increment: step; padding: 14px 16px 14px 56px; background: var(--cream); border-radius: var(--r-md); margin-bottom: 10px; position: relative; }
.steps li::before, .how-to-steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

.audit-checklist { list-style: none !important; padding-left: 0 !important; }
.audit-checklist li { padding: 12px 16px 12px 44px; background: var(--cream); border-radius: var(--r-md); margin-bottom: 8px; position: relative; }
.audit-checklist li::before { content: ''; position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; border: 2px solid var(--purple); border-radius: 4px; background: white; }

.common-mistakes { list-style: none !important; padding-left: 0 !important; }
.common-mistakes li { padding: 12px 16px 12px 44px; background: #FEF2F2; border-left: 3px solid var(--danger); border-radius: 0 var(--r-md) var(--r-md) 0; margin-bottom: 8px; position: relative; color: var(--ink); }
.common-mistakes li::before { content: '!'; position: absolute; left: 16px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--danger); color: white; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }

.related-block { margin: 40px 0; padding: 28px; background: var(--purple-faint); border-radius: var(--r-xl); }
.related-block h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.related-list { list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.related-list li { margin-bottom: 8px !important; }
.related-list a { color: var(--purple); text-decoration: none; font-weight: 500; }
.related-list a:hover { text-decoration: underline; }
.related-list .g-def { color: var(--gray); font-weight: 400; font-size: 14px; }

.callout-section { padding: 40px 24px; }

/* Glossary index */
.g-section { margin: 32px 0; }
.g-letter { font-size: 36px; font-weight: 800; color: var(--purple); border-bottom: 2px solid var(--purple-tint); padding-bottom: 8px; margin-bottom: 16px; }
.g-list { list-style: none !important; padding-left: 0 !important; }
.g-list li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.g-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.g-list a:hover { color: var(--purple); }

.faq-index-list { list-style: none !important; padding-left: 0 !important; }
.faq-index-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq-index-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.faq-index-list a:hover { color: var(--purple); }
.faq-index-list .g-def { color: var(--gray); font-size: 14px; margin-top: 4px; }

/* ============================================================
   HUB INDEX PAGES (Glossary, FAQ, Calculators)
   ============================================================ */
.hub-hero { background: linear-gradient(180deg, var(--purple-faint) 0%, var(--cream) 100%); border-bottom: 1px solid var(--purple-tint); padding: 60px 24px 50px; position: relative; overflow: hidden; }
.hub-hero::before { content: ''; position: absolute; top: -150px; right: -150px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 146, 60, 0.18) 0%, transparent 70%); filter: blur(40px); pointer-events: none; }
.hub-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .hub-hero-inner { grid-template-columns: 1fr; gap: 32px; } .hub-hero-visual { order: -1; max-width: 320px; margin: 0 auto; } }
.hub-hero-text .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); background: var(--white); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(31,41,55,0.06); }
.hub-hero-text h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.hub-hero-text h1 .hl { background: linear-gradient(120deg, var(--purple), var(--amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hub-hero-text .lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 28px; max-width: 580px; }
.hub-hero-visual { display: flex; align-items: center; justify-content: center; }
.hub-hero-visual svg { width: 100%; max-width: 360px; height: auto; }

/* Hub search */
.hub-search { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; max-width: 540px; box-shadow: 0 4px 16px rgba(31,41,55,0.06); transition: all 0.2s; }
.hub-search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(234,88,12,0.12); }
.hub-search svg { stroke: var(--gray); flex-shrink: 0; }
.hub-search input { border: none; outline: none; font-size: 16px; font-family: inherit; flex: 1; background: transparent; color: var(--ink); padding: 6px 0; }
.hub-search input::placeholder { color: var(--gray); }
.hub-search .search-count { font-size: 13px; color: var(--purple); font-weight: 600; white-space: nowrap; }

/* Featured cards (glossary) */
.hub-featured { padding: 60px 24px 30px; background: var(--white); }
.hub-inner { max-width: 1200px; margin: 0 auto; }
.hub-featured h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.01em; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.featured-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; text-decoration: none; color: inherit; transition: all 0.2s ease; display: block; }
.featured-card:hover { border-color: var(--purple-soft); box-shadow: 0 8px 24px rgba(31,41,55,0.08); transform: translateY(-3px); }
.featured-card .featured-icon { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--purple-tint); color: var(--purple); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.featured-card .featured-icon svg { width: 18px; height: 18px; }
.featured-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.featured-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* A-Z nav */
.hub-az-nav { padding: 30px 24px; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 50; }
.az-nav-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.az-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: var(--r-sm); background: var(--white); color: var(--purple); font-weight: 700; font-size: 13px; text-decoration: none; border: 1px solid var(--purple-tint); transition: all 0.15s; }
.az-pill:hover { background: var(--purple); color: var(--white); }

/* Category pills (FAQ) */
.hub-cat-pills { padding: 24px; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-pill-row { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cat-pill { padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink-soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; }
.cat-pill:hover { border-color: var(--purple-soft); color: var(--purple); }
.cat-pill.active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.cat-pill .cat-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(234,88,12,0.12); color: var(--purple); font-size: 11px; font-weight: 700; }
.cat-pill.active .cat-count { background: rgba(255,255,255,0.22); color: var(--white); }

/* Glossary list (rebuilt) */
.g-section { margin: 40px 0; scroll-margin-top: 140px; }
.g-letter { font-size: 28px; font-weight: 800; color: var(--purple); border-bottom: 2px solid var(--purple-tint); padding-bottom: 6px; margin-bottom: 12px; }
.g-list { list-style: none !important; padding-left: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 4px 24px; }
.g-list li { padding: 0; border-bottom: 1px solid var(--line-soft); }
.g-list li a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); transition: color 0.15s; }
.g-list li a:hover { color: var(--purple); }
.g-list .g-term { display: block; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.g-list .g-def { display: block; color: var(--gray); font-weight: 400; font-size: 13px; line-height: 1.45; }
.g-list li a:hover .g-def { color: var(--ink-soft); }

/* FAQ category sections */
.faq-category { margin: 40px 0; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl); }
.faq-cat-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.faq-cat-icon { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--purple-tint); color: var(--purple); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-cat-icon svg { width: 22px; height: 22px; }
.faq-cat-header h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.faq-cat-count { font-size: 13px; color: var(--gray); margin: 2px 0 0; }
.faq-list { list-style: none !important; padding-left: 0 !important; }
.faq-item { padding: 0; border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-item a { display: block; padding: 16px 0; text-decoration: none; color: inherit; transition: padding 0.15s; }
.faq-item a:hover { padding-left: 8px; }
.faq-item .faq-q { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; line-height: 1.35; }
.faq-item a:hover .faq-q { color: var(--purple); }
.faq-item .faq-a { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Calculator hub sections + cards */
.calc-cat-section { margin: 40px 0; }
.calc-cat-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.calc-cat-icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--purple-tint); color: var(--purple); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.calc-cat-icon svg { width: 20px; height: 20px; }
.calc-cat-header h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.calc-cat-count { font-size: 13px; color: var(--gray); margin: 2px 0 0; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.calc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; text-decoration: none; color: inherit; transition: all 0.2s ease; display: flex; flex-direction: column; gap: 10px; }
.calc-card:hover { border-color: var(--purple); box-shadow: 0 12px 32px rgba(31,41,55,0.10); transform: translateY(-3px); }
.calc-card-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--purple-tint), var(--amber-tint)); color: var(--purple-deep); display: flex; align-items: center; justify-content: center; }
.calc-card-icon svg { width: 20px; height: 20px; }
.calc-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
.calc-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin: 0; flex: 1; }
.calc-card-cta { font-size: 13px; font-weight: 600; color: var(--purple); margin-top: 4px; }

/* ============================================================
   BLOG POSTS (programmatic)
   ============================================================ */
.blog-post { padding: 50px 24px 80px; background: var(--white); }
.blog-post-inner { max-width: 760px; margin: 0 auto; }
.blog-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px; color: var(--gray); }
.blog-meta-row time { font-weight: 500; }
.blog-meta-dot { color: var(--line); }
.blog-cat-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; background: var(--purple-tint); color: var(--purple-deep); }
.blog-cat-badge svg { width: 14px; height: 14px; }
.cat-registration { background: #FFEDD5; color: #C2410C; }
.cat-audit { background: #FED7AA; color: #9A3412; }
.cat-growth { background: #FEF3C7; color: #B45309; }
.cat-operations { background: #FFE4D5; color: #C2410C; }
.cat-service-type { background: #FFEDD5; color: #C2410C; }
.cat-reform { background: #FECACA; color: #B91C1C; }
.cat-pricing { background: #FEF3C7; color: #B45309; }

.blog-title { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.blog-intro { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 30px; font-weight: 500; }
.blog-hero-img { margin: 30px 0; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-md); }
.blog-hero-img svg { display: block; width: 100%; height: auto; }

.blog-author-strip { display: flex; align-items: center; gap: 14px; padding: 18px 0; margin: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blog-author-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.blog-author-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.blog-author-role { font-size: 13px; color: var(--gray); margin-top: 2px; }

.blog-body { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.blog-body h2 { font-size: 28px; font-weight: 800; color: var(--ink); margin: 44px 0 16px; letter-spacing: -0.015em; line-height: 1.2; }
.blog-body h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.blog-body p { margin-bottom: 18px; }
.blog-body strong { color: var(--ink); font-weight: 700; }
.blog-body ul, .blog-body ol { margin: 18px 0 24px 24px; }
.blog-body li { margin-bottom: 10px; padding-left: 4px; }
.blog-body ul li { list-style: none; position: relative; padding-left: 24px; }
.blog-body ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.blog-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.blog-body a:hover { color: var(--purple-deep); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0; }
.post-tag { padding: 6px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-soft); font-weight: 500; }

.related-posts-block { margin: 50px 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); }
.related-posts-block h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.rel-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.rel-post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; text-decoration: none; color: inherit; transition: all 0.2s; display: block; }
.rel-post-card:hover { border-color: var(--purple-soft); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(31,41,55,0.08); }
.rel-post-cat { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.rel-post-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.rel-post-card p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.5; }

/* Blog index card grid */
.blog-grid-section { padding: 40px 24px 60px; background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; text-decoration: none; color: inherit; transition: all 0.2s; display: flex; flex-direction: column; gap: 10px; }
.blog-card:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31,41,55,0.10); }
.blog-card-cat { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
.blog-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; flex: 1; }
.blog-card-meta { font-size: 12px; color: var(--gray); font-weight: 500; margin-top: 6px; }

/* Comparison pages */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0; }
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.compare-card h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.compare-card .compare-for { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; padding: 12px; background: var(--purple-faint); border-radius: var(--r-md); }
.compare-card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--purple); margin: 20px 0 10px; }
.compare-card ul { list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.compare-card ul li { padding: 8px 0 8px 24px; position: relative; font-size: 14px; line-height: 1.5; color: var(--ink-soft); border: none !important; }
.compare-card ul li::before { content: '✓'; position: absolute; left: 0; top: 8px; color: var(--success); font-weight: 700; }
.compare-card h3 + ul li::before { content: '·'; color: var(--gray); font-size: 18px; top: 5px; }

