/* ============================================================
   SIMPLUTECH — site.css
   Red + Navy + Teal palette | Verdana
   ============================================================ */

:root {
    --red:       #c8102e;
    --red2:      #a50d25;
    --red3:      #fde8eb;
    --navy:      #0a2540;
    --navy2:     #1e3a5f;
    --navy3:     #eaf0f7;
    --teal:      #0d9488;
    --teal2:     #0f766e;
    --teal3:     #ccfbf1;
    --blue:      #2563eb;
    --blue2:     #1d4ed8;
    --blue3:     #dbeafe;
    --purple:    #7c3aed;
    --purple2:   #6d28d9;
    --purple3:   #ede9fe;
    --amber:     #f59e0b;
    --ink:       #0a2540;
    --ink2:      #1e3a5f;
    --muted:     #475569;
    --faint:     #64748b;
    --border:    #dbe2ec;
    --border2:   #eef2f7;
    --offwhite:  #f6f8fb;
    --white:     #ffffff;
    --radius:    4px;
    --nav-h:     60px;
    --grad-hero: radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.08) 0%, rgba(255,255,255,0) 55%),
                 radial-gradient(ellipse at 10% 90%, rgba(200,16,46,0.06) 0%, rgba(255,255,255,0) 50%);
    --grad-cta:  linear-gradient(135deg, #c8102e 0%, #a50d25 70%, #7a0a1c 100%);
    --grad-canvas: linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- TYPOGRAPHY ----
   Verdana has a tall x-height and wide letterforms, so headings need looser
   line-height and a touch more bottom padding to keep descenders breathing. */
h1, h2, h3, h4 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.35;
    color: var(--navy);
    padding-bottom: 0.1em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 700; line-height: 1.25; }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; line-height: 1.3; }
h3 { font-size: 17px; font-weight: 700; }
h4 { font-size: 14px; font-weight: 700; }
p  { line-height: 1.8; }

.hl { color: var(--red); }
.eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
}
.sec-lbl {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 600;
}
.sec-note { font-size: 12px; color: var(--faint); }

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-block;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: var(--grad-cta);
    border: none;
    border-radius: var(--radius);
    padding: 12px 24px;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(200,16,46,0.22);
}
.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(200,16,46,0.32);
    text-decoration: none;
    color: var(--white);
}

.btn-ghost {
    display: inline-block;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 22px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    text-decoration: none;
}
.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal3);
    text-decoration: none;
}

/* ---- TAGS ---- */
.tag {
    font-size: 10px;
    color: var(--faint);
    border: 1px solid var(--border);
    padding: 2px 7px;
    border-radius: 3px;
}
.tag-r {
    font-size: 11px;
    color: var(--red);
    border: 1px solid #fca5a5;
    padding: 3px 9px;
    border-radius: 3px;
    background: #fff5f6;
}
.presage-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--red);
    border: 1px solid #fca5a5;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    background: #fff5f6;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ---- NAV ---- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--navy);
    letter-spacing: -0.01em;
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo .logo-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}
.logo .logo-accent { color: var(--red); }
.logo .logo-tag {
    font-size: 9px;
    font-weight: 600;
    color: var(--faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
    line-height: 1.2;
}
.logo:hover { text-decoration: none; }
@media (max-width: 600px) {
    .logo .logo-tag { display: none; }
}

/* Compact nav links to fit 8 items */
.nav-links { gap: 18px; }
.nav-links a { font-size: 12.5px; }
@media (max-width: 1100px) {
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 12px; }
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin-left: auto;
}
.nav-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.12s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-cta {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: var(--grad-cta);
    border: none;
    border-radius: var(--radius);
    padding: 8px 18px;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-decoration: none;
    flex-shrink: 0;
    transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 6px rgba(200,16,46,0.18);
}
.nav-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,16,46,0.28);
    text-decoration: none;
    color: var(--white);
}

.nav-toggle { display: none; }

