/* =========================================================
   SYNTAX Platform page  (template: syntax-platform.php)
   Typography, colours and grid come from the theme
   (secondary-heading, tertiary-heading, desc, fc-*, bg-*,
   sec-padding, container/row). Only page-specific layout
   lives here, scoped under .sp-page / prefixed "sp-".
   ========================================================= */

.sp-page {
    overflow-x: hidden;
}

.sp-page img {
    max-width: 100%;
    height: auto;
}

.sp-page .desc p:last-child,
.sp-page .desc ul:last-child {
    margin-bottom: 0;
}

.sp-page .tertiary-heading {
    margin-bottom: 16px;
}

.sp-page .secondary-heading {
    margin-bottom: 20px;
}

/* ---------- SYNTAX Banner (Banner Style = "syntax") ---------- */

.sp-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 550px;
    padding: 80px 0;
    background-color: #0b0d36;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Navy overlay on the red background/GIF, leaving a glow behind the right image */
.sp-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 38% 75% at 70% 32%, rgba(11, 13, 54, .05) 0%, rgba(11, 13, 54, .7) 55%, #0b0d36 100%);
    pointer-events: none;
}

.sp-banner .container {
    position: relative;
    z-index: 1;
}

.sp-banner__title {
    color: #ff5843;
    font-weight: 700;
    margin-bottom: 20px;
}

.sp-banner__text {
    font-size: 24px;
    line-height: 37.2px;
}

.sp-banner__text p {
    margin-bottom: 0;
}

.sp-banner__text strong {
    color: #ff5843;
    font-weight: 500;
}

.sp-banner__media img {
    display: block;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
}

/* ---------- Section #1 - Intro (reference coral band) ---------- */

.sp-intro {
    background: #ff5843;
}

/* ---------- Section #2 - Feature cards ---------- */

