/* SAINT7 public website (Components/Pages/Website + WebsiteLayout).
   Everything is scoped under .s7w so the signed-in app styles are not affected.
   Colours follow geo-guard-theme.css. */

.s7w {
    --w-blue: #2563EB;
    --w-blue-dark: #1D4ED8;
    --w-blue-tint: #eff4ff;
    --w-primary: #70afc4;
    --w-primary-dark: #5e87b0;
    --w-tint: #eef6f9;
    --w-bg: #f4f7f9;
    --w-heading: #1f2b37;
    --w-text: #3a4753;
    --w-muted: #8794a1;
    --w-border: #e6ebf0;
    --w-success: #068a43;
    --w-success-bg: #e7f8ee;
    --w-warning: #d9820a;
    --w-warning-bg: #fff3e0;
    --w-danger: #e2483d;
    --w-danger-bg: #fdecec;
    --w-dark: #26334a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--w-text);
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.s7w main { flex: 1 0 auto; }
.s7w h1, .s7w h2, .s7w h3, .s7w h4 { color: var(--w-heading); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.s7w h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; }
.s7w h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; }
.s7w h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.s7w p { text-wrap: pretty; }
.s7w a { color: var(--w-blue); }
.s7w .s7w-accent { color: var(--w-blue); }
.s7w .s7w-lead { font-size: 1.125rem; color: var(--w-text); max-width: 40rem; }
.s7w .s7w-muted { color: var(--w-muted); }

/* Buttons */
.s7w .btn { font-weight: 600; border-radius: 10px; padding: .7rem 1.25rem; }
.s7w .btn-sm { padding: .45rem .9rem; border-radius: 8px; }
.s7w .btn-primary { background: var(--w-blue); border-color: var(--w-blue); color: #fff; }
.s7w .btn-primary:hover, .s7w .btn-primary:focus { background: var(--w-blue-dark); border-color: var(--w-blue-dark); color: #fff; }
.s7w .btn-outline { background: #fff; border: 1px solid var(--w-border); color: var(--w-heading); }
.s7w .btn-outline:hover { border-color: var(--w-blue); color: var(--w-blue); }
.s7w .s7w-link-arrow { font-weight: 600; text-decoration: none; }
.s7w .s7w-link-arrow:hover { text-decoration: underline; }

/* Header */
.s7w-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--w-border); backdrop-filter: saturate(1.4) blur(6px); }
.s7w-header .container { display: flex; align-items: center; gap: 1rem; min-height: 68px; flex-wrap: wrap; }
.s7w-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.s7w-brand img { width: 38px; height: 38px; object-fit: contain; }
.s7w-brand-name { display: block; font-weight: 800; color: var(--w-heading); letter-spacing: .02em; line-height: 1.1; }
.s7w-brand-sub { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--w-primary-dark); }
.s7w-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.s7w-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--w-border); border-radius: 10px; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--w-heading); cursor: pointer; margin: 0; }
.s7w-menu { display: flex; align-items: center; gap: 1.25rem; }
.s7w-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.s7w-links a { display: block; padding: .45rem .7rem; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--w-text); text-decoration: none; }
.s7w-links a:hover { color: var(--w-blue); background: var(--w-blue-tint); }
.s7w-links a.active { color: var(--w-blue); font-weight: 600; }
.s7w-actions { display: flex; align-items: center; gap: .5rem; }
.s7w-actions .s7w-login { font-weight: 600; font-size: .92rem; color: var(--w-heading); text-decoration: none; padding: .45rem .6rem; }
.s7w-actions .s7w-login:hover { color: var(--w-blue); }

