/* ════════════════════════════════════════════════════════════
   STATUS PAGE — aligned with home page (Enzo design system)
   Colors:  ink #1a1a1a · pink #e8347a · peach #cda07f · cream #f5f4f0
   Type:    Inter (body)  · PlayfairDisplay italic (em accents)
   ════════════════════════════════════════════════════════════ */

/* Theme hides the global vertical guide lines below 768px (parts/footer.css).
   Re-enable them on the status page so the cream backdrop keeps its
   framing on phones. */
@media (max-width: 767px) {
    body.page-template-page-status .enzo-page-vline { display: block; }
}

.st-page {
    --st-pink:        #e8347a;
    --st-pink-deep:   #b91c5c;
    --st-pink-soft:   #f472b6;
    --st-peach:       #cda07f;
    --st-peach-warm:  #d9b094;
    --st-cream:       #f5f4f0;
    --st-ink:         #1a1a1a;
    --st-ink-soft:    #2a2a2a;
    --st-mute:        rgba(42, 42, 42, 0.7);
    --st-soft:        rgba(42, 42, 42, 0.5);
    --st-line:        rgba(205, 160, 127, 0.32);
    --st-line-soft:   rgba(205, 160, 127, 0.18);

    --st-ok:          #22c55e;
    --st-ok-deep:     #15803d;
    --st-ok-bg:       rgba(34, 197, 94, 0.08);
    --st-ok-border:   rgba(34, 197, 94, 0.3);

    --st-warn:        #f59e0b;
    --st-warn-deep:   #b45309;
    --st-warn-bg:     rgba(245, 158, 11, 0.08);
    --st-warn-border: rgba(245, 158, 11, 0.32);

    --st-fail:        #ef4444;
    --st-fail-deep:   #b91c1c;
    --st-fail-bg:     rgba(239, 68, 68, 0.08);
    --st-fail-border: rgba(239, 68, 68, 0.32);

    --st-minor:       #6366f1;
    --st-minor-deep:  #4338ca;
    --st-minor-bg:    rgba(99, 102, 241, 0.08);
    --st-minor-border:rgba(99, 102, 241, 0.3);

    --st-grad-warm:   linear-gradient(135deg, #e8347a 0%, #cda07f 100%);

    position: relative;
    background: var(--st-cream);
    color: var(--st-ink);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.st-shell {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px)  { .st-shell { padding: 0 48px; } }
@media (min-width: 1024px) { .st-shell { padding: 0 64px; } }

/* ─── Ambient background (blobs + grid) ─── */
.st-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.st-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
}
.st-blob-1 {
    width: 560px; height: 560px;
    top: -200px; left: -160px;
    background: radial-gradient(circle, rgba(232, 52, 122, 0.30), transparent 70%);
    animation: stDrift1 24s ease-in-out infinite;
}
.st-blob-2 {
    width: 620px; height: 620px;
    top: 28%; right: -200px;
    background: radial-gradient(circle, rgba(205, 160, 127, 0.42), transparent 70%);
    animation: stDrift2 28s ease-in-out infinite;
}
.st-blob-3 {
    width: 480px; height: 480px;
    bottom: -160px; left: 30%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.16), transparent 70%);
    animation: stDrift1 32s ease-in-out infinite reverse;
}
.st-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(205, 160, 127, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(205, 160, 127, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    opacity: 0.8;
}
@keyframes stDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes stDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-50px, -60px) scale(1.06); }
}

/* ════════════════════════════════════════════════════════════
   SHARED — eyebrows · titles · tags
   ════════════════════════════════════════════════════════════ */
.st-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(232, 52, 122, 0.1);
    border: 1px solid rgba(232, 52, 122, 0.28);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--st-pink-deep);
    width: fit-content;
}
.st-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--st-pink);
    animation: stPing 1.8s ease-out infinite;
}
.st-eyebrow-light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.st-eyebrow-light .st-eyebrow-dot { background: #fff; }
@keyframes stPing {
    0%   { box-shadow: 0 0 0 0 rgba(232, 52, 122, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(232, 52, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 52, 122, 0); }
}

.st-sec-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--st-pink-deep);
    margin-bottom: 10px;
}

