/* ==========================================================================
   PCB Inspection Landing Page
   Loaded only on tpl-pcb-inspection.php
   Prefix: pcb-tmp
   Mobile first. Breakpoints: 640px, 1024px.
   Palette: navy #021533, purple #7B41F8, deep purple #652CDE, mint #59F3C2,
            gold #D8A93C, body grey #5A6472, panel #F5F6FA, mint tint #EEF7F5
   ========================================================================== */

.page-template-tpl-pcb-inspection .hws-page-container {
    padding-top: 0;
    padding-bottom: 0;
    max-width: none;
}

.pcb-tmp-main {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #495057;
    overflow-x: hidden;
}

.pcb-tmp-main *,
.pcb-tmp-main *::before,
.pcb-tmp-main *::after {
    box-sizing: border-box;
}

.pcb-tmp-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.pcb-tmp-main img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pcb-tmp-main :where(p) {
    margin: 0;
}

.pcb-tmp-main [id] {
    scroll-margin-top: 24px;
}

@media (min-width: 1024px) {
    .pcb-tmp-main [id] {
        scroll-margin-top: 32px;
    }
}

@media (min-width: 1164px) {
    .pcb-tmp-container {
        padding: 0 64px;
    }
}


/* ==========================================================================
   Buttons and links
   ========================================================================== */

.pcb-tmp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 18px 28px;
    font-family: inherit;
    font-size: clamp(0.58rem, 1vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pcb-tmp-btn svg {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.pcb-tmp-btn:hover svg {
    transform: translateX(4px);
}

.pcb-tmp-btn-purple {
    background: #7B41F8;
    border-color: #7B41F8;
    color: #FFFFFF;
    border:none;
    padding: 14px 28px;
}

@media (min-width: 1380px) {
.pcb-tmp-btn {
    gap:14px;
}
    
.pcb-tmp-btn-purple {
    padding: 16px 28px;
    border:1px solid 7B41F8;
}
}

.pcb-tmp-btn-purple:visited,
.pcb-tmp-btn-purple:hover,
.pcb-tmp-btn-purple:focus {
    color: #FFFFFF;
}

.pcb-tmp-btn-purple:hover {
    background: #652CDE;
    border-color: #652CDE;
}

.pcb-tmp-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
}

.pcb-tmp-btn-ghost:visited,
.pcb-tmp-btn-ghost:focus {
    color: #FFFFFF;
}

.pcb-tmp-btn-ghost:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
}

.pcb-tmp-btn-outline {
    background: transparent;
    border-color: #7B41F8;
    color: #7B41F8;
}

.pcb-tmp-btn-outline:visited,
.pcb-tmp-btn-outline:focus {
    color: #7B41F8;
}

.pcb-tmp-btn-outline:hover {
    background: #7B41F8;
    color: #FFFFFF;
}

.pcb-tmp-btn-block {
    display: flex;
    width: 100%;
}

.pcb-tmp-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 2px solid #7B41F8;
    color: #7B41F8;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.pcb-tmp-textlink svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.pcb-tmp-textlink:visited {
    color: #7B41F8;
}

.pcb-tmp-textlink:hover,
.pcb-tmp-textlink:focus {
    color: #652CDE;
    border-color: #652CDE;
}

.pcb-tmp-textlink:hover svg {
    transform: translateX(3px);
}

.pcb-tmp-textlink-accent,
.pcb-tmp-textlink-accent:visited {
    color: #59F3C2;
    border-color: #59F3C2;
}

