/* ==========================================================================
   Incipit ConsultEdge — Public Design System ("Pro" · Dark Navy + Amber)
   Bootstrap 5.3 · Single source of truth for every public page
   ========================================================================== */

:root {
    --ce-bg: #0a0e17;
    --ce-bg-alt: #0c1220;
    --ce-surface: #111a2b;
    --ce-surface-2: #162134;
    --ce-surface-3: #1c2a42;
    --ce-line: rgba(148, 163, 184, .14);
    --ce-line-soft: rgba(148, 163, 184, .08);
    --ce-ink: #e8eef8;
    --ce-body: #c2cdde;
    --ce-muted: #93a0b6;
    --ce-faint: #64708a;
    --ce-navy: #0b1120;
    --ce-accent: #f5a623;
    --ce-accent-2: #fb923c;
    --ce-accent-ink: #1a1304;
    --ce-accent-soft: rgba(245, 166, 35, .12);
    --ce-accent-glow: rgba(245, 166, 35, .35);
    --ce-teal: #3ad5c0;
    --ce-teal-soft: rgba(58, 213, 192, .12);
    --ce-success: #34d399;
    --ce-info: #5ab0ff;
    --ce-danger: #fb7185;
    --ce-grad: linear-gradient(135deg, #0c1424 0%, #101c34 55%, #162642 100%);
    --ce-grad-accent: linear-gradient(135deg, #f5a623 0%, #fb923c 100%);
    --ce-radius: 18px;
    --ce-radius-sm: 12px;
    --ce-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --ce-font-display: 'Inter Tight', 'Inter', 'Segoe UI', system-ui, sans-serif;
    --ce-ease: cubic-bezier(.22, .61, .36, 1);
    --ce-shadow: 0 18px 45px -18px rgba(2, 6, 16, .7);
    --ce-shadow-lg: 0 30px 70px -25px rgba(2, 6, 16, .85);
    --ce-gutter: 1.5rem;
}

/* ---------- Base ---------- */

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

body {
    background-color: var(--ce-bg);
    color: var(--ce-body);
    font-family: var(--ce-font);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--ce-font-display);
    color: var(--ce-ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; }

p { margin-bottom: 1rem; }
a { color: var(--ce-accent); text-decoration: none; transition: color .2s var(--ce-ease); }
a:hover { color: var(--ce-accent-2); }
strong { color: var(--ce-ink); font-weight: 600; }

::selection { background: rgba(245, 166, 35, .28); color: var(--ce-ink); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ce-bg); }
::-webkit-scrollbar-thumb { background: #24334d; border-radius: 8px; border: 2px solid var(--ce-bg); }
::-webkit-scrollbar-thumb:hover { background: #31446a; }

img { max-width: 100%; }

/* ---------- Layout helpers ---------- */

.ce-section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }
.ce-section-sm { padding: clamp(2.5rem, 4vw, 3.75rem) 0; }
.ce-section-alt { background: var(--ce-bg-alt); }
.ce-section-surface { background: var(--ce-surface); }
.ce-section-line { border-top: 1px solid var(--ce-line-soft); }
.ce-section-line-both { border-top: 1px solid var(--ce-line-soft); border-bottom: 1px solid var(--ce-line-soft); }

.ce-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    z-index: 0;
}
.ce-glow-amber { background: radial-gradient(circle, rgba(245,166,35,.22), transparent 65%); }
.ce-glow-navy { background: radial-gradient(circle, rgba(90,176,255,.12), transparent 65%); }
.ce-glow-teal { background: radial-gradient(circle, rgba(58,213,192,.14), transparent 65%); }

.ce-container > * { position: relative; z-index: 1; }

/* ---------- Eyebrow / section headers ---------- */

.ce-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ce-accent);
    margin-bottom: 1.1rem;
}
.ce-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--ce-grad-accent);
    border-radius: 2px;
}

.ce-section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.ce-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.ce-section-head.center .ce-eyebrow::after {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--ce-grad-accent);
    border-radius: 2px;
}
.ce-section-title { margin-bottom: .9rem; }
.ce-section-sub { color: var(--ce-muted); font-size: 1.06rem; margin-bottom: 0; }
.ce-section-head.center .ce-section-sub { margin-left: auto; margin-right: auto; max-width: 640px; }

/* ---------- Buttons ---------- */

