/* site.css — corporate site overlay (added 2026-05-08, Wave 1)
   Holds new IA-specific styles that didn't exist in style.css
   Original style.css and responsive.css are still loaded ahead of this file. */

/* ============================================================
   Design tokens & global resets — Dalga 2 (2026-05-14)
============================================================ */
:root {
    --brand-900: #001a36;
    --brand-700: #002B55;
    --brand-500: #1f4470;
    --brand-50:  #ecf2f9;
    --accent-600: #d8550c;
    --accent-500: #FF6A00;
    --accent-100: #fff1e6;
    --ink-900: #0B1220;
    --ink-700: #1f2937;
    --ink-500: #4a5260;
    --ink-300: #6b7280;
    --line:    #e6ebf2;
    --surface: #ffffff;
    --bg:      #f7f9fc;
    /* Audit 2026-05-15 — consolidated paper tokens + CTA gradient */
    --paper:   #ffffff;
    --paper-2: #f6f9fc;
    --deep-cta: linear-gradient(135deg, var(--brand-900) 0%, #06122a 100%);
    --code-bg: #0f1419;
    --code-fg: #d4e0ee;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 43, 85, 0.06);
    --shadow-md: 0 10px 28px rgba(0, 43, 85, 0.10);
    --shadow-lg: 0 24px 48px rgba(0, 43, 85, 0.14);
    --type-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --type-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", monospace;
    --ease: cubic-bezier(.4,.0,.2,1);
}

html, body {
    font-family: var(--type-sans);
    font-feature-settings: "cv11","cv02","ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--ink-700);
    background: var(--surface);
}
/* Override legacy body,* { Barlow } from style.css across every text element */
body, p, a, span, li, td, th, dt, dd, label, em, strong, b, i, small, blockquote, cite, q, mark, time, figcaption, summary, button, input, textarea, select, header, footer, nav, main, section, article, aside, .badge, .menu-links, .hero-eyebrow, .trust-pill, .footer-tagline, .footer-links-section, .footer-legal, .footer-legal *, .footer-grid *, .wide-card-p, .wide-card-head, .wide-card-blue-button, .headers-bordered, .card-head, .card-description, .menu-bottom, .menu-bottom-desc, .menu-bottom-desc b, h1.menu-bottom-head, h1.menu-bottom-head b, h2.wide-card-head, p.wide-card-p, .hero-block h1, .hero-block .hero-sub, .hero-block .hero-ctas a {
    font-family: var(--type-sans) !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--type-sans) !important;
    letter-spacing: -0.012em;
    color: var(--brand-700);
}
/* Monospace where it actually belongs */
code, pre, kbd, samp, var, tt,
.tool-name, .ide-code, .ide-code *, .ide-tab, .code-snippet, .code-snippet *, .ide-chat .tag {
    font-family: var(--type-mono) !important;
}
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: 6px;
}
::selection { background: var(--accent-500); color: #fff; }
img { max-width: 100%; height: auto; }

/* Footer 4-column reorganisation */
.site-footer .footer-cols {
    margin-top: 16px;
}
.site-footer .footer-cols + .footer-cols.footer-secondary {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}
.site-footer .footer-tagline {
    font-size: 14px;
    color: #b3bccb;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 260px;
}
.site-footer .footer-social {
    margin-top: 16px;
}
.site-footer .footer-social .social-links {
    display: inline-block;
    margin-right: 10px;
}
.site-footer .footer-social .social-links img {
    width: 22px;
    height: 22px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.site-footer .footer-social .social-links:hover img {
    opacity: 1;
}
.site-footer .footer-legal {
    font-size: 13px;
    color: #8a93a3;
    margin-top: 8px;
}
.site-footer .footer-legal a {
    color: #b3bccb;
}
.site-footer .footer-legal .footer-copy {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

/* Mobile menu CTA */
.mobile-menu .mobile-cta {
    display: inline-block;
    background: #002B55;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 24px;
    margin-top: 12px;
    font-weight: 600;
}

/* Hero — new uniform style for refreshed pages */
.hero-block {
    padding: 60px 48px;
    background: linear-gradient(135deg, #002B55 0%, #495667 100%);
    color: #fff;
    border-radius: 24px;
    margin: 24px auto;
}
.hero-block h1 {
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.018em;
    margin-bottom: 18px;
    color: #fff !important;
}
.hero-block .hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: #d8e0eb;
    max-width: 720px;
    margin-bottom: 22px;
}
.hero-block .hero-ctas a { color: inherit; }
.hero-block .hero-ctas .cta-primary {
    background: var(--accent-500);
    color: #fff;
    border-radius: 12px;
    padding: 12px 22px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(255,106,0,0.28);
    transition: transform .15s var(--ease), background .2s var(--ease);
}
.hero-block .hero-ctas .cta-primary:hover { background: #ff7d1f; transform: translateY(-1px); }
.hero-block .hero-ctas .cta-secondary {
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 22px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    background: rgba(255,255,255,0.04);
    transition: background .2s var(--ease);
}
.hero-block .hero-ctas .cta-secondary:hover { background: rgba(255,255,255,0.12); }
.hero-block .hero-ctas {
    margin-top: 28px;
}
.hero-block .hero-ctas a {
    display: inline-block;
    margin-right: 12px;
    padding: 12px 22px;
    border-radius: 24px;
    font-weight: 600;
}
.hero-block .hero-ctas .cta-primary {
    background: #fff;
    color: #002B55;
}
.hero-block .hero-ctas .cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* 3-track section */
.three-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px auto;
}
.three-track .track-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 6px 18px rgba(0, 43, 85, 0.08);
}
.three-track .track-card h3 {
    color: #002B55;
    font-size: 22px;
    margin-bottom: 14px;
}
.three-track .track-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.three-track .track-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #444;
    font-size: 15px;
}
.three-track .track-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e8b57;
    font-weight: 700;
}
@media (max-width: 768px) {
    .three-track {
        grid-template-columns: 1fr;
    }
    .hero-block h1 {
        font-size: 32px;
    }
}