@media (max-width: 1199.98px) {
    /* The first row (logo + burger) keeps its height; the menu opens below it. */
    .s7w-header .container { align-content: flex-start; }
    .s7w-brand { min-height: 68px; }
    .s7w-burger { display: inline-flex; }
    .s7w-menu {
        display: flex; width: 100%; flex-direction: column; align-items: stretch; gap: .75rem;
        max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-8px);
        padding: 0;
        transition: max-height .35s ease, opacity .25s ease, transform .3s ease, padding .3s ease, visibility 0s linear .35s;
    }
    .s7w-nav-toggle:checked ~ .s7w-menu {
        max-height: calc(100vh - 68px); overflow-y: auto; opacity: 1; visibility: visible; transform: none;
        padding: .25rem 0 1rem;
        transition: max-height .35s ease, opacity .25s ease, transform .3s ease, padding .3s ease, visibility 0s;
    }
    .s7w-nav-toggle:focus-visible + .s7w-burger { outline: 2px solid var(--w-blue); outline-offset: 2px; }
    .s7w-links { flex-direction: column; align-items: stretch; }
    .s7w-links a { padding: .7rem .75rem; font-size: 1rem; }
    .s7w-actions { flex-direction: column; align-items: stretch; border-top: 1px solid var(--w-border); padding-top: .75rem; }
    .s7w-actions .btn, .s7w-actions .s7w-login { text-align: center; }
}
/* Burger icon turns into a close icon while the menu is open. */
.s7w-burger .bi-x-lg { display: none; }
.s7w-nav-toggle:checked + .s7w-burger .bi-list { display: none; }
.s7w-nav-toggle:checked + .s7w-burger .bi-x-lg { display: inline-block; }
.s7w-burger i { transition: transform .25s ease; }
.s7w-nav-toggle:checked + .s7w-burger i { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .s7w-menu, .s7w-burger i { transition: none !important; } }

/* Sections */
.s7w-section { padding-block: 5rem; }
.s7w-section-alt { background: var(--w-bg); border-top: 1px solid var(--w-border); border-bottom: 1px solid var(--w-border); }
.s7w-section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.s7w-section-head.text-center { margin-inline: auto; }
.s7w-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--w-blue); margin-bottom: .75rem; }
.s7w-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--w-tint); color: var(--w-primary-dark); font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem; }
.s7w-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #00b74c; }
@media (max-width: 767.98px) { .s7w-section { padding-block: 3.5rem; } }

/* Hero */
.s7w-hero { padding-block: 4.5rem 5rem; background: linear-gradient(180deg, var(--w-tint) 0%, #fff 70%); }
.s7w-hero .s7w-lead { margin-block: 1.25rem 2rem; }
.s7w-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.s7w-hero-note { margin-top: 1rem; font-size: .9rem; color: var(--w-muted); }
.s7w-facts { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--w-border); }
.s7w-fact strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--w-heading); letter-spacing: -.02em; line-height: 1.1; }
.s7w-fact span { font-size: .82rem; color: var(--w-muted); }
@media (max-width: 767.98px) { .s7w-hero { padding-block: 3rem 3.5rem; } .s7w-facts { gap: 1.25rem 2rem; } }

/* Cards */
.s7w-card { height: 100%; background: #fff; border: 1px solid var(--w-border); border-radius: 16px; padding: 1.5rem; }
.s7w-card p { margin-bottom: 0; }
.s7w-card-lift { box-shadow: 0 1px 2px rgba(31, 43, 55, .04), 0 12px 32px -18px rgba(31, 43, 55, .25); }
.s7w-card .s7w-card-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--w-primary-dark); background: var(--w-tint); padding: .2rem .55rem; border-radius: 6px; margin-bottom: .9rem; }
.s7w-card .s7w-quote { font-weight: 600; color: var(--w-blue); margin-bottom: .6rem; }
.s7w-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; background: var(--w-blue-tint); color: var(--w-blue); margin-bottom: 1rem; flex-shrink: 0; }
.s7w-card > .s7w-icon { display: flex; }
.s7w-icon.teal { background: var(--w-tint); color: var(--w-primary-dark); }
.s7w-icon.green { background: var(--w-success-bg); color: var(--w-success); }
.s7w-icon.amber { background: var(--w-warning-bg); color: var(--w-warning); }
.s7w-icon.red { background: var(--w-danger-bg); color: var(--w-danger); }

/* Five-step loop */
.s7w-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.s7w-steps li { background: #fff; border: 1px solid var(--w-border); border-radius: 14px; padding: 1.25rem; }
.s7w-steps .n { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--w-muted); }
.s7w-steps h3 { margin: .35rem 0 .45rem; font-size: 1.05rem; }
.s7w-steps p { font-size: .9rem; margin: 0; }
@media (max-width: 991.98px) { .s7w-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .s7w-steps { grid-template-columns: 1fr; } }

/* Tick lists */
.s7w-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.s7w-ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.s7w-ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--w-success); font-size: 1.1rem; line-height: 1.45; flex-shrink: 0; }
.s7w-ticks.small li { font-size: .92rem; }

/* Feature rows */
.s7w-feature { display: flex; gap: 1rem; }
.s7w-feature .s7w-icon { margin-bottom: 0; }
.s7w-feature h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.s7w-feature p { font-size: .93rem; margin: 0; }