/* H1 (hero) — matches home hero feel: large, tight, italic serif accent */
.st-h1 {
    font-size: clamp(44px, 7vw, 92px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 18px 0 0;
    color: var(--st-ink);
}
.st-h1 em {
    display: inline-block;
    font-style: italic;
    font-weight: 400;
    font-family: "PlayfairDisplay", "Times New Roman", serif;
    background: var(--st-grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.05em;
}

/* H2 — section headings */
.st-h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--st-ink);
}
.st-h2 em {
    font-style: italic;
    font-weight: 400;
    font-family: "PlayfairDisplay", "Times New Roman", serif;
    background: var(--st-grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Status tags */
.st-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
}
.st-tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex: none;
    position: relative;
}
.st-tag-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.45;
    animation: stTagPing 2s ease-out infinite;
}
@keyframes stTagPing {
    0%   { transform: scale(1);   opacity: 0.45; }
    100% { transform: scale(2.4); opacity: 0; }
}
.st-tag-operational { background: var(--st-ok-bg);    border-color: var(--st-ok-border);    color: var(--st-ok-deep); }
.st-tag-degraded    { background: var(--st-warn-bg);  border-color: var(--st-warn-border);  color: var(--st-warn-deep); }
.st-tag-partial     { background: var(--st-warn-bg);  border-color: var(--st-warn-border);  color: var(--st-warn-deep); }
.st-tag-outage      { background: var(--st-fail-bg);  border-color: var(--st-fail-border);  color: var(--st-fail-deep); }
.st-tag-maintenance { background: var(--st-minor-bg); border-color: var(--st-minor-border); color: var(--st-minor-deep); }

/* Mini tag (dot only) — used for integrations grid */
.st-tag-min {
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid transparent;
    flex: none;
}
.st-tag-min.st-tag-operational { background: var(--st-ok-bg);   border-color: var(--st-ok-border);   color: var(--st-ok-deep); }
.st-tag-min .st-tag-dot { width: 8px; height: 8px; }

/* ════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════ */
.st-hero {
    position: relative;
    padding: 96px 0 64px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
@media (min-width: 1024px) { .st-hero { padding: 144px 0 88px; gap: 26px; } }

.st-lede {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.6;
    color: var(--st-mute);
    max-width: 640px;
    margin: 4px 0 0;
    font-weight: 300;
}

/* Operational banner */
.st-banner {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--st-line);
    box-shadow: 0 26px 60px -30px rgba(42, 42, 42, 0.18);
    position: relative;
    overflow: hidden;
}
.st-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
}
.st-banner-ok::before {
    background:
        radial-gradient(ellipse 70% 100% at 0% 50%, rgba(34, 197, 94, 0.12), transparent 60%),
        linear-gradient(135deg, transparent 0%, rgba(34, 197, 94, 0.04) 100%);
}
.st-banner-l {
    display: flex; align-items: center; gap: 18px;
    position: relative; z-index: 1;
    min-width: 0;
}
.st-banner-pulse {
    position: relative;
    width: 48px; height: 48px;
    flex: none;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    display: inline-flex; align-items: center; justify-content: center;
}
.st-banner-pulse::before,
.st-banner-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.42);
    animation: stPulseRing 2.4s ease-out infinite;
}
.st-banner-pulse::after { animation-delay: 1.2s; }
.st-banner-pulse-dot {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--st-ok);
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.75);
}
@keyframes stPulseRing {
    0%   { transform: scale(0.85); opacity: 1; }
    100% { transform: scale(1.6);  opacity: 0; }
}
.st-banner-text {
    display: flex; flex-direction: column; gap: 3px;
    min-width: 0;
}
.st-banner-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-ok-deep);
    letter-spacing: -0.01em;
}
.st-banner-text span {
    font-size: 13.5px;
    color: var(--st-mute);
    line-height: 1.45;
}
.st-banner-r { position: relative; z-index: 1; }
.st-banner-time {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px;
    color: var(--st-soft);
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--st-cream);
    border: 1px solid var(--st-line-soft);
}
.st-banner-time svg {
    width: 14px; height: 14px;
    color: var(--st-peach);
    flex: none;
}
.st-banner-time span { font-weight: 600; color: var(--st-ink); }

/* KPI strip */
.st-kpis {
    margin-top: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px)  { .st-kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.st-kpi {
    position: relative;
    padding: 22px 22px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 20px;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}
.st-kpi::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 52, 122, 0.05), rgba(205, 160, 127, 0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.st-kpi:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 52, 122, 0.32);
    box-shadow: 0 22px 44px -22px rgba(232, 52, 122, 0.28);
}
.st-kpi:hover::after { opacity: 1; }
.st-kpi > * { position: relative; z-index: 1; }
.st-kpi-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(232, 52, 122, 0.10) 0%, rgba(205, 160, 127, 0.16) 100%);
    color: var(--st-pink-deep);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.st-kpi-icon svg { width: 18px; height: 18px; }