.ce-btn {
    --bs-btn-padding-y: .78rem;
    --bs-btn-padding-x: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.4;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all .25s var(--ce-ease);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.ce-btn:focus-visible { outline: 2px solid var(--ce-accent); outline-offset: 3px; }

.ce-btn-amber {
    background: var(--ce-grad-accent);
    color: var(--ce-accent-ink);
    box-shadow: 0 12px 30px -10px var(--ce-accent-glow);
}
.ce-btn-amber:hover { color: #171006; transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--ce-accent-glow); }

.ce-btn-outline {
    border-color: var(--ce-line);
    color: var(--ce-ink);
    background: rgba(17, 26, 43, .35);
}
.ce-btn-outline:hover { border-color: var(--ce-accent); color: var(--ce-accent); transform: translateY(-2px); }

.ce-btn-ghost { color: var(--ce-body); border-color: transparent; }
.ce-btn-ghost:hover { color: var(--ce-accent); }

.ce-btn-light {
    background: #eef3fb;
    color: #0c1220;
}
.ce-btn-light:hover { background: #fff; color: #0c1220; transform: translateY(-2px); }

.ce-btn-sm { padding: .52rem 1.15rem; font-size: .85rem; }
.ce-btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.ce-btn-block { width: 100%; }
.ce-btn i { font-size: .9em; }

/* ---------- Header / Nav ---------- */

.ce-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    transition: all .35s var(--ce-ease);
    padding: 1.1rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
}
.ce-nav.is-scrolled {
    padding: .55rem 0;
    background: rgba(8, 12, 20, .88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--ce-line-soft);
    box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.ce-nav.is-solid {
    background: var(--ce-bg-alt);
    border-bottom-color: var(--ce-line-soft);
}

.ce-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.ce-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.ce-brand img { height: 42px; width: auto; }
.ce-brand span { color: var(--ce-ink); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }

.ce-nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.ce-nav-links > li > a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .8rem;
    color: var(--ce-body);
    font-size: .92rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: color .2s var(--ce-ease), background .2s var(--ce-ease);
}
.ce-nav-links > li > a:hover { color: var(--ce-ink); background: rgba(148,163,184,.08); }
.ce-nav-links > li > a.is-active { color: var(--ce-accent); }
.ce-nav-caret { font-size: .68rem; opacity: .6; transition: transform .25s var(--ce-ease); }
.ce-nav-item:hover > a .ce-nav-caret,
.ce-nav-item.is-open > a .ce-nav-caret { transform: rotate(180deg); }

.ce-nav-cta { display: flex; align-items: center; gap: .75rem; }

.ce-nav-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ce-line);
    border-radius: 12px;
    background: transparent;
    color: var(--ce-ink);
    cursor: pointer;
    transition: all .25s var(--ce-ease);
}
.ce-nav-toggle:hover { border-color: var(--ce-accent); color: var(--ce-accent); }

.ce-nav-mobile {
    display: none;
    padding: .5rem 0 1.25rem;
    border-top: 1px solid var(--ce-line-soft);
    margin-top: 1rem;
}
.ce-nav-mobile.is-open { display: block; }
.ce-nav-mobile ul { list-style: none; margin: 0 0 1rem; padding: .5rem 0 0; }
.ce-nav-mobile a {
    display: block;
    padding: .72rem .9rem;
    color: var(--ce-body);
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
}
.ce-nav-mobile a:hover { color: var(--ce-accent); background: rgba(148,163,184,.07); }
.ce-nav-mobile a.is-active { color: var(--ce-accent); }
.ce-nav-mobile .ce-btn { width: 100%; }

@media (max-width: 991.98px) {
    .ce-nav-links, .ce-nav-cta .ce-btn-ghost { display: none; }
    .ce-nav-toggle { display: inline-flex; }
    .ce-nav.is-scrolled .ce-nav-mobile.is-open { display: block; }
}

/* ---------- Mega menu (desktop) ---------- */

.ce-nav-item { position: relative; }

.ce-mega {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: min(960px, 92vw);
    padding: 1.4rem;
    border-radius: var(--ce-radius);
    background: rgba(17, 26, 43, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--ce-line);
    box-shadow: var(--ce-shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s var(--ce-ease), transform .28s var(--ce-ease), visibility .28s;
    z-index: 1040;
}
.ce-nav-item:hover > .ce-mega,
.ce-nav-item:focus-within > .ce-mega,
.ce-nav-item.is-open > .ce-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.ce-mega-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; }
.ce-mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.ce-mega-link {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .7rem .8rem;
    border-radius: var(--ce-radius-sm);
    text-decoration: none;
    transition: background .2s var(--ce-ease);
}
.ce-mega-link:hover { background: var(--ce-bg-alt); }
.ce-mega-link i {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ce-accent-soft);
    color: var(--ce-accent);
    font-size: .95rem;
}
.ce-mega-link small { display: block; font-size: .78rem; color: var(--ce-faint); line-height: 1.35; }
.ce-mega-link strong { display: block; font-size: .92rem; font-weight: 600; color: var(--ce-ink); }
.ce-mega-link:hover strong { color: var(--ce-accent); }

