:root {
    --font-sans: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --brand: #1e4ed8;
    --brand-hover: #1b46c4;
    --ink: #f1f5f9;
    --body: #cbd5e1;
    --muted: #94a3b8;
    --line: rgba(148, 163, 184, 0.18);
    --surface: rgba(255,255,255,0.07);
    --surface-soft: rgba(255,255,255,0.04);
    --canvas: #0a1930;
}
body {
    font-family: var(--font-sans);
    overflow-x: hidden;
    background: #0a1930;
    color: var(--body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Match product pages: header blends into hero, CTA blends into footer */
.site-header {
    background: #0a1930 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.pwi-site-bottom {
    background: linear-gradient(180deg, #0a1930 0%, #0f172a 42%, #0f172a 100%) !important;
}
.bg-canvas {
    background: var(--canvas) !important;
}
.bg-surface {
    background: var(--surface) !important;
}
.bg-surface-soft {
    background: var(--surface-soft) !important;
}
.text-ink {
    color: var(--ink) !important;
}
.text-body {
    color: var(--body) !important;
}
.text-muted {
    color: var(--muted) !important;
}
.border-line {
    border-color: var(--line) !important;
}
.soft-elev {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
}
.btn-secondary {
    background: rgba(147, 197, 253, 0.14);
    border: 1px solid rgba(147, 197, 253, 0.32);
    color: #93c5fd;
}
.btn-secondary:hover {
    background: #1E4ED8;
    border-color: #1E4ED8;
    color: #fff;
}
summary {
    list-style: none;
}
summary::-webkit-details-marker {
    display: none;
}
summary::marker {
    content: "";
}
details[open] .chev {
    transform: rotate(180deg);
}
.chev {
    transition: transform 0.2s ease;
    display: inline-block;
    line-height: 1;
}
.rowlike {
    color: var(--body);
    text-decoration: none;
}
.rowlike {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0.4rem 1rem;
    transition: background 160ms ease;
    border-bottom: 1px solid rgba(147, 197, 253, 0.16);
}
.rowlike:last-child {
    border-bottom: none !important;
}
.rowlike:hover {
    background: rgba(147, 197, 253, 0.12);
}
.rowlike.is-active {
    background: rgba(147, 197, 253, 0.14);
    box-shadow: inset 3px 0 0 #1E4ED8, inset 0 0 0 1px rgba(147, 197, 253, 0.22);
}
.rowlike.is-active:hover {
    background: rgba(147, 197, 253, 0.18);
}
.rowlike.is-active .rowlink {
    color: #1E4ED8 !important;
    font-weight: 600 !important;
}
.rowlink {
    display: block;
    width: 100%;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.rowlink .row-pn {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.92em;
}
.rowlink .row-pn::before {
    content: " — ";
    color: #94a3b8;
    font-weight: 400;
}
.rowlink:hover {
    color: var(--brand);
}
.rowlink:focus-visible {
    outline: 2px solid #1e4ed8;
    outline-offset: 2px;
    border-radius: 0.375rem;
}
details > summary::-webkit-details-marker {
    display: none !important;
}
details > summary::marker {
    content: "" !important;
    display: none !important;
}
.hero-dark {
    background: #0a1930;
    color: #e2e8f0;
}
.data-heading {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}
.card-headline {
    color: #93c5fd !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}
.reveal {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 520ms ease-out forwards;
}
.reveal-1 {
    animation-delay: 60ms;
}
.reveal-2 {
    animation-delay: 140ms;
}
.reveal-3 {
    animation-delay: 220ms;
}
@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
/* ===== DARK CONTENT SECTION ===== */
.dark-section .text-ink { color: #e2e8f0 !important; }
.dark-section .text-muted { color: #94a3b8 !important; }
.dark-section .rowlink { color: #cbd5e1 !important; }
.dark-section .rowlink:hover { color: #93c5fd !important; }
.dark-section .rowlike:hover { background: rgba(147,197,253,0.12) !important; }
footer { border-top: none !important; box-shadow: none !important; }
.hub-page-rail,
.king-air-page-rail,
.beechjet-page-rail,
.citation-page-rail {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.hero-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.dark-section { background: #0a1930 !important; }
.dark-section .grid { gap: 1rem !important; }
.dark-section .grid > .bg-surface {
    background: rgba(147, 197, 253, 0.10) !important;
    border-color: rgba(147, 197, 253, 0.26) !important;
    border-radius: 1rem !important;
    box-shadow: none !important;
    transition: background 220ms ease, border-color 220ms ease !important;
}
.dark-section .grid > .bg-surface:hover {
    background: rgba(147, 197, 253, 0.16) !important;
    border-color: rgba(147, 197, 253, 0.36) !important;
    box-shadow: none !important;
}
.ka-body { display: none; }
.ka-body.ka-open { display: block; }
@media (scripting: none) {
  .ka-body { display: block; }
  .ka-chevron { display: none; }
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}
.ka-toggle { transition: background-color 0.2s ease; }
.ka-toggle:hover, .ka-toggle:focus-visible { background: rgba(147, 197, 253, 0.1); outline: none; }
.dark-section .ka-toggle:hover, .dark-section .ka-toggle:focus-visible { background: rgba(147, 197, 253, 0.08); }
.ka-chevron { transition: transform 0.2s ease; }
.ka-open-state .ka-chevron { transform: rotate(180deg); }
.dark-section .ka-toggle { min-height: 5.25rem; padding: 1rem 1.25rem !important; border-bottom-color: rgba(147, 197, 253, 0.18) !important; }
.dark-section .ka-toggle p:first-child, .dark-section .ka-toggle .ka-title { color: #fff !important; font-size: 1rem !important; line-height: 1.25 !important; }
.dark-section .ka-toggle p.text-muted { color: #94a3b8 !important; }
.dark-section .ka-chevron { width: 0.9rem !important; height: 0.9rem !important; color: #94a3b8 !important; }
.dark-section .ka-body { background: rgba(147, 197, 253, 0.06); }
.dark-section .bg-surface-soft {
    padding: 0.75rem 1.25rem !important;
    background: rgba(147, 197, 253, 0.10) !important;
    border-color: rgba(147, 197, 253, 0.22) !important;
}
.dark-section .bg-surface-soft p { color: #93C5FD !important; font-size: 0.68rem !important; letter-spacing: 0.12em !important; }
.dark-section a.flex {
  padding: 0.9rem 1.25rem !important;
  border-color: rgba(147, 197, 253, 0.16) !important;
  transition: background-color 200ms ease;
}
.dark-section a.flex span { color: #d8e1ee !important; font-size: 0.92rem !important; line-height: 1.35 !important; }
.dark-section a.flex svg {
  width: 0.9rem !important; height: 0.9rem !important; color: #94a3b8 !important;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .dark-section a.flex:hover {
    background-color: rgba(147, 197, 253, 0.12);
  }
  .dark-section a.flex:hover svg { color: #93c5fd !important; }
}

/* ---- Scroll reveal ---- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(.22,1,.36,1), transform 600ms cubic-bezier(.22,1,.36,1);
}
.scroll-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.product-family-list .grid > .scroll-reveal:nth-child(3n+1) { transition-delay: 0ms; }
.product-family-list .grid > .scroll-reveal:nth-child(3n+2) { transition-delay: 60ms; }
.product-family-list .grid > .scroll-reveal:nth-child(3n+3) { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* Aircraft hub hero */
.hub-hero-breadcrumb {
    padding-top: 1.25rem;
}
.hub-hero-inner {
    padding-top: 1.25rem;
}
.hub-hero-title {
    font-size: clamp(2.55rem, 10.5vw, 3.75rem);
    font-weight: 300;
    line-height: 0.93;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    margin: 0;
}
.hub-hero-accent {
    color: #60a5fa;
    -webkit-text-fill-color: #60a5fa;
}
.hub-hero-subtitle {
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
    margin-top: 0.75rem;
}
.hero-ctas a {
    min-height: 44px;
    box-sizing: border-box;
}
.hub-card-icon {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 10px !important;
    background: rgba(147, 197, 253, 0.22);
    border: 1px solid rgba(147, 197, 253, 0.28);
}
.hub-row-link {
    text-decoration: none;
}
.pdf-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    box-sizing: border-box;
    background: rgba(147, 197, 253, 0.14);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.32);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.pdf-cta-btn-secondary:hover,
.pdf-cta-btn-secondary:focus-visible {
    background: #1E4ED8;
    border-color: #1E4ED8;
    color: #fff;
}
@media (min-width: 640px) {
    .hub-hero-breadcrumb {
        padding-top: 2rem;
    }
    .hub-hero-inner {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .hub-hero-inner {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
}
@media (max-width: 639px) {
    .hero-mobile-bump {
        min-height: auto !important;
    }
    .hub-hero-title {
        font-size: 2.35rem !important;
        line-height: 1.02 !important;
    }
    .hub-hero-subtitle {
        font-size: 1rem !important;
        margin-top: 0.65rem !important;
    }
    .hub-hero-inner .reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}