/* ---- HERO ---- */
.hero-section {
    background: var(--grad-hero);
    background-color: var(--white);
    border-bottom: 1px solid var(--border2);
}
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    position: relative;
}
.hero h1 { margin-bottom: 20px; line-height: 1.3; }
.hero h1 .hl {
    background: linear-gradient(120deg, var(--red) 0%, #e11d48 50%, var(--red2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--red); /* fallback */
    padding-bottom: 0.1em;
    display: inline-block;
    line-height: 1.35;
}
.hero-sub {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 400px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
    border-left: 2px solid var(--red3);
}
.hstat { padding: 16px 0; border-bottom: 1px solid var(--border2); }
.hstat:last-child { border-bottom: none; }
.hstat-n {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--red);
    line-height: 1.3;
    padding-bottom: 0.08em;
    letter-spacing: -0.02em;
}
.hstat:nth-child(2) .hstat-n { color: var(--navy); }
.hstat:nth-child(3) .hstat-n { color: var(--teal); }
.hstat-l { font-size: 12px; color: var(--faint); margin-top: 4px; letter-spacing: 0.02em; }

/* ---- SIMULATION SECTION (homepage) ---- */
.sim-section {
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    background: var(--white);
}
.sim-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px;
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 56px;
    align-items: center;
}
.sim-text h2 { margin-bottom: 16px; }
.sim-text > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 480px;
}
.sim-legend {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sim-legend li {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sim-legend strong {
    color: var(--navy);
    font-weight: 700;
    margin-right: 4px;
}
.sim-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sim-dot--red  { background: var(--red);  box-shadow: 0 0 0 3px var(--red3);  }
.sim-dot--navy { background: var(--navy); box-shadow: 0 0 0 3px var(--navy3); }
.sim-dot--teal { background: var(--teal); box-shadow: 0 0 0 3px var(--teal3); }
.sim-hint {
    font-size: 12px;
    color: var(--faint);
    font-style: italic;
    margin-top: 6px;
}

/* ---- CANVAS ---- */
.canvas-wrap {
    width: 100%;
    height: 360px;
    background: var(--grad-canvas);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(10,37,64,0.06);
}
.canvas-wrap--tall { height: 420px; }
.canvas-wrap canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }

/* Hero variant — sized to balance hero text column and lighter on chrome */
.hero-canvas {
    height: 320px;
    box-shadow: 0 4px 18px rgba(10,37,64,0.08);
}
@media (max-width: 900px) {
    .hero-canvas { height: 260px; }
}

/* ---- GRAPH TOOLTIP ---- */
.graph-tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--navy);
    color: var(--white);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 14px));
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(10,37,64,0.25);
}
.graph-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--navy);
}
.graph-tooltip.is-visible {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 18px));
}
.graph-tooltip.is-below {
    transform: translate(-50%, calc(-100% - 14px));
}
.graph-tooltip.is-below.is-visible {
    transform: translate(-50%, 18px);
}
.graph-tooltip.is-below::after {
    bottom: auto;
    top: -5px;
}
.graph-tooltip .gt-kind {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2px;
}
.graph-tooltip[data-kind="decision"] { background: var(--red); }
.graph-tooltip[data-kind="decision"]::after { background: var(--red); }
.graph-tooltip[data-kind="signal"] { background: var(--navy); }
.graph-tooltip[data-kind="signal"]::after { background: var(--navy); }
.graph-tooltip[data-kind="outcome"] { background: var(--teal); }
.graph-tooltip[data-kind="outcome"]::after { background: var(--teal); }
.canvas-label {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--navy);
    text-transform: uppercase;
    font-weight: 700;
    pointer-events: none;
    background: rgba(255,255,255,0.92);
    padding: 4px 10px;
    border-radius: 3px;
    backdrop-filter: blur(2px);
    z-index: 2;
    border: 1px solid var(--border2);
}
.canvas-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    margin-right: 7px;
    vertical-align: 1px;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.18);
}
.canvas-pill {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--grad-cta);
    padding: 4px 11px;
    border-radius: 20px;
    font-weight: 700;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(200,16,46,0.25);
}
.canvas-pill::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    margin-right: 6px;
    vertical-align: 1px;
    animation: livepulse 1.6s ease-in-out infinite;
}
@keyframes livepulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ---- SECTION HEAD ---- */
.sec-head {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 32px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border2);
}