.pcb-tmp-textlink-accent:hover,
.pcb-tmp-textlink-accent:focus {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.pcb-tmp-main a:focus-visible,
.pcb-tmp-main button:focus-visible,
.pcb-tmp-main input:focus-visible {
    outline: 2px solid #7B41F8;
    outline-offset: 3px;
}


/* ==========================================================================
   Shared typography
   ========================================================================== */

.pcb-tmp-eyebrow {
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pcb-tmp-eyebrow-purple {
    color: #7B41F8;
}

.pcb-tmp-eyebrow-accent {
    color: #59F3C2;
}

.pcb-tmp-eyebrow-gold {
    color: #D8A93C;
}

.pcb-tmp-title {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #021533;
}

.pcb-tmp-title-purple {
    color: #7B41F8;
}

.pcb-tmp-title-light {
    color: #FFFFFF;
}

.pcb-tmp-title-sm {
    font-size: 28px;
}

.pcb-tmp-lead {
    margin: 0 0 32px;
    max-width: 780px;
    font-size: 15px;
    line-height: 1.7;
    color: #5A6472;
}

@media (min-width: 640px) {
    .pcb-tmp-title {
        font-size: 40px;
    }
    .pcb-tmp-title-sm {
        font-size: 32px;
    }
    .pcb-tmp-lead {
        font-size: clamp(1rem, 1.5vw, 1.15rem);
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-title {
        font-size: 48px;
    }
    .pcb-tmp-title-sm {
        font-size: 36px;
    }
}

/* Green checkmark lists ---------------------------------------------------- */

.pcb-tmp-check {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #16C79A;
}

.pcb-tmp-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcb-tmp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.5;
    color: #021533;
}

.pcb-tmp-list li:last-child {
    margin-bottom: 0;
}

/* Icons -------------------------------------------------------------------- */

.pcb-tmp-icon {
    display: inline-flex;
    margin-bottom: 16px;
    color: #7B41F8;
}

.pcb-tmp-icon-accent {
    color: #59F3C2;
}

.pcb-tmp-icon-sm {
    margin-bottom: 14px;
}

/* Colour legends ----------------------------------------------------------- */

.pcb-tmp-legend {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #021533;
}

.pcb-tmp-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pcb-tmp-legend-center {
    justify-content: center;
    margin-top: 14px;
}

.pcb-tmp-swatch {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
}

.pcb-tmp-swatch-yellow { background: #F2CF16; }
.pcb-tmp-swatch-blue   { background: #2B4BD6; }
.pcb-tmp-swatch-red    { background: #E22B2B; }
.pcb-tmp-swatch-green  { background: #2BB34A; }

/* Screen-reader only ------------------------------------------------------- */

.pcb-tmp-srlabel {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   Hero
   ========================================================================== */

.pcb-tmp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #021533;
    background-image: linear-gradient(158deg, #021533 0%, #0A1B41 28%, #2A1B6B 72%, #3E2189 100%);
}

/* Below 1024px the content wrapper is display:contents so its children
   become grid items. On phones the board sits beside the eyebrow + title
   only (rows 1-3, row 3 being a spacer that absorbs any extra board height),
   and the body text and buttons run full width underneath. From 640px the
   text moves back beside the board (see the 640px block). */
.pcb-tmp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    gap: 0 20px;
    align-items: start;
    /* The site header overlays the top of the hero; this clears it with
       ~26px of visible space to spare. Adjust if the header height changes. */
    padding-top: 96px;
    padding-bottom: 48px;
}

.pcb-tmp-hero-content {
    display: contents;
}

.pcb-tmp-hero-content > * {
    grid-column: 1;
    min-width: 0;
}

.pcb-tmp-hero .pcb-tmp-eyebrow {
    font-size: 11px;
}

.pcb-tmp-hero-media {
    grid-column: 2;
    grid-row: 1 / 4;
    min-width: 0;
}

.pcb-tmp-hero-title {
    margin: 0 0 2px;
    font-size: clamp(1.90rem, 1.5vw, 3rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #FFFFFF;
}

.pcb-tmp-hero-title-accent {
    color: #D6C8F5;
}

.pcb-tmp-hero-text {
    grid-column: 1 / -1;
    grid-row: 4;
    margin: 0 0 36px;
    margin-top:2rem;
    max-width: 540px;
    font-size: clamp(1rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: #F7F8FC;
    font-weight: 300;
}

@media (min-width: 415px) {
    .pcb-tmp-hero-inner {
        grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    }
    .pcb-tmp-hero-text {
        grid-column: 1;
        grid-row: 3;
        max-width: none;
    }
    .pcb-tmp-hero-media {
        grid-row: 1 / 5;
    }
}


.pcb-tmp-hero-actions {
    grid-column: 1 / -1;
    grid-row: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.pcb-tmp-hero-actions .pcb-tmp-btn {
    width: 100%;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .pcb-tmp-hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 14px;
    }
    .pcb-tmp-hero-actions .pcb-tmp-btn {
        width: auto;
        flex: 0 0 auto;
    }
}

/* The board tilts by a few degrees; the overflow on .pcb-tmp-hero keeps the
   rotated corners inside the section. */
.pcb-tmp-hero-board {
    transform: rotate(-3.5deg);
    transform-origin: 50% 50%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.pcb-tmp-hero-media .pcb-tmp-legend {
    margin-top: 12px;
    flex-direction: column;
    gap: 7px;
    color: #FFFFFF;
    font-size: 11px;
    line-height: 1.35;
}

.pcb-tmp-hero-media .pcb-tmp-legend li {
    align-items: flex-start;
}

.pcb-tmp-hero-media .pcb-tmp-swatch {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 3px;
}

/* Proof strip under the hero */
.pcb-tmp-hero-strip {
    background: #06122E;
    border-top: 1px solid rgba(89, 243, 194, 0.18);
}

.pcb-tmp-hero-strip-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 auto;
    padding-top: 22px;
    padding-bottom: 22px;
}

.pcb-tmp-hero-strip-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #E6E9F0;
}

@media (min-width: 640px) {
    .pcb-tmp-hero-inner {
        grid-template-columns: minmax(0, 1fr) 200px;
        grid-template-rows: auto auto auto minmax(0, 1fr) auto;
        gap: 0 32px;
        padding-top: 104px;
        padding-bottom: 56px;
    }
    .pcb-tmp-hero .pcb-tmp-eyebrow {
        font-size: 12px;
    }
    .pcb-tmp-hero-title {
        font-size: 36px;
    }
    .pcb-tmp-hero-text {
        grid-column: 1;
        grid-row: 3;
        margin-bottom:5rem;
    }
    .pcb-tmp-hero-media {
        grid-row: 1 / 5;
    }
    .pcb-tmp-hero-media .pcb-tmp-legend {
        margin-top: 24px;
        gap: 10px;
        font-size: 14px;
        line-height: 1.5;
    }
    .pcb-tmp-hero-media .pcb-tmp-legend li {
        align-items: center;
    }
    .pcb-tmp-hero-media .pcb-tmp-swatch {
        width: 12px;
        height: 12px;
        margin-top: 0;
    }
    .pcb-tmp-hero-strip-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
    .pcb-tmp-hero-strip-list li + li {
        padding-left: 32px;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-hero-inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
        grid-template-rows: none;
        gap: 56px;
        align-items: center;
        padding-top: 96px;
        padding-bottom: 88px;
    }
    .pcb-tmp-hero-title {
        font-size: 40px;
    }
    .pcb-tmp-hero-content {
        display: block;
        max-width: 760px;
        align-self: center;
        margin-top: -26px;
    }
    .pcb-tmp-hero-media {
        grid-column: auto;
        grid-row: auto;
        max-width: 520px;
        margin: 96px 0 0 auto;
        align-self: start;
    }
    .pcb-tmp-hero-media .pcb-tmp-legend {
        margin-top: 28px;
    }
}

@media (min-width: 1280px) {
    .pcb-tmp-hero-title {
        font-size: 42px;
    }
}


/* ==========================================================================
   The challenge
   ========================================================================== */

.pcb-tmp-challenge {
    padding: 64px 0;
    background: #FFFFFF;
}

.pcb-tmp-challenge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 16px;
}

.pcb-tmp-challenge-label {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2A1B6B;
}

.pcb-tmp-challenge-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #5A6472;
}

@media (min-width: 640px) {
    .pcb-tmp-challenge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-challenge {
        padding: 96px 0;
    }
    .pcb-tmp-challenge-grid {
        gap: 48px;
        margin-top: 24px;
    }
}


/* ==========================================================================
   Compare slider (identical behaviour to the VISION template)
   ========================================================================== */

.pcb-tmp-compare {
    padding: 64px 0;
    background: #F5F6FA;
}

.pcb-tmp-compare-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.pcb-tmp-compare-copy .pcb-tmp-lead {
    margin-bottom: 26px;
}

.pcb-tmp-compare-copy .pcb-tmp-list {
    margin-bottom: 24px;
}

.pcb-tmp-compare-fine {
    max-width: 440px;
    font-size: 13px;
    line-height: 1.6;
    color: #838E9A;
}

.pcb-tmp-compare-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    background: #021533;
    user-select: none;
}

.pcb-tmp-compare-frame .pcb-tmp-compare-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcb-tmp-compare-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
}

.pcb-tmp-compare-label {
    position: absolute;
    top: 14px;
    z-index: 4;
    padding: 7px 12px;
    background: #021533;
    color: #F0EDF2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
}

.pcb-tmp-compare-label-left {
    left: 14px;
}

.pcb-tmp-compare-label-right {
    right: 14px;
    color: #59F3C2;
}

.pcb-tmp-compare-divider {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    background: #FFFFFF;
    pointer-events: none;
}

.pcb-tmp-compare-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #021533;
    box-shadow: 0 2px 10px rgba(2, 21, 51, 0.25);
    pointer-events: none;
}

.pcb-tmp-compare-range {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: ew-resize;
    appearance: none;
    -webkit-appearance: none;
}

.pcb-tmp-compare-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 44px;
    height: 100%;
    background: transparent;
    cursor: ew-resize;
}

.pcb-tmp-compare-range::-moz-range-thumb {
    width: 44px;
    height: 100%;
    background: transparent;
    border: 0;
    cursor: ew-resize;
}

.pcb-tmp-compare-range::-moz-range-track {
    background: transparent;
    border: 0;
}

/* Keyboard focus on the range shows a ring around the handle (brief, section 05). */
.pcb-tmp-compare-range:focus-visible {
    outline: none;
}

.pcb-tmp-compare-frame:has(.pcb-tmp-compare-range:focus-visible) .pcb-tmp-compare-handle {
    box-shadow: 0 0 0 3px #7B41F8, 0 2px 10px rgba(2, 21, 51, 0.25);
}

@media (min-width: 1024px) {
    .pcb-tmp-compare {
        padding: 96px 0 104px;
    }
    .pcb-tmp-compare-grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
        gap: 64px;
    }
    .pcb-tmp-compare-frame {
        max-width: 100%;
        margin: 0;
    }
}


