@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   STRATA PUBLIC SITE
   Palette matches the logged-in app (base.css logo tokens).
   Orange from the marketing mock is remapped to logo blues.
   ============================================================ */

:root {
    --strata-logo-colour-0: #2596be;
    --strata-logo-colour-1: #B6D5FF;
    --strata-logo-colour-2: #338DFF;
    --strata-logo-colour-3: #0F4CFF;
    --strata-logo-colour-4: #0C08B5;
    --strata-logo-colour-text: #08087F;

    --pub-navy: var(--strata-logo-colour-text);
    --pub-deep: var(--strata-logo-colour-4);
    --pub-blue: var(--strata-logo-colour-2);
    --pub-mid: var(--strata-logo-colour-3);
    --pub-cyan: var(--strata-logo-colour-0);
    --pub-tint: var(--strata-logo-colour-1);
    --pub-wash: #f3f7ff;
    --pub-page: #f7f9fc;
    --pub-card: #ffffff;
    --pub-muted: #5b6475;
    --pub-line: #d9e4f5;
    --pub-hero-gradient: linear-gradient(100deg, #2596be 0%, #338DFF 28%, #0F4CFF 58%, #0C08B5 82%, #08087F 100%);
    --pub-footer-gradient: linear-gradient(160deg, #2596be 0%, #0F4CFF 42%, #08087F 100%);
    --pub-shadow: 0 10px 28px rgba(8, 8, 127, 0.10);
    --pub-shadow-lg: 0 18px 40px rgba(8, 8, 127, 0.14);
    --pub-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1b1f2a;
    background: #fff;
}

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

a {
    color: var(--pub-mid);
}

a:hover {
    color: var(--pub-navy);
}

/* ---------- Navbar ---------- */
.navbar-logged-out {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(8, 8, 127, 0.06);
}

.navbar-logged-out .nav-link {
    color: #6b7280;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
}

.navbar-logged-out .nav-link:hover,
.navbar-logged-out .nav-link.active {
    color: var(--pub-navy);
}

.navbar-brand-logo {
    height: 46px;
    width: auto;
    display: block;
}

.navbar-logged-out .navbar-cta .btn {
    white-space: nowrap;
}

.btn-login {
    --bs-btn-color: var(--pub-navy);
    --bs-btn-border-color: var(--pub-navy);
    --bs-btn-hover-bg: var(--pub-navy);
    --bs-btn-hover-border-color: var(--pub-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--pub-deep);
    --bs-btn-active-border-color: var(--pub-deep);
    --bs-btn-active-color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.btn-get-started,
.btn-primary-strata {
    background: var(--pub-navy);
    border-color: var(--pub-navy);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.btn-get-started:hover,
.btn-primary-strata:hover {
    background: var(--pub-deep);
    border-color: var(--pub-deep);
    color: #fff;
}

/* ---------- Layout ---------- */
.main-content-logged-out {
    padding: 0;
}

.page-header:empty,
.page-header:has(h1:empty) {
    display: none;
}

/* ---------- Hero ---------- */
.pub-hero {
    background: var(--pub-hero-gradient);
    color: #fff;
    text-align: center;
    padding: 4.4rem 1rem 4.6rem;
}

.pub-hero h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}

.pub-hero .lead {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 400;
}

.pub-page-hero {
    padding: 2.6rem 1rem 2.4rem;
}

.pub-page-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    margin-bottom: 0;
}

/* ---------- Page body ---------- */
.pub-section {
    padding: 3.4rem 0;
}

.pub-kicker {
    color: var(--pub-navy);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    margin-bottom: 2rem;
}

.pub-kicker.sub {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    margin-bottom: 1.6rem;
}

/* ---------- Feature cards ---------- */
.feature-grid {
    display: grid;
    gap: 1.15rem;
}

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

.feature-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin: 0 auto;
}

.feature-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Home: 3 on top, 2 centred below. Stays that way until a real small screen. */
.feature-grid.home-features {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.feature-grid.home-features > article {
    grid-column: span 2;
}

.feature-grid.home-features > article:nth-child(4) {
    grid-column: 2 / span 2;
}

.feature-grid.home-features > article:nth-child(5) {
    grid-column: 4 / span 2;
}

.feature-card {
    background: var(--pub-card);
    border: 0;
    border-radius: var(--pub-radius);
    box-shadow: var(--pub-shadow);
    padding: 1.35rem 1.3rem 1.4rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pub-shadow-lg);
}

.icon-wrap {
    --icon-size: 1.85rem;
}

.icon-wrap i,
.icon-wrap i::before,
.value-icon i,
.value-icon i::before {
    font-size: var(--icon-size, 1em);
    line-height: 1;
    width: auto;
    height: auto;
}

.feature-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--pub-blue) 16%, white);
    color: var(--pub-blue);
    --icon-size: 1.9rem;
    flex-shrink: 0;
}