/* ---- SERVICES GRID ---- */
.svc-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.svc {
    padding: 28px 32px;
    border-right: 1px solid var(--border2);
    transition: background 0.18s, transform 0.18s;
    position: relative;
    overflow: hidden;
}
.svc::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.svc:nth-child(2)::before { background: var(--teal); }
.svc:nth-child(3)::before { background: var(--navy); }
.svc:last-child { border-right: none; }
.svc:hover { background: #fbfcfe; }
.svc:hover::before { transform: scaleX(1); }
.svc-num {
    font-size: 10px;
    color: var(--faint);
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    font-weight: 700;
}
.svc:nth-child(1) .svc-num { color: var(--red); }
.svc:nth-child(2) .svc-num { color: var(--teal); }
.svc:nth-child(3) .svc-num { color: var(--navy); }
.svc-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-icon--red   { background: #fff1f3; }
.svc-icon--teal  { background: var(--teal3); }
.svc-icon--navy  { background: var(--navy3); }
/* legacy aliases */
.svc-icon--green { background: var(--teal3); }
.svc-icon--blue  { background: var(--navy3); }
.svc h3 { margin-bottom: 8px; }
.svc p  { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.tags   { display: flex; flex-wrap: wrap; gap: 5px; }

/* ---- PRESAGE SECTION ---- */
.presage {
    background: linear-gradient(180deg, var(--offwhite) 0%, #eef2f7 100%);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    position: relative;
}
.presage::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--teal) 70%, transparent 100%);
    opacity: 0.5;
}
.presage-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.presage-left {
    padding: 40px 32px;
    border-right: 1px solid var(--border2);
}
.presage-left h2 { margin-bottom: 14px; }
.presage-left h2 span { color: var(--red); }
.presage-left p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }
.presage-right { background: var(--white); }

.uc {
    padding: 16px 28px;
    border-bottom: 1px solid var(--border2);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background 0.15s, padding 0.15s;
    position: relative;
}
.uc:hover { background: #fbfcfe; padding-left: 32px; }
.uc:last-child { border-bottom: none; }
.uc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--red3);
}
.uc:nth-child(2) .uc-dot { background: var(--teal); box-shadow: 0 0 0 3px var(--teal3); }
.uc:nth-child(3) .uc-dot { background: var(--navy); box-shadow: 0 0 0 3px var(--navy3); }
.uc:nth-child(4) .uc-dot { background: var(--amber); box-shadow: 0 0 0 3px #fef3c7; }
.uc:nth-child(5) .uc-dot { background: var(--red); box-shadow: 0 0 0 3px var(--red3); }
.uc h4 { font-size: 13px; margin-bottom: 3px; color: var(--ink2); }
.uc p  { font-size: 12px; color: var(--faint); line-height: 1.6; }

.presage-sectors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid var(--border2);
    background: var(--white);
}
.sectors-label {
    font-size: 10px;
    color: var(--faint);
    margin-right: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---- CLIENTS ---- */
.clients {
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 32px;
    border-bottom: 1px solid var(--border2);
}
.clients-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip {
    font-size: 11px;
    color: var(--muted);
    padding: 6px 13px;
    border: 1px solid var(--border);
    border-radius: 3px;
}

/* ---- TECH STRIP ---- */
.tech-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--offwhite);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    max-width: 100%;
}
.tc {
    padding: 22px 24px;
    border-right: 1px solid var(--border2);
    border-top: 3px solid transparent;
    transition: border-color 0.18s, background 0.18s;
}
.tc:nth-child(1) { border-top-color: var(--red); }
.tc:nth-child(2) { border-top-color: var(--navy); }
.tc:nth-child(3) { border-top-color: var(--teal); }
.tc:nth-child(4) { border-top-color: var(--amber); }
.tc:hover { background: var(--white); }
.tc:last-child { border-right: none; }
.tc h5 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.tc:nth-child(1) h5 { color: var(--red); }
.tc:nth-child(3) h5 { color: var(--teal); }
.tc:nth-child(4) h5 { color: #b45309; }
.tc p { font-size: 11px; color: var(--muted); line-height: 1.7; }

/* ---- CONTACT TEASER ---- */
.contact-teaser {
    background: linear-gradient(135deg, var(--navy) 0%, #102a47 50%, var(--red2) 100%);
    padding: 64px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-teaser::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,148,136,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.contact-teaser::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(200,16,46,0.22) 0%, transparent 70%);
    pointer-events: none;
}
.contact-teaser-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.contact-teaser h2 { color: var(--white); margin-bottom: 14px; }
.contact-teaser p  { color: rgba(255,255,255,0.85); margin-bottom: 26px; font-size: 14px; }
.contact-teaser .btn-primary {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.contact-teaser .btn-primary:hover { background: #f1f5f9; transform: translateY(-1px); }

/* ---- PAGE HERO ---- */
.page-hero {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.08) 0%, rgba(255,255,255,0) 55%),
        radial-gradient(ellipse at 10% 90%, rgba(200,16,46,0.06) 0%, rgba(255,255,255,0) 50%),
        var(--offwhite);
    border-bottom: 1px solid var(--border2);
    padding: 64px 32px 56px;
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red) 30%, var(--teal) 70%, transparent);
    opacity: 0.4;
}
.page-hero--sm { padding: 48px 32px 40px; }
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .hero-sub { font-size: 15px; color: var(--muted); margin-bottom: 24px; }