/* ==========================================================================
   What hyperspectral imaging reveals
   ========================================================================== */

.pcb-tmp-reveals {
    padding: 64px 0;
    background: #021533;
    background-image: linear-gradient(105deg, #021533 0%, #0A1B41 34%, #241A63 68%, #33207B 100%);
}

.pcb-tmp-reveals .pcb-tmp-title {
    margin-bottom: 40px;
}

.pcb-tmp-reveals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.pcb-tmp-reveal h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #FFFFFF;
}

.pcb-tmp-reveal p {
    font-size: 14px;
    line-height: 1.65;
    color: #C9CFDD;
}

@media (min-width: 640px) {
    .pcb-tmp-reveals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 32px;
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-reveals {
        padding: 96px 0;
    }
    .pcb-tmp-reveals-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 32px;
    }
}


/* ==========================================================================
   Proof point
   ========================================================================== */

.pcb-tmp-proof {
    padding: 64px 0;
    background: #FFFFFF;
}

.pcb-tmp-test {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #E6E9F0;
    background: #FFFFFF;
}

.pcb-tmp-test-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    color: #021533;
}

.pcb-tmp-test-tag {
    display: inline-block;
    padding: 6px 10px;
    background: #021533;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.pcb-tmp-test-intro {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #5A6472;
}