.ce-mega-rail {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: .9rem;
    border-radius: var(--ce-radius-sm);
    background: var(--ce-grad);
    color: #e8eef7;
}
.ce-mega-rail h4 { color: #ffffff; font-size: 1rem; margin-bottom: .3rem; }
.ce-mega-rail p { color: rgba(232, 238, 247, .78); font-size: .86rem; margin: 0 0 .8rem; }
.ce-mega-rail .ce-btn { align-self: flex-start; }
.ce-mega-rail-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.ce-mega-rail-links a { color: #dbe4f0; font-size: .9rem; font-weight: 500; }
.ce-mega-rail-links a:hover { color: var(--ce-accent-2); }

.ce-mega-foot {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ce-line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .84rem;
    color: var(--ce-faint);
}
.ce-mega-foot a { color: var(--ce-accent); font-weight: 600; }

/* ---------- Mobile sub-nav ---------- */

.ce-caret { font-size: .7rem; opacity: .6; transition: transform .25s var(--ce-ease); }

.ce-nav-mobile .ce-mobile-sub { display: none; padding: .2rem 0 .6rem .9rem; }
.ce-nav-mobile .ce-mobile-sub.is-open { display: block; }
.ce-nav-mobile .ce-mobile-sub a { display: block; padding: .55rem .9rem; color: var(--ce-muted); font-size: .92rem; border-radius: 10px; }
.ce-nav-mobile .ce-mobile-sub a:hover { color: var(--ce-accent); background: rgba(148,163,184,.07); }
.ce-nav-mobile .ce-mobile-sub .ce-mobile-sub-head { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ce-faint); padding: .7rem .9rem .2rem; }

/* ---------- Skip link ---------- */

.ce-skip-link {
    position: absolute;
    top: -48px;
    left: 1rem;
    z-index: 1100;
    padding: .6rem 1rem;
    border-radius: 10px;
    background: var(--ce-accent);
    color: var(--ce-accent-ink);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: top .2s var(--ce-ease);
}
.ce-skip-link:focus { top: 1rem; color: var(--ce-accent-ink); }

/* ---------- Hero (home) ---------- */

.ce-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 5rem;
    overflow: hidden;
    background: var(--ce-grad);
}
.ce-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.ce-hero::after {
    content: "";
    position: absolute;
    top: -30%; right: -15%;
    width: 55vw; height: 55vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.14), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}
.ce-hero .ce-container { position: relative; z-index: 2; width: 100%; }

.ce-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(245,166,35,.35);
    background: var(--ce-accent-soft);
    color: #ffd08a;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.5rem;
}
.ce-hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ce-accent); box-shadow: 0 0 0 0 rgba(245,166,35,.5); animation: ce-pulse 2.2s infinite; }

@keyframes ce-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245,166,35,.45); }
    70% { box-shadow: 0 0 0 9px rgba(245,166,35,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

.ce-hero-title {
    font-size: clamp(2.5rem, 5.4vw, 4.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin-bottom: 1.4rem;
    max-width: 820px;
}
.ce-hero-title .grad {
    background: var(--ce-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.ce-hero-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: var(--ce-muted);
    max-width: 620px;
    margin-bottom: 2.1rem;
}
.ce-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.ce-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 2.6rem;
    margin-top: 2.9rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--ce-line-soft);
}
.ce-hero-proof .item { display: flex; flex-direction: column; }
.ce-hero-proof .num { font-family: var(--ce-font-display); font-weight: 800; font-size: 1.55rem; color: var(--ce-ink); line-height: 1.1; }
.ce-hero-proof .num em { font-style: normal; color: var(--ce-accent); }
.ce-hero-proof .lbl { font-size: .82rem; color: var(--ce-faint); margin-top: .2rem; }

/* ---------- Page hero (inner pages) ---------- */

.ce-page-hero {
    position: relative;
    padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(2.6rem, 5vw, 4.2rem);
    background: var(--ce-grad);
    overflow: hidden;
    border-bottom: 1px solid var(--ce-line-soft);
}
.ce-page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 78%);
}
.ce-page-hero::after {
    content: "";
    position: absolute;
    top: -35%; right: -12%;
    width: 44vw; height: 44vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.12), transparent 62%);
    filter: blur(70px);
    pointer-events: none;
}
.ce-page-hero .ce-container { position: relative; z-index: 2; }

.ce-page-hero h1 { margin-bottom: .9rem; max-width: 860px; }
.ce-page-hero .lead { color: var(--ce-muted); font-size: 1.1rem; max-width: 680px; margin-bottom: 0; }
.ce-page-hero .ce-eyebrow { margin-bottom: 1rem; }

/* ---------- Breadcrumb ---------- */

.ce-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    font-size: .83rem;
    color: var(--ce-faint);
}
.ce-crumb li { display: inline-flex; align-items: center; gap: .45rem; }
.ce-crumb li:not(:last-child)::after { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem; color: var(--ce-faint); opacity: .6; }
.ce-crumb a { color: var(--ce-muted); }
.ce-crumb a:hover { color: var(--ce-accent); }
.ce-crumb .current { color: var(--ce-ink); }

/* ---------- Cards ---------- */

.ce-card {
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius);
    padding: 1.75rem;
    height: 100%;
    position: relative;
    transition: transform .3s var(--ce-ease), border-color .3s var(--ce-ease), background .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
    overflow: hidden;
}
.ce-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--ce-grad-accent);
    opacity: 0;
    transition: opacity .3s var(--ce-ease);
}
.ce-card:hover { transform: translateY(-5px); border-color: rgba(245,166,35,.3); box-shadow: var(--ce-shadow); }
.ce-card:hover::before { opacity: 1; }

.ce-card-icon {
    width: 54px; height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.35rem;
    color: var(--ce-accent);
    background: var(--ce-accent-soft);
    margin-bottom: 1.25rem;
    transition: transform .3s var(--ce-ease);
}
.ce-card:hover .ce-card-icon { transform: scale(1.06) rotate(-3deg); }
.ce-card-title { font-size: 1.12rem; margin-bottom: .6rem; }
.ce-card-text { color: var(--ce-muted); font-size: .94rem; margin-bottom: 0; }

.ce-card-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.1rem;
    font-weight: 600;
    font-size: .88rem;
    color: var(--ce-accent);
}
.ce-card-link i { font-size: .75rem; transition: transform .25s var(--ce-ease); }
.ce-card:hover .ce-card-link i { transform: translateX(4px); }

