/* ============================================
   Two Birds Innovation — Company Site
   Deep space design with teal accents
   ============================================ */

/* Skip-to-content link — first focusable element (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -72px;
    left: 8px;
    background: var(--teal-400);
    color: #0c0a1d;
    padding: 12px 16px;
    border-radius: 0 0 6px 6px;
    font-weight: 700;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

:root {
    --space-900: #0c0a1d;
    --space-800: #13102e;
    --space-700: #1a1640;
    --space-600: #252050;
    --teal-500: #14b8a6;
    --teal-400: #2dd4bf;
    --teal-300: #5eead4;
    --teal-200: #99f6e4;
    --teal-100: #ccfbf1;
    --white: #ffffff;
    --grey-300: #d1d5db;
    --grey-400: #9ca3af;
    --grey-500: #6b7280;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--grey-300);
    background: var(--space-900);
    line-height: 1.7;
    font-size: 17px;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 10, 29, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
}

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

.logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--teal-400);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: var(--grey-400);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--teal-400);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
}

/* Hero */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse at top, var(--space-700), var(--space-900));
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--grey-400);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--grey-300);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--teal-500);
    color: var(--space-900);
}

.btn-primary:hover {
    background: var(--teal-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-400);
    border: 2px solid var(--teal-500);
}

.btn-secondary:hover {
    background: rgba(20, 184, 166, 0.1);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-align: center;
}

/* Results Counters */
.results {
    background: var(--space-800);
}

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

.counter-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--space-700);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--teal-400);
    display: block;
    line-height: 1.1;
}

.counter-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal-400);
}

.counter-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--grey-400);
    line-height: 1.4;
}

.counter-card.animated .counter-number {
    transition: none;
}

/* Services / Pricing */
.services {
    background: var(--space-900);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 40px auto 0;
}

.pricing-card {
    background: var(--space-700);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
}

/* How We Work — 3-step engagement process */
.steps-lead { text-align: center; color: rgba(255,255,255,0.72); max-width: 640px; margin: 0 auto 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: var(--space-700); border-radius: var(--radius); padding: 36px 28px; border: 1px solid rgba(255,255,255,0.06); }
.step-number { width: 40px; height: 40px; border-radius: 100px; background: var(--teal-500); color: var(--space-900); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-card h3 { margin: 0 0 10px; }
.step-card p { color: rgba(255,255,255,0.72); margin: 0; line-height: 1.6; }
@media (max-width: 720px) { .steps-grid { grid-template-columns: 1fr; } }

/* Case study / social proof — honest self-attributed proof (no side-stripe per impeccable audit) */
.case-study { max-width: 760px; margin: 44px auto 0; background: var(--space-700); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 32px 36px; }
.case-study blockquote { margin: 0; }
.case-study__headline { font-size: 1.15rem; font-weight: 700; color: var(--teal-500); margin: 0 0 12px; }
.case-study blockquote p { color: rgba(255,255,255,0.8); line-height: 1.65; margin: 0; }
.case-study figcaption { margin-top: 16px; color: rgba(255,255,255,0.6); font-weight: 600; font-size: 0.9rem; }

.pricing-card.featured {
    border: 2px solid var(--teal-500);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal-500);
    color: var(--space-900);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.1rem;
    color: var(--grey-400);
    margin-bottom: 8px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.price-term {
    display: block;
    font-size: 0.9rem;
    color: var(--grey-400);
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: '✓ ';
    color: var(--teal-500);
    font-weight: 700;
}

/* Free Tools */
.free-tools {
    background: var(--space-800);
}

.tools-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--space-700), var(--space-600));
    border-radius: var(--radius);
    padding: 48px 40px;
    border: 1px solid var(--teal-500);
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.1);
}

.tools-card h2 {
    margin-bottom: 16px;
}

.tools-card p {
    color: var(--grey-300);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.tools-note {
    font-size: 0.85rem;
    color: var(--grey-500);
    margin-top: 12px;
    margin-bottom: 0;
}

/* FAQ */
.faq {
    background: var(--space-900);
}

.faq-list {
    max-width: 700px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0;
}

.faq-item summary {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--teal-500);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--grey-400);
    line-height: 1.7;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--space-700), var(--space-800));
    text-align: center;
}

.contact p {
    color: var(--grey-400);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.contact-btn {
    margin-bottom: 16px;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--grey-400);
}

.contact-note a {
    color: var(--teal-400);
    text-decoration: none;
}

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

/* Footer */
.site-footer {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--grey-400);
    font-size: 0.9rem;
}

.site-footer a {
    color: inherit;
    text-decoration: underline;
}

/* ============================================
   Mobile Responsive
   ============================================ */

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--space-800);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .main-nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

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

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

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

    .section {
        padding: 60px 0;
    }

    .tools-card {
        padding: 32px 24px;
    }
}

@media (max-width: 420px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding: 60px 0 48px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .counters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .counter-number {
        font-size: 2.2rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .price {
        font-size: 2.2rem;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .tools-card {
        padding: 28px 18px;
    }

    .container {
        padding: 0 16px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }

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

/* ============================================
   Phase 3 styles — moved here from index.html inline <style>
   block 2026-04-21 (S-TBI-STYLE-EXTRACT). No visual change.
   ============================================ */

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.problem-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.2s ease;
}
.problem-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-2px);
}
.problem-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Services upsell note */
.services-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
}
.services-note a {
    color: var(--teal-400);
    text-decoration: underline;
}
.services-note a:hover {
    color: var(--teal-300);
}

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.tool-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.2s ease;
}
.tool-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-2px);
}
.tool-card h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}
.tool-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    flex: 1;
}
.tool-card .tool-link {
    color: var(--teal-400);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: color 0.2s ease;
}
.tool-card .tool-link:hover {
    color: var(--teal-300);
}