.st-kpi:hover .st-kpi-icon {
    transform: rotate(-6deg) scale(1.05);
    background: var(--st-grad-warm);
    color: #fff;
}
.st-kpi-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--st-soft);
}
.st-kpi-value {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--st-ink);
    font-variant-numeric: tabular-nums;
}
.st-kpi-accent {
    background: linear-gradient(135deg, rgba(232, 52, 122, 0.06), rgba(205, 160, 127, 0.10));
    border-color: rgba(232, 52, 122, 0.24);
}
.st-kpi-accent .st-kpi-icon {
    background: var(--st-grad-warm);
    color: #fff;
}
.st-kpi-accent .st-kpi-value {
    background: var(--st-grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ════════════════════════════════════════════════════════════
   SHARED — section heads
   ════════════════════════════════════════════════════════════ */
.st-sec {
    position: relative;
    padding: 56px 0;
}
@media (min-width: 768px)  { .st-sec { padding: 72px 0; } }
@media (min-width: 1024px) { .st-sec { padding: 88px 0; } }

.st-sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 32px;
}
.st-sec-head h2 { margin-top: 4px; }

/* ════════════════════════════════════════════════════════════
   2. 90-DAY UPTIME
   ════════════════════════════════════════════════════════════ */
.st-uptime-sec { padding-top: 32px; }

.st-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--st-mute);
}
.st-legend span {
    display: inline-flex; align-items: center; gap: 6px;
}
.st-legend-dot {
    width: 9px; height: 9px;
    border-radius: 2px;
    display: inline-block;
}
.st-legend-ok   { background: var(--st-ok);   }
.st-legend-warn { background: var(--st-warn); }
.st-legend-fail { background: var(--st-fail); }

.st-uptime-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 24px;
    box-shadow: 0 18px 40px -24px rgba(42, 42, 42, 0.16);
}
@media (min-width: 768px) { .st-uptime-card { padding: 32px; } }
.st-uptime-bars {
    display: flex;
    align-items: stretch;
    gap: 2px;
    height: 64px;
    margin-bottom: 20px;
}
@media (min-width: 768px) { .st-uptime-bars { height: 86px; gap: 3px; } }
.st-uptime-bar {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 4px;
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}
.st-uptime-bar:hover {
    transform: scaleY(1.08);
    filter: brightness(1.12);
}
.st-uptime-ok   { background: linear-gradient(180deg, #4ade80 0%, var(--st-ok) 100%); }
.st-uptime-warn { background: linear-gradient(180deg, #fbbf24 0%, var(--st-warn) 100%); }
.st-uptime-fail { background: linear-gradient(180deg, #f87171 0%, var(--st-fail) 100%); }

.st-uptime-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--st-soft);
    padding-top: 16px;
    border-top: 1px dashed var(--st-line-soft);
}
.st-uptime-percent {
    font-weight: 700;
    color: var(--st-ok-deep);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.005em;
    font-size: 13px;
}

/* ════════════════════════════════════════════════════════════
   3. AI AGENTS — 4 systems grid
   ════════════════════════════════════════════════════════════ */
.st-systems {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 760px)  { .st-systems { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .st-systems { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.st-system {
    position: relative;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.st-system::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 52, 122, 0.04), rgba(205, 160, 127, 0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.st-system:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 52, 122, 0.32);
    box-shadow: 0 22px 44px -22px rgba(232, 52, 122, 0.25);
}
.st-system:hover::after { opacity: 1; }
.st-system > * { position: relative; z-index: 1; }

.st-system-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--st-line-soft);
}
.st-system-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--st-pink-deep);
}

.st-svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.st-svc-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 12px;
    transition: background 0.18s ease;
}
.st-svc-row:hover { background: var(--st-cream); }
.st-svc-icon {
    width: 30px; height: 30px;
    border-radius: 10px;
    background: var(--st-cream);
    border: 1px solid var(--st-line-soft);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--st-pink-deep);
    flex: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.st-svc-row:hover .st-svc-icon {
    background: var(--st-grad-warm);
    color: #fff;
    border-color: transparent;
    transform: rotate(-4deg) scale(1.05);
}
.st-svc-icon svg { width: 15px; height: 15px; }
.st-svc-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--st-ink);
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.st-svc-state {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ok-deep);
    line-height: 1;
}
.st-svc-state .st-tag-dot {
    width: 7px; height: 7px;
}
/* On narrow 4-col layout (large desktops) — collapse status text, dot only */
@media (min-width: 1200px) {
    .st-svc-state-text { display: none; }
    .st-svc-state .st-tag-dot { width: 9px; height: 9px; }
}
/* Mobile — collapse to dot only */
@media (max-width: 480px) {
    .st-svc-state-text { display: none; }
    .st-svc-state .st-tag-dot { width: 9px; height: 9px; }
}