.ce-card-flat { border: none; background: var(--ce-surface); }
.ce-card-ghost { background: transparent; border-color: var(--ce-line-soft); }

/* ---------- Numbered / feature rows ---------- */

.ce-feature { display: flex; gap: 1.15rem; align-items: flex-start; }
.ce-feature-num {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--ce-font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--ce-accent);
    background: var(--ce-accent-soft);
    border: 1px solid rgba(245,166,35,.22);
}
.ce-feature h4 { margin-bottom: .35rem; font-size: 1.06rem; }
.ce-feature p { color: var(--ce-muted); font-size: .93rem; margin-bottom: 0; }

/* ---------- Division cards (home) ---------- */

.ce-div-card {
    position: relative;
    border-radius: var(--ce-radius);
    border: 1px solid var(--ce-line-soft);
    background: var(--ce-surface);
    padding: 2rem 1.75rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .3s var(--ce-ease), border-color .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
}
.ce-div-card::before {
    content: "";
    position: absolute;
    top: -70px; right: -70px;
    width: 170px; height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.14), transparent 65%);
    transition: transform .4s var(--ce-ease);
}
.ce-div-card:hover { transform: translateY(-6px); border-color: rgba(245,166,35,.35); box-shadow: var(--ce-shadow-lg); }
.ce-div-card:hover::before { transform: scale(1.5); }

.ce-div-icon {
    width: 62px; height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    background: var(--ce-accent-soft);
    color: var(--ce-accent);
    border: 1px solid rgba(245,166,35,.2);
}
.ce-div-card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.ce-div-card p { color: var(--ce-muted); font-size: .94rem; flex-grow: 1; }
.ce-div-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.ce-div-tags span {
    font-size: .74rem;
    font-weight: 600;
    color: var(--ce-muted);
    border: 1px solid var(--ce-line);
    padding: .25rem .7rem;
    border-radius: 999px;
}

/* ---------- Stat band ---------- */

.ce-stat { text-align: center; padding: .75rem .5rem; }
.ce-stat-num {
    font-family: var(--ce-font-display);
    font-weight: 800;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    color: var(--ce-ink);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.ce-stat-num em { font-style: normal; color: var(--ce-accent); }
.ce-stat-lbl { color: var(--ce-muted); font-size: .9rem; margin-top: .45rem; }

/* ---------- Process steps ---------- */

.ce-process { position: relative; }
.ce-process::before {
    content: "";
    position: absolute;
    top: 27px; left: 3.5rem; right: 3.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ce-line) 15%, var(--ce-line) 85%, transparent);
}
@media (max-width: 767.98px) { .ce-process::before { display: none; } }
.ce-step { text-align: center; position: relative; padding-top: .25rem; }
.ce-step-badge {
    width: 56px; height: 56px;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--ce-surface-2);
    border: 1px solid var(--ce-line);
    font-family: var(--ce-font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ce-accent);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--ce-bg);
}
.ce-step h4 { font-size: 1.06rem; margin-bottom: .4rem; }
.ce-step p { color: var(--ce-muted); font-size: .9rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */

.ce-cta {
    position: relative;
    border-radius: var(--ce-radius);
    border: 1px solid rgba(245,166,35,.28);
    background:
        radial-gradient(ellipse 60% 120% at 85% 10%, rgba(245,166,35,.16), transparent 55%),
        var(--ce-grad);
    padding: clamp(2.6rem, 5vw, 4rem);
    overflow: hidden;
}
.ce-cta::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 80%);
}
.ce-cta > * { position: relative; z-index: 1; }
.ce-cta h2 { margin-bottom: .8rem; }
.ce-cta p { color: var(--ce-muted); max-width: 640px; margin-bottom: 1.8rem; }
.ce-cta.center { text-align: center; }
.ce-cta.center p { margin-left: auto; margin-right: auto; }
.ce-cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Alerts ---------- */