/* ---- CONTACT PAGE ---- */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 32px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
}
.contact-info h3 { margin-bottom: 20px; }
.cd-item { margin-bottom: 16px; }
.cd-item strong {
    display: block;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 2px;
    font-weight: 700;
}
.cd-item a, .cd-item span { font-size: 14px; color: var(--ink2); }
.contact-services { margin-top: 32px; }
.contact-services ul {
    list-style: none;
    margin-top: 10px;
}
.contact-services li {
    font-size: 13px;
    color: var(--muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border2);
    padding-left: 12px;
    position: relative;
}
.contact-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
}

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.12s;
    resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); }
.field-error { font-size: 12px; color: #dc2626; margin-top: 4px; }
.validation-summary { font-size: 13px; color: #dc2626; margin-bottom: 16px; }
.btn-submit { width: 100%; padding: 13px; font-size: 14px; }

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.form-success h4 { font-size: 15px; color: #15803d; margin-bottom: 4px; }
.form-success p  { font-size: 13px; color: #166534; }
.form-error-msg {
    padding: 16px 20px;
    background: #fff5f6;
    border: 1px solid #fca5a5;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--red2);
    margin-bottom: 20px;
}

/* ---- PRESAGE PAGE ---- */
.content-section { padding: 56px 32px; border-bottom: 1px solid var(--border2); }
.content-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.content-section-text h2 { margin-bottom: 16px; }
.content-section-text p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.aside-card {
    padding: 26px;
    background: linear-gradient(160deg, var(--white) 0%, var(--offwhite) 100%);
    border: 1px solid var(--border);
    border-left: 4px solid var(--teal);
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(10,37,64,0.04);
}
.aside-card h4 { margin-bottom: 10px; }
.aside-card p  { font-size: 13px; color: var(--muted); line-height: 1.7; }

.use-case-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.use-case-card {
    padding: 28px 32px;
    border-right: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    transition: background 0.15s, border-color 0.15s;
    background: var(--white);
}
.use-case-card:hover { background: #fbfcfe; border-color: var(--red3); }
.use-case-card:nth-child(3n) { border-right: none; }
.use-case-card:nth-child(4),
.use-case-card:nth-child(5),
.use-case-card:nth-child(6) { border-bottom: none; }
.uc-number {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red3) 0%, var(--teal3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--red3); /* fallback */
    margin-bottom: 10px;
    line-height: 1.3;
    padding-bottom: 0.08em;
    letter-spacing: -0.01em;
}
.use-case-card:nth-child(2) .uc-number,
.use-case-card:nth-child(5) .uc-number {
    background: linear-gradient(135deg, var(--teal3) 0%, var(--navy3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.use-case-card:nth-child(3) .uc-number,
.use-case-card:nth-child(6) .uc-number {
    background: linear-gradient(135deg, var(--navy3) 0%, var(--red3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.use-case-card h3 { font-size: 16px; margin-bottom: 8px; }
.use-case-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.uc-clients { font-size: 11px; color: var(--red); font-weight: 500; }

.presage-public {
    background: var(--offwhite);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    padding: 56px 32px;
}
.presage-public-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.presage-public h2 { margin-bottom: 14px; }
.presage-public p  { font-size: 14px; color: var(--muted); line-height: 1.75; }
.presage-public-tags { display: flex; flex-direction: column; gap: 8px; }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--navy);
    border-top: 3px solid var(--red);
    padding: 24px 32px;
    color: rgba(255,255,255,0.7);
}
.site-footer .footer-logo { color: rgba(255,255,255,0.9); }
.site-footer .footer-logo span { color: var(--red); }
.site-footer .footer-links a { color: rgba(255,255,255,0.6); }
.site-footer .footer-links a:hover { color: var(--white); }
.site-footer .footer-reg { color: rgba(255,255,255,0.5); }
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--faint);
}
.footer-logo span { color: var(--red); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: #cbd5e1; }
.footer-links a:hover { color: var(--red); }
.footer-reg { font-size: 11px; color: #e2e8f0; }

/* ---- LEGAL & LONG-FORM PAGES ---- */
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 32px 72px;
}
.legal-page .legal-meta {
    display: block;
    font-size: 11px;
    color: var(--faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 700;
}
.legal-page h1 {
    margin-bottom: 24px;
    font-size: clamp(28px, 4vw, 40px);
}
.legal-page h2 {
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 12px;
    font-size: 20px;
    padding-bottom: 0.1em;
    border-bottom: 1px solid var(--border2);
    padding-bottom: 6px;
}
.legal-page h3 {
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 15px;
}
.legal-page p {
    margin-bottom: 14px;
    color: var(--ink2);
    line-height: 1.85;
    font-size: 14px;
}
.legal-page ul, .legal-page ol {
    margin: 6px 0 18px 0;
    padding-left: 22px;
}
.legal-page ul li, .legal-page ol li {
    margin-bottom: 8px;
    color: var(--ink2);
    font-size: 14px;
    line-height: 1.7;
}
.legal-page ul li::marker { color: var(--red); }
.legal-page a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(200,16,46,0.35);
    text-underline-offset: 3px;
}
.legal-page a:hover { text-decoration-color: var(--red); }
.legal-page strong { color: var(--navy); }
.legal-page .legal-updated {
    margin: 14px 0 32px 0;
    padding: 10px 16px;
    background: var(--offwhite);
    border-left: 3px solid var(--teal);
    font-size: 12px;
    color: var(--muted);
}

/* ---- SERVICES PAGE ---- */
.services-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 32px;
}
.svc-block {
    padding: 40px 0;
    border-bottom: 1px solid var(--border2);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
}
.svc-block:last-child { border-bottom: none; }
.svc-block-head .svc-num {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.svc-block:nth-child(1) .svc-block-head .svc-num { color: var(--red); }
.svc-block:nth-child(2) .svc-block-head .svc-num { color: var(--blue); }
.svc-block:nth-child(3) .svc-block-head .svc-num { color: var(--teal); }
.svc-block:nth-child(4) .svc-block-head .svc-num { color: var(--navy); }
.svc-block-head h2 { font-size: 20px; margin-bottom: 8px; }
.svc-block-head .svc-tagline { font-size: 13px; color: var(--muted); line-height: 1.7; }
.svc-block-body p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.svc-block-body h3 {
    font-size: 13px;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}
.svc-block-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 18px;
}
.svc-block-body ul li {
    font-size: 13px;
    color: var(--ink2);
    padding: 4px 0 4px 16px;
    position: relative;
}
.svc-block-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
}
.svc-block:nth-child(2) .svc-block-body ul li::before { background: var(--blue); }
.svc-block:nth-child(3) .svc-block-body ul li::before { background: var(--teal); }
.svc-block:nth-child(4) .svc-block-body ul li::before { background: var(--navy); }

/* ---- ABOUT PAGE ---- */
.about-page { max-width: 900px; margin: 0 auto; padding: 56px 32px; }
.about-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink2);
    margin-bottom: 28px;
    border-left: 3px solid var(--red);
    padding-left: 20px;
}
.about-section { margin-top: 40px; }
.about-section h2 { margin-bottom: 16px; }
.about-section p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 12px; }
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 32px 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.about-stat {
    padding: 22px 18px;
    border-right: 1px solid var(--border2);
    text-align: center;
}
.about-stat:last-child { border-right: none; }
.about-stat-n {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 0.08em;
}
.about-stat:nth-child(1) .about-stat-n { color: var(--red); }
.about-stat:nth-child(2) .about-stat-n { color: var(--teal); }
.about-stat:nth-child(3) .about-stat-n { color: var(--navy); }
.about-stat:nth-child(4) .about-stat-n { color: var(--amber); }
.about-stat-l { font-size: 11px; color: var(--faint); letter-spacing: 0.04em; margin-top: 2px; }
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.about-value {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    transition: border-color 0.18s, transform 0.18s;
}
.about-value:hover { border-color: var(--red); transform: translateY(-2px); }
.about-value h4 { font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.about-value p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ---- CONTACT PAGE EXTRAS ---- */
.contact-questions {
    list-style: none;
    margin: 14px 0 0 0;
    padding: 0;
}
.contact-questions li {
    font-size: 14px;
    color: var(--ink2);
    padding: 8px 0 8px 22px;
    position: relative;
    line-height: 1.55;
    border-bottom: 1px dashed var(--border2);
}
.contact-questions li:last-child { border-bottom: none; }
.contact-questions li::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red3);
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-promise {
    margin-top: 28px;
    padding: 16px 18px;
    background: var(--offwhite);
    border-radius: 4px;
    border-left: 4px solid var(--red);
}
.contact-promise p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
.contact-promise strong { color: var(--navy); }
.form-optional {
    font-size: 10px;
    color: var(--faint);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 4px;
}

/* Honeypot — hidden from sighted/keyboard users, visible to dumb bots that
   fill every field. Keep it interactive (no display:none) because some bots
   skip non-rendered inputs. */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ---- CASE STUDIES HUB ---- */
.case-studies-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 48px;
}
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.case-card {
    display: block;
    padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    box-shadow: 0 1px 2px rgba(10,37,64,0.03);
}
.case-card:hover:not(.case-card--placeholder) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,37,64,0.08);
    border-color: var(--red);
    text-decoration: none;
    color: var(--ink);
}
.case-card--placeholder {
    background: var(--offwhite);
    border-style: dashed;
    cursor: default;
}
.case-tag {
    display: inline-block;
    font-size: 10px;
    color: var(--red);
    background: var(--red3);
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}
.case-card--placeholder .case-tag { color: var(--faint); background: var(--border2); }
.case-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
}
.case-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px;
}
.case-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.02em;
}

