/* StagCMS landing — site styles (formerly style.less, compiled in the browser by less.js) */

/* ------------------------------------------------------------------ */
/* Design tokens (brand colours come from theme.css: --bs-primary/info) */
/* ------------------------------------------------------------------ */
:root {
    --sc-brand: #127A8C;            /* = --bs-info, logo blue #28B5CC darkened for AA */
    --sc-brand-strong: #0E6E7E;     /* = --bs-primary */
    --sc-ink: #000;                 /* headings on light surfaces */
    --sc-text: #4d5969;             /* body copy: 7.0:1 on white (theme default #94A2B3 was 2.6:1) */
    --sc-text-muted: #5e6e82;       /* secondary copy: 5.3:1 on white, 4.8:1 on --sc-surface */
    --sc-surface: #f2f5f8;          /* light section / card background */
    --sc-dark: #232e3c;
    --sc-badge: #0f6cbd;            /* "under development" badge: 5.4:1 with white */
    --sc-link: #0f6cbd;             /* links on light backgrounds: 5.4:1 (theme #299EF3 was 2.9:1) */
    --sc-focus: #232e3c;
    --sc-radius-md: 16px;
    --sc-radius-lg: 20px;
    --sc-font: "Circular Std", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --sc-title-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
    --sc-title-line: 1.12;
    --sc-border: #e3e8ef;
    --sc-shadow: 0 1px 2px rgba(35, 46, 60, .06), 0 8px 24px rgba(35, 46, 60, .06);
    --sc-space-section: 1.5rem;
}

body {
    color: var(--sc-text);
}
.text-muted-strong { color: var(--sc-text-muted) !important; }
a:not(.btn):not(.nav-link):not(.navbar-brand) { color: var(--sc-link); }
/* links on the brand-blue (bg-info / bg-primary) sections: white + underline (4.8:1) */
.bg-info a:not(.btn):not(.nav-link):not(.navbar-brand),
.bg-primary a:not(.btn):not(.nav-link):not(.navbar-brand),
.cookie-banner a:not(.btn):not(.nav-link):not(.navbar-brand) { color: #fff; text-decoration: underline; }
/* links inside running text are identified by underline, not colour only (WCAG 1.4.1) */
main p a:not(.btn), main li a:not(.btn), main td a:not(.btn), .faq-body a { text-decoration: underline; }
.subpage-content, .subpage-content .table { --bs-table-color: var(--sc-text); color: var(--sc-text); }
.subpage-content code { color: #a3114f; }
.alert-warning { color: #664d03; }

/* Typography: one family (Circular Std), clear hierarchy, readable measure */
h1, h2, h3, .h1, .h2, .h3 { letter-spacing: -.02em; text-wrap: balance; }
main p, main li { text-wrap: pretty; }
.section-title {
    font-family: var(--sc-font);
    font-size: var(--sc-title-size);
    font-weight: 700;
    line-height: var(--sc-title-line);
    letter-spacing: -.025em;
    color: var(--sc-dark);
    margin-bottom: 1rem;
}
.eyebrow {
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sc-brand-strong);
    margin-bottom: .5rem;
}
.section-intro {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--sc-text);
    max-width: 62ch;
}
.lead-text {
    font-size: 1.125rem;
    color: var(--sc-text);
    line-height: 1.7;
    max-width: 60ch;
}
.lead-text b, .lead-text strong { font-weight: 500; color: var(--sc-dark); }
.feature-card {
    background-color: var(--sc-surface);
    border-radius: var(--sc-radius-md);
    align-content: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--sc-shadow); }
.detailed_features > .container-fluid { max-width: 1560px; }
.surface-card {
    background-color: var(--sc-surface);
    border-radius: var(--sc-radius-lg);
}
.media-img {
    width: 100%;
    height: auto;
    border-radius: var(--sc-radius-lg);
}
.badge.bg-secondary {
    background-color: var(--sc-badge) !important;
}

/* Accessibility helpers */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: #fff;
    color: var(--sc-dark);
    padding: .75rem 1rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
}
.skip-link:focus { top: 0; }
:focus-visible {
    outline: 3px solid var(--sc-focus) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #fff !important;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.la, .las, .lab {
    font-size: 28px;
    color: #fff;
    margin-right: 8px;
}
/* Service "chips" (hero + about) */
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 0 0 1.75rem;
    list-style: none;
}
.chip-list li {
    padding: .3rem .8rem;
    border: 1px solid var(--sc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--sc-dark);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
}
.chip-list--light li {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
@media (max-width: 767.98px) { #hero_ul { justify-content: center; } }

.bg-100 {
    background-color: var(--sc-surface) !important;
}

.br-20 {
    border-radius: var(--sc-radius-lg);
}

.bold { font-weight: 700; }

/* Livecam section */
#livecam { color: var(--sc-text); }
#livecam p { max-width: 70ch; line-height: 1.7; }
#livecam p b { font-weight: 500; color: var(--sc-dark); }
.livecam-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: .75rem 1.5rem;
    padding: 0;
    margin: 1.5rem 0;
    list-style: none;
}
.livecam-features li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: .5rem;
    align-items: start;
    line-height: 1.45;
}
.livecam-features .lf-icon { grid-row: span 2; font-size: 1.25rem; line-height: 1.2; }
.livecam-features strong { color: var(--sc-dark); font-weight: 700; }
.livecam-features li > span:last-child { color: var(--sc-text); font-size: .9375rem; }

/* Feature cards */
.detailed_features h3 {
    font-family: var(--sc-font);
    font-weight: 700;
    font-size: 1.375rem;
    letter-spacing: -.015em;
    color: var(--sc-dark);
    margin: 1.25rem 0 .5rem;
}
/* Feature illustrations: keep the "pop-out" look but never wider than the card
   (fixed 300px height made them overflow the viewport on mobile). */