/* Concrete platform cards — replaces generic 8-card grid */
.concrete-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}
@media (max-width: 992px) {
    .concrete-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .concrete-cards {
        grid-template-columns: 1fr;
    }
}
.concrete-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.concrete-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.concrete-card .badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #495667;
    background: #ecf2f9;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.concrete-card h3,
.concrete-card h4 {
    font-size: 19px;
    color: var(--brand-700);
    margin: 8px 0 10px;
    font-weight: 600;
}
.concrete-card p {
    font-size: 14.5px;
    color: #4a5260;
    line-height: 1.55;
    margin-bottom: 16px;
}
.concrete-card .card-link {
    color: #1768e2;
    font-weight: 600;
    font-size: 14px;
}

/* Architecture diagram container */
.architecture-block {
    background: #f6f9fc;
    border-radius: 20px;
    padding: 40px 32px;
    margin: 48px 0;
}
.architecture-block img,
.architecture-block svg {
    width: 100%;
    max-width: 1100px;
    margin: 16px auto;
    display: block;
}

/* Comparison table — for /compare and pricing */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.comparison-table th,
.comparison-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid #ecf2f9;
    font-size: 14.5px;
}
.comparison-table th {
    background: #002B55;
    color: #fff;
    font-weight: 600;
}
.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
    font-weight: 600;
    color: #002B55;
}
.comparison-table tr:nth-child(even) td {
    background: #fafcfe;
}

/* Tile grid for /developers */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 992px) {
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .tile-grid { grid-template-columns: 1fr; }
}
.tile-grid .tile {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #ecf2f9;
}
.tile-grid .tile h4 {
    font-size: 18px;
    color: #002B55;
    margin-bottom: 8px;
}
.tile-grid .tile code.kbd {
    display: block;
    background: #0f1419;
    color: #d4e0ee;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
    font-family: "Cascadia Mono", "Consolas", monospace;
    overflow-x: auto;
}

/* Trust bar (security page) */
.trust-bar {
    display: flex;
    justify-content: space-around;
    padding: 24px;
    background: #f6f9fc;
    border-radius: 16px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.trust-bar .trust-pill {
    padding: 12px 20px;
    background: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #002B55;
    margin: 6px;
}

/* Vertical card grid (solutions) */
.vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}
@media (max-width: 992px) { .vertical-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vertical-grid { grid-template-columns: 1fr; } }
.vertical-grid .vertical-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 6px 18px rgba(0, 43, 85, 0.06);
}
.vertical-grid .vertical-card h3 {
    color: #002B55;
    font-size: 22px;
    margin-bottom: 12px;
}
.vertical-grid .vertical-card .problem {
    font-style: italic;
    color: #5b6678;
    margin-bottom: 12px;
    font-size: 14px;
}
.vertical-grid .vertical-card .fit {
    font-size: 14.5px;
    color: #333;
    line-height: 1.55;
    margin-bottom: 14px;
}
.vertical-grid .vertical-card .feature-pills {
    margin-bottom: 16px;
}
.vertical-grid .vertical-card .feature-pills span {
    display: inline-block;
    background: #ecf2f9;
    color: #1f4470;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
    margin: 2px;
}

/* Code embed */
pre.code-snippet {
    background: #0f1419;
    color: #d4e0ee;
    padding: 18px 20px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: "Cascadia Mono", "Consolas", monospace;
    font-size: 13px;
    line-height: 1.5;
}