.alert { border-radius: var(--ce-radius-sm); border: 1px solid var(--ce-line); background: var(--ce-surface); color: var(--ce-body); }
.alert-warning { background: var(--ce-accent-soft); border-color: rgba(245,166,35,.3); color: #ffd08a; }
.alert-info { background: var(--ce-teal-soft); border-color: rgba(58,213,192,.3); color: #9be9dd; }
.alert-danger { background: rgba(251,113,133,.1); border-color: rgba(251,113,133,.3); color: #fecdd3; }
.alert-success { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); color: #a7f3d0; }

/* ---------- Accordion ---------- */

.accordion { --bs-accordion-color: var(--ce-body); --bs-accordion-bg: var(--ce-surface); --bs-accordion-border-color: var(--ce-line-soft); --bs-accordion-border-radius: var(--ce-radius-sm); --bs-accordion-btn-color: var(--ce-ink); --bs-accordion-active-color: var(--ce-accent); --bs-accordion-active-bg: var(--ce-surface-2); --bs-accordion-btn-focus-border-color: rgba(245,166,35,.4); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(245,166,35,.15); --bs-accordion-btn-icon: none; --bs-accordion-btn-active-icon: none; }
.accordion-item { background: var(--ce-surface); border: 1px solid var(--ce-line-soft); margin-bottom: .8rem; border-radius: var(--ce-radius-sm) !important; overflow: hidden; }
.accordion-button { font-weight: 600; padding: 1.15rem 1.35rem; }
.accordion-button:not(.collapsed)::after, .accordion-button::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    background-image: none;
    font-size: .8rem;
    width: auto; height: auto;
}
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.accordion-body { padding: 1.1rem 1.35rem 1.35rem; color: var(--ce-muted); }

/* ---------- Forms ---------- */

.form-control, .form-select {
    background-color: var(--ce-surface);
    border: 1px solid var(--ce-line);
    color: var(--ce-ink);
    border-radius: var(--ce-radius-sm);
    padding: .72rem 1rem;
    font-size: .95rem;
    transition: border-color .2s var(--ce-ease), box-shadow .2s var(--ce-ease);
}
.form-control::placeholder { color: var(--ce-faint); }
.form-control:focus, .form-select:focus {
    background-color: var(--ce-surface);
    border-color: rgba(245,166,35,.55);
    color: var(--ce-ink);
    box-shadow: 0 0 0 .2rem rgba(245,166,35,.12);
}
.form-control[readonly] { background-color: var(--ce-surface-2); color: var(--ce-muted); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--ce-danger); }
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2393a0b6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    background-size: 14px 10px;
}
.form-select option { background: var(--ce-surface); color: var(--ce-ink); }

.form-label { color: var(--ce-ink); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.form-text { color: var(--ce-faint); }
.form-check-input { background-color: var(--ce-surface-2); border-color: var(--ce-line); }
.form-check-input:checked { background-color: var(--ce-accent); border-color: var(--ce-accent); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(245,166,35,.15); border-color: rgba(245,166,35,.5); }
.form-check-label { color: var(--ce-body); font-size: .92rem; }

.field-validation-error, .text-danger { color: #ffa2b0; font-size: .84rem; }
.input-validation-error { border-color: var(--ce-danger) !important; }

.input-group > .form-control { border-top-left-radius: var(--ce-radius-sm); border-bottom-left-radius: var(--ce-radius-sm); }
.input-group > .btn { border-top-right-radius: var(--ce-radius-sm); border-bottom-right-radius: var(--ce-radius-sm); }

/* ---------- Badges / pills ---------- */

.ce-pill {
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ce-accent);
    background: var(--ce-accent-soft);
    border: 1px solid rgba(245,166,35,.25);
    padding: .3rem .85rem;
    border-radius: 999px;
}
.ce-pill-muted { color: var(--ce-muted); background: rgba(148,163,184,.08); border-color: var(--ce-line); }

/* ---------- List group ---------- */

.list-group { --bs-list-group-bg: var(--ce-surface); --bs-list-group-color: var(--ce-body); --bs-list-group-border-color: var(--ce-line-soft); }
.list-group-item { background: var(--ce-surface); border-color: var(--ce-line-soft); color: var(--ce-body); }

/* ---------- Table ---------- */

.table { --bs-table-color: var(--ce-body); --bs-table-bg: transparent; --bs-table-border-color: var(--ce-line-soft); }
.table thead th { color: var(--ce-ink); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; border-bottom-width: 1px; border-color: var(--ce-line); }

/* ---------- Prose (legal / article) ---------- */

.ce-prose { color: var(--ce-body); font-size: .98rem; }
.ce-prose h2 { margin-top: 2.6rem; margin-bottom: .9rem; font-size: 1.45rem; }
.ce-prose h3 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.2rem; }
.ce-prose p { margin-bottom: 1.1rem; }
.ce-prose ul, .ce-prose ol { margin-bottom: 1.25rem; padding-left: 1.4rem; }
.ce-prose li { margin-bottom: .5rem; }
.ce-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ce-prose blockquote {
    border-left: 3px solid var(--ce-accent);
    background: var(--ce-surface);
    padding: 1.1rem 1.4rem;
    border-radius: 0 var(--ce-radius-sm) var(--ce-radius-sm) 0;
    color: var(--ce-muted);
    margin: 1.5rem 0;
}

.ce-toc {
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius-sm);
    padding: 1.4rem 1.6rem;
    margin-bottom: 2.4rem;
}
.ce-toc h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ce-faint); margin-bottom: .9rem; }
.ce-toc a { display: block; padding: .28rem 0; color: var(--ce-muted); font-size: .92rem; }
.ce-toc a:hover { color: var(--ce-accent); }

/* ---------- Blog ---------- */

.ce-post-card {
    display: block;
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius);
    padding: 1.7rem 1.7rem 1.5rem;
    height: 100%;
    color: var(--ce-body);
    transition: transform .3s var(--ce-ease), border-color .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
    text-decoration: none;
    position: relative;
}
.ce-post-card:hover { transform: translateY(-5px); border-color: rgba(245,166,35,.3); box-shadow: var(--ce-shadow); color: var(--ce-body); }
.ce-post-card h3 { font-size: 1.2rem; margin: .8rem 0 .55rem; transition: color .2s var(--ce-ease); }
.ce-post-card:hover h3 { color: var(--ce-accent); }
.ce-post-card p { color: var(--ce-muted); font-size: .93rem; margin-bottom: 1.1rem; }
.ce-post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--ce-faint); margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--ce-line-soft); }
.ce-post-meta i { margin-right: .35rem; }