.detailed_features img {
    display: block;
    /* definite height + width/height attributes => space reserved before lazy load (no CLS) */
    height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: -150px auto 0;
    position: relative;
}
.detailed_features p {
    color: var(--sc-text);
    line-height: 1.65;
}
.detailed_features p b { font-weight: 500; color: var(--sc-dark); }

.detailed_features span.badge a {
    color: #fff;
    text-decoration: none;
}
/* Contact form */
.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #fff;
    color: var(--sc-dark);   /* theme default #94A2B3 is 2.6:1 on white */
}
.contact-form .is-invalid {
    border-color: #ffd43b !important;
    box-shadow: 0 0 0 .2rem rgba(255, 212, 59, .45);
}
.field-error {
    color: #fff3bf;
    font-weight: 500;
    margin-top: .25rem;
    min-height: 0;
}
.field-error:not(:empty)::before {
    content: "\26A0\FE0E  ";
}
.hp-field {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-status a { color: inherit; font-weight: 700; }
/* reCAPTCHA badge hidden: the required attribution text is shown under the form */
.grecaptcha-badge { visibility: hidden !important; }

@media only screen and (max-width: 768px) {
    .detailed_features img {
        margin-top: -100px;
    }
}

/* Fixed navbar must not cover anchored sections */
html {
    scroll-padding-top: 90px;
}

/* FAQ (native <details>) */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.faq-item > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .75rem 0;
    color: var(--bs-primary, #0E6E7E);
    font-weight: 500;
    font-size: 1.1rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: "+";
    font-weight: 700;
    flex-shrink: 0;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > .faq-body {
    padding: 0 0 1rem;
    color: #344050;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: #232e3c;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn { min-width: 7rem; min-height: 44px; }

/* Carousel pause/play control (WCAG 2.2.2) */
.carousel-pause {
    min-width: 44px;
    min-height: 44px;
}
.carousel-control-prev, .carousel-control-next {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
}

/* Sticky mobile CTA */
.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
    transform: translateY(110%);
    transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
.has-cookie-banner .mobile-cta { display: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* Footer + secondary pages */
.site-footer { background: var(--sc-surface); color: var(--sc-text); }
.site-footer a, .site-footer .btn-link { color: var(--sc-link); }
.site-footer .list-inline-item:not(:last-child) { margin-right: 1rem; }
.subpage-header { border-bottom: 1px solid #e3e8ef; }
.subpage-content { max-width: 820px; color: var(--sc-text); }
.subpage-content h1 { color: var(--sc-dark); margin-bottom: 1rem; }
.subpage-content h2 { color: var(--sc-dark); font-size: 1.35rem; margin-top: 2rem; }
.btn-info { color: #fff; }
.about-copy { max-width: 460px; }
@media (max-width: 767.98px) {
    /* room for the sticky CTA so it never covers the footer */
    body:not(.subpage) { padding-bottom: 80px; }
}

/* Pricing */
.pricing-section { background: #fff; }
.plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border-radius: var(--sc-radius-lg);
    background: var(--sc-dark);
    color: #c9d2de;
}
.plan-card--featured { background: #11161d; box-shadow: 0 0 0 3px var(--sc-brand); }
.plan-name { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.plan-price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: 1.5rem; color: #fff; }
.plan-amount { font-size: 2.25rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-period { color: #c9d2de; }
.plan-specs { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.plan-specs li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .9375rem;
}
.plan-specs strong { color: #fff; font-weight: 500; text-align: right; }
.plan-card .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.subsection-title { font-size: 1.5rem; font-weight: 700; color: var(--sc-dark); margin: 3.5rem 0 .5rem; }
.stream-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-md);
    background: #fff;
}
.stream-card h4 { font-size: 1.125rem; font-weight: 700; color: var(--sc-dark); margin-bottom: .25rem; }
.stream-price { font-size: 1.5rem; font-weight: 700; color: var(--sc-brand-strong); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.stream-price span { font-size: .875rem; font-weight: 400; color: var(--sc-text-muted); }
.stream-card ul { padding-left: 1.1rem; margin: 0; font-size: .9375rem; line-height: 1.6; }
.fine-print { font-size: .875rem; color: var(--sc-text-muted); margin-top: 1rem; max-width: 80ch; }
.pricing-notes {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--sc-radius-md);
    background: var(--sc-surface);
}
.pricing-notes ul { padding-left: 1.1rem; margin-bottom: .75rem; line-height: 1.7; }
.pricing-notes a { font-weight: 500; }

/* FAQ headings sit in a two-column layout: a bit smaller */
#faq .section-title { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem); }

/* Feature illustrations pop 150px (100px on mobile) above each card: reserve that room */
.detailed_features .row > .d-flex { padding-top: 10rem !important; }
@media only screen and (max-width: 768px) {
    .detailed_features .row > .d-flex { padding-top: 7rem !important; }
}
.detailed_features .row.m-4 { margin-top: -6rem !important; }
/* links inside badges (e.g. Password-Sentry) were blue on blue */
.badge a:not(.btn) { color: #fff !important; text-decoration: underline; }
.plan-amount { word-spacing: normal; }
.plan-amount--text { font-size: 1.75rem; letter-spacing: -.01em; }
.plan-card .btn-outline-light { background-color: #2c3949; border-color: #c9d2de; color: #fff; }
.plan-card .btn-outline-light:hover { background-color: #fff; color: var(--sc-dark); }

/* About / Team / Contact */
.team-card { height: 100%; padding: 1.25rem 1.4rem; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; }
.team-card h2 { margin-top: 0; font-size: 1.15rem; }
.team-card p:last-child { margin-bottom: 0; }
.subpage-note { color: #5b6573; margin-top: 2rem; }