/* Status indicator */
.status-light {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}
.status-light.status-up { background: #2e8b57; }
.status-light.status-down { background: #d23434; }
.status-light.status-degraded { background: #e8a92e; }


/* ============================================================
   Dalga 2 — Hero v2, IDE mock, chaos strip, polished cards
   Appended 2026-05-14
============================================================ */

/* Skip link (a11y) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand-700);
    color: #fff;
    padding: 12px 18px;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Hero v2 — split layout with IDE mock */
.hero-v2 {
    background: radial-gradient(120% 80% at 0% 0%, #002B55 0%, #001a36 60%, #000c1e 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    margin: 24px auto 32px;
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
}
.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 95% 30%, rgba(255,106,0,0.20), transparent 60%);
    pointer-events: none;
}
.hero-v2 .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-v2 .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffb585;
    font-weight: 700;
    padding: 6px 12px;
    background: rgba(255,106,0,0.10);
    border: 1px solid rgba(255,106,0,0.32);
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero-v2 h1 {
    color: #fff;
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.024em;
    margin: 0 0 18px 0;
}
.hero-v2 h1 em {
    font-style: normal;
    font-family: inherit !important;
    font-weight: inherit;
    background: linear-gradient(90deg, #ff9b5c, #ff6a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-v2 .hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: #cdd6e3;
    max-width: 560px;
    margin: 0 0 28px 0;
}
.hero-v2 .hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}
.hero-v2 .hero-ctas a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s var(--ease);
    margin: 0;
}
.hero-v2 .cta-primary {
    background: var(--accent-500);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255,106,0,0.32);
}
.hero-v2 .cta-primary:hover { transform: translateY(-1px); background: #ff7d1f; }
.hero-v2 .cta-secondary {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}
.hero-v2 .cta-secondary:hover { background: rgba(255,255,255,0.12); }
.hero-v2 .hero-trust {
    margin-top: 28px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #9aa6b8;
}
.hero-v2 .hero-trust span { display: inline-flex; gap: 6px; align-items: center; }
.hero-v2 .hero-trust .dot { width:6px; height:6px; border-radius:50%; background: var(--accent-500); }

/* IDE mock */
.ide-mock {
    background: #0a0f17;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden;
    font-family: var(--type-mono);
}
.ide-mock .ide-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #101926;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ide-mock .ide-dot { width: 10px; height: 10px; border-radius: 50%; }
.ide-mock .ide-dot.r { background: #ff5f57; }
.ide-mock .ide-dot.y { background: #ffbd2e; }
.ide-mock .ide-dot.g { background: #27c93f; }
.ide-mock .ide-tab {
    margin-left: 12px;
    font-size: 12px;
    color: #cdd6e3;
    background: #0a0f17;
    border-radius: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.06);
}
.ide-mock .ide-body {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 280px;
}
.ide-mock .ide-code {
    padding: 16px 18px;
    font-size: 12.5px;
    line-height: 1.7;
    color: #c8d3e2;
    white-space: pre;
    overflow: hidden;
}
.ide-mock .ide-code .ln { color: #3b4a60; user-select: none; display: inline-block; width: 22px; }
.ide-mock .ide-code .kw  { color: #7fb6ff; }
.ide-mock .ide-code .fn  { color: #ffd479; }
.ide-mock .ide-code .str { color: #a3e4a3; }
.ide-mock .ide-code .cmt { color: #5b6776; font-style: italic; }
.ide-mock .ide-chat {
    background: #0e1623;
    border-left: 1px solid rgba(255,255,255,0.06);
    padding: 14px 14px;
    font-family: var(--type-sans);
    font-size: 12.5px;
    color: #cdd6e3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ide-mock .ide-chat .msg {
    background: #142133;
    border-radius: 10px;
    padding: 10px 12px;
    line-height: 1.45;
}
.ide-mock .ide-chat .msg.user { background: transparent; color: #9aa6b8; padding-left: 0; }
.ide-mock .ide-chat .msg.user::before { content: "› "; color: #ff8a3d; }
.ide-mock .ide-chat .msg.agent { border-left: 2px solid var(--accent-500); }
.ide-mock .ide-chat .tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff8a3d;
    margin-bottom: 4px;
    font-weight: 700;
}
.ide-mock .ide-chat .ok { font-size: 11px; color: #7ed9a9; margin-top: 4px; display: inline-block; }

@media (max-width: 992px) {
    .hero-v2 { padding: 40px 24px; }
    .hero-v2 .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .ide-mock .ide-body { grid-template-columns: 1fr; }
    .ide-mock .ide-chat { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
}

/* Eyebrow chip — PLATFORM/FEATURES/... */
.headers-bordered {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-600);
    text-align: center;
    margin-bottom: 14px;
    font-weight: 700;
    display: block;
}
.headers-bordered::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent-500);
    margin: 10px auto 0;
}

/* Platform cards with icons */
.concrete-card {
    border: 1px solid var(--line);
    position: relative;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.concrete-card > p,
.concrete-card > h3,
.concrete-card > h4 { align-self: stretch; }
.concrete-card .platform-icon {
    width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-700);
    margin: 0 0 4px;
    flex-shrink: 0;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.concrete-card .platform-icon svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
    stroke: currentColor;
    fill: none;
}
.concrete-card:hover .platform-icon {
    background: var(--accent-100);
    color: var(--accent-600);
}
.concrete-card .badge {
    background: var(--brand-50);
    color: var(--brand-700);
}
.concrete-card .card-link {
    color: var(--accent-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.concrete-card .card-link::after {
    content: "→";
    transition: transform .2s var(--ease);
    display: inline-block;
}
.concrete-card:hover .card-link::after { transform: translateX(3px); }

/* Hero-block (other pages) — re-styled with tokens */
.hero-block { padding: 64px 32px; }
.hero-block .hero-ctas .cta-primary { background: var(--accent-500); color: #fff; }
.hero-block .hero-ctas .cta-secondary { color: #fff; }

/* Section: "platform" intro under header */
.section {
    padding: 64px 0;
}
.section .section-lead {
    text-align: center;
    font-size: 17px;
    color: var(--ink-500);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.section h2.section-title {
    text-align: center;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink-900);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

/* Feature row (two-col, image + text) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .feature-art { order: 2; }
.feature-row.reverse .feature-content { order: 1; }
.feature-row h3 {
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink-900);
    margin: 0 0 16px;
    letter-spacing: -0.018em;
}
.feature-row .feature-lead {
    font-size: 16.5px;
    color: var(--ink-500);
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 520px;
}
.feature-row .numbered-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    margin-bottom: 16px;
    align-items: start;
}
.feature-row .numbered-item .num {
    font-weight: 700;
    font-feature-settings: "tnum";
    color: var(--accent-600);
    font-size: 18px;
    border-top: 2px solid var(--accent-500);
    padding-top: 8px;
}
.feature-row .numbered-item .body b {
    display: block;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 4px;
}
.feature-row .numbered-item .body .desc {
    color: var(--ink-500);
    font-size: 14.5px;
    line-height: 1.55;
}
.feature-row .feature-art {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-row .feature-art img { max-width: 100%; height: auto; }
@media (max-width: 768px) {
    .feature-row { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
    .feature-row.reverse .feature-art { order: 0; }
    .feature-row.reverse .feature-content { order: 0; }
}

/* Wide-card refresh — override legacy absolute positioning from style.css:291 */
.wide-card,
.container.wide-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: auto !important;
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    margin: 48px auto;
    overflow: hidden;
    text-align: center;
    max-width: 1100px;
    box-shadow: 0 24px 48px rgba(0, 43, 85, 0.14);
}
.wide-card .wide-card-blue-button {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    height: auto;
}
.headers-bordered {
    max-width: none !important;
    width: 100%;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 14px !important;
    font-family: var(--type-sans) !important;
    font-size: 12px !important;
    color: var(--accent-600) !important;
}
.wide-card .wide-card-head {
    color: #fff;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.wide-card .wide-card-p {
    color: #e2e8f0;
    font-size: 17px;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 26px;
}
.wide-card .wide-card-p strong { color: #fff; font-weight: 600; }
.wide-card .wide-card-blue-button {
    display: inline-block;
    padding: 13px 26px;
    background: var(--accent-500);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    transition: transform .15s var(--ease), background .2s var(--ease);
    text-decoration: none;
}
.wide-card .wide-card-blue-button:hover {
    transform: translateY(-1px);
    background: #ff7d1f;
}
.wide-card.wide-card-purple {
    background-image: linear-gradient(135deg, var(--brand-900) 0%, #06122a 100%) !important;
    color: #ffffff;
}
.wide-card.wide-card-purple a,
.wide-card.wide-card-purple a:visited { color: #fff; }
.wide-card.wide-card-purple .cta-primary,
.wide-card.wide-card-purple .cta-pill,
.wide-card.wide-card-purple a.btn-primary {
    background: var(--accent-500) !important;
    color: #ffffff !important;
    border: none !important;
}

/* Top menu polish */
header.fixed,
header.gray-container.fixed {
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 6px 24px rgba(0,43,85,0.06);
}
.main-menu .menu-links a {
    position: relative;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--ink-700);
    padding: 6px 0;
    margin: 0 14px;
    transition: color .2s var(--ease);
    text-decoration: none;
}
.main-menu .menu-links a:hover,
.main-menu .menu-links a.active-link { color: var(--accent-600); }
.main-menu .menu-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease);
}
.main-menu .menu-links a:hover::after,
.main-menu .menu-links a.active-link::after { transform: scaleX(1); }

.get-demo { display: flex; align-items: center; }
.get-demo a { text-decoration: none; }
.get-demo .cta-pill,
header .cta-pill {
    display: inline-block;
    background: var(--brand-700);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.get-demo .cta-pill:hover,
header .cta-pill:hover {
    background: var(--accent-500);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255,106,0,0.28);
    color: #fff;
}
/* legacy get-demo-outer/inner — neutralize so old markup-based renderers don't show artifacts */
.get-demo .get-demo-outer, .get-demo .get-demo-inner { display: contents; background: transparent; padding: 0; }

/* Mobile menu polish */
.mobile-menu .mobile-cta {
    background: var(--accent-500) !important;
    color: #ffffff !important;
    font-weight: 700;
}
.mobile-menu .menu-links.mobile-links a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-700);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.mobile-menu .menu-links.mobile-links a:last-child { border-bottom: none; }
.mobile-menu .social-links {
    display: inline-block;
    margin-right: 12px;
    margin-top: 16px;
}
.mobile-menu .social-links img {
    width: 22px;
    height: 22px;
    opacity: 0.85;
}

/* Footer — single-row 5-column grid + bottom legal strip */
.site-footer { background: var(--brand-900); color: #cdd6e3; padding: 56px 0 24px; }
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 12px;
}
.site-footer .footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.site-footer .footer-links-section b {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    display: block;
    margin: 0 0 14px;
    font-weight: 700;
}
.site-footer .footer-links-section a {
    display: block;
    color: #b3bccb;
    font-size: 14px;
    padding: 5px 0;
    transition: color .2s var(--ease);
    text-decoration: none;
}
.site-footer .footer-links-section a:hover { color: #fff; }
.site-footer .footer-logo-section img { max-width: 160px; margin-bottom: 0 !important; }
.site-footer .footer-tagline {
    font-size: 14px;
    color: #b3bccb;
    line-height: 1.6;
    margin: 14px 0 16px;
    max-width: 320px;
}
.site-footer .footer-social { margin: 0; }
.site-footer .footer-social .social-links { display: inline-block; margin-right: 12px; }
.site-footer .footer-social .social-links img {
    width: 22px; height: 22px;
    opacity: 0.75;
    transition: opacity 0.2s var(--ease);
}
.site-footer .footer-social .social-links:hover img { opacity: 1; }
.site-footer .footer-legal {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #8a93a3;
}
.site-footer .footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer .footer-legal a {
    color: #b3bccb;
    text-decoration: none;
    transition: color .2s var(--ease);
}
.site-footer .footer-legal a:hover { color: #fff; }
.site-footer .footer-legal span[aria-hidden] { color: #4a5260; }
.site-footer .footer-copy { font-size: 12px; color: #8a93a3; }
.site-footer .footer-dekor { display: none; }

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
    .site-footer .footer-logo-section { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 600px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .site-footer .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* Three-track polish */
.three-track .track-card { border: 1px solid var(--line); }
.three-track .track-card .card-link {
    color: var(--accent-600);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.three-track .track-card .card-link::after {
    content: "→";
    transition: transform .2s var(--ease);
}
.three-track .track-card:hover .card-link::after { transform: translateX(3px); }

/* Reduce-motion respect */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* ============================================================
   Wide-viewport hardening — appended 2026-05-14 audit
============================================================ */

/* Force every section-level .container to center; framework defaults are inconsistent */
.container,
section.container,
div.container,
article.container,
.container-fluid.main-menu {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Header inside container-fluid should still respect 1440 max-width and center */
header .main-menu.container-fluid {
    max-width: 1440px;
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}
header.gray-container { background: var(--surface); }

/* Feature-art min-height so lazy images don't collapse the row */
.feature-row .feature-art {
    min-height: 320px;
}
.feature-row .feature-art img { display: block; max-width: 100%; height: auto; }

/* Hero v2 — also clamp width on extra-wide screens */
.hero-v2 { max-width: 1440px; }

/* Footer at >1440 should also constrain */
.site-footer .container { max-width: 1440px; padding-left: 32px; padding-right: 32px; }

/* Section padding consistency — tightened audit pass */
.section { padding: 56px 0; }
.feature-row { padding: 40px 0; }
.section + .section { padding-top: 0; }
.wide-card { margin: 40px auto !important; }
.hero-v2 { margin: 12px auto 24px !important; }

/* ============================================================
   Dalga 3 — Interactive widgets (MCP grid, publish pipeline,
   security accordion, comparison polish, cookie banner)
   Appended 2026-05-14
============================================================ */

/* ── MCP filter + tool grid ── */
.mcp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 28px;
    justify-content: center;
}
.mcp-filter button {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--type-sans);
    transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.mcp-filter button:hover { border-color: var(--accent-500); color: var(--accent-600); }
.mcp-filter button.active {
    background: var(--brand-700);
    color: #fff;
    border-color: var(--brand-700);
}
.mcp-filter button .count {
    margin-left: 6px;
    color: var(--ink-300);
    font-weight: 500;
}
.mcp-filter button.active .count { color: rgba(255,255,255,0.7); }

.mcp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0 0 32px;
}
.mcp-tool {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
    cursor: pointer;
    position: relative;
}
.mcp-tool:hover {
    border-color: var(--brand-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,43,85,0.10);
}
.mcp-tool .tool-name {
    font-family: var(--type-mono);
    font-size: 13.5px;
    color: var(--brand-700);
    font-weight: 600;
    margin: 0 0 4px;
    word-break: break-all;
}
.mcp-tool .tool-cat {
    display: inline-block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--brand-50);
    color: var(--brand-700);
    padding: 2px 8px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 600;
}
.mcp-tool .tool-desc {
    color: var(--ink-500);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
.mcp-tool.hidden { display: none; }
.mcp-tool[data-cat="batch"]    .tool-cat { background: #fff1e6; color: #d8550c; }
.mcp-tool[data-cat="workflow"] .tool-cat { background: #e6f6ec; color: #1d6c4c; }
.mcp-tool[data-cat="data"]     .tool-cat { background: #f1ecff; color: #5b3eaa; }
.mcp-tool[data-cat="form"]     .tool-cat { background: #e8f0fb; color: #1f4470; }
.mcp-tool[data-cat="meta"]     .tool-cat { background: #f5f0e2; color: #7a5a16; }
.mcp-tool[data-cat="query"]    .tool-cat { background: #fce8ec; color: #a02340; }
.mcp-tool[data-cat="compile"]  .tool-cat { background: #e2f1f7; color: #1b5d80; }
.mcp-tool[data-cat="session"]  .tool-cat { background: var(--brand-50); color: var(--brand-700); }
.mcp-empty {
    grid-column: 1/-1;
    padding: 40px;
    text-align: center;
    color: var(--ink-300);
    border: 1px dashed var(--line);
    border-radius: 12px;
}

/* ── Publish pipeline (4-stage horizontal flow) ── */
.publish-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
    counter-reset: pipe;
    position: relative;
}
.publish-pipeline::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-700), var(--accent-500));
    z-index: 0;
}
.publish-pipeline .pipe-step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 56px 18px 18px;
    position: relative;
    text-align: left;
    z-index: 1;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.publish-pipeline .pipe-step::before {
    counter-increment: pipe;
    content: counter(pipe);
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-700);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-feature-settings: "tnum";
    font-size: 15px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,43,85,0.18);
}
.publish-pipeline .pipe-step:hover {
    border-color: var(--accent-500);
    transform: translateY(-2px);
}
.publish-pipeline .pipe-step:hover::before {
    background: var(--accent-500);
}
.publish-pipeline .pipe-step h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--ink-900);
}
.publish-pipeline .pipe-step p {
    margin: 0;
    color: var(--ink-500);
    font-size: 13.5px;
    line-height: 1.55;
}
.publish-pipeline .pipe-step code {
    display: inline-block;
    font-family: var(--type-mono);
    font-size: 11px;
    background: var(--brand-50);
    color: var(--brand-700);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 6px;
}
@media (max-width: 768px) {
    .publish-pipeline { grid-template-columns: 1fr; }
    .publish-pipeline::before { display: none; }
}

/* ── Security accordion ── */
.security-accordion { margin: 32px 0; }
.security-accordion .acc-item {
    border: 1px solid #d6dce6;
    border-radius: 14px;
    margin-bottom: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    box-shadow: 0 2px 6px rgba(0,43,85,0.04);
}
.security-accordion .acc-item:hover { border-color: var(--brand-500); }
.security-accordion .acc-item[open] {
    border-color: var(--brand-500);
    box-shadow: 0 8px 20px rgba(0,43,85,0.08);
}
.security-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--brand-700);
    font-size: 16px;
}
.security-accordion summary::-webkit-details-marker { display: none; }
.security-accordion summary .acc-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-feature-settings: "tnum";
    font-size: 13px;
    flex-shrink: 0;
}
.security-accordion .acc-item[open] summary .acc-step {
    background: var(--accent-500);
    color: #fff;
}
.security-accordion summary .acc-title { flex: 1; }
.security-accordion summary .acc-adr {
    font-family: var(--type-mono);
    font-size: 11px;
    color: var(--ink-300);
    background: var(--bg);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}
.security-accordion summary::after {
    content: "+";
    font-size: 22px;
    color: var(--ink-300);
    transition: transform .2s var(--ease);
    line-height: 1;
}
.security-accordion .acc-item[open] summary::after {
    content: "−";
    color: var(--accent-500);
}
.security-accordion .acc-body {
    padding: 0 24px 22px 72px;
    color: var(--ink-500);
    font-size: 14.5px;
    line-height: 1.65;
}
.security-accordion .acc-body ul {
    margin: 10px 0 0;
    padding-left: 18px;
}
.security-accordion .acc-body li { padding: 4px 0; }
.security-accordion .acc-body code {
    font-family: var(--type-mono);
    font-size: 12px;
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
}
@media (max-width: 600px) {
    .security-accordion summary { flex-wrap: wrap; }
    .security-accordion .acc-body { padding: 0 24px 22px; }
}

/* ── Trust pills polish ── */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(135deg, var(--brand-50) 0%, #ffffff 100%);
    border-radius: var(--radius-md);
    margin: 32px 0;
    border: 1px solid var(--line);
}
.trust-pill {
    padding: 10px 18px;
    background: var(--surface);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-700);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.trust-pill:hover { border-color: var(--accent-500); color: var(--accent-600); }
.trust-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-500);
}

/* ── Comparison table polish ── */
.comparison-table {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 22px rgba(0,43,85,0.06);
    margin: 32px 0;
}
.comparison-table thead th {
    background: var(--brand-700);
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    padding: 16px 16px;
    text-align: left;
}
.comparison-table thead th:nth-child(2) {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--accent-600) 100%);
}
.comparison-table tbody td {
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--ink-700);
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--ink-900);
    background: var(--bg);
}
.comparison-table tbody td:nth-child(2) {
    background: rgba(255,106,0,0.04);
    color: var(--brand-700);
    font-weight: 600;
}
.comparison-table tbody tr:hover td { background: var(--bg); }
.comparison-table tbody tr:hover td:nth-child(2) { background: rgba(255,106,0,0.08); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .y { color: #1d6c4c; font-weight: 700; }
.comparison-table .n { color: #c33; }
.comparison-table .m { color: var(--ink-300); }

/* ── Cookie banner (Dalga 4) ── */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--brand-900);
    color: #cdd6e3;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px rgba(0,0,0,0.30);
    z-index: 9000;
    display: none;
    align-items: center;
    gap: 18px;
    font-size: 13.5px;
    line-height: 1.55;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: #fdb585; text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--type-sans);
    transition: background .15s var(--ease), border-color .15s var(--ease);
}
.cookie-banner button.primary {
    background: var(--accent-500);
    border-color: var(--accent-500);
}
.cookie-banner button.primary:hover { background: #ff7d1f; }
.cookie-banner button:hover { border-color: var(--accent-500); }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; }
    .cookie-banner .cookie-actions { justify-content: stretch; }
    .cookie-banner button { flex: 1; }
}

/* ── Page polish — sticky table head, smooth scroll ── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* ============================================================
   AUDIT 2026-05-15 FIX BLOCK
   Visual audit at 1920x1080 — typography, palette, padding,
   contrast, accessibility, blog readability
============================================================ */

/* === Audit 2026-05-15: Typography normalization === */
.hero-block h1,
.hero-v2 h1 {
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -1.2px !important;
}
/* Home keeps larger v2 hero — exception override AFTER the above */
main > .hero-v2 h1 {
    font-size: 60px !important;
    line-height: 1.05 !important;
    letter-spacing: -1.44px !important;
}

main h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.4px !important;
    color: var(--ink-900) !important;
}
.wide-card h2,
.wide-card-purple h2 { color: #ffffff !important; }

main h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px !important;
    color: var(--brand-700) !important;
}
main article h3,
.platform-grid article h3,
.concrete-card h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
}
.track-card h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
}

main h4 {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--accent-600) !important;
}

main p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--ink-700) !important;
}
.wide-card p,
.wide-card-purple p,
.hero-block p,
.hero-v2 p { color: rgba(255,255,255,0.85) !important; }