.pcb-tmp-test-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.pcb-tmp-test-fig {
    margin: 0;
}

.pcb-tmp-test-fig figcaption {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #838E9A;
}

.pcb-tmp-test-fig img {
    width: 100%;
}

/* Method columns */
.pcb-tmp-method {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
}

.pcb-tmp-method-label {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2A1B6B;
}

.pcb-tmp-method-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #5A6472;
}

/* Callout */
.pcb-tmp-callout {
    margin-top: 40px;
    padding: 24px 28px;
    border-left: 3px solid #D8A93C;
    background: #F5F6FA;
}

.pcb-tmp-callout-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A5A00;
}

.pcb-tmp-callout p:last-child {
    font-size: 15px;
    line-height: 1.7;
    color: #5A6472;
}

.pcb-tmp-proof-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .pcb-tmp-test {
        padding: 32px;
    }
    .pcb-tmp-test-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
    .pcb-tmp-method {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }
    .pcb-tmp-method-col {
        padding-right: 32px;
    }
    .pcb-tmp-method-col + .pcb-tmp-method-col {
        padding-left: 32px;
        border-left: 1px solid #E6E9F0;
    }
    .pcb-tmp-proof-actions {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-proof {
        padding: 96px 0;
    }
    .pcb-tmp-test-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
        gap: 24px;
        align-items: start;
    }
    .pcb-tmp-method {
        margin-top: 56px;
    }
}