/* ---- CASE STUDY DETAIL PAGE ---- */
.case-study {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 32px 72px;
}
.case-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink2);
    border-left: 3px solid var(--red);
    padding-left: 20px;
    margin-bottom: 32px;
}
.case-section { margin-top: 28px; }
.case-section h2 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
}
.case-section p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.85;
}
.case-scenarios {
    list-style: none;
    margin: 14px 0 14px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.case-scenarios li {
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.65;
    padding: 12px 14px 12px 18px;
    background: var(--offwhite);
    border-left: 3px solid var(--red);
    border-radius: 0 4px 4px 0;
}
.case-scenarios li:nth-child(2) { border-left-color: var(--teal); }
.case-scenarios li:nth-child(3) { border-left-color: var(--navy); }
.case-scenarios li strong { color: var(--navy); }

.case-disclaimer {
    margin-top: 40px;
    padding: 16px 18px;
    background: #fff5f6;
    border-left: 4px solid var(--red);
    border-radius: 4px;
}
.case-disclaimer p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
.case-disclaimer strong { color: var(--navy); }
.case-meta {
    margin-top: 32px;
    padding: 20px 0 0;
    border-top: 1px solid var(--border2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}
.case-meta-item { display: flex; flex-direction: column; }
.case-meta-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 700;
    margin-bottom: 4px;
}
.case-meta-value {
    font-size: 13px;
    color: var(--ink2);
}

/* ---- SECTORS HUB ---- */
.sector-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.sector-grid > .sector-card:nth-child(5) { grid-column: 1 / -1; }
.sector-card {
    display: block;
    padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    box-shadow: 0 1px 2px rgba(10,37,64,0.03);
    color: var(--ink);
}
.sector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,37,64,0.08);
    text-decoration: none;
    color: var(--ink);
}
.sector-card .svc-num {
    font-size: 11px;
    color: var(--red);
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    font-weight: 700;
}
.sector-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--navy);
}
.sector-tagline {
    font-size: 13px;
    color: var(--ink2);
    margin-bottom: 10px;
}
.sector-tagline strong { color: var(--navy); }
.sector-blurb {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px;
}
.sector-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.02em;
}
.sector-card--02 { border-left-color: var(--blue); }
.sector-card--02 .svc-num,
.sector-card--02 .sector-cta { color: var(--blue); }
.sector-card--03 { border-left-color: var(--navy); }
.sector-card--03 .svc-num,
.sector-card--03 .sector-cta { color: var(--navy); }
.sector-card--04 { border-left-color: var(--teal); }
.sector-card--04 .svc-num,
.sector-card--04 .sector-cta { color: var(--teal); }
.sector-card--05 { border-left-color: var(--purple); }
.sector-card--05 .svc-num,
.sector-card--05 .sector-cta { color: var(--purple); }

