:root {
    --ink: #122b36;
    --muted: #667980;
    --navy: #0c3442;
    --teal: #0f7a70;
    --mint: #dff3eb;
    --pale: #f4f7f6;
    --line: #dce6e3;
    --amber: #b36a17;
    --amber-bg: #fff3df;
    --white: #ffffff;
    --max: 1235px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fbfcfb;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

.container {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

a {
    color: inherit;
}


/* Header */

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid #edf2f0;
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
}

.brand strong {
    color: var(--teal);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    flex: none;
    background: var(--teal);
    color: white;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 6px 16px #0f7a7030;
}

nav {
    display: flex;
    gap: 34px;
}

nav a {
    color: #3f555d;
    font-size: 14px;
    text-decoration: none;
}

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


/* Common */

.eyebrow {
    margin: 0 0 17px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
    font-weight: 500;
    color: #17333e;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 21px;
    border-radius: 8px;
    background: var(--teal);
    color: white;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 7px 18px #0f7a7027;
}

.button:hover {
    background: #0b665e;
}

.text-link {
    display: inline-block;
    margin-top: 24px;
    padding-bottom: 3px;
    border-bottom: 1px solid #aebdb9;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}


/* Hero */

.hero {
    padding: 90px 0 100px;
    background:
        linear-gradient(
            112deg,
            #eef7f4,
            #f8faf9 54%,
            #e6f1ed
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.hero-copy h1 {
    margin: 18px 0 26px;
    max-width: 680px;
    font-size: clamp(48px, 5.2vw, 70px);
    line-height: 1.04;
    letter-spacing: -3px;
}

.hero-copy h1 span {
    color: var(--teal);
}

.hero-lead {
    max-width: 610px;
    margin: 0 0 34px;
    color: #53696f;
    font-size: 18px;
    line-height: 1.75;
}


/* Product overview */

.product-overview {
    padding: 26px;
    background: white;
    border: 1px solid #dbe8e4;
    border-radius: 16px;
    box-shadow: 0 30px 70px #113a4524;
    transform: rotate(0.6deg);
}

.overview-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 0 5px 20px;
    color: #7c8e93;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.overview-status {
    color: var(--teal);
}

.overview-status i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--teal);
}

.overview-product {
    display: grid;
    grid-template-columns: 42px 1fr 24px;
    gap: 15px;
    align-items: center;
    padding: 24px 5px;
    border-top: 1px solid #edf1f0;
}

.product-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--teal);
    font-weight: 900;
}

.cairn-icon {
    background: #edf1f0;
    color: var(--navy);
}

.overview-product h2 {
    margin: 3px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.overview-product p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.overview-product > a {
    color: var(--teal);
    font-size: 21px;
    text-decoration: none;
}

.product-state {
    color: #788b90;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.product-state.available {
    color: var(--teal);
}

.overview-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 5px 2px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}


/* Principles */

.principles {
    background: white;
    border-bottom: 1px solid var(--line);
}

.principle-row {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #415960;
    font-size: 13px;
}

.principle-row > span {
    color: #7b8d92;
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}


/* Products */

.products {
    padding: 105px 0 120px;
}

.section-intro {
    max-width: 750px;
    margin-bottom: 80px;
}

.section-intro h2,
.approach h2,
.about h2 {
    margin: 0 0 24px;
    font-size: clamp(35px, 4vw, 47px);
    line-height: 1.2;
}

.section-intro > p:last-child {
    max-width: 650px;
    color: var(--muted);
    font-size: 17px;
}

.product-feature {
    display: grid;
    grid-template-columns: 45px 1fr 0.9fr;
    gap: 45px;
    align-items: center;
    padding: 75px 0;
    border-top: 1px solid var(--line);
}

.feature-number {
    align-self: start;
    padding-top: 6px;
    color: #91aaa4;
    font-size: 12px;
    font-weight: 800;
}

.feature-copy {
    max-width: 540px;
}

.feature-copy h3 {
    margin: 9px 0 6px;
    font-size: 40px;
}