/* ==========================================================================
   Where this fits + VISION card
   ========================================================================== */

.pcb-tmp-fits {
    padding: 64px 0;
    background: #F5F6FA;
}

.pcb-tmp-fits-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.pcb-tmp-fits-copy .pcb-tmp-lead {
    margin-bottom: 28px;
}

.pcb-tmp-standards {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.pcb-tmp-standards li {
    padding: 8px 14px;
    border: 1px solid #DDE1EA;
    background: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: 600;
    color: #021533;
}

.pcb-tmp-vision-card {
    padding: 28px;
    border-top: 3px solid #59F3C2;
    background: #021533;
    background-image: linear-gradient(140deg, #16124A 0%, #2A1B6B 55%, #3E2189 100%);
    color: #FFFFFF;
}

.pcb-tmp-vision-card .pcb-tmp-eyebrow {
    margin-bottom: 12px;
}

.pcb-tmp-vision-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    color: #FFFFFF;
}

.pcb-tmp-vision-card p:not(.pcb-tmp-eyebrow) {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #C9CFDD;
}

@media (min-width: 1024px) {
    .pcb-tmp-fits {
        padding: 96px 0;
    }
    .pcb-tmp-fits-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 80px;
    }
    .pcb-tmp-fits-single .pcb-tmp-fits-grid {
        grid-template-columns: 1fr;
    }
    .pcb-tmp-vision-card {
        padding: 32px;
    }
}


/* ==========================================================================
   Applications
   ========================================================================== */

.pcb-tmp-apps {
    padding: 64px 0;
    background: #FFFFFF;
}

.pcb-tmp-apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid #E6E9F0;
}

.pcb-tmp-app {
    padding: 28px 0;
    border-bottom: 1px solid #E6E9F0;
}

.pcb-tmp-app h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #021533;
}

.pcb-tmp-app p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #5A6472;
}

.pcb-tmp-tag {
    display: inline-block;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.pcb-tmp-tag-validated {
    background: #E3F7EF;
    color: #0F7A5A;
}

.pcb-tmp-tag-request {
    background: #FBF1DC;
    color: #8A5A00;
}

@media (min-width: 640px) {
    .pcb-tmp-apps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pcb-tmp-app {
        padding: 32px 28px 32px 0;
    }
    .pcb-tmp-app:nth-child(2n) {
        padding-left: 28px;
        border-left: 1px solid #E6E9F0;
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-apps {
        padding: 96px 0 72px;
    }
    .pcb-tmp-apps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .pcb-tmp-app {
        padding: 36px 32px 36px 24px;
    }
    .pcb-tmp-app:nth-child(2n) {
        padding-left: 24px;
        border-left: 0;
    }
    .pcb-tmp-app:nth-child(3n + 2),
    .pcb-tmp-app:nth-child(3n) {
        border-left: 1px solid #E6E9F0;
    }
}


/* ==========================================================================
   Related resources
   ========================================================================== */

.pcb-tmp-resources {
    padding: 64px 0;
    background: #FFFFFF;
}

.pcb-tmp-resources .pcb-tmp-title {
    margin-bottom: 32px;
}

.pcb-tmp-resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.pcb-tmp-resource {
    display: flex;
    flex-direction: column;
    border: 1px solid #E6E9F0;
    background: #FFFFFF;
}

.pcb-tmp-resource-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: #021533;
    background-image: linear-gradient(140deg, #16124A 0%, #2A1B6B 55%, #3E2189 100%);
    color: #59F3C2;
}

.pcb-tmp-resource-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px;
}

.pcb-tmp-resource-meta {
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #838E9A;
}

.pcb-tmp-resource h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #021533;
}

