@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Fluid layout: phones first, then progressively enhanced for wider screens. */
body {
    font-family: "Roboto", Sans-serif;
    color: #333;
    font-size: 12px;
}

p.has-black-color a {
    color: #5795d1;
}

.wrap {
    width: min(1120px, calc(100% - clamp(24px, 6vw, 64px))) !important;
}

.hero {
    height: clamp(405px, 82vw, 660px);
}

.hero-image {
    background-position: left center !important;
}

.nav {
    height: 110px !important;
    align-items: center;
}

.nav-actions {
    gap: 6px;
    min-width: 0;
}

.nav-actions a,
.nav-actions button {
    font-size: clamp(8px, 2.2vw, 11px) !important;
    padding: 15px !important;
    white-space: nowrap;
}

.hero-card {
    left: clamp(12px, 5vw, 72px);
    right: clamp(12px, 5vw, 72px);
    top: 145px;
    width: auto;
    min-height: 0;
    padding: clamp(16px, 3vw, 28px);
}

.hero-card h1 {
    font-size: clamp(18px, 4vw, 30px) !important;
}

.hero-card .eyebrow {
    font-size: clamp(22px, 2vw, 16px) !important;
}

.hero-card p {
    font-size: clamp(10px, 1.8vw, 14px) !important;
}

.founder small {
    font-size: clamp(9px, 1.5vw, 12px);
}

.avatar {
    width: 42px;
    height: 42px;
}

.intro {
    padding-top: 20px;
}

.top-tiles {
    margin-top: 0 !important;
}

.tiles {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px !important;
}

.tile,
.test {
    height: auto !important;
    aspect-ratio: 1/1;
    min-width: 0;
    font-size: clamp(12px, 3vw, 18px) !important;
}

.intro p,
p,
ul {
    font-size: clamp(12px, 1.8vw, 16px) !important;
    line-height: 1.55;
}

.title-row {
    gap: 12px;
}

.logo {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 auto;
}

h2 {
    font-size: clamp(20px, 3vw, 28px) !important;
}

h3 {
    font-size: clamp(13px, 2vw, 17px) !important;
}

h4 {
    font-size: clamp(13px, 2vw, 16px) !important;
}

.primary {
    font-size: clamp(11px, 1.6vw, 14px) !important;
    padding: 11px 20px !important;
}

.brand-section,
.partner {
    padding-top: clamp(26px, 5vw, 52px);
    padding-bottom: clamp(26px, 5vw, 52px);
}

.band {
    padding: clamp(26px, 5vw, 52px) 0;
}

.brand-logos {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
}

.footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
    margin-top: 28px;
    font-size: 12px;
}

.footer-grid p {
    font-size: 12px !important;
}

.copyright {
    font-size: 10px !important;
}

