:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --border: #2a2a3a;
    --success: #10b981;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 201;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.cta-button:hover {
    background: white;
    color: var(--bg-primary);
}

.cta-button.primary {
    background: var(--accent);
    border-color: var(--accent);
}

.cta-button.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
}

.cta-button.large {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://clisystems.com/img/bg-masthead.jpg') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Doors Section */
.doors {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.doors-header {
    text-align: center;
    margin-bottom: 60px;
}

.doors-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.doors-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.doors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.door-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    transition: all 0.3s;
}

.door-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.door-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-secondary);
}

.door-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expertise-image {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-tertiary);
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.2s, opacity 0.2s;
}

.client-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Logos Section */
.logos {
    padding: 80px 0;
    background: #f5f5f7;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #1a1a25;
    margin-bottom: 40px;
    font-weight: 500;
    text-align:center;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.door-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.door-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.door-features {
    list-style: none;
    text-align: left;
    max-width: 280px;
    margin: 0 auto 32px;
}

.door-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 10px;
}

.door-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: var(--bg-primary);
}

.policy-content {
    padding: 80px 0;
}

.policy-content .container {
    max-width: 800px;
}

.policy-section {
    margin-bottom: 48px;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.policy-section ul {
    color: var(--text-secondary);
    margin-left: 24px;
    margin-bottom: 16px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy-section a {
    color: var(--accent);
}

.policy-section a:hover {
    text-decoration: underline;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-about  {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #222222;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.location-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.location-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.location-card p {
    color: var(--text-secondary);
}

.expertise-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s;
}

.expertise-card:hover {
    border-color: var(--accent);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.expertise-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Results Section */
.results {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.result-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.result-card .metric {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.result-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 12px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Page Hero (short variant for subpages) */
.hero-short {
    min-height: 60vh;
}

/* OEM Model / Comparison */
.oem-model {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

.comparison-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.comparison-highlight {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, var(--bg-tertiary) 100%);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.comparison-list li::before {
    position: absolute;
    left: 0;
    font-weight: 600;
}

.comparison-traditional li::before {
    content: '—';
    color: var(--text-muted);
}

.comparison-turnkey li::before {
    content: '✓';
    color: var(--accent);
}

/* OEM Process Timeline */
.oem-process {
    padding: 100px 0;
    background: var(--bg-primary);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.process-content {
    flex: 1;
    padding-top: 8px;
}

.process-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.process-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.process-details h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.process-details ul {
    list-style: none;
}

.process-details li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.process-details li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.process-deliverable {
    margin-top: 24px;
    padding: 12px 20px 12px 44px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    position: relative;
}

.process-deliverable::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.process-deliverable strong {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 4px;
}

/* OEM Industries */
.oem-industries {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: border-color 0.3s;
}

.industry-card:hover {
    border-color: var(--accent);
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.industry-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* OEM Case Studies */
.oem-case-studies {
    padding: 100px 0;
    background: var(--bg-primary);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.case-study-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

.case-study-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.case-study-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-situation,
.case-study-outcome {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.case-study-metric {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.case-study-metric .metric {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.case-studies-cta {
    text-align: center;
}

/* OEM CTA / Project Form */
.oem-cta {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.project-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    margin-bottom: 24px;
}

.form-group label,
.form-group-full label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group-full label {
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-group-full select,
.form-group-full textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group select,
.form-group-full select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option,
.form-group-full select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group-full select:focus,
.form-group-full textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea,
.form-group-full textarea {
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 8px;
}

.form-success, .form-error {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
}

.form-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Contact Page */
.contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail {
    margin-bottom: 24px;
}

.contact-detail h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.contact-detail a {
    color: var(--accent);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-services h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.contact-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-services li {
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.contact-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.contact-form-wrapper {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

.contact-form-wrapper .form-grid {
    margin-bottom: 0;
}

.contact-faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-section,
    .contact-faq {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* Consulting Capabilities */
.consulting-capabilities {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.capability-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.capability-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    transition: border-color 0.3s;
    position: relative;
}
.capability-card:target {
    border: 1px solid #ffff00;
}

.capability-card:hover {
    border-color: var(--accent);
}

.capability-share {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.capability-share:hover {
    color: var(--accent);
}

.capability-link {
    position: absolute;
    top: 16px;
    right: 44px;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.capability-link:hover {
    color: var(--accent);
}

.capability-problem h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.problem-statement {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-style: italic;
}

.capability-solution h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 12px;
}

.capability-solution p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Free Code Review CTA */
.consulting-code-review {
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.code-review-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.code-review-inner h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.code-review-inner > p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.code-review-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.code-review-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.code-review-text > p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.code-review-text .code-review-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Engagement Models */
.consulting-engagement {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.engagement-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: border-color 0.3s;
}

.engagement-card:hover {
    border-color: var(--accent);
}

.engagement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.engagement-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.engagement-details {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.engagement-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.engagement-details li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
}

/* Consulting Case Studies */
.consulting-case-studies {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* MCU Rescue Strip (homepage) */
.rescue-strip {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.rescue-strip-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 0 28px 32px;
    border-left: 3px solid var(--accent);
}

.rescue-strip-tag {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.rescue-strip-text {
    flex: 1;
}

.rescue-strip-text h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.rescue-strip-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

.rescue-strip-cta {
    flex-shrink: 0;
}

/* MCU Rescue — Situations Section */
.rescue-situations {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.situation-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: border-color 0.3s;
}

.situation-card:hover {
    border-color: var(--accent);
}

.situation-number {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0px;
    font-family: 'JetBrains Mono', monospace;
    display: none;
}

.situation-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.situation-quote {
    color: var(--text-primary);
    font-style: italic;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

.situation-card > p:last-child {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* MCU Rescue — Process section override */
.rescue-process {
    background: var(--bg-primary);
}

/* MCU Rescue — Platforms */
.rescue-platforms {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.platform-group h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.platform-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-chip {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 12px;
    font-family: 'JetBrains Mono', monospace;
}

/* MCU Rescue — Why CLI section */
.rescue-why {
    padding: 100px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.rescue-why-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.rescue-why-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.rescue-why-text > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.rescue-why-list {
    list-style: none;
}

.rescue-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 0;
}

.rescue-why-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.rescue-engagement-card {
    background: var(--bg-secondary);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 40px;
}

.rescue-engagement-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.rescue-rate {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}
.rescue-subtitle {
    margin-bottom: 24px;
    color:#aaaaaa;
    font-style: italic;
}
.rescue-rate span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.rescue-terms {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* MCU Rescue — Cross-link footer strip */
.rescue-crosslink {
    padding: 32px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    text-align: center;
}

.rescue-crosslink p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.rescue-crosslink a {
    color: var(--accent);
    text-decoration: none;
}

.rescue-crosslink a:hover {
    text-decoration: underline;
}

/* Hero dual CTA group */
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Consulting rescue promo card accent */
.capability-card-rescue {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, var(--bg-tertiary) 100%);
}

/* Single page styles */
.single-page-header{
    min-height: 10px;
}

.single-page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 100px 0px 0px;
}
.single-page-body {
    color: #ffffff;
    max-width: 1000px;
    margin:auto;
    padding: 10px 0px;
    font-size: 1.2em;
    
    p,h2,ul{
        margin:0px;
        padding:0px;
    }
    a {
        /* text-decoration: none;*/
        color: #ffffff;
    }
    li{
        margin:2px 20px;
    }
    p{
        margin-bottom:10px;
    }
}
.policy-section{
margin:0px 0px 10px;
padding: 0px;
}


/* Mobile */
.about-page-container
{
    border: none;
    p, li {
        color: #dddddd;
    }
}
.about-founder {
    background: var(--bg-secondary);
}
.about-intro-header {
    text-align: center;
    max-width: 80%;
    margin: auto;
    margin-bottom: 10px;
}
.about-intro-content {
        
    p {
        padding-bottom: 5px;
        color: #eeeeee;
        font-size: 1.1em;
    }
}
.about-intro-cta {
    text-align: center;
    margin: auto;
    padding-top: 10px;
}
.about-header{
    border-bottom: 1px solid #333333;
    margin-bottom: 10px;
}
.about-content {
    p {
        margin-bottom: 22px;
    }
}
.about-cta {
    text-align: center;
    margin: auto;
    padding-top: 10px;
}

.about-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
}

.heavy-inline {
    color: #ffffff;
    font-weight: bold;
    /* text-decoration: underline; */
}
.underline-inline {
    color: #ffffff;
    text-decoration: underline;
}

.founder-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.founder-photo {
    flex-shrink: 0;
}

.founder-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.founder-info {
    flex: 1;
    text-align: left;
}

.founder-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.founder-title {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}

.founder-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.founder-bio:last-child {
    margin-bottom: 0;
}

.article-section-heading {
    margin-bottom: 20px;
    h3 { 
        font-size:2em;
        border-bottom: 1px solid #333333;
        margin-bottom: 3px;
    }
}
.article-section {
    margin-bottom: 20px;
    .article-title{
        font-weight:bold;
        text-decoration: underline;
    }
    .article-date {
        margin-left:20px;
        font-style: italic;
        color: #aaaaaa;
    }
    .article-summary {
        margin-left:20px;
    }
    p {
        margin:0px;
        padding:0px;
    }
}

.article-main{
    color: #e0e0e0;
    
    ol {
    padding-top:0px;
    padding-bottom:0px;
    }
    li.info{
        font-weight:bold;
        margin-top:10px;
        color: #ffffff;
    }
    p.info-section{
        margin:10px 0px;
        padding:0px;
    }
    p.info-section br{
        display:block;
        margin-top:12px;
    }
    ol br{
        display:block;
        margin-top:12px;
    }
    p.info-title{
        margin:10px 0px;
        padding:0px;
        font-weight: bold;
        font-size: 1.3em;
        text-decoration: underline;
        color: #ffffff;
    }
    p.info-subtitle {
        margin:10px 0px;
        padding:0px;
        font-weight: bold;
        font-size: 1em;
        color: #ffffff;
    }
    img.article-image {
        max-height:400px;
        border:1px solid #cccccc;
        max-width:100%;
        background-color:#ffffff;
    }
    
  pre code {
  display: block;
  background: #111111;
  color: #ffffff;
  border: 1px solid #333333;
  padding: 5px;
  }
}

@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 200;
        box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1.0625rem;
    }

    .nav .cta-button {
        margin-top: 24px;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 199;
    }

    .mobile-overlay.active {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-short {
        min-height: 50vh;
    }

    .doors-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .capability-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .process-details {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .situations-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .rescue-why-inner {
        grid-template-columns: 1fr;
    }

    .rescue-strip-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .rescue-strip-tag {
        width: 100%;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .logos-grid {
        gap: 40px;
    }

    .client-logo {
        height: 50px;
        max-width: 160px;
    }
}

@media (max-width: 640px) {
    .process-step {
        gap: 20px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .process-timeline::before {
        left: 19px;
    }

    .process-content h3 {
        font-size: 1.25rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .logos {
        padding: 40px 0;
    }

    .logos-grid {
        gap: 32px;
    }

    .client-logo {
        height: 44px;
        max-width: 140px;
    }
}

.cf-turnstile {
    margin: 16px 0;
    min-height: 65px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.news-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.news-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 24px;
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover {
    color: var(--accent);
}

.news-card-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.news-card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.news-card-excerpt a {
    color: var(--accent);
    text-decoration: none;
}

.news-card-excerpt a:hover {
    text-decoration: underline;
}

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 0;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
        padding: 32px 0;
    }

    .news-card-image {
        height: 160px;
    }

    .news-card-content {
        padding: 20px;
    }
}