/* Product mock panels (sample data, styled like the app) */
.s7w-mock { background: #fff; border: 1px solid var(--w-border); border-radius: 18px; box-shadow: 0 2px 4px rgba(31, 43, 55, .04), 0 24px 48px -24px rgba(31, 43, 55, .3); overflow: hidden; font-size: .88rem; }
.s7w-mock-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; background: #b4dce1; color: var(--w-heading); font-weight: 700; font-size: .82rem; }
.s7w-mock-bar .s7w-sample { font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .7); padding: .15rem .5rem; border-radius: 6px; }
.s7w-mock-body { padding: 1rem; display: grid; gap: .75rem; }
.s7w-mock-alert { display: flex; gap: .75rem; align-items: flex-start; background: var(--w-danger-bg); border-radius: 12px; padding: .75rem .9rem; }
.s7w-mock-alert i { color: var(--w-danger); font-size: 1.1rem; }
.s7w-mock-alert strong { display: block; color: var(--w-heading); }
.s7w-mock-alert span { color: var(--w-text); font-size: .82rem; }
.s7w-mock-row { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border: 1px solid var(--w-border); border-radius: 12px; }
.s7w-mock-row .av { width: 34px; height: 34px; border-radius: 50%; background: var(--w-tint); color: var(--w-primary-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .78rem; flex-shrink: 0; }
.s7w-mock-row .who { flex: 1; min-width: 0; }
.s7w-mock-row .who strong { display: block; color: var(--w-heading); font-size: .86rem; }
.s7w-mock-row .who span { color: var(--w-muted); font-size: .76rem; }
.s7w-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; white-space: nowrap; }
.s7w-badge.ok { background: var(--w-success-bg); color: var(--w-success); }
.s7w-badge.warn { background: var(--w-warning-bg); color: var(--w-warning); }
.s7w-badge.info { background: var(--w-blue-tint); color: var(--w-blue); }
.s7w-badge.bad { background: var(--w-danger-bg); color: var(--w-danger); }
.s7w-mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.s7w-mock-stats div { background: var(--w-bg); border-radius: 10px; padding: .55rem .6rem; }
.s7w-mock-stats strong { display: block; color: var(--w-heading); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.s7w-mock-stats span { color: var(--w-muted); font-size: .72rem; }
.s7w-mock-foot { display: flex; align-items: center; gap: .5rem; background: var(--w-success-bg); color: var(--w-success); border-radius: 10px; padding: .6rem .8rem; font-weight: 600; font-size: .82rem; }
.s7w-mock-phone { max-width: 340px; margin-inline: auto; border-radius: 28px; border: 8px solid var(--w-dark); }
.s7w-countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--w-danger); }

/* Split audience cards */
.s7w-split .s7w-card { padding: 2rem; }
.s7w-split h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

/* Stats band */
.s7w-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.s7w-stat { background: #fff; border: 1px solid var(--w-border); border-radius: 14px; padding: 1.5rem; text-align: center; }
.s7w-stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--w-blue); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.s7w-stat span { display: block; font-weight: 600; color: var(--w-heading); margin-top: .35rem; }
.s7w-stat small { color: var(--w-muted); }
@media (max-width: 767.98px) { .s7w-stats { grid-template-columns: 1fr; } }

/* Tables */
.s7w-table-wrap { overflow-x: auto; border: 1px solid var(--w-border); border-radius: 14px; background: #fff; }
.s7w-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.s7w-table th, .s7w-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--w-border); text-align: left; vertical-align: top; }
.s7w-table thead th { background: var(--w-bg); color: var(--w-heading); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.s7w-table tr:last-child td { border-bottom: 0; }
.s7w-table td:first-child { font-weight: 600; color: var(--w-heading); }

/* Pricing */
.s7w-plan { display: flex; flex-direction: column; }
.s7w-plan.featured { border: 2px solid var(--w-blue); }
.s7w-plan .s7w-plan-price { font-size: 1.6rem; font-weight: 800; color: var(--w-heading); margin-block: 1rem .25rem; }
.s7w-plan .s7w-plan-note { font-size: .85rem; color: var(--w-muted); margin-bottom: 1.25rem; }
.s7w-plan .btn { margin-top: auto; }
.s7w-plan-flag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--w-blue); padding: .2rem .55rem; border-radius: 6px; }