.ce-post-body { color: var(--ce-body); font-size: 1rem; }
.ce-post-body h2 { margin-top: 2.4rem; margin-bottom: .8rem; font-size: 1.5rem; }
.ce-post-body h3 { margin-top: 2rem; font-size: 1.2rem; }
.ce-post-body img { border-radius: var(--ce-radius-sm); margin: 1.2rem 0; }
.ce-post-body blockquote { border-left: 3px solid var(--ce-accent); background: var(--ce-surface); padding: 1rem 1.3rem; border-radius: 0 var(--ce-radius-sm) var(--ce-radius-sm) 0; color: var(--ce-muted); margin: 1.4rem 0; }

/* ---------- Pagination ---------- */

.pagination { --bs-pagination-bg: var(--ce-surface); --bs-pagination-border-color: var(--ce-line-soft); --bs-pagination-color: var(--ce-body); --bs-pagination-hover-bg: var(--ce-surface-2); --bs-pagination-hover-color: var(--ce-accent); --bs-pagination-hover-border-color: var(--ce-line); --bs-pagination-focus-bg: var(--ce-surface-2); --bs-pagination-focus-color: var(--ce-accent); --bs-pagination-active-bg: var(--ce-accent); --bs-pagination-active-border-color: var(--ce-accent); --bs-pagination-active-color: var(--ce-accent-ink); --bs-pagination-disabled-bg: var(--ce-surface); --bs-pagination-disabled-color: var(--ce-faint); --bs-pagination-border-radius: 10px; }

/* ---------- Work / case cards ---------- */

.ce-case {
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius);
    padding: 2rem;
    height: 100%;
    transition: transform .3s var(--ce-ease), border-color .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
}
.ce-case:hover { transform: translateY(-5px); border-color: rgba(245,166,35,.3); box-shadow: var(--ce-shadow); }
.ce-case h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.ce-case .role { color: var(--ce-accent); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .8rem; display: block; }
.ce-case p { color: var(--ce-muted); font-size: .94rem; }
.ce-case .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.ce-case .tags span { font-size: .73rem; color: var(--ce-muted); border: 1px solid var(--ce-line); padding: .22rem .65rem; border-radius: 999px; }

/* ---------- Quote ---------- */

.ce-quote { position: relative; padding: 2rem 2rem 2rem 3.2rem; }
.ce-quote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 1.6rem; left: 1.1rem;
    font-size: 1.2rem;
    color: var(--ce-accent);
    opacity: .9;
}
.ce-quote p { font-size: 1.05rem; color: var(--ce-ink); font-family: var(--ce-font-display); }
.ce-quote cite { display: block; font-style: normal; color: var(--ce-muted); font-size: .88rem; margin-top: .4rem; }

/* ---------- WCP (website cost planner) ---------- */

.wcp-shell {
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius);
    overflow: hidden;
}
.wcp-step {
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius-sm);
    padding: 1.6rem;
    height: 100%;
}
.wcp-step-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ce-accent); margin-bottom: .9rem; }
.wcp-result {
    background: var(--ce-grad);
    border: 1px solid rgba(245,166,35,.22);
    border-radius: var(--ce-radius-sm);
    padding: 1.5rem;
}
.wcp-result .amount { font-family: var(--ce-font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ce-accent); line-height: 1; }
.wcp-result .range { color: var(--ce-muted); font-size: .92rem; }

/* planner option grid */
.wcp-options { border: 0; padding: 0; margin: 1.5rem 0 1rem; }
.wcp-options legend { padding: 0; }
.wcp-options > label { display: flex; align-items: center; gap: .6rem; padding: .55rem .3rem; cursor: pointer; }
.wcp-options > label input, .wcp-check-row input { accent-color: var(--ce-accent); width: 1rem; height: 1rem; cursor: pointer; }
.wcp-options > label span { color: var(--ce-body); font-size: .92rem; }
.wcp-options > label span i { color: var(--ce-accent); width: 1.25rem; text-align: center; }
.wcp-check-row { display: flex; flex-direction: column; gap: .4rem; margin: 0 0 1.5rem; }
.wcp-check-row label { display: flex; align-items: center; gap: .6rem; color: var(--ce-muted); font-size: .9rem; cursor: pointer; }
.wcp-form-error:empty { display: none; }

/* planner output panel */
.wcp-output {
    background: var(--ce-surface);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius);
    overflow: hidden;
    min-height: 100%;
}
.wcp-output-tabs { display: flex; gap: .35rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--ce-line-soft); background: var(--ce-surface-2); }
.wcp-output-tabs button {
    border: 1px solid transparent;
    background: transparent;
    color: var(--ce-muted);
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    transition: all .2s var(--ce-ease);
    cursor: pointer;
}
.wcp-output-tabs button i { margin-right: .4rem; }
.wcp-output-tabs button:hover { color: var(--ce-ink); }
.wcp-output-tabs button.active { background: var(--ce-accent-soft); color: var(--ce-accent); border-color: rgba(245,166,35,.3); }
.wcp-output-pane { display: none; padding: 1.75rem; }
.wcp-output-pane.active { display: block; }