/* ════════════════════════════════════════════════════════════
   4. INFRASTRUCTURE
   ════════════════════════════════════════════════════════════ */
.st-infra-card {
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px -24px rgba(42, 42, 42, 0.14);
}
.st-infra-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 16px;
    padding: 16px 28px;
    background: var(--st-cream);
    border-bottom: 1px solid var(--st-line-soft);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--st-soft);
}
@media (max-width: 767px) { .st-infra-head { display: none; } }

.st-infra-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.st-infra-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 16px;
    padding: 18px 28px;
    align-items: center;
    border-bottom: 1px solid var(--st-line-soft);
    transition: background 0.18s ease;
}
.st-infra-row:last-child { border-bottom: 0; }
.st-infra-row:hover { background: var(--st-cream); }
.st-infra-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--st-ink);
    letter-spacing: -0.005em;
    min-width: 0;
}
.st-infra-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(232, 52, 122, 0.10) 0%, rgba(205, 160, 127, 0.16) 100%);
    color: var(--st-pink-deep);
    flex: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.st-infra-icon svg { width: 17px; height: 17px; }
.st-infra-row:hover .st-infra-icon {
    background: var(--st-grad-warm);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.st-infra-cell {
    font-size: 13.5px;
    color: var(--st-ink);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.st-infra-cell-end { align-items: flex-end; }
.st-infra-cell-label {
    display: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--st-soft);
}
.st-infra-mono {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -0.005em;
}

/* Mobile: stack as a card */
@media (max-width: 767px) {
    .st-infra-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "name   status"
            "uptime response";
        align-items: start;
        padding: 18px 20px;
        gap: 14px 16px;
    }
    .st-infra-name { grid-area: name; }
    .st-infra-cell:nth-of-type(1) { grid-area: uptime; }
    .st-infra-cell:nth-of-type(2) { grid-area: response; }
    .st-infra-cell-end { grid-area: status; align-items: flex-end; }
    .st-infra-cell-label { display: inline-block; }
    .st-infra-icon { width: 32px; height: 32px; }
    .st-infra-icon svg { width: 15px; height: 15px; }
}

/* ════════════════════════════════════════════════════════════
   5. INTEGRATIONS
   ════════════════════════════════════════════════════════════ */
.st-integ-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 600px)  { .st-integ-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px)  { .st-integ-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .st-integ-grid { grid-template-columns: repeat(5, 1fr); } }

.st-integ-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.st-integ-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 52, 122, 0.04), rgba(205, 160, 127, 0.07));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.st-integ-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 52, 122, 0.32);
    box-shadow: 0 18px 36px -18px rgba(232, 52, 122, 0.25);
}
.st-integ-card:hover::after { opacity: 1; }
.st-integ-card > * { position: relative; z-index: 1; }
.st-integ-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.st-integ-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--st-integ-color, #b91c5c) 14%, #fff);
    color: var(--st-integ-color, var(--st-pink-deep));
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.st-integ-avatar svg { width: 20px; height: 20px; }
.st-integ-logo {
    width: 22px; height: 22px;
    object-fit: contain;
    display: block;
}
.st-integ-card:hover .st-integ-avatar {
    background: var(--st-integ-color, var(--st-pink-deep));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--st-integ-color, #b91c5c) 55%, transparent);
}
.st-integ-body { display: flex; flex-direction: column; gap: 2px; }
.st-integ-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-ink);
    letter-spacing: -0.005em;
}
.st-integ-role {
    font-size: 12px;
    color: var(--st-soft);
}
.st-integ-state {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ok-deep);
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px dashed var(--st-line-soft);
    display: flex; align-items: center; gap: 6px;
}
.st-integ-state::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--st-ok);
}