.feature-card h3,
.feature-card h5 {
    color: var(--pub-navy);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}

.feature-card p {
    color: var(--pub-muted);
    margin: 0.55rem 0 0;
    font-size: 0.95rem;
    line-height: 1.45;
}

.feature-card.rowish {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.feature-card.centered {
    text-align: center;
}

.feature-card.centered .icon-wrap {
    margin: 0 auto 0.85rem;
    width: 68px;
    height: 68px;
    --icon-size: 2.35rem;
    background: var(--pub-blue);
    color: #fff;
}

/* ---------- Compare panel ---------- */
.compare-wrap {
    background: var(--pub-wash);
    border-radius: 28px;
    padding: 2.4rem 1.6rem 2.2rem;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.compare-card {
    border-radius: 16px;
    padding: 1.7rem 1.6rem 1.6rem;
    box-shadow: var(--pub-shadow);
}

.compare-card.before {
    background: #fff;
}

.compare-card.after {
    background: var(--pub-navy);
    color: #fff;
}

.compare-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.compare-card.before .compare-label {
    color: var(--pub-cyan);
}

.compare-card.after .compare-label {
    color: var(--pub-tint);
}

.compare-card h3 {
    font-weight: 800;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 1rem;
}

.compare-card.before h3 {
    color: #111827;
}

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

.compare-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.55rem;
    line-height: 1.4;
}

.compare-list .fa-xmark {
    color: #c0392b;
    margin-top: 0.15rem;
}

.compare-list .fa-check {
    color: #7ad0ff;
    margin-top: 0.15rem;
}

/* ---------- Product shots ---------- */
.product-shots {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr 1.05fr;
    gap: 1rem;
    align-items: stretch;
}

.product-shot {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--pub-shadow);
    border: 1.5px dashed color-mix(in srgb, var(--pub-blue) 55%, white);
    overflow: hidden;
    padding: 0.35rem;
}

.product-shot img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top left;
    border-radius: 12px;
    display: block;
}

/* ---------- Training / law cards ---------- */
.split-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.info-card {
    background: #fff;
    border-radius: var(--pub-radius);
    box-shadow: var(--pub-shadow);
    padding: 1.6rem 1.5rem 1.5rem;
}

.info-card .info-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-card .info-head .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --icon-size: 1.8rem;
    color: #fff;
}

.info-card .info-head .icon-wrap.accent {
    background: var(--pub-cyan);
}

.info-card .info-head .icon-wrap.navy {
    background: var(--pub-navy);
}

.info-card .info-head h3 {
    margin: 0;
    color: var(--pub-navy);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.info-card ul {
    margin: 0;
    padding-left: 1.15rem;
    color: #374151;
}

.info-card ul li + li {
    margin-top: 0.45rem;
}

.info-card p {
    color: #374151;
    margin-bottom: 0.75rem;
}

/* ---------- About founder ---------- */
.founder-panel {
    background: var(--pub-wash);
    border-radius: 28px;
    padding: 2rem 1.8rem 1.8rem;
}

.founder-top {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.4rem;
    align-items: start;
}

.founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    background: var(--pub-cyan);
    box-shadow: 0 0 0 6px #fff, 0 10px 24px rgba(8, 8, 127, 0.16);
}