.pcb-tmp-resource-body p:not(.pcb-tmp-resource-meta) {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
    color: #5A6472;
}

.pcb-tmp-resource-body .pcb-tmp-textlink {
    align-self: flex-start;
    margin-top: auto;
}

@media (min-width: 640px) {
    .pcb-tmp-resources-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-resources {
        padding: 96px 0;
    }
    .pcb-tmp-resources-grid {
        gap: 24px;
    }
}


/* ==========================================================================
   Feasibility study form
   ========================================================================== */

.pcb-tmp-study {
    padding: 0 0 64px;
    background: #FFFFFF;
}

.pcb-tmp-study-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 32px 24px;
    background: #F5F6FA;
}

.pcb-tmp-study-copy .pcb-tmp-lead {
    margin-bottom: 24px;
}

.pcb-tmp-study-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #DDE1EA;
}

.pcb-tmp-study-preview-card {
    flex: 0 0 112px;
    padding: 10px 10px 10px;
    border: 1px solid #E6E9F0;
    background: #FFFFFF;
    box-shadow: 0 10px 24px -14px rgba(2, 21, 51, 0.25);
}

.pcb-tmp-study-preview-card img {
    width: 100%;
    margin-bottom: 7px;
    border: 1px solid #E6E9F0;
}

.pcb-tmp-study-preview-title {
    margin-bottom: 6px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #021533;
}

.pcb-tmp-study-preview-meta {
    font-size: 7px;
    line-height: 1.4;
    color: #838E9A;
}

.pcb-tmp-study-preview > p {
    font-size: 14px;
    line-height: 1.6;
    color: #838E9A;
}

.pcb-tmp-study-card {
    padding: 28px 24px;
    border: 1px solid #E6E9F0;
    background: #FFFFFF;
}

/* Form fields (styling derived from zoho-contact-form.css) */
.pcb-tmp-form-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pcb-tmp-form-col {
    flex: 1 1 0;
    min-width: 0;
}

.pcb-tmp-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #021533;
}

.pcb-tmp-form input[type="text"] {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 2px solid #E6E9F0;
    border-radius: 0;
    background: rgba(240, 237, 242, 0.5);
    color: #021533;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.pcb-tmp-form input[type="text"]:focus {
    border-color: #7B41F8;
    outline: none;
}

.pcb-tmp-form-error {
    margin: -12px 0 12px;
    color: #dc3545;
    font-size: 13px;
}

.pcb-tmp-form-optin {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 10px;
}

.pcb-tmp-form-optin input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: #652CDE;
    cursor: pointer;
}

.pcb-tmp-form-optin-label {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #021533;
    cursor: pointer;
}

.pcb-tmp-form-optin + .pcb-tmp-form-error {
    margin-top: 0;
}

.pcb-tmp-form-footer {
    margin-top: 24px;
}

.pcb-tmp-form-fine {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.6;
    color: #838E9A;
}

@media (min-width: 640px) {
    .pcb-tmp-form-grid {
        flex-direction: row;
        gap: 20px;
    }
    .pcb-tmp-study-panel {
        padding: 40px 36px;
    }
}

@media (min-width: 1024px) {
    .pcb-tmp-study {
        padding-bottom: 96px;
    }
    .pcb-tmp-study-panel {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 64px;
        padding: 48px 40px;
        align-items: start;
    }
    .pcb-tmp-study-card {
        padding: 32px 28px;
    }
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .pcb-tmp-main *,
    .pcb-tmp-main *::before,
    .pcb-tmp-main *::after {
        transition-duration: 0.01ms !important;
    }
}