/* FAQ */
.s7w-faq { max-width: 50rem; margin-inline: auto; display: grid; gap: .75rem; }
.s7w-faq details { background: #fff; border: 1px solid var(--w-border); border-radius: 12px; padding: 1rem 1.25rem; }
.s7w-faq summary { cursor: pointer; font-weight: 600; color: var(--w-heading); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.s7w-faq summary::-webkit-details-marker { display: none; }
.s7w-faq summary::after { content: "\F282"; font-family: "bootstrap-icons"; color: var(--w-muted); transition: transform .2s; }
.s7w-faq details[open] summary::after { transform: rotate(180deg); }
.s7w-faq details p { margin: .75rem 0 0; }

/* Closing call to action */
.s7w-cta { background: var(--w-dark); color: #dbe4ee; border-radius: 22px; padding: 3rem 2rem; text-align: center; }
.s7w-cta h2 { color: #fff; }
.s7w-cta p { max-width: 38rem; margin: .75rem auto 1.75rem; }
.s7w-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.s7w-cta .btn-outline:hover { border-color: #fff; color: #fff; }
.s7w-cta .s7w-hero-actions { justify-content: center; }

/* Contact form */
.s7w-form .form-label { font-weight: 600; font-size: .9rem; color: var(--w-heading); }
.s7w-form .form-control, .s7w-form .form-select { border-radius: 10px; padding: .65rem .85rem; border-color: var(--w-border); }
.s7w-form .form-control:focus, .s7w-form .form-select:focus { border-color: var(--w-blue); box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15); }
.s7w-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.s7w-footer { background: var(--w-bg); border-top: 1px solid var(--w-border); padding-block: 3.5rem 1.5rem; font-size: .92rem; }
.s7w-footer h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--w-heading); margin-bottom: 1rem; }
.s7w-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.s7w-footer ul a { color: var(--w-text); text-decoration: none; }
.s7w-footer ul a:hover { color: var(--w-blue); }
.s7w-footer .s7w-company { color: var(--w-muted); font-size: .85rem; margin-top: 1rem; }
.s7w-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--w-border); color: var(--w-muted); font-size: .84rem; }
.s7w-footer-bottom a { color: var(--w-muted); text-decoration: none; }
.s7w-footer-bottom a:hover { color: var(--w-blue); }

/* Step strip with a flexible number of steps */
.s7w .s7w-steps.s7w-steps-auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.s7w .s7w-mock-title { font-weight: 700; font-size: 1.2rem; color: var(--w-heading); }

