:root {
    --tech-surface: #f8fafc;
    --tech-border: #dbe2ea;
    --tech-muted: #64748b;
    --tech-shadow: 0 14px 34px rgba(2, 21, 40, 0.08);
}

.tech-page {
    max-width: 1120px;
    margin: 0 auto;
}

.tech-subnav {
    position: sticky;
    top: 0.75rem;
    z-index: 40;
    margin-bottom: 2rem;
    padding: 0.6rem;
    border: 1px solid var(--tech-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.tech-subnav-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    list-style: none;
}

.tech-subnav-link {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--navy);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.83rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.tech-subnav-link:hover,
.tech-subnav-link.is-active {
    background: var(--navy);
    color: #fff;
}

.tech-section {
    margin-bottom: 4rem;
    padding: 0 0 1.8rem;
    border: none;
    border-bottom: none;
    border-radius: 0;
    background: transparent;
}

.tech-section-heading {
    margin-bottom: 0.9rem;
}

.tech-section-kicker {
    font-size: 0.78rem;
    color: var(--tech-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.tech-section h2 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    font-weight: 500;
}

.tech-section:last-of-type {
    margin-bottom: 5rem;
}

.tech-section p {
    color: #334155;
    line-height: 1.65;
}

.tech-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    align-items: stretch;
}

.tech-hero-copy h1 {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.tech-hero-cta {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tech-btn {
    border: 1px solid var(--tech-border);
    color: var(--navy);
    text-decoration: none;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.tech-btn:hover {
    transform: translateY(-1px);
    border-color: #a3b2c3;
}

.tech-btn--primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.tech-hero-visual {
    border-radius: 0;
    border: none;
    background: linear-gradient(150deg, #061f36 0%, #0e3458 45%, #0a2845 100%);
    padding: 0;
    display: grid;
    align-content: center;
    gap: 0.55rem;
    min-height: 220px;
    overflow: hidden;
}

.tech-image-placeholder {
    border: 1px dashed #a5b4c4;
    border-radius: 0;
    background: repeating-linear-gradient(
        -45deg,
        #f8fafc,
        #f8fafc 10px,
        #f1f5f9 10px,
        #f1f5f9 20px
    );
    color: #334155;
    padding: 0.9rem;
}

.tech-image-placeholder--media {
    padding: 0;
    overflow: hidden;
}

.tech-image-placeholder__label {
    padding: 0.9rem 0.9rem 0.55rem;
}

.tech-real-image {
    width: 100%;
    display: block;
    border-radius: 0;
    border: none;
    object-fit: cover;
}

.tech-real-image--hero {
    min-height: 220px;
    max-height: none;
    height: 100%;
    border: none;
    border-radius: 0;
}

.tech-image-placeholder strong {
    display: block;
    font-size: 0.88rem;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.tech-image-placeholder p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #475569;
}

.tech-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.tech-hero-layer {
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.tech-hero-layer:nth-child(2) {
    width: 90%;
    justify-self: end;
}

.tech-hero-layer:nth-child(3) {
    width: 95%;
}

.tech-hero-layer:nth-child(4) {
    width: 88%;
    justify-self: end;
}


.tech-chip-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.tech-chip {
    border: 1px solid var(--tech-border);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.8rem;
    padding: 0.38rem 0.72rem;
    cursor: pointer;
}

.tech-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

#materials {
    background: var(--navy);
    color: #fff;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 1.9rem 2rem;
    margin-top: 1rem;
}

#materials > * {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

#materials .tech-section-kicker,
#materials h2,
#materials p {
    color: #fff;
}

#materials .tech-chip {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

#materials .tech-chip.is-active {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

#materials .tech-material-card {
    border-bottom-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

#materials .tech-material-card h3,
#materials .tech-material-card p,
#materials .tech-material-card small {
    color: #fff;
}

#materials .tech-material-card p {
    opacity: 0.88;
}

#materials .tech-material-card small {
    opacity: 0.72;
}

#materials .tech-material-card:hover {
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

#materials .tech-image-placeholder {
    border-color: rgba(255, 255, 255, 0.45);
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.08) 10px,
        rgba(255, 255, 255, 0.12) 10px,
        rgba(255, 255, 255, 0.12) 20px
    );
}

#materials .tech-image-placeholder strong,
#materials .tech-image-placeholder p {
    color: #fff;
}

.tech-material-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.tech-material-card {
    text-align: left;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: transparent;
    padding: 0.75rem 0.2rem 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tech-material-card:hover {
    border-bottom-color: #94a3b8;
    transform: none;
}

.tech-material-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}

.tech-material-card p {
    font-size: 0.86rem;
    color: #4b5563;
}

.tech-material-card small {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
}

.tech-accordion {
    display: grid;
    gap: 0.55rem;
}

.tech-accordion-item {
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.tech-accordion-trigger {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.75rem 0.85rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    cursor: pointer;
    color: var(--navy);
}

.tech-accordion-trigger span {
    font-size: 1.1rem;
    color: #64748b;
}

.tech-accordion-content {
    display: none;
    padding: 0 0.85rem 0.85rem;
}

.tech-process-image-hint {
    margin-top: 0.6rem;
}

.tech-accordion-item.is-open .tech-accordion-content {
    display: block;
}

.tech-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tech-section--faq {
    border: none;
    background: transparent;
    max-width: 900px;
    margin: 0 auto 2.3rem;
    padding: 0;
}

.tech-section--faq .tech-section-heading {
    margin-bottom: 1.35rem;
}

.tech-section--faq .tech-section-heading h2 {
    font-size: clamp(2rem, 3.8vw, 2.65rem);
    text-align: center;
    font-weight: 600;
}

.tech-faq-item {
    border-bottom: 1px solid var(--tech-border);
}

.tech-faq-question {
    width: 100%;
    padding: 1.45rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    transition: color 0.2s ease;
}

.tech-faq-question:hover {
    color: var(--pink);
}

.tech-faq-toggle {
    font-size: 1.45rem;
    font-weight: 300;
    transition: transform 0.25s ease;
    color: var(--navy);
}

.tech-faq-item.is-open .tech-faq-toggle {
    transform: rotate(45deg);
}

.tech-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.tech-faq-item.is-open .tech-faq-answer {
    max-height: 520px;
}

.tech-faq-answer p {
    padding-bottom: 1.35rem;
    color: #475569;
    line-height: 1.75;
    font-size: 0.95rem;
}

.tech-fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tech-fade-in.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .tech-subnav-list {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        scrollbar-width: thin;
    }

    .tech-subnav-link {
        width: auto;
        white-space: nowrap;
    }

    .tech-hero {
        grid-template-columns: 1fr;
    }

    .tech-material-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tech-placeholder-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {
    .tech-subnav {
        top: 72px;
    }

    .tech-section {
        padding: 1rem;
    }

    .tech-material-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tech-fade-in,
    .tech-material-card,
    .tech-btn {
        transition: none !important;
    }
}