.feature-tagline {
    margin: 0 0 19px;
    color: var(--ink) !important;
    font-weight: 700;
}

.feature-copy p {
    color: var(--muted);
}

.feature-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 25px;
    margin-top: 24px;
    color: #415960;
    font-size: 13px;
    font-weight: 700;
}

.feature-points span::before {
    content: "✓";
    margin-right: 7px;
    color: var(--teal);
}

.muted-link {
    color: var(--muted);
}


/* Feature panels */

.feature-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    box-shadow: 0 18px 45px #173e4710;
}

.panel-label {
    display: block;
    margin-bottom: 5px;
    color: #7c8e93;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.feature-panel > strong {
    display: block;
    margin-bottom: 22px;
    color: var(--ink);
    font-size: 19px;
}

.mini-status {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #edf1f0;
}

.mini-status i {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 900;
}

.mini-status div {
    display: flex;
    flex-direction: column;
}

.mini-status span {
    color: var(--muted);
    font-size: 11px;
}

.mini-status em {
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.mini-status.ready i {
    background: var(--mint);
    color: var(--teal);
}

.mini-status.ready em {
    color: var(--teal);
}

.mini-status.attention i {
    background: var(--amber-bg);
    color: var(--amber);
}

.mini-status.attention em {
    color: var(--amber);
}

.cairn-panel {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-color: #d9e2e4;
}

.cairn-panel-header {
    padding: 24px 26px 20px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cairn-panel-header .panel-label {
    color: #9db9bf;
}

.cairn-panel-header strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 18px;
}

.cairn-current {
    padding: 5px 8px;
    border-radius: 20px;
    background: #174a57;
    color: #8ee0d0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cairn-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--line);
}

.cairn-code {
    padding: 6px 8px;
    border-radius: 6px;
    background: #edf2f2;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800;
}

.cairn-item div {
    display: flex;
    flex-direction: column;
}

.cairn-item b {
    font-size: 12px;
}

.cairn-item small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.cairn-state {
    color: var(--teal);
    font-size: 9px;
    font-weight: 800;
}

.cairn-context {
    padding: 17px 25px;
}

.context-heading {
    display: block;
    margin-bottom: 7px;
    color: #84979c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.relationship {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid #edf1f0;
    font-size: 9px;
}

.relationship > span {
    color: #71858b;
    font-weight: 700;
}

.relationship b {
    font-size: 10px;
}

.relationship em {
    color: var(--teal);
    font-style: normal;
    font-weight: 800;
}

.relationship em.review,
.relationship em.changed {
    color: var(--amber);
}

.cairn-suggestion {
    margin: 0 25px 20px;
    padding: 13px;
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 11px;
    border: 1px solid #e5d1ae;
    border-radius: 8px;
    background: #fffaf1;
}

.suggestion-icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--amber-bg);
    color: var(--amber);
    font-size: 12px;
    font-weight: 900;
}