/* Desktop navbar stays on one line; the extra "Join" button only shows on wide screens and in the phone menu. */
@media (min-width: 1200px) {
    .s7w-header .container { flex-wrap: nowrap; }
    .s7w-links a, .s7w-actions a { white-space: nowrap; }
    .s7w-links a { padding-inline: .55rem; }
    .s7w-menu { gap: .75rem; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .s7w-actions .s7w-join { display: none; }
}
.s7w .container { padding-inline: 1rem; }

/* Contact page */
.s7w-mini-stat { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--w-border); border-radius: 14px; padding: .85rem 1rem; }
.s7w-mini-stat .s7w-icon { margin: 0; width: 38px; height: 38px; font-size: 1.1rem; }
.s7w-mini-stat > div { flex: 1; min-width: 0; line-height: 1.25; }
.s7w-mini-stat span:not(.s7w-badge):not(.s7w-icon) { display: block; font-size: .78rem; color: var(--w-muted); }
.s7w-mini-stat strong { color: var(--w-heading); }
.s7w-info-card { height: 100%; display: grid; gap: .35rem; background: #fff; border: 1px solid var(--w-border); border-radius: 14px; padding: 1rem 1.1rem; overflow-wrap: anywhere; }
.s7w-info-card strong { color: var(--w-heading); }
.s7w-info-card a { text-decoration: none; }
.s7w-info-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--w-blue); }
.s7w-req { color: var(--w-danger); }
.s7w-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.s7w-checks.s7w-checks-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s7w-check { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .65rem .8rem; border: 1px solid var(--w-border); border-radius: 10px; font-size: .9rem; cursor: pointer; background: #fff; }
.s7w-check:has(input:checked) { border-color: var(--w-blue); background: var(--w-blue-tint); }
.s7w-check input { width: 1rem; height: 1rem; accent-color: var(--w-blue); flex-shrink: 0; }
@media (max-width: 767.98px) { .s7w-checks, .s7w-checks.s7w-checks-3 { grid-template-columns: 1fr; } }
.s7w-side-card { background: #fff; border: 1px solid var(--w-border); border-radius: 16px; padding: 1.25rem; }
.s7w-side-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.s7w-side-card p { font-size: .9rem; }
.s7w-side-box { display: grid; gap: .3rem; background: var(--w-bg); border-radius: 10px; padding: .75rem .9rem; overflow-wrap: anywhere; }
.s7w-side-phone { font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.s7w-faq-no { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--w-blue); background: var(--w-blue-tint); border-radius: 6px; padding: .15rem .45rem; margin-bottom: .75rem; }
.s7w-footer .s7w-company a { color: var(--w-text); text-decoration: none; }
.s7w-brand { flex-shrink: 0; }
.s7w-brand-sub { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1299.98px) { .s7w-links a { padding-inline: .45rem; font-size: .88rem; } }

/* Footer social icons */
.s7w-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.s7w-social a, .s7w-social-off { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--w-border); color: var(--w-text); font-size: 1.05rem; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.s7w-social a:hover { background: #fff; border-color: currentColor; transform: translateY(-1px); }

/* Professionals page: try-it offer (CSS only) */
.s7w-try-input { position: absolute; opacity: 0; pointer-events: none; }
.s7w-try-buttons { display: flex; gap: .5rem; }
.s7w-try-buttons .btn { flex: 1; margin: 0; cursor: pointer; }
.s7w-try-result { display: none; gap: .6rem; align-items: flex-start; margin-top: .75rem; padding: .7rem .8rem; border-radius: 10px; font-size: .85rem; line-height: 1.45; animation: s7w-fade-in .3s ease; }
.s7w-try-accepted { background: var(--w-success-bg); color: var(--w-success); }
.s7w-try-declined { background: var(--w-warning-bg); color: #8a5207; }
.s7w-try-result a, .s7w-try-link { font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; margin: 0; }
#s7w-try-accept:checked ~ .s7w-try-accepted,
#s7w-try-decline:checked ~ .s7w-try-declined { display: flex; }
#s7w-try-accept:checked ~ .s7w-try-buttons, #s7w-try-decline:checked ~ .s7w-try-buttons { display: none; }
#s7w-try-accept:focus-visible ~ .s7w-try-buttons label[for="s7w-try-accept"],
#s7w-try-decline:focus-visible ~ .s7w-try-buttons label[for="s7w-try-decline"] { outline: 2px solid var(--w-blue); outline-offset: 2px; }
@keyframes s7w-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.s7w-social-off { cursor: default; }

/* Social icons in their brand colours on a white background. */
.s7w-social .s7w-social-facebook { color: #1877F2; }
.s7w-social .s7w-social-linkedin { color: #0A66C2; }
.s7w-social .s7w-social-instagram { color: #E4405F; }
.s7w-social .s7w-social-youtube { color: #FF0000; }

/* Contact page: confirmation toast after a demo request (CSS only, hides itself after ~7 s). */
.s7w-toast-close { position: absolute; opacity: 0; pointer-events: none; }
.s7w-toast-close:checked + .s7w-toast { display: none; }
.s7w-toast {
    position: fixed; z-index: 1100;
    top: calc(84px + env(safe-area-inset-top, 0px)); right: 16px;
    width: min(410px, calc(100vw - 32px));
    display: flex; align-items: flex-start; gap: .85rem;
    padding: 1rem 1rem 1.2rem; overflow: hidden;
    background: linear-gradient(135deg, #1f2b37 0%, #26334a 100%);
    border-left: 4px solid #2563EB; border-radius: 14px;
    color: #fff; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .55);
    animation: s7w-toast-in .45s cubic-bezier(.2, .9, .3, 1.2), s7w-toast-out .4s ease-in 7s forwards;
}
.s7w-toast-icon { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #00b74c; color: #fff; font-size: 1.05rem; box-shadow: 0 0 0 4px rgba(0, 183, 76, .18); }
.s7w-toast-text { flex: 1; min-width: 0; line-height: 1.4; }
.s7w-toast-text strong { display: block; color: #fff; font-size: .98rem; margin-bottom: .15rem; }
.s7w-toast-text span { display: block; color: #cbd5e1; font-size: .88rem; overflow-wrap: anywhere; }
.s7w-toast-x { margin: 0; padding: .15rem; color: #94a3b8; cursor: pointer; line-height: 1; border-radius: 6px; }
.s7w-toast-x:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.s7w-toast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #2563EB, #70afc4); transform-origin: left; animation: s7w-toast-bar 7s linear forwards; }
@keyframes s7w-toast-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes s7w-toast-out { to { opacity: 0; transform: translateY(-10px); visibility: hidden; } }
@keyframes s7w-toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .s7w-toast, .s7w-toast-bar { animation: none; } }


/* SecJobs wordmark on the website (same height as the 38px logo). */
.s7w-wordmark { display: inline-block; font-weight: 800; font-size: 1.7rem; line-height: 38px; letter-spacing: -.01em; color: var(--w-heading); white-space: nowrap; }
.s7w-wordmark > span { color: var(--w-primary-dark); }

/* Desktop navbar: logo on the left, actions on the right, and the menu links in the exact centre of the container
   (the same for visitors and signed-in users). The menu wrapper steps aside so links and actions become grid columns. */
@media (min-width: 1200px) {
    .s7w-header .container { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 1rem; }
    .s7w-menu { display: contents; }
    .s7w-brand { margin-right: 0; justify-self: start; }
    .s7w-links { justify-self: center; }
    .s7w-actions { justify-self: end; }
}

/* "Solutions" dropdown in the website navbar. */
.s7w-dd { position: relative; }
.s7w-dd-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .7rem; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .92rem; font-weight: 500; color: var(--w-text); cursor: pointer; white-space: nowrap; }
.s7w-dd-toggle .bi { font-size: .7rem; transition: transform .2s ease; }
.s7w-dd-toggle:hover, .s7w-dd:focus-within .s7w-dd-toggle { color: var(--w-blue); background: var(--w-blue-tint); }
.s7w-dd:has(a.active) .s7w-dd-toggle { color: var(--w-blue); font-weight: 600; }
.s7w-dd-menu { list-style: none; margin: 0; padding: .4rem; }
.s7w-dd-menu a { display: flex !important; align-items: flex-start; gap: .65rem; padding: .55rem .65rem !important; border-radius: 8px; white-space: normal !important; }
.s7w-dd-menu a > .bi { font-size: 1.05rem; color: var(--w-blue); line-height: 1.3; }
.s7w-dd-menu strong { display: block; font-weight: 600; color: var(--w-heading); font-size: .9rem; }
.s7w-dd-menu small { display: block; color: var(--w-muted); font-size: .78rem; font-weight: 400; }
.s7w-dd-menu a.active strong { color: var(--w-blue); }

@media (min-width: 1200px) {
    .s7w-dd-menu {
        position: absolute; top: calc(100% + 6px); left: 50%; width: 300px; z-index: 1040;
        background: #fff; border: 1px solid var(--w-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
        opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }
    /* Invisible bridge so the menu stays open while the pointer moves down to it. */
    .s7w-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    .s7w-dd:hover .s7w-dd-menu, .s7w-dd:focus-within .s7w-dd-menu {
        opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s ease, transform .18s ease, visibility 0s;
    }
    .s7w-dd:hover .s7w-dd-toggle .bi, .s7w-dd:focus-within .s7w-dd-toggle .bi { transform: rotate(180deg); }
    .s7w-links { gap: .35rem; }
}

@media (max-width: 1199.98px) {
    /* Phone / tablet menu: "Solutions" is a small heading with its links listed underneath. */
    .s7w-dd-toggle { width: 100%; padding: .7rem .75rem .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--w-muted); cursor: default; pointer-events: none; background: none !important; }
    .s7w-dd-toggle .bi { display: none; }
    .s7w-dd-menu { padding: 0 0 .25rem; }
    .s7w-dd-menu small { display: none; }
    .s7w-dd-menu a > .bi { font-size: 1rem; }
    .s7w-dd-menu strong { font-size: 1rem; font-weight: 500; color: var(--w-text); }
}

@media (prefers-reduced-motion: reduce) { .s7w-dd-menu, .s7w-dd-toggle .bi { transition: none !important; } }

/* Legal pages (Privacy Policy, Terms & Conditions): readable long text and a sticky "On this page" card. */
.s7w-prose { max-width: 46rem; color: var(--w-text); line-height: 1.75; }
.s7w-prose h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; color: var(--w-heading); scroll-margin-top: 90px; }
.s7w-prose h2:first-child { margin-top: 0; }
.s7w-prose ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.s7w-prose li { margin-bottom: .35rem; }
.s7w-toc ol { padding-left: 1.1rem; margin: 0; font-size: .9rem; line-height: 1.9; }
.s7w-toc a { color: var(--w-text); text-decoration: none; }
.s7w-toc a:hover { color: var(--w-blue); }
@media (min-width: 992px) { .s7w-toc { position: sticky; top: 90px; } }