.wcp-empty { text-align: center; padding: 3.5rem 1.5rem; }
.wcp-agent-orb {
    width: 72px; height: 72px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    color: var(--ce-accent);
    background: var(--ce-accent-soft);
    border: 1px solid rgba(245,166,35,.3);
    box-shadow: 0 0 0 10px rgba(245,166,35,.06), 0 0 40px -10px var(--ce-accent-glow);
}
.wcp-empty h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.wcp-empty p { color: var(--ce-muted); max-width: 420px; margin: 0 auto; }

.wcp-result { animation: ce-fade-in .5s var(--ce-ease); }
@keyframes ce-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wcp-agent-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.wcp-agent-line span { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ce-teal); }
.wcp-agent-line span i { width: 8px; height: 8px; border-radius: 50%; background: var(--ce-teal); box-shadow: 0 0 0 0 rgba(58,213,192,.5); animation: ce-pulse 2s infinite; }
.wcp-agent-line small { color: var(--ce-faint); font-size: .78rem; }
.wcp-package {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ce-accent);
    background: var(--ce-accent-soft);
    border: 1px solid rgba(245,166,35,.25);
    padding: .3rem .9rem;
    border-radius: 999px;
    margin-bottom: .8rem;
}
.wcp-result > h2 { font-size: 1.35rem; margin-bottom: 1.4rem; }
.wcp-price-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; margin-bottom: 1.8rem; }
@media (max-width: 575.98px) { .wcp-price-grid { grid-template-columns: 1fr; } }
.wcp-price-grid > div {
    background: var(--ce-surface-2);
    border: 1px solid var(--ce-line-soft);
    border-radius: var(--ce-radius-sm);
    padding: 1.2rem 1.35rem;
}
.wcp-price-grid span { display: block; font-size: .8rem; color: var(--ce-muted); margin-bottom: .3rem; }
.wcp-price-grid strong { display: block; font-family: var(--ce-font-display); font-weight: 800; font-size: 1.7rem; color: var(--ce-ink); letter-spacing: -.02em; }
.wcp-price-primary { background: var(--ce-grad) !important; border-color: rgba(245,166,35,.28) !important; }
.wcp-price-primary strong { color: var(--ce-accent); }
.wcp-price-grid small { color: var(--ce-faint); font-size: .75rem; }
.wcp-result h3 { font-size: 1rem; margin-bottom: .9rem; }
.wcp-included, .wcp-assumptions { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.wcp-included li { position: relative; padding-left: 1.5rem; color: var(--ce-body); font-size: .92rem; margin-bottom: .5rem; }
.wcp-included li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--ce-teal); font-size: .8rem; }
.wcp-assumptions li { position: relative; padding-left: 1.5rem; color: var(--ce-muted); font-size: .88rem; margin-bottom: .5rem; }
.wcp-assumptions li::before { content: "\f059"; font-family: "Font Awesome 6 Free"; font-weight: 400; position: absolute; left: 0; top: 0; color: var(--ce-accent); font-size: .85rem; }

/* planner preview */
.wcp-preview-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.wcp-preview-tools > div:first-child strong { display: block; font-size: .95rem; color: var(--ce-ink); }
.wcp-preview-tools > div:first-child small { color: var(--ce-muted); font-size: .8rem; }
.wcp-device-switch { display: flex; gap: .35rem; }
.wcp-device-switch button { width: 38px; height: 38px; border: 1px solid var(--ce-line); background: var(--ce-surface-2); color: var(--ce-muted); border-radius: 10px; cursor: pointer; transition: all .2s var(--ce-ease); }
.wcp-device-switch button:hover { color: var(--ce-ink); }
.wcp-device-switch button.active { color: var(--ce-accent); border-color: rgba(245,166,35,.4); background: var(--ce-accent-soft); }