/* ---- SECTOR DETAIL PAGE ---- */
.sector-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 32px;
}
.sector-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.sector-why h2,
.sector-questions h2 {
    font-size: 22px;
    margin-bottom: 16px;
}
.sector-why p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 14px;
}
.sector-offer {
    margin-top: 32px;
    padding: 18px 20px;
    background: var(--offwhite);
    border-left: 3px solid var(--red);
    border-radius: 4px;
}
.sector-offer .sector-offer-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 700;
    margin-bottom: 4px;
}
.sector-offer .sector-offer-name {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}
.sector-questions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sector-questions li {
    font-size: 14px;
    color: var(--ink2);
    padding: 11px 0 11px 26px;
    position: relative;
    line-height: 1.55;
    border-bottom: 1px solid var(--border2);
}
.sector-questions li:last-child { border-bottom: none; }
.sector-questions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
}

/* Sector accent variations (matched to hub colours) */
.sector-page--manufacturing .sector-offer { border-left-color: var(--blue); }
.sector-page--manufacturing .sector-questions li::before { color: var(--blue); }
.sector-page--local-government .sector-offer { border-left-color: var(--navy); }
.sector-page--local-government .sector-questions li::before { color: var(--navy); }
.sector-page--energy .sector-offer { border-left-color: var(--teal); }
.sector-page--energy .sector-questions li::before { color: var(--teal); }
.sector-page--service-businesses .sector-offer { border-left-color: var(--purple); }
.sector-page--service-businesses .sector-questions li::before { color: var(--purple); }