.cairn-suggestion span {
    display: block;
    color: var(--amber);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.cairn-suggestion strong {
    display: block;
    margin: 1px 0 2px;
    font-size: 10px;
}

.cairn-suggestion p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

.cairn-tabs {
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #f6f8f8;
    border-top: 1px solid var(--line);
    color: #64787e;
    font-size: 8px;
    font-weight: 700;
}


/* Approach */

.approach {
    padding: 100px 0;
    background: var(--navy);
    color: white;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
}

.approach .eyebrow {
    color: #7dd7c6;
}

.approach h2 {
    color: white;
}

.approach-copy {
    padding-top: 35px;
    color: #b9cccf;
    font-size: 17px;
}


/* About */

.about {
    padding: 90px 0;
    background: var(--pale);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.about h2 {
    margin-bottom: 0;
}

.about-inner > p {
    color: var(--muted);
    font-size: 17px;
}


/* Footer */

footer {
    padding: 30px 0;
    background: white;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 11px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
}

.brand-mark.small {
    width: 27px;
    height: 27px;
    border-radius: 7px;
    font-size: 14px;
}


/* Mobile */

@media (max-width: 800px) {

    .container {
        width: min(calc(100% - 32px), var(--max));
    }

    nav a:not(:first-child) {
        display: none;
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero-grid,
    .product-feature,
    .approach-grid,
    .about-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-copy h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .product-overview {
        transform: none;
    }

    .principle-row {
        padding: 25px 0;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .principle-row > span {
        width: 100%;
    }

    .products {
        padding: 75px 0;
    }

    .section-intro {
        margin-bottom: 45px;
    }

    .product-feature {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 55px 0;
    }

    .feature-number {
        padding: 0;
    }

    .feature-points {
        grid-template-columns: 1fr;
    }

    .approach,
    .about {
        padding: 70px 0;
    }

    .approach-copy {
        padding-top: 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Clinical Stock product page */

.product-page-hero {
    padding: 95px 0 70px;
    background:
        linear-gradient(
            112deg,
            #eef7f4,
            #f8faf9 54%,
            #e6f1ed
        );
}

.product-page-hero-inner {
    max-width: 1000px;
}

.product-page-copy {
    max-width: 790px;
}

.product-page-copy h1 {
    margin: 18px 0 25px;
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1.03;
    letter-spacing: -3px;
}

.product-page-copy h1 span {
    color: var(--teal);
}

.product-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 34px;
}

.product-actions .text-link {
    margin-top: 0;
}

.product-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 35px;
    color: var(--muted);
    font-size: 12px;
}

.product-screenshot-section {
    padding: 0 0 100px;
    background: linear-gradient(#eef7f4 35%, #fbfcfb 35%);
}

.screenshot-frame {
    overflow: hidden;
    background: white;
    border: 1px solid #d8e3e0;
    border-radius: 14px;
    box-shadow: 0 25px 65px #113a4518;
}

.screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-screenshot {
    max-width: 1050px;
    margin: 0 auto;
}

.product-intro {
    padding: 100px 0 115px;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 100px;
}

.product-intro h2,
.story-copy h2,
.positioning-section h2,
.demo-cta h2 {
    margin: 0 0 24px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.18;
}

.product-intro-copy {
    color: var(--muted);
    font-size: 17px;
}

.product-story {
    background: #f5f8f7;
}

.story-row {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 110px;
    align-items: center;
    padding: 105px 0;
    border-bottom: 1px solid var(--line);
}

.story-number {
    margin: 0 0 25px;
    color: #91aaa4;
    font-size: 12px;
    font-weight: 800;
}

.story-copy p:not(.eyebrow):not(.story-number) {
    color: var(--muted);
    font-size: 16px;
}

.story-support {
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 10px 28px;
}

.story-stat {
    padding: 22px 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #edf1f0;
}

.story-stat:last-child {
    border-bottom: 0;
}

.story-stat span {
    color: var(--teal);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.story-stat strong {
    margin-top: 4px;
    font-size: 17px;
}

.story-row-image {
    grid-template-columns: 0.65fr 1.35fr;
}

.story-row-image .screenshot-frame {
    max-width: 720px;
    justify-self: end;
}

.positioning-section {
    padding: 105px 0;
    background: var(--navy);
    color: white;
}

.positioning-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 100px;
}

.positioning-section .eyebrow {
    color: #7dd7c6;
}

.positioning-section h2 {
    color: white;
}

.positioning-section p {
    color: #b9cccf;
    font-size: 17px;
}

.positioning-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.positioning-points span {
    padding: 10px 12px;
    border: 1px solid #28515b;
    border-radius: 6px;
    color: #d6e2e4;
    font-size: 12px;
}

.demo-cta {
    padding: 95px 0;
    background: white;
}

.demo-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
}

.demo-cta p {
    max-width: 650px;
    color: var(--muted);
}

.demo-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.demo-actions .text-link {
    margin-top: 0;
}

@media (max-width: 800px) {

    .product-page-hero {
        padding: 65px 0 50px;
    }

    .product-page-copy h1 {
        font-size: 47px;
        letter-spacing: -2px;
    }

    .product-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-screenshot-section {
        padding-bottom: 70px;
    }

    .product-intro-grid,
    .story-row,
    .story-row-image,
    .positioning-grid,
    .demo-cta-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .product-intro,
    .story-row,
    .positioning-section,
    .demo-cta {
        padding: 70px 0;
    }

    .positioning-points {
        grid-template-columns: 1fr;
    }
}

/* Prevent product screenshots and grid content causing horizontal overflow */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.product-page-hero-inner,
.product-intro-grid,
.story-row,
.story-row-image,
.positioning-grid,
.demo-cta-inner {
    min-width: 0;
}

.story-row > *,
.story-row-image > *,
.product-intro-grid > *,
.positioning-grid > * {
    min-width: 0;
}

.screenshot-frame {
    width: 100%;
    max-width: 100%;
}

.screenshot-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.story-row-image .screenshot-frame {
    width: 100%;
    max-width: 680px;
    justify-self: end;
}

/* Cairn product page */

.cairn-page-hero {
    padding: 100px 0;
    background:
        linear-gradient(
            120deg,
            #f5f8f7 0%,
            #edf3f2 55%,
            #e5efed 100%
        );
}

.cairn-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.cairn-hero-copy {
    min-width: 0;
}

.cairn-hero-copy h1 {
    margin: 18px 0 27px;
    font-size: clamp(50px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -3px;
}

.cairn-hero-copy h1 span {
    color: var(--teal);
}


/* Cairn concept interface */

.cairn-concept {
    min-width: 0;
    overflow: hidden;
    background: white;
    border: 1px solid #d6e1df;
    border-radius: 15px;
    box-shadow: 0 28px 65px #113a451a;
}

.cairn-concept-header {
    padding: 25px 27px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: var(--navy);
    color: white;
}

.cairn-concept-header div {
    display: flex;
    flex-direction: column;
}

.cairn-concept-header span {
    color: #8eafb5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.cairn-concept-header strong {
    margin-top: 5px;
    font-size: 18px;
}

.cairn-concept-header > em {
    align-self: flex-start;
    padding: 5px 8px;
    border-radius: 20px;
    background: #174a57;
    color: #8ee0d0;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 1px;
}

.cairn-concept-item {
    padding: 20px 27px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.cairn-concept-code {
    padding: 6px 8px;
    border-radius: 6px;
    background: #edf2f2;
    font-size: 10px;
    font-weight: 800;
}

.cairn-concept-item div {
    display: flex;
    flex-direction: column;
}

.cairn-concept-item strong {
    font-size: 12px;
}

.cairn-concept-item small {
    color: var(--muted);
    font-size: 9px;
}

.cairn-concept-item > em {
    color: var(--teal);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.cairn-concept-section {
    padding: 18px 27px;
}

.cairn-concept-section > span {
    display: block;
    margin-bottom: 8px;
    color: #84979c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.cairn-concept-section > div {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    border-top: 1px solid #edf1f0;
    align-items: center;
}

.cairn-concept-section small {
    color: #71858b;
    font-size: 9px;
    font-weight: 700;
}

.cairn-concept-section strong {
    font-size: 10px;
}

.cairn-concept-section em {
    color: var(--teal);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.cairn-concept-section .attention-text {
    color: var(--amber);
}

.cairn-concept-suggestion {
    margin: 0 27px 22px;
    padding: 14px;
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 12px;
    border: 1px solid #e5d1ae;
    border-radius: 8px;
    background: #fffaf1;
}

.cairn-concept-suggestion > b {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--amber-bg);
    color: var(--amber);
}

.cairn-concept-suggestion span {
    display: block;
    color: var(--amber);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.cairn-concept-suggestion strong {
    display: block;
    margin: 2px 0;
    font-size: 10px;
}

.cairn-concept-suggestion p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.cairn-concept-footer {
    padding: 13px 27px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f6f8f8;
    border-top: 1px solid var(--line);
    color: #64787e;
    font-size: 8px;
    font-weight: 700;
}


/* Cairn purpose */

.cairn-purpose {
    padding: 110px 0;
}

.cairn-purpose-grid,
.cairn-assistance-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 100px;
}

.cairn-purpose h2,
.cairn-principles h2,
.cairn-assistance h2,
.cairn-development h2 {
    margin: 0 0 24px;
    font-size: clamp(35px, 4vw, 48px);
    line-height: 1.18;
}

.cairn-purpose-copy {
    color: var(--muted);
    font-size: 17px;
}


/* Principles */

.cairn-principles {
    padding: 105px 0;
    background: #f4f7f6;
}

.cairn-principles-intro {
    max-width: 650px;
    margin-bottom: 60px;
}

.cairn-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cairn-principle-grid article {
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.cairn-principle-grid article > span {
    color: #91aaa4;
    font-size: 10px;
    font-weight: 800;
}

.cairn-principle-grid h3 {
    margin: 28px 0 13px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.cairn-principle-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}


/* Assisted governance */

.cairn-assistance {
    padding: 105px 0;
    background: var(--navy);
    color: white;
}

.cairn-assistance .eyebrow {
    color: #7dd7c6;
}

.cairn-assistance h2 {
    color: white;
}

.cairn-assistance-grid > div:last-child {
    color: #b9cccf;
    font-size: 17px;
}


/* Development */

.cairn-development {
    padding: 100px 0;
}

.cairn-development-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
}

.cairn-development-inner > div {
    max-width: 720px;
}

.cairn-development p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
}


/* Cairn mobile */

@media (max-width: 800px) {

    .cairn-page-hero,
    .cairn-purpose,
    .cairn-principles,
    .cairn-assistance,
    .cairn-development {
        padding: 70px 0;
    }

    .cairn-hero-grid,
    .cairn-purpose-grid,
    .cairn-assistance-grid,
    .cairn-development-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cairn-hero-copy h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .cairn-principle-grid {
        grid-template-columns: 1fr;
    }

    .cairn-concept-section > div {
        grid-template-columns: 50px 1fr;
    }

    .cairn-concept-section em {
        grid-column: 2;
    }
}


/* Simple content pages */

.simple-page {
    min-height: calc(100vh - 160px);
    padding: 120px 0;
    background:
        linear-gradient(
            120deg,
            #f5f8f7,
            #edf5f2
        );
}

.simple-page-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.simple-page h1 {
    margin: 15px 0 25px;
    font-size: clamp(50px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.simple-lead {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
}

.contact-card {
    padding: 35px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 20px 50px #113a4512;
}

.contact-card > span {
    color: var(--teal);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.contact-card h2 {
    margin: 12px 0 20px;
    font-size: 26px;
}

.contact-card p {
    color: var(--muted);
}

.contact-card .button {
    margin: 8px 0 24px;
}

.contact-card small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 800px) {

    .simple-page {
        padding: 70px 0;
    }

    .simple-page-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .simple-page h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }
}

/* Privacy page */

.privacy-page {
    padding: 100px 0 110px;
    background: #fbfcfb;
}

.privacy-content {
    max-width: 820px;
}

.privacy-content h1 {
    margin: 15px 0 25px;
    font-size: clamp(50px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.privacy-intro {
    margin-bottom: 55px;
    color: var(--muted);
    font-size: 18px;
}

.privacy-content h2 {
    margin: 42px 0 14px;
    font-size: 25px;
}

.privacy-content p {
    color: var(--muted);
    font-size: 15px;
}

.privacy-content a {
    color: var(--teal);
    font-weight: 700;
}

.privacy-updated {
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12px !important;
}

@media (max-width: 800px) {

    .privacy-page {
        padding: 70px 0;
    }

    .privacy-content h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }
}

/* Footer navigation */

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--teal);
}

@media (max-width: 800px) {
    .footer-links {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .footer-links span {
        width: 100%;
    }
}

/* Mobile footer refinement */

@media (max-width: 800px) {

    .footer-inner {
        gap: 18px;
        padding: 6px 0;
    }

    .footer-links {
        width: 100%;
        display: grid;
        grid-template-columns: auto auto;
        justify-content: start;
        gap: 10px 24px;
    }

    .footer-links span {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 4px;
        line-height: 1.5;
    }
}