.wcp-browser {
    border: 1px solid var(--ce-line);
    border-radius: var(--ce-radius-sm);
    overflow: hidden;
    background: #fff;
    transition: all .35s var(--ce-ease);
}
.wcp-browser.is-mobile { max-width: 340px; margin: 0 auto; }
.wcp-browser-bar { display: flex; align-items: center; gap: .45rem; padding: .55rem .8rem; background: #eef1f6; }
.wcp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cdd4df; }
.wcp-browser-bar span { margin-left: auto; font-size: .72rem; color: #7a8699; background: #fff; border: 1px solid #e2e7ef; padding: .1rem .55rem; border-radius: 999px; }
.wcp-site-preview nav { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 1.4rem; background: #101828; color: #fff; }
.wcp-site-preview nav strong { font-size: .9rem; }
.wcp-site-preview nav span { color: #9aa6bb; font-size: .74rem; }
.wcp-site-preview nav button { margin-left: auto; background: #f5a623; color: #1a1304; border: 0; font-size: .72rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; }
.wcp-preview-hero { padding: 2.2rem 1.6rem 1.8rem; text-align: center; }
.wcp-preview-hero > span { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b45309; margin-bottom: .7rem; }
.wcp-preview-hero h2 { font-size: 1.25rem; color: #0f172a; margin-bottom: .6rem; }
.wcp-preview-hero p { color: #64748b; font-size: .8rem; max-width: 420px; margin: 0 auto 1.1rem; }
.wcp-preview-hero button { background: #0f172a; color: #fff; border: 0; font-size: .78rem; font-weight: 600; padding: .45rem 1.1rem; border-radius: 999px; }
.wcp-preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 0 1.6rem 1.6rem; }
.wcp-preview-cards i { height: 74px; border-radius: 8px; background: #eef1f6; }
.wcp-preview-note { display: flex; align-items: center; gap: .5rem; color: var(--ce-faint); font-size: .8rem; margin: 1rem 0 0; }
.wcp-preview-note i { color: var(--ce-accent); }

.wcp-browser.is-essential .wcp-site-preview nav { background: #1e293b; }
.wcp-browser.is-essential .wcp-preview-hero { text-align: left; }
.wcp-browser.is-distinctive .wcp-site-preview nav { background: #0b0e16; }
.wcp-browser.is-distinctive .wcp-preview-hero h2 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: .01em; }

/* ---------- Misc overrides ---------- */

.text-muted { color: var(--ce-muted) !important; }
.bg-light, .bg-white { background-color: var(--ce-bg-alt) !important; }
.bg-white-50 { background-color: rgba(255,255,255,.04) !important; }
.border, .border-bottom, .border-top { border-color: var(--ce-line-soft) !important; }
.text-dark { color: var(--ce-ink) !important; }
.text-primary { color: var(--ce-accent) !important; }
.shadow-sm { box-shadow: 0 10px 30px -20px rgba(0,0,0,.5) !important; }
.shadow { box-shadow: var(--ce-shadow) !important; }
.rounded-4, .rounded-5 { border-radius: var(--ce-radius) !important; }

.btn-outline-primary { color: var(--ce-accent); border-color: rgba(245,166,35,.45); }
.btn-outline-primary:hover { background: var(--ce-accent); border-color: var(--ce-accent); color: var(--ce-accent-ink); }
.btn-outline-light { color: var(--ce-ink); border-color: var(--ce-line); }
.btn-outline-light:hover { background: var(--ce-surface-2); border-color: var(--ce-line); color: var(--ce-ink); }
.btn-primary { background: var(--ce-accent); border-color: var(--ce-accent); color: var(--ce-accent-ink); }
.btn-primary:hover { background: var(--ce-accent-2); border-color: var(--ce-accent-2); color: var(--ce-accent-ink); }

.text-white-50 { color: rgba(232, 238, 248, .55) !important; }

a.card { color: var(--ce-body); }

/* ---------- Footer ---------- */

.ce-footer { background: var(--ce-navy); border-top: 1px solid var(--ce-line-soft); padding: clamp(3.4rem, 6vw, 5rem) 0 0; }
.ce-footer-brand p { color: var(--ce-muted); font-size: .93rem; margin: 1.1rem 0 0; max-width: 330px; }
.ce-footer h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ce-ink); margin-bottom: 1.2rem; }
.ce-footer ul { list-style: none; margin: 0; padding: 0; }
.ce-footer ul li { margin-bottom: .65rem; }
.ce-footer ul a { color: var(--ce-muted); font-size: .92rem; transition: color .2s var(--ce-ease), padding-left .2s var(--ce-ease); }
.ce-footer ul a:hover { color: var(--ce-accent); padding-left: 4px; }
.ce-footer .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1px solid var(--ce-line);
    color: var(--ce-muted);
    margin-right: .5rem;
    transition: all .25s var(--ce-ease);
}
.ce-footer .social a:hover { border-color: var(--ce-accent); color: var(--ce-accent); transform: translateY(-3px); }

.ce-footer-bottom { border-top: 1px solid var(--ce-line-soft); margin-top: clamp(2.4rem, 4vw, 3.2rem); padding: 1.4rem 0; }
.ce-footer-bottom p { margin: 0; font-size: .84rem; color: var(--ce-faint); }
.ce-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.ce-footer-bottom ul a { color: var(--ce-faint); font-size: .84rem; }
.ce-footer-bottom ul a:hover { color: var(--ce-accent); }

/* ---------- Scroll reveal ---------- */

html.ce-js [data-animation] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ce-ease), transform .8s var(--ce-ease); }
html.ce-js [data-animation].is-visible { opacity: 1; transform: none; }
html.ce-js [data-animation="fade-left"] { transform: translateX(-28px); }
html.ce-js [data-animation="fade-right"] { transform: translateX(28px); }
html.ce-js [data-animation="zoom"] { transform: scale(.94); }
html.ce-js [data-animation].is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-animation] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Home "brain" canvas ---------- */

.ce-brain-wrap { position: absolute; inset: 0; z-index: 0; }
.ce-brain-wrap canvas { width: 100%; height: 100%; display: block; }

/* ---------- Sticky sidebar (forms / planners) ---------- */

.ce-sticky { position: sticky; top: 92px; }

/* ---------- Small tweaks ---------- */

.lead { color: var(--ce-muted); }
hr { border-color: var(--ce-line-soft); opacity: 1; }

.back-to-top {
    position: fixed;
    right: 1.4rem; bottom: 1.4rem;
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ce-surface-2);
    border: 1px solid var(--ce-line);
    color: var(--ce-ink);
    font-size: .95rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all .3s var(--ce-ease);
    box-shadow: var(--ce-shadow);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { color: var(--ce-accent); border-color: var(--ce-accent); }