/* Reference layout: white fading into the brand colour with a faint DNA lattice */
.sp-features {
    background:
        repeating-linear-gradient(60deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 28px),
        repeating-linear-gradient(-60deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 28px),
        linear-gradient(180deg, #ffffff 0%, #ffffff 20%, #ffc9c1 55%, #ff5843 100%);
}

.sp-features__list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sp-feature {
    display: flex;
    align-items: center;
    gap: 22px;
    background: rgba(255, 255, 255, .55);
    border-radius: 16px;
    padding: 40px 30px 40px 30px;
    box-shadow: 0 10px 30px rgba(16, 22, 45, .12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.sp-feature__icon {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #e8ebf0;
    display: flex;
    align-items: center;
    justify-content: center;
	border: 5px solid white;
}

.sp-feature__icon img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sp-feature__points {
    flex: 1 1 auto;
    min-width: 0;
}

.sp-feature__points ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.sp-feature__points li {
    margin-bottom: 4px;
}

.sp-feature__points li:last-child {
    margin-bottom: 0;
}

.sp-feature__points li::marker {
    color: #0f153c;
}

/* ---------- Section #3 - Statement (reference navy band) ---------- */

.sp-statement {
    background: #050935;
}

.sp-statement .desc strong {
    font-weight: 700;
}

/* ---------- Sections #4-#6 - Content blocks ---------- */

.sp-block__content {
    max-width: 420px;
}

.sp-block__content--right {
    margin-left: auto;
}

.sp-block__media img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .sp-banner {
        min-height: 0;
        padding: 60px 0;
        text-align: center;
    }

    .sp-banner::before {
        background: radial-gradient(ellipse 70% 40% at 50% 75%, rgba(11, 13, 54, .05) 0%, rgba(11, 13, 54, .7) 60%, #0b0d36 100%);
    }

    .sp-banner__text {
        font-size: 20px;
        line-height: 31px;
    }

    .sp-banner__media img {
        max-width: 520px;
        margin: 40px auto 0;
    }

    .sp-block__content,
    .sp-block__content--right {
        max-width: none;
        margin-left: 0;
    }

    .sp-block__media img {
        max-width: 640px;
    }
}

@media (max-width: 767px) {
    .sp-features__list {
        gap: 16px;
    }

    .sp-feature {
        gap: 18px;
        padding: 18px;
    }

    .sp-feature__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .sp-feature__icon img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 575px) {
    .sp-banner {
        padding: 44px 0;
    }

    .sp-banner__title {
        font-size: 34px;
        line-height: 35.7px;
    }

    .sp-banner__text {
        font-size: 20px;
        line-height: 31px;
    }

    .sp-banner__media img {
        margin-top: 28px;
    }

    .sp-page .tertiary-heading {
        font-size: 30px;
        line-height: 36px;
    }

    .sp-feature {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sp-feature__points li {
        font-size: 16px;
        line-height: 24px;
    }
}


/* =========================================================
   SYNTAX Kits page  (template: syntax-kits.php)
   Scoped under .sk-page / prefixed "sk-"
   ========================================================= */

/* ---------- Section #1 - Intro ---------- */

.sk-intro {
    background: #ff5843;
}

/* ---------- Section #2 - Kits Table ---------- */

.sk-kits__hint {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

/* Table colours below match the reference exactly */
.sk-table-wrap {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .62)), rgba(255, 255, 255, .55);
    box-shadow: 0 18px 40px rgba(11, 16, 32, .14), inset 0 1px 0 rgba(255, 255, 255, .85);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sk-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
    line-height: 1.5;
    color: #0b1020;
}

.sk-table th,
.sk-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(11, 16, 32, .14);
    vertical-align: middle;
}

.sk-table td {
    text-align: center;
}

.sk-table small {
    font-size: 12px;
    color: #808285;
}

.sk-table__label {
    width: 25%;
    text-align: left;
    font-weight: 600;
    color: #4d4d4d;
    background: #f7f8fa;
    border-right: 2px solid rgba(11, 16, 32, .28);
}

/* Pin the label column while swiping on small screens */
.sk-table .sk-table__label {
    position: sticky;
    left: 0;
    z-index: 1;
}

.sk-table__actions td,
.sk-table__actions th {
    border-bottom: 0;
    padding: 20px 14px;
}

/* Column tints per kit colour. ACF "Colour" values: dark = navy, primary = green, light = coral */
.sk-col--dark    { background: rgba(11, 58, 166, .08); }
.sk-col--primary { background: rgba(68, 185, 123, .1); }
.sk-col--light   { background: rgba(255, 90, 68, .1); }

/* Kit header cell + card */
.sk-table thead th {
    padding: 12px;
}

.sk-table thead th.sk-col--dark    { background: #d3dcef; }
.sk-table thead th.sk-col--primary { background: #daf1e5; }
.sk-table thead th.sk-col--light   { background: #ffdeda; }

.sk-kit {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.sk-kit span {
    display: block;
}

.sk-kit__plate,
.sk-kit__cat {
    padding: 12px 10px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sk-kit__plate {
    background-image: linear-gradient(rgba(255, 255, 255, .08), transparent 55%);
}

.sk-kit__name {
    padding: 12px 12px 14px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    background-image: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 60%, transparent 100%);
}

.sk-kit__cat {
    background-image: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18));
}

.sk-col--dark .sk-kit    { background-color: #0a1140; }
.sk-col--primary .sk-kit { background-color: #44b97b; }
.sk-col--light .sk-kit   { background-color: #ff5a44; }

/* Product sheet button */
.sk-sheet-btn {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #0b1020;
    background: #ffffff;
    border: 1px solid rgba(10, 17, 64, .28);
    border-radius: 5px;
    transition: .3s ease all;
}

.sk-sheet-btn:hover {
    color: #ffffff;
    background: #ff5843;
    border-color: #ff5843;
}

/* ---------- Section #3 - Quote Button ---------- */

.sk-quote-band {
    background: #ff5843;
    padding: 18px 0;
}

/* .btn-outlined covers older syntax-kits.php markup */
.sk-quote-btn,
.sk-quote-band .btn-outlined {
    display: inline-block;
    padding: 14px 38px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #0b1030;
    background: #ffffff;
    border: 0;
    border-radius: 6px;
    transition: .3s ease all;
}

.sk-quote-btn:hover,
.sk-quote-band .btn-outlined:hover {
    color: #ffffff;
    background: #0e1235;
}

/* ---------- Section #4 - Performance ---------- */

.sk-perf {
    background: #0e1235;
}

.sk-perf__charts {
    margin-top: 40px;
    margin-bottom: 30px;
    row-gap: 30px;
}

.sk-chart__title {
    font-size: 17px;
    font-weight: 700;
    color: #ff5843;
    margin-bottom: 10px;
}

.sk-chart__img {
    background: #ffffff;
    border-radius: 6px;
    padding: 12px;
}

.sk-chart__img img {
    display: block;
    width: 100%;
    height: auto;
}

.sk-chart__caption {
    font-size: 13px;
    line-height: 1.5;
    color: #ff5843;
    margin: 10px 0 0;
}

/* ---------- Section #5 - Testimonial ---------- */

.sk-testimonial {
    position: relative;
    background-color: #0e1235;
    background-size: cover;
    background-position: center;
}

/* .sk-testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 90% at 30% 50%, rgba(14, 18, 53, .55) 0%, rgba(14, 18, 53, .88) 60%, #0e1235 100%);
} */

.sk-testimonial .container {
    position: relative;
    z-index: 1;
}

.sk-testimonial__card {
    max-width: 1040px;
    margin: 0 auto;
    padding: 36px 48px;
    text-align: center;
    background: radial-gradient(1200px 600px at 20% 0%, rgba(255, 255, 255, .04), transparent 70%), rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Quote mark with a line on each side */
.sk-testimonial__icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #f25b4a;
    margin-bottom: 22px;
}

.sk-testimonial__icon::before,
.sk-testimonial__icon::after {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.sk-testimonial__quote {
    font-weight: 300;
    letter-spacing: .3px;
}

.sk-testimonial__quote strong {
    font-weight: 700;
    letter-spacing: 1.9px;
}

.sk-testimonial__author {
    margin: 20px 0 0;
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
    color: #f25b4a;
}

/* ---------- Section #6 - Call to Action ---------- */

.sk-cta {
    background: #f25b4a;
}

.sk-cta__item {
    text-align: center;
    padding: 10px 0;
}

.sk-cta__item .tertiary-heading {
    text-transform: uppercase;
    font-weight: 500;
}

/* Square, 2px-border buttons as in the reference */
.sk-cta__item .btn-outlined {
    min-width: 250px;
    padding: 15px 80px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    border-radius: 0;
}

.sk-cta__item .btn-outlined:hover {
    background: #ffffff;
    color: #f25b4a;
    border-color: #ffffff;
}

/* ---------- Kits responsive ---------- */

@media (max-width: 767px) {
    .sk-table th,
    .sk-table td {
        padding: 12px 10px;
    }

    .sk-table__label {
        width: 140px;
    }

    .sk-testimonial__card {
        padding: 28px 22px;
    }

    .sk-cta__item {
        padding: 14px 0;
    }
}

@media (max-width: 575px) {
    .sk-table {
        font-size: 13px;
    }

    .sk-cta__item .btn-outlined {
        min-width: 0;
        width: 100%;
    }
}


/* =========================================================
   Reference colours & font sizes (dnascript.com)
   Overrides the theme's text colours/sizes on both pages.
   Desktop values measured at 1400px, mobile at phone width.
   ========================================================= */

/* ---------- Shared ---------- */

.sp-page .tertiary-heading {
    font-size: 40px;
    line-height: 48px;
    font-weight: 400;
    letter-spacing: -.8px;
}

.sp-banner .sp-banner__title {
    font-size: 55px;
    line-height: 57.75px;
    letter-spacing: .2px;
}

/* ---------- Platform ---------- */

.sp-intro .desc {
    font-size: 23px;
    line-height: 29.9px;
    color: #000000;
}
.sp-intro .desc p {
	font-weight: 500;
	color: #000000 !important;
}
.sp-feature__points li {
    font-size: 16px;
    line-height: 24px;
    color: #0f153c;
}

.sp-statement .desc {
    font-size: 23px;
    line-height: 29.9px;
    color: #ff5843;
}
.sp-statement .desc p {
	color: #ff5843;
}

.sp-block .secondary-heading {
    font-size: 32px;
    line-height: 38.4px;
    font-weight: 400;
    letter-spacing: -.8px;
    color: #0e1235;
}

.sp-block .desc {
    font-size: 18px;
    line-height: 27.9px;
    letter-spacing: normal;
    color: #000000;
}
.sp-block .desc p {
	color: #000000;
}

.sp-block.bg-lg-white {
    background: #f4f6f8;
}

/* ---------- Kits ---------- */

.sk-table {
    font-size: 16px;
}

.sk-table td {
    color: #0b1020;
}

.sk-table__label {
    font-weight: 800;
}

.sk-table small {
    font-size: 16px;
    font-weight: 500;
    color: rgba(11, 16, 32, .65);
}

.sk-kit__plate,
.sk-kit__cat {
    font-size: 12.5px;
    font-weight: 750;
}

.sk-kit__name {
    font-size: 16.8px;
    font-weight: 850;
}

.sk-sheet-btn {
    font-size: 17px;
    font-weight: 750;
}

.sk-quote-btn,
.sk-quote-band .btn-outlined {
    font-size: 17.5px;
}

.sk-chart__title {
    font-size: 20px;
}

.sk-chart__caption {
    font-size: 17px;
    line-height: 22.1px;
    font-weight: 300;
}

.sk-perf .desc {
    font-size: 30px;
    line-height: 34.5px;
    letter-spacing: -.8px;
}

.sk-testimonial__quote {
    font-size: 24px;
    line-height: 37.2px;
}

.sk-testimonial__author {
    font-size: 18px;
    line-height: 27px;
}

.sk-cta__item .tertiary-heading {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 600;
}

.sk-cta__item .btn-outlined {
    font-size: 24px;
}

/* ---------- Reference mobile sizes ---------- */

@media (max-width: 991px) {
    .sp-banner .sp-banner__title {
        font-size: 44px;
        line-height: 1.05;
    }
}

@media (max-width: 767px) {
    .sp-banner .sp-banner__title {
        font-size: 34px;
        line-height: 35.7px;
    }

    .sp-page .tertiary-heading {
        font-size: 30px;
        line-height: 36px;
    }

    .sp-block .secondary-heading {
        font-size: 28px;
        line-height: 33.6px;
    }

    .sp-block .desc {
        font-size: 17px;
        line-height: 26.35px;
    }

    .sk-perf .desc {
        font-size: 24px;
        line-height: 1.2;
    }

    .sk-cta__item .btn-outlined {
        font-size: 20px;
    }
}