/* Why Two Birds section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}
.why-card h3 {
    color: var(--teal-400);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.why-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* About section */
.about-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}
.about-text.portfolio-evidence {
    font-size: 0.95rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.65);
}
.about-text.portfolio-evidence a {
    color: var(--teal-400);
    text-decoration: none;
}
.about-text.portfolio-evidence a:hover,
.about-text.portfolio-evidence a:focus-visible {
    text-decoration: underline;
}

/* Contact details */
.contact-details {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
.contact-details a {
    color: var(--teal-400);
    text-decoration: none;
}
.contact-details a:hover {
    color: var(--teal-300);
    text-decoration: underline;
}

/* Phase-3 mobile responsive */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 3rem 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .services-grid, .tools-grid, .why-grid { display: block; }
    .service-card, .tool-card, .why-card { margin-bottom: 1rem; }
    .nav-links { display: none; }
    .btn { min-height: 44px; font-size: 1rem; display: block; width: 100%; text-align: center; }
    .faq-list { padding: 0; }
    details summary { min-height: 44px; padding: 12px 0; }
    img, iframe { max-width: 100%; height: auto; }
}

@media (max-width: 375px) {
    body { font-size: 16px; overflow-x: hidden; }
    .container { padding: 0 12px; }
    h1 { font-size: 1.6rem; word-wrap: break-word; }
    .section { padding: 2rem 0; }
    .btn-primary { padding: 14px 20px; font-size: 1.1rem; }
}

/* ============================================
   Work With Us section (extracted from inline styles)
   ============================================ */
.section-work-with-us {
    background: #0f1a30;
    color: var(--white);
    text-align: center;
}

.section-work-with-us h2 {
    color: var(--white);
}

.section-work-with-us__inner {
    max-width: 700px;
}

.section-work-with-us__bio {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.section-work-with-us__skills {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.75;
}

.btn-profile {
    display: inline-block;
    background: var(--white);
    color: #0f1a30;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.btn-profile:hover {
    opacity: 0.9;
}

/* ============================================
   S-TBI-REDESIGN-FABLE — hero split + products + who we serve
   ============================================ */

:root {
    --gold: #C9A84C;
    --gold-dark: #a8872e;
}

/* Hero: override center alignment, new split layout */
.hero {
    padding: 80px 0;
    text-align: left;
    background: radial-gradient(ellipse at 25% 50%, var(--space-700) 0%, var(--space-900) 65%);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--grey-400);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-cta {
    justify-content: flex-start;
}

/* Browser mockup */
.hero-browser {
    background: var(--space-800);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-browser-bar {
    background: var(--space-700);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.hero-browser-body {
    padding: 24px;
}

.hero-mockup-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin: 0 0 12px;
}

.hero-mockup-module {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 14px;
}

.hero-mockup-progress {
    height: 4px;
    background: var(--space-600);
    border-radius: 2px;
    margin-bottom: 16px;
    position: relative;
}

.hero-mockup-progress-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 33%;
    background: var(--teal-500);
    border-radius: 2px;
}

.hero-mockup-line {
    height: 8px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    margin-bottom: 8px;
}

.hero-mockup-line.short {
    width: 55%;
}

.hero-mockup-step-row {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.hero-mockup-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: transparent;
    flex-shrink: 0;
}

.hero-mockup-step.done {
    background: var(--teal-500);
    border-color: var(--teal-500);
}

.hero-mockup-step.current {
    background: var(--teal-500);
    border-color: var(--teal-500);
    transform: scale(1.3);
}

/* Section sub-heading */
.section-sub {
    text-align: center;
    color: var(--grey-400);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 0;
    line-height: 1.6;
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.product-card {
    background: var(--space-800);
    border-radius: 12px;
    border-top: 3px solid transparent;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-dcc {
    border-top-color: var(--teal-500);
}

.product-card-clarity {
    border-top-color: var(--grey-300);
}

.product-card-kevcasa {
    border-top-color: var(--gold);
}

.product-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.product-card-dcc .product-card-label { color: var(--teal-400); }
.product-card-clarity .product-card-label { color: var(--grey-300); }
.product-card-kevcasa .product-card-label { color: var(--gold); }

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.product-card p {
    color: var(--grey-400);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.product-link {
    color: var(--teal-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
    display: inline-block;
}

.product-link:hover {
    color: var(--teal-300);
}

/* Who We Serve */
.section-serve {
    background: var(--space-800);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: center;
}

.serve-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.serve-icon {
    width: 36px;
    height: 36px;
    color: var(--teal-400);
    flex-shrink: 0;
}

.serve-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.serve-desc {
    font-size: 0.9rem;
    color: var(--grey-400);
    line-height: 1.6;
    margin: 0;
}

/* Responsive overrides for new sections */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-media {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .serve-grid {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .serve-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
}

/* Visible keyboard focus (closes PRODUCT.md a11y gap: no :focus-visible styles) */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--teal-300);
    outline-offset: 2px;
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.55rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .hero-media {
        display: none;
    }
}

/* Prevent OS/browser dark-mode auto-inversion — this site is already a
   dark (deep-space) palette with no light variant, so belt-and-suspenders
   forces the same colours under a light OS preference too. */
@media (prefers-color-scheme: light) {
    body {
        background: var(--space-900);
        color: var(--grey-300);
    }
}