.founder-quote {
    color: var(--pub-navy);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: 0.85rem;
}

.founder-bio {
    color: #374151;
    line-height: 1.55;
    margin: 0;
}

.founder-bio a {
    color: var(--pub-navy);
    font-weight: 600;
}

.cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1.6rem;
    margin-top: 1.8rem;
}

.cred-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.cred-item .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pub-cyan);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --icon-size: 1.75rem;
    flex-shrink: 0;
}

.cred-item h4 {
    margin: 0 0 0.2rem;
    color: var(--pub-navy);
    font-size: 0.98rem;
    font-weight: 700;
}

.cred-item p {
    margin: 0;
    color: var(--pub-muted);
    font-size: 0.92rem;
}

/* ---------- Values ---------- */
.values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    text-align: center;
}

.value-icon {
    --icon-size: 2.5rem;
    margin-bottom: 0.55rem;
}

.value-icon.simplicity { color: var(--pub-blue); }
.value-icon.trust { color: var(--pub-mid); }
.value-icon.teams { color: var(--pub-cyan); }

.values-row h3 {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.05rem;
}

.values-row p {
    color: var(--pub-muted);
    margin: 0 auto;
    max-width: 280px;
}

/* ---------- CTA band ---------- */
.pub-cta {
    background: var(--pub-blue);
    color: #fff;
    text-align: center;
    padding: 2.4rem 1rem 2.6rem;
}

.pub-cta h2 {
    font-weight: 600;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    margin-bottom: 1.05rem;
}

.pub-cta .btn-cta {
    background: #fff;
    color: #111827;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    padding: 0.7rem 1.8rem;
    box-shadow: 0 8px 18px rgba(8, 8, 127, 0.18);
}

.pub-cta .btn-cta:hover {
    background: var(--pub-tint);
    color: var(--pub-navy);
}

.pub-legal {
    background: var(--pub-navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    padding: 0.85rem 1rem;
    text-align: center;
}

.pub-legal a {
    color: #fff;
    text-decoration: none;
}

.pub-legal a:hover {
    text-decoration: underline;
}

/* ---------- LinkedIn badge ---------- */
.li-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #0A66C2;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    margin-top: 0.65rem;
}

.li-badge:hover {
    color: #fff;
    filter: brightness(1.08);
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .navbar-brand-logo {
        height: 36px;
    }

    .navbar-logged-out .nav-link {
        padding: 0.4rem 0.55rem;
    }

    .navbar-logged-out .navbar-cta .btn {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .feature-card {
        padding: 1.1rem 1rem 1.15rem;
    }

    .feature-card .icon-wrap {
        width: 48px;
        height: 48px;
        --icon-size: 1.65rem;
    }
}

@media (max-width: 991px) {
    .feature-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-shots {
        grid-template-columns: 1fr;
    }

    .product-shot img {
        height: 210px;
    }
}

@media (max-width: 767px) {
    .pub-hero {
        padding: 3.2rem 1rem 3.4rem;
    }

    .feature-grid.cols-3,
    .feature-grid.cols-4,
    .feature-grid.cols-2,
    .feature-grid.home-features,
    .compare-grid,
    .split-cards,
    .cred-grid,
    .values-row,
    .founder-top {
        grid-template-columns: 1fr;
    }

    .feature-grid.home-features > article,
    .feature-grid.home-features > article:nth-child(4),
    .feature-grid.home-features > article:nth-child(5) {
        grid-column: auto;
    }

    .founder-photo {
        margin: 0 auto;
    }

    .founder-top {
        text-align: center;
        justify-items: center;
    }

    .compare-wrap,
    .founder-panel {
        padding: 1.4rem 1rem;
    }
}