.five-tests {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 560px) {
    .hero {
        height: clamp(470px, 66vw, 610px);
    }

    .hero-card {
        left: auto;
        right: clamp(24px, 7vw, 100px);
        width: min(48vw, 480px);
        top: clamp(105px, 12vw, 155px);
    }

    .tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .five-tests {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .footer-grid {
        grid-template-columns: 1.1fr 0.8fr 1.2fr !important;
        gap: clamp(16px, 4vw, 50px);
    }

    .nav-actions a,
    .nav-actions button {
        padding: 15px !important;
    }
}

@media (min-width: 900px) {
    .hero {
        height: 650px;
    }

    .hero-card {
        right: max(5vw, calc((100vw - 1120px) / 2));
        width: 500px;
        top: 150px;
    }

    .tiles,
    .five-tests {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .four-tests {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .tile {
        aspect-ratio: 1/1;
    }

    .brand-section,
    .partner {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .band {
        padding: 54px 0;
    }

    .footer-grid {
        margin-top: 44px;
    }
}

/* Supplied brand and product photography */
.hero-image {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 25%,
            rgba(255, 255, 255, 0.98) 63%),
        url("assets/flip-bg-1.jpg") left top no-repeat !important;
    height: 656px;
}

.image-logo {
    background: #fff url("assets/cropped-210831-swisspointofcare-logo_WITH-SHADOW-1.png") center/contain no-repeat;
}

.nav-actions button img {
    width: 13px;
    vertical-align: middle;
    margin-right: 2px;
}

.avatar {
    object-fit: cover;
    object-position: 52% 16%;
    background: #eee !important;
}

.tile {
    background-position: center;
    background-size: cover;
}

.image-go,
.image-poc {
    object-fit: contain;
}

img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

:root {
    --blue: #5795d1;
    --pale: #b5cde4;
    --ink: #222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font: 12px/1.45 "Roboto", Arial, sans-serif;
}

.wrap {
    width: min(380px, calc(100% - 34px));
    margin: auto;
}

.hero {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    filter: saturate(0.85);
}

.nav {
    height: 49px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.intro {
    background-color: transparent;
    background-image: linear-gradient(180deg, #88ABCEB3 0%, #FFFFFF 100%);
}

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

.nav-actions a,
.nav-actions button,
.custom-btn {
    font: 400 16px Roboto !important;
    border: 0;
    background: var(--blue);
    padding: 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px !important;
}

.nav-actions button {
    background: #fff;
    color: #777;
    border: 1px solid #eee;
}

.hero-card {
    position: absolute;
    z-index: 1;
    right: calc(50% - 190px);
    top: 51px;
    width: 188px;
    min-height: 128px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 16px #ddd;
}

.hero-card h1 {
    font-family: "Roboto", Sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.hero-card .eyebrow {
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #3333339E;
    margin-bottom: 20px;
    margin-top: 10px;
}

.hero-card p {
    font: 14px/1.45;
}

.hero-card span {
    color: #555;
}

.founder {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.avatar {
    height: 122px;
    width: 122px;
    border-radius: 50%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.para {
    margin-bottom: 20px;
}

.founder small {
    font: 5.3px Arial;
    color: #666;
}

.founder em {
    font-style: normal;
    color: #333;
}

.intro {
    text-align: center;
    padding: 0 0 16px;
    border-bottom: 1px solid #ced9e3;
}

.intro p {
    text-align: left;
    font-size: 6px;
    margin: 7px 0;
}

.tiles {
    display: flex;
    gap: 6px;
    margin: 0;
}

.top-tiles {
    margin-top: -17px;
    position: relative;
    top: -50px;
}

.tile {
    height: 71px;
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: center;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.33);
    overflow: hidden;
}

.tile img {
    width: 100%;
}

.keto {
    background: linear-gradient(135deg, #bf8c28, #405d1b);
}

.poc {
    background: linear-gradient(135deg, #a8c8db, #6d8491);
}

.relyte {
    background: linear-gradient(135deg, #879850, #222b34);
}

.salt {
    background: linear-gradient(135deg, #48718b, #1f3141);
}

.redmond {
    background: linear-gradient(135deg, #d8ccb2, #a46248);
}

.meter {
    background: linear-gradient(135deg, #e8b13c, #426d45);
}

.oils {
    background: linear-gradient(135deg, #f3f0df, #948667);
}

.supplement {
    background: linear-gradient(135deg, #b9e0e1, #438990);
}

.food {
    background: linear-gradient(135deg, #f2f0ce, #a65c46);
}

.electrolytes {
    background: linear-gradient(135deg, #b8dbd6, #243c4d);
}

.earth {
    background: linear-gradient(135deg, #3c9c92, #286d6c);
}

.brand-section {
    padding: 30px 0;
}

.title-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    display: inline-grid;
    place-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font: bold 6px/1 Roboto;
    text-align: center;
}

.go {
    color: #fff;
    background: conic-gradient(#41c2a3 0 50%, #fff 0 55%, #49b591 0);
}

.poc-logo {
    background: #ee302d;
    color: #fff;
}

.salt-logo {
    font-size: 5px;
    background: #fff;
    color: #333;
}

.keto-box {
    border-radius: 0;
    color: #222;
    background: #fff;
    border: 1px solid #999;
    font-size: 6px;
}

h2 {
    font-size: 10px;
    margin: 0 0 1px;
}

h3 {
    margin: 0;
    font-size: 7px;
    font-weight: 400;
}

p {
    margin: 8px 0;
    font-size: 6px;
}

ul {
    padding-left: 12px;
    margin: 7px 0;
    font-size: 6px;
}

li::marker {
    color: #23ad8b;
}

h4 {
    margin: 8px 0 0;
    font-size: 6px;
    color: #168665;
}

.primary {
    background: var(--blue);
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    padding: 6px 14px;
    margin: 20px 0;
    font: 700 7px Roboto;
}

a.primary.custom-btn {
    font-size: 1.2rem !important;
    padding: 16px 24px !important;
}

.brand-section>.primary,
.band .primary {
    display: table;
    margin: 12px auto 0;
}

.band {
    background: var(--pale);
    padding: 30px 0;
}

.five-tests .tile {
    font-size: 7px;
}

.test {
    height: 71px;
}

.blue {
    background: linear-gradient(#fff, #008bba);
}

.orange {
    background: linear-gradient(#fff, #d27434);
}

.red {
    background: linear-gradient(#fff, #bf343b);
}

.green {
    background: linear-gradient(#fff, #33b29c);
}

.white {
    background: linear-gradient(#fff, #e5e0d5);
    color: #555;
}

.partner {
    padding: 30px 0;
}

.partner h2 {
    margin: 0 0 9px;
}

.partner h2:not(:first-child) {
    margin-top: 25px;
}

.brand-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 12px;
}

.large {
    width: 40px;
    height: 40px;
    font-size: 6px;
}

.brand-logos b {
    color: #c72031;
    font: 700 12px "Roboto";
}

.brand-logos i {
    font: bold 10px serif;
}

footer {
    background: #8eb1d1;
    min-height: 229px;
    padding: 14px 0;
    color: #fff;
}

footer h2 {
    text-align: center;
    font-size: 9px;
}

footer h2 em {
    font-style: normal;
    font-weight: 400;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.2fr;
    gap: 13px;
    margin-top: 36px;
    color: #f7f9fc;
    font-size: 5.5px;
}

.footer-grid hr {
    border: 0;
    border-top: 1px solid #abc5dd;
}

.footer-grid p {
    font-size: 5.5px;
    line-height: 1.8;
}

.copyright {
    font: 5px Arial;
    margin-top: 15px;
}

.tiles.middle-tiles {
    margin-top: 40px;
    margin-bottom: 20px;
}

.brand-section a.primary.custom-btn {
    margin-top: 60px;
}

p {
    margin: 8px 0;
    font-size: 6px;
}

.has-black-color {
    color: var(--wp--preset--color--black) !important;
}

p {
    margin: 0 0 1.41575em;
}

ul,
ol {
    margin: 0 0 1.41575em 3em;
    padding: 0;
}

section.question {
    background: #88ABCEA3;
    text-align: center;
    padding: 30px 0;
    color: #333333;
}

.question a {
    font-weight: 400;
    color: #333;
}

footer h4 {
    color: #fff;
    border-bottom: #fff 1px solid;
    padding: 15px 0;
    margin-bottom: 15px;
}

a.sicon {
    text-decoration: none;
    float: left;
    margin-right: 10px;
}

footer ul {
    padding: 0 !important;
    margin: 0 0 0 20px !important;
    color: #fff !important;
}

footer ul li a {
    color: #fff;
    text-decoration: none !important;
    padding: 4px 0;
    display: block;
    font-size: 13px;
}

footer ul li a:hover {
    text-decoration: underline !important;
}

footer li::marker {
    color: #fff;
}

ul.lang-switcher {
    margin: 0;
}

.nav-actions a {
    margin-right: 8px;
}

@media (min-width: 700px) {
    body {
        font-size: 12px;
    }

    .hero {
        height: 656px;
    }

    .hero-image {
        background-size: 100% auto;
    }

    .wrap {
        width: 720px;
    }

    .hero-card {
        right: calc(50% - 550px);
        top: 150px;
        width: 550px;
        min-height: 360px;
        padding: 30px;
    }

    .hero-card h1 {
        font-size: 20px;
    }

    .hero-card .eyebrow {
        font-size: 12px;
    }

    .hero-card p,
    .intro p,
    p,
    ul {
        font-size: 11px;
    }

    .nav {
        height: 75px;
    }

    .brand-dot {
        width: 52px;
        height: 52px;
        font-size: 9px;
    }

    .nav-actions a,
    .nav-actions button {
        font-size: 10px;
        padding: 8px 12px;
    }

    .tile {
        height: 135px;
        font-size: 16px;
    }

    .top-tiles {
        margin-top: -30px;
    }

    .logo {
        width: 94px;
        height: auto;
        font-size: 10px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 12px;
    }

    .primary {
        font-size: 11px;
        padding: 10px 24px;
    }

    h4 {
        font-size: 11px;
    }

    .test {
        height: 135px;
    }

    .footer-grid {
        font-size: 14px;
    }

    .footer-grid p {
        font-size: 14px;
    }

    footer {
        min-height: 300px;
    }
}

@media (max-width: 600px) {

    a.spoc-logo,
    .nav-actions {
        width: 100%;
        text-align: center;
        display: block;
    }

    nav.nav.wrap {
        display: block;
        height: auto !important;
        text-align: center;
    }

    ul.lang-switcher {
        margin: 0;
        display: inline-block;
    }

    .hero-card {
        top: 174px;
        width: 90%;
        padding: 20px;
    }

    .tiles.top-tiles {
        top: 16px;
        padding-bottom: 30px;
    }

    img.avatar {
        width: 90px;
        height: 90px;
    }

}