/* === Audit 2026-05-15: Section padding rhythm (4 kademe) === */
main > .container.section,
main > .container > .section,
main > section.section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}
main > .container.wide-card {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}
main > .container.hero-block {
    padding-top: 80px !important;
    padding-bottom: 64px !important;
}
main > .container.hero-v2 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}
main > .container-fluid.gray-container,
main > .container-fluid.white-container,
main > .full-width-content {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* === Audit 2026-05-15: Gray tone consolidation === */
.container-fluid.gray-container,
main .gray-container { background-color: var(--brand-50) !important; }
.architecture-block { background-color: var(--paper-2) !important; }
.built-for-you { background-color: var(--paper-2) !important; }
.white-container { background-color: #ffffff !important; }

/* === Audit 2026-05-15: Header should be transparent-white === */
header.gray-container {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--brand-50);
}

/* === Audit 2026-05-15: Hero CTAs Barlow legacy leak === */
.hero-block .hero-ctas,
.hero-block .hero-ctas a,
.hero-v2 .hero-ctas,
.hero-v2 .hero-ctas a,
.hero-ctas,
.hero-ctas a {
    font-family: var(--type-sans) !important;
}

/* === Audit 2026-05-15: Hide CRPortal admin widget for public visitors === */
#createrun-show-button,
.createrun-controller { display: none !important; }

/* === Audit 2026-05-15v2: Long-form prose layout (blog post body wrapper class) ===
   PRIOR :has() scope leaked to wide-card and hero-block paragraphs across
   the whole site. Replaced with explicit .blog-post-body class added by
   the blog post HTML wrappers. */
.blog-post-body { max-width: 760px; }
.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body p,
.blog-post-body ul,
.blog-post-body ol,
.blog-post-body pre,
.blog-post-body blockquote { max-width: 760px; }
.blog-post-body p,
.blog-post-body li {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: var(--ink-700) !important;
}
.blog-post-body h2 {
    margin-top: 48px !important;
    font-size: 28px !important;
}
.blog-post-body h3 {
    margin-top: 28px !important;
    font-size: 20px !important;
}
.blog-post-body h1 {
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--brand-700) !important;
    margin: 12px 0 18px !important;
    max-width: 760px;
}
.blog-post-body .blog-post-eyebrow {
    color: var(--ink-500) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.blog-post-body .blog-post-lead {
    font-size: 19px !important;
    line-height: 1.6 !important;
    color: var(--ink-500) !important;
}
.blog-post-body em { font-style: italic; }
.blog-post-body code { font-family: var(--type-mono); font-size: 14px; background: var(--brand-50); padding: 2px 6px; border-radius: 4px; }
.blog-post-body pre { background: var(--brand-900); color: #e6ebf2; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; }
.blog-post-body pre code { background: transparent; padding: 0; color: inherit; }
.blog-post-body a { color: var(--brand-700); border-bottom: 1px solid var(--brand-50); }
.blog-post-body a:hover { color: var(--accent-600); border-color: var(--accent-100); }

/* === Audit 2026-05-15v2: wide-card-blue-button on navy needs explicit orange === */
.wide-card .wide-card-blue-button,
.wide-card-purple .wide-card-blue-button {
    background: var(--accent-500) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px 28px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.wide-card .wide-card-blue-button:hover,
.wide-card-purple .wide-card-blue-button:hover {
    background: #ff7d1f !important;
}

/* === Audit 2026-05-15: Bootstrap blue leak — token-locked link colors === */
main a:not(.cta-primary):not(.cta-secondary):not(.cta-pill):not(.btn):not(.platform-icon):not(.social-links) {
    color: var(--brand-700);
}
main a:not(.cta-primary):hover { color: var(--accent-600); }

/* === Audit 2026-05-15: cta-secondary-light (light-bg variant used in cross-link cards) === */
.cta-secondary-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    background: transparent;
    color: var(--brand-700);
    border: 1px solid var(--brand-50);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-secondary-light:hover {
    background: var(--brand-50);
    border-color: var(--brand-500);
    color: var(--brand-700);
}

/* === Audit 2026-05-15: architecture-link cross-page card === */
.architecture-link {
    padding: 56px 32px !important;
    text-align: center;
}
.architecture-link .section-title-bar {
    max-width: 720px;
    margin: 0 auto;
}
.architecture-link .section-title-bar h4 { margin-bottom: 12px; }
.architecture-link .section-title-bar h2 { margin-bottom: 16px; }
.architecture-link .section-title-bar p { margin-bottom: 24px; }

/* === Audit 2026-05-22: Proof rail (metric kuşağı + anonimized logo strip) === */
.proof-rail {
    padding: 64px 32px 56px;
    margin: 24px auto 0 !important;
}
.proof-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
@media (max-width: 980px) {
    .proof-metrics { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 540px) {
    .proof-metrics { grid-template-columns: 1fr; gap: 20px; }
}
.proof-metric {
    border-left: 3px solid var(--accent-500, #ff6a00);
    padding: 4px 0 4px 18px;
}
.proof-metric strong {
    display: block;
    font: 800 56px/1 var(--type-sans), 'Inter', sans-serif;
    color: var(--ink-900, #001a36);
    letter-spacing: -0.025em;
    margin-bottom: 6px;
}
.proof-metric strong .unit {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-500, #ff6a00);
    margin-left: 2px;
    letter-spacing: 0;
}
.proof-metric small {
    display: block;
    font: 500 13px/1.45 var(--type-sans), 'Inter', sans-serif;
    color: var(--ink-500, #4a5d78);
    max-width: 220px;
}
.proof-logos {
    border-top: 1px solid var(--brand-50, #e8f0fa);
    padding-top: 28px;
}
.proof-logo-label {
    display: block;
    font: 700 11px/1 var(--type-sans), 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-300, #6a7d97);
    margin-bottom: 18px;
}
.proof-logo-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (max-width: 1240px) {
    .proof-logo-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .proof-logo-row { grid-template-columns: repeat(2, 1fr); }
}
.proof-logo {
    background: #ffffff;
    border: 1px solid var(--brand-50, #e8f0fa);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    font: 600 12px/1.35 var(--type-sans), 'Inter', sans-serif;
    color: var(--ink-700, #2c3a4f);
    transition: border-color .15s ease, transform .15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}
.proof-logo:hover {
    border-color: var(--ink-300, #6a7d97);
    transform: translateY(-1px);
}
.proof-logos-note {
    margin: 16px 0 0;
    font: 500 12px/1.4 var(--type-sans), 'Inter', sans-serif;
    color: var(--ink-300, #6a7d97);
}
.proof-logos-note a {
    color: var(--accent-500, #ff6a00);
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}
.proof-logos-note a:hover { color: var(--ink-900, #001a36); }

/* === Audit 2026-05-22: Persona switcher eyebrow band === */
.persona-band {
    background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
    border-bottom: 1px solid var(--brand-50, #e8f0fa);
    position: relative;
    z-index: 9;
    font: 500 12px/1 var(--type-sans), 'Inter', sans-serif;
}
.persona-band-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    color: var(--ink-500, #4a5d78);
}
.persona-label {
    color: var(--ink-300, #6a7d97);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 10.5px;
    margin-right: 4px;
}
.persona-chip {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--ink-700, #2c3a4f);
    cursor: pointer;
    font: 600 12px/1 var(--type-sans), 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.persona-chip:hover {
    background: #ffffff;
    border-color: var(--brand-50, #e8f0fa);
}
.persona-chip[aria-pressed="true"] {
    background: var(--brand-900, #001226);
    border-color: var(--brand-900, #001226);
    color: #ffffff;
}
.persona-chip[aria-pressed="true"] .persona-hint { color: rgba(255,255,255,0.55); }
.persona-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-500, #ff6a00);
    display: inline-block;
    flex-shrink: 0;
    opacity: 0.6;
}
.persona-chip[aria-pressed="true"] .persona-dot { opacity: 1; }
.persona-hint {
    color: var(--ink-300, #8a9aae);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0;
}
.persona-spacer { flex: 1; }
.persona-shortcut {
    color: var(--ink-500, #4a5d78);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
.persona-shortcut:hover { color: var(--accent-500, #ff6a00); background: #ffffff; }
@media (max-width: 1100px) {
    .persona-band-inner { padding: 6px 16px; flex-wrap: wrap; gap: 4px; min-height: 0; }
    .persona-chip { padding: 4px 10px; }
    .persona-hint { display: none; }
    .persona-spacer { display: none; }
}
@media (max-width: 720px) {
    .persona-band { display: none; }
}

/* Persona-aware content gates (declarative; activates as content authored) */
[data-show-if="builder"],
[data-show-if="it-leader"],
[data-show-if="partner"] { display: none !important; }
html[data-persona="builder"] [data-show-if="builder"],
html[data-persona="it-leader"] [data-show-if="it-leader"],
html[data-persona="partner"] [data-show-if="partner"] { display: revert !important; }
html[data-persona="builder"] [data-hide-if="builder"],
html[data-persona="it-leader"] [data-hide-if="it-leader"],
html[data-persona="partner"] [data-hide-if="partner"] { display: none !important; }

/* === Audit 2026-05-22: 1920-aware side-rail framework (dormant; opt-in via .page-with-rail wrapper) === */
/* Activation contract: wrap a section in `<section class="page-with-rail">` and place
   `<aside class="side-rail">` as the second child. The main body still uses `.container`
   internally so existing layout primitives keep working. */
@media (min-width: 1700px) {
    .page-with-rail {
        display: grid;
        grid-template-columns: 1fr min(1440px, calc(100vw - 380px)) 320px 1fr;
        column-gap: 0;
        align-items: start;
    }
    .page-with-rail > .container,
    .page-with-rail > section.container,
    .page-with-rail > main {
        grid-column: 2 / 3;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-with-rail > aside.side-rail {
        grid-column: 3 / 4;
        position: sticky;
        top: 96px;
        padding: 16px 24px 24px 36px;
        font: 500 13px/1.55 var(--type-sans), 'Inter', sans-serif;
        color: var(--ink-500, #4a5d78);
        border-left: 1px solid var(--brand-50, #e8f0fa);
        align-self: start;
    }
}
aside.side-rail { display: none; }
@media (min-width: 1700px) { aside.side-rail { display: block; } }
aside.side-rail h4 {
    font: 700 11px/1 var(--type-sans), 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-900, #001a36);
    margin: 0 0 10px;
}
aside.side-rail ul { list-style: none; padding: 0; margin: 0 0 24px; }
aside.side-rail ul li { margin: 6px 0; }
aside.side-rail ul li a { color: inherit; text-decoration: none; border-bottom: 1px dotted transparent; }
aside.side-rail ul li a:hover { color: var(--accent-500, #ff6a00); border-bottom-color: currentColor; }
aside.side-rail .rail-metric { padding: 14px 0; border-top: 1px solid var(--brand-50, #e8f0fa); }
aside.side-rail .rail-metric strong { display: block; font: 700 22px/1.1 var(--type-sans), 'Inter', sans-serif; color: var(--ink-900, #001a36); }
aside.side-rail .rail-metric small { color: var(--ink-500, #4a5d78); font: 500 11px/1.4 var(--type-sans), 'Inter', sans-serif; }


/* === Wave 2026-07-10: legacy fixed-width wide-card buttons force label wrap (style.css:632 width:172px, :932 width:212px) === */
.container.wide-card .wide-card-blue-button,
.container.wide-card.wide-card-purple .wide-card-blue-button,
.doubled-widecard button.wide-card-blue-button {
    width: auto !important;
    white-space: nowrap !important;
}

/* === Wave 2026-07-10: partner-tab pane headings unreadable (legacy h3.tab-content navy !important + opacity .7 beats inline white) === */
.wide-card h3.tab-content,
.wide-card .tab-content h3 {
    color: #ffffff !important;
    opacity: 1 !important;
}


/* ============================================================
   2026-07-25 mobile nav closed-state fix (post-launch audit P0-1)
   responsive.css:112-118 collapses .hidden-mobile-menu with
   `height:0` but (a) never sets `overflow`, so content is NOT
   clipped, and (b) hides children with `.hidden-mobile-menu div`,
   which does not match `<nav class="menu-links mobile-links">`
   (basepage.html:125 — markup moved div -> nav, CSS never followed).
   Result at <=600px: the whole link list + CTA + social icons spill
   out of the 0-height box onto the hero and cover the H1.
   Same breakpoint as responsive.css on purpose — do NOT retune it
   (`.mobile-menu {display:none}` only exists at min-width:600px).
============================================================ */
@media only screen and (max-width: 600px) {

    /* --- Closed state: clip, collapse, and remove from a11y tree.
           CSS-only guarantee: correct even if animations.js/site.js never load. --- */
    .mobile-menu .hidden-mobile-menu:not(.active),
    .hidden-mobile-menu:not(.active) {
        height: 0 !important;
        max-height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
        box-shadow: none !important;
    }
    /* responsive.css:116 only reaches `div` children; cover EVERY descendant
       (nav / a / img / br) so nothing can paint outside the collapsed box. */
    .hidden-mobile-menu:not(.active) > *,
    .hidden-mobile-menu:not(.active) * {
        display: none !important;
    }

    /* --- Open state: own layer under the 73px top band, above the hero.
           .mobile-menu (responsive.css:144) is position:fixed; height:73px; z-index:2
           and .top-menu-bant (responsive.css:124) is z-index:1 inside it, so z-index:3
           here keeps the panel above the hero without covering the hamburger. --- */
    .hidden-mobile-menu.active {
        position: fixed !important;
        top: 73px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(100% - 73px) !important;
        max-height: calc(100% - 73px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        z-index: 3 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        /* legacy #ffffffc7 relies on backdrop-filter; opaque so it stays readable
           when blur is unsupported or disabled */
        background: #ffffff !important;
        padding: 18px 24px 32px 30px !important;
        box-sizing: border-box;
    }
    .hidden-mobile-menu.active > *,
    .hidden-mobile-menu.active nav,
    .hidden-mobile-menu.active .small-logo-section {
        display: block !important;
    }
    .hidden-mobile-menu.active .menu-links.mobile-links a {
        display: block !important;
    }
    .hidden-mobile-menu.active .menu-links.mobile-links a.social-links {
        display: inline-block !important;
    }
    .hidden-mobile-menu.active .menu-links.mobile-links {
        margin-top: 24px !important;
    }
    .hidden-mobile-menu.active .menu-links.mobile-links a { font-size: 21px; }
    .hidden-mobile-menu.active .small-logo-section img { max-width: 150px; height: auto; }

    /* --- 2026-07-25 cookie banner: mobile footprint (audit P1) —
           legacy rule at site.css:1529 uses 18px/22px padding + 13.5px text, which
           on a 390px viewport eats ~40% of the fold. Compact, capped, scrollable.
           Both consent buttons keep IDENTICAL size/weight (legal requirement —
           neither choice may be visually de-emphasised). --- */
    .cookie-banner {
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        padding: 12px 14px !important;
        gap: 10px !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        border-radius: 12px !important;
        max-height: 42vh !important;
        overflow-y: auto !important;
    }
    .cookie-banner p { font-size: 12px !important; line-height: 1.45 !important; }
    .cookie-banner .cookie-actions { gap: 8px !important; }
    .cookie-banner button,
    .cookie-banner button.primary {
        flex: 1 1 0 !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        min-height: 40px;
        opacity: 1 !important;
    }
    /* equal visual weight: solid 1px border on both, only hue differs */
    .cookie-banner button { border-color: rgba(255,255,255,0.6) !important; }
}

/* === 2026-07-25 persona band legibility (audit P1) — 10.5px/11px on a
       #f5f8fc..#eef3f9 gradient with --ink-300 (#6b7280) sat near the AA floor.
       Typography + contrast only; markup and layout untouched. === */
.persona-band { font-size: 12.5px; }
.persona-label {
    font-size: 11.5px;
    color: var(--ink-500, #4a5260);
    letter-spacing: 0.05em;
}
.persona-chip { font-size: 12.5px; }
.persona-hint {
    font-size: 12px;
    color: var(--ink-500, #4a5260);
    font-weight: 500;
}
.persona-chip[aria-pressed="true"] .persona-hint { color: rgba(255, 255, 255, 0.82); }
.persona-shortcut { font-size: 12.5px; color: var(--ink-700, #1f2937); }