/* ---- WHY THESE BELONG TOGETHER (Services page) ---- */
.why-together {
    background: var(--offwhite);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    padding: 40px 32px;
}
.why-together-inner { max-width: 1100px; margin: 0 auto; }
.why-together h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 12px;
    border-left: 3px solid var(--red);
    padding-left: 14px;
}
.why-together p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 800px;
    padding-left: 17px;
}

/* ---- USE CASE PAGE GRID (2-col) ---- */
.use-case-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border2);
}
.use-case-svc-grid .svc:nth-child(odd) { border-right: 1px solid var(--border2); }
.use-case-svc-grid .svc { border-bottom: 1px solid var(--border2); }
.use-case-svc-grid .svc:nth-child(7) { grid-column: 1 / -1; }
.use-case-svc-grid .svc:nth-child(7),
.use-case-svc-grid .svc:nth-last-child(1):nth-child(odd) { border-bottom: none; }
.uc-q {
    color: var(--navy);
    font-weight: 700;
    margin-right: 4px;
}

/* ---- HOW IT WORKS (OutcomeLab page) ---- */
.how-it-works { padding: 48px 32px; border-bottom: 1px solid var(--border2); }
.how-it-works-inner { max-width: 800px; margin: 0 auto; }
.how-it-works h2 { text-align: center; margin-bottom: 28px; }
.how-steps {
    counter-reset: steps;
    list-style: none;
    padding: 0;
    margin: 0;
}
.how-steps li {
    counter-increment: steps;
    position: relative;
    padding: 14px 0 14px 56px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    border-bottom: 1px solid var(--border2);
}
.how-steps li:last-child { border-bottom: none; }
.how-steps li::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 14px;
    width: 38px;
    height: 28px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--red);
    background: var(--red3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how-steps li strong { color: var(--navy); }

/* ---- TYPICAL OUTPUTS ---- */
.typical-outputs {
    background: var(--offwhite);
    padding: 48px 32px;
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
}
.typical-outputs-inner { max-width: 1100px; margin: 0 auto; }
.typical-outputs h3 { margin-bottom: 24px; }
.output-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 24px;
}
.output-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink2);
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border2);
    border-radius: 4px;
}
.output-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* ============================================================
   PREDICTIVE ANALYSIS SECTION (homepage)
   Two-column: text + accent cards | inline SVG network graph
   ============================================================ */
.predict-section {
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    background: var(--white);
}
.predict-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.predict-text .eyebrow { color: var(--faint); }
.predict-text h2 { margin-bottom: 16px; }
.predict-text > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 22px;
    max-width: 520px;
}
.predict-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.predict-card {
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 2px rgba(10,37,64,0.03);
}
.predict-card:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 14px rgba(10,37,64,0.07);
}
.predict-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px 0;
    padding-bottom: 0;
}
.predict-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.predict-card--blue   { border-left-color: var(--blue);   }
.predict-card--teal   { border-left-color: var(--teal);   }
.predict-card--purple { border-left-color: var(--purple); }
.predict-card--blue:hover   { border-color: var(--blue);   }
.predict-card--teal:hover   { border-color: var(--teal);   }
.predict-card--purple:hover { border-color: var(--purple); }