/* ════════════════════════════════════════════════════════════
   6. CTA — dark card with pink/peach glow
   ════════════════════════════════════════════════════════════ */
.st-cta {
    position: relative;
    padding: 32px 0 112px;
}
.st-cta-card {
    position: relative;
    padding: 44px 28px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1a1010 0%, #2a1a20 100%);
    box-shadow: 0 30px 70px -30px rgba(26, 16, 16, 0.55);
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: center;
}
@media (min-width: 900px) {
    .st-cta-card {
        grid-template-columns: 1.4fr 1fr;
        padding: 64px;
        gap: 48px;
    }
}
.st-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 60% at 18% 0%, rgba(232, 52, 122, 0.55), transparent 60%),
        radial-gradient(ellipse 60% 60% at 82% 100%, rgba(205, 160, 127, 0.55), transparent 65%),
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px;
    opacity: 0.85;
}
.st-cta-card > *:not(.st-cta-bg) { position: relative; z-index: 1; }

.st-cta-text { display: flex; flex-direction: column; gap: 14px; }
.st-cta-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0;
    color: #fff;
}
.st-cta-title em {
    font-style: italic;
    font-weight: 400;
    font-family: "PlayfairDisplay", "Times New Roman", serif;
    background: linear-gradient(135deg, #fff 0%, var(--st-peach) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.st-cta-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 480px;
}

.st-cta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 480px) { .st-cta-form { flex-direction: row; align-items: stretch; } }

.st-cta-field {
    flex: 1;
    display: flex;
    min-width: 0;
}
.st-cta-field input {
    flex: 1;
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}
.st-cta-field input::placeholder { color: rgba(255, 255, 255, 0.45); }
.st-cta-field input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(232, 52, 122, 0.25);
}
.st-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 22px;
    border-radius: 14px;
    background: var(--st-grad-warm);
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 12px 26px -10px rgba(232, 52, 122, 0.6);
    white-space: nowrap;
    font-family: inherit;
}
.st-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 16px 32px -12px rgba(232, 52, 122, 0.75);
}
.st-cta-btn svg {
    width: 15px; height: 15px;
    transition: transform 0.2s ease;
}
.st-cta-btn:hover svg { transform: translateX(2px); }

.st-cta-foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}
.st-cta-foot a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease;
}
.st-cta-foot a:hover { color: #fff; text-decoration: underline; }

/* Screen reader only */
.st-cta .screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ════════════════════════════════════════════════════════════
   FINE-GRAINED MOBILE TUNING
   ════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .st-hero { padding: 80px 0 48px; gap: 18px; }
    .st-banner { padding: 18px 18px; }
    .st-banner-l { gap: 14px; }
    .st-banner-pulse { width: 42px; height: 42px; }
    .st-banner-pulse-dot { width: 12px; height: 12px; }
    .st-banner-text strong { font-size: 16px; }
    .st-banner-text span { font-size: 13px; }
    .st-banner-r { width: 100%; }
    .st-banner-time { width: 100%; justify-content: center; }

    .st-kpi { padding: 18px; gap: 6px; }
    .st-kpi-icon { width: 32px; height: 32px; border-radius: 10px; }
    .st-kpi-icon svg { width: 16px; height: 16px; }
    .st-kpi-label { font-size: 10.5px; letter-spacing: 0.14em; }

    .st-sec-head { margin-bottom: 24px; }
    .st-uptime-card { padding: 22px; }

    .st-system { padding: 20px; }
    .st-svc-row { padding: 9px 6px; grid-template-columns: 28px 1fr auto; gap: 9px; }
    .st-svc-icon { width: 28px; height: 28px; border-radius: 9px; }
    .st-svc-name { font-size: 13px; }

    .st-cta { padding: 24px 0 80px; }
    .st-cta-card { padding: 36px 24px; gap: 18px; }
    .st-cta-title { font-size: clamp(26px, 7vw, 34px); }
    .st-cta-text p { font-size: 14px; }
}

@media (max-width: 380px) {
    .st-h1 { font-size: clamp(38px, 9vw, 52px); }
    .st-banner-text strong { font-size: 15px; }
    .st-integ-grid { grid-template-columns: 1fr; }
}

/* Reduced motion — disable shine + drift animations */
@media (prefers-reduced-motion: reduce) {
    .st-blob,
    .st-banner-pulse::before,
    .st-banner-pulse::after,
    .st-eyebrow-dot,
    .st-tag-dot::after {
        animation: none !important;
    }
}