/* Graph wrapper */
.predict-graph-wrap {
    position: relative;
    background: var(--grad-canvas);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(10,37,64,0.06);
    padding: 24px 18px;
    overflow: visible; /* tooltip can poke above the box */
}
.predict-graph {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    overflow: visible;
}
.predict-caption {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--faint);
    font-style: italic;
}

/* SVG node groups */
.predict-node { cursor: pointer; }
.predict-node .pn-shape {
    transition: filter 0.18s, transform 0.18s, stroke-width 0.18s;
    transform-box: fill-box;
    transform-origin: center;
}
.predict-node:hover .pn-shape {
    filter: drop-shadow(0 4px 10px rgba(10,37,64,0.18));
    stroke-width: 2.2;
}
.predict-node text {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
}

/* Side nodes — left (blue) */
.predict-node--blue .pn-shape {
    fill: var(--blue3);
    stroke: var(--blue);
    stroke-width: 1.5;
}
.predict-node--blue text { fill: var(--blue2); }

/* Centre node — blue, larger, thicker border */
.predict-node--centre .pn-shape {
    fill: var(--white);
    stroke: var(--blue);
    stroke-width: 2.2;
}
.predict-node--centre text {
    fill: var(--navy);
    font-weight: 700;
    font-size: 12.5px;
}

/* Side nodes — right (teal) */
.predict-node--teal .pn-shape {
    fill: var(--teal3);
    stroke: var(--teal);
    stroke-width: 1.5;
}
.predict-node--teal text { fill: var(--teal2); }

/* Connection lines — dashed, animated */
.predict-line {
    fill: none;
    stroke: #94a3b8;
    stroke-width: 1.4;
    stroke-dasharray: 6 5;
    animation: dashflow 1.4s linear infinite;
    opacity: 0.7;
}
@keyframes dashflow {
    to { stroke-dashoffset: -22; }
}

/* Tooltip (single shared div, JS-positioned) */
.predict-tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--navy);
    color: var(--white);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 6px 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 14px));
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 5;
    box-shadow: 0 6px 18px rgba(10,37,64,0.25);
    max-width: 240px;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
}
.predict-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--navy);
    transform: translateX(-50%) rotate(45deg);
}
.predict-tooltip.is-visible {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 18px));
}
.predict-tooltip.is-below {
    transform: translate(-50%, 14px);
}
.predict-tooltip.is-below.is-visible {
    transform: translate(-50%, 18px);
}
.predict-tooltip.is-below::after {
    bottom: auto;
    top: -5px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero, .presage-top, .contact-grid,
    .content-section-inner, .presage-public-inner,
    .sim-inner, .svc-block, .predict-inner {
        grid-template-columns: 1fr;
    }
    .sim-inner { gap: 32px; padding: 40px 32px; }
    .canvas-wrap { height: 300px; }
    .predict-inner { gap: 36px; padding: 44px 24px; }
    .output-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-grid { grid-template-columns: 1fr; padding: 24px 24px 40px; }
    .sector-grid > .sector-card:nth-child(5) { grid-column: auto; }
    .sector-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .case-studies-grid { grid-template-columns: 1fr; }
    .case-meta { grid-template-columns: 1fr; gap: 14px; }
    .svc-block { gap: 24px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-stat { border-bottom: 1px solid var(--border2); }
    .about-stat:nth-child(3), .about-stat:nth-child(4) { border-bottom: none; }
    .about-stat:nth-child(2) { border-right: none; }
    .about-values { grid-template-columns: 1fr; }
    .svc-block-body ul { grid-template-columns: 1fr; }
    .hero-stats { padding-left: 0; border-left: none; border-top: 2px solid #fde8eb; padding-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 24px; }
    .svc-grid, .use-case-grid { grid-template-columns: 1fr 1fr; }
    .svc { border-right: none; border-bottom: 1px solid var(--border2); }
    .use-case-card { border-right: none; }
    .tech-strip { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        margin-left: auto;
    }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 32px; gap: 16px; }
}
@media (max-width: 600px) {
    .svc-grid, .use-case-grid, .tech-strip { grid-template-columns: 1fr; }
    .tc { border-right: none; border-bottom: 1px solid var(--border2); }
    .hero { padding: 40px 20px 32px; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .presage-public-tags { flex-direction: row; flex-wrap: wrap; }
}
