﻿:root {
    --bg-deep: #0a1222;
    --bg-mid: #101f37;
    --bg-light: #f6f8fc;
    --surface: #ffffff;
    --text-main: #0f213d;
    --text-muted: #5a6a84;
    --primary: #0fa3b1;
    --primary-dark: #0b7f8a;
    --accent: #ff8a4c;
    --border-soft: #d5deed;
    --shadow-soft: 0 18px 40px rgba(6, 19, 44, 0.12);
    --shadow-strong: 0 25px 55px rgba(3, 12, 28, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text-main);
    background: #f3f7ff;
    line-height: 1.65;
}

body.home-page {
    background: radial-gradient(circle at 10% 0%, #1d3359 0%, var(--bg-deep) 32%, #070b15 100%);
}

body.inner-page main {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    min-height: 70vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    margin-top: 0;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: #fff;
    color: #111;
    padding: 10px 14px;
}

.skip-link:focus {
    left: 12px;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav.is-scrolled {
    background: rgba(7, 14, 28, 0.9);
    border-bottom: 1px solid rgba(177, 197, 231, 0.26);
    backdrop-filter: blur(10px);
}

body.inner-page .site-nav {
    background: rgba(8, 18, 36, 0.88);
    border-bottom: 1px solid rgba(168, 189, 227, 0.24);
    backdrop-filter: blur(10px);
}

.brand img {
    height: 50px;
    width: auto;
    display: block;
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(193, 210, 237, 0.85);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(5, 16, 36, 0.2);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: #dbe8ff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 11px 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-nav {
    margin-left: 8px;
    background: linear-gradient(120deg, var(--primary) 0%, #18cad7 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(20, 179, 196, 0.35);
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary) 0%, #18cad7 100%);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(20, 179, 196, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-ghost {
    border-color: rgba(217, 231, 255, 0.55);
    color: #e7f0ff;
    background: rgba(255, 255, 255, 0.03);
}

.btn-block {
    width: 100%;
}

.schedule-page {
    padding: 150px 20px 90px;
    background: linear-gradient(135deg, #edf8fb 0%, #f8fbff 52%, #fff4ed 100%);
    min-height: 100vh;
}

.schedule-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 72px;
    align-items: start;
}

.schedule-intro {
    padding-top: 28px;
}

.schedule-intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.schedule-intro > p:not(.eyebrow) {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 440px;
}

.schedule-details {
    margin: 32px 0 0;
    border-top: 1px solid var(--border-soft);
}

.schedule-details div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-soft);
}

.schedule-details dt {
    color: var(--text-muted);
}

.schedule-details dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.schedule-panel {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.schedule-step,
.schedule-fields {
    margin: 0 0 26px;
}

.schedule-step label,
.schedule-label,
.schedule-fields legend,
.schedule-fields label {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}

.schedule-fields {
    padding: 0;
    border: 0;
}

.schedule-fields legend {
    padding: 0;
}

.schedule-fields label span {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    color: var(--text-muted);
}

.schedule-panel input,
.schedule-panel textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 5px;
    color: var(--text-main);
    font: inherit;
    margin: 0 0 16px;
}

.schedule-panel textarea {
    min-height: 96px;
    resize: vertical;
}

.schedule-panel input:focus,
.schedule-panel textarea:focus,
.schedule-slot:focus-visible {
    outline: 3px solid rgba(15, 163, 177, 0.28);
    outline-offset: 2px;
    border-color: var(--primary);
}

.schedule-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    min-height: 45px;
}

.schedule-slot {
    border: 1px solid var(--border-soft);
    border-radius: 5px;
    background: #fff;
    color: var(--text-main);
    padding: 10px 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.schedule-slot:hover,
.schedule-slot.is-selected {
    border-color: var(--primary);
    background: #eaf9fa;
    color: var(--primary-dark);
}

.schedule-slot-status {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text-muted);
}

.schedule-reply {
    min-height: 26px;
    margin: 14px 0 0;
    color: #1d6e4e;
}

.schedule-reply.error {
    color: #a52c2c;
}

.schedule-confirmation h2 {
    font-size: 30px;
}

@media (max-width: 820px) {
    .schedule-page {
        padding-top: 120px;
    }

    .schedule-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .schedule-intro {
        padding-top: 0;
    }

    .schedule-intro h1 {
        font-size: 38px;
    }
}

@media (max-width: 460px) {
    .schedule-panel {
        padding: 22px;
    }

    .schedule-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    margin-left: auto;
    cursor: pointer;
    padding: 8px 4px;
}

.nav-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 4px 0;
    background: #dbe8ff;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 8px 20px 14px;
    border-top: 1px solid rgba(177, 197, 231, 0.22);
    background: rgba(7, 14, 28, 0.97);
}

.mobile-nav a {
    color: #e8f1ff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(177, 197, 231, 0.14);
}

.mobile-nav.is-open {
    display: flex;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 20px 80px;
    background-image: url('/images/home.jpg');
    background-size: cover;
    background-position: center;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 15, 30, 0.9) 10%, rgba(10, 40, 74, 0.72) 55%, rgba(7, 18, 35, 0.9) 100%);
}

.hero-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    color: #eff6ff;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 38px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    color: #9ec9ff;
    font-weight: 700;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(32px, 6vw, 64px);
    margin-bottom: 18px;
}

.hero-copy {
    max-width: 660px;
    font-size: clamp(17px, 2.5vw, 22px);
    color: #d0e2ff;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.business-bundle {
    padding: 28px;
    color: #ecf6ff;
    background: rgba(7, 24, 45, 0.82);
    border: 1px solid rgba(125, 213, 222, 0.46);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(10px);
}

.business-bundle .eyebrow {
    margin-bottom: 10px;
    color: #7de9ed;
}

.business-bundle h2 {
    font-size: 29px;
    margin-bottom: 12px;
}

.business-bundle > p:not(.eyebrow):not(.bundle-note) {
    margin: 0;
    color: #c8daf2;
    font-size: 15px;
}

.bundle-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    list-style: none;
    margin: 20px 0;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
}

.bundle-includes i {
    color: #65d8ca;
    margin-right: 5px;
}

.bundle-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(198, 226, 255, 0.2);
    border-bottom: 1px solid rgba(198, 226, 255, 0.2);
}

.bundle-pricing div {
    padding: 13px 8px;
}

.bundle-pricing div + div {
    border-left: 1px solid rgba(198, 226, 255, 0.2);
}

.bundle-pricing strong,
.bundle-pricing strong span,
.bundle-pricing > div > span {
    display: block;
}

.bundle-pricing strong {
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 23px;
    line-height: 1.1;
}

.bundle-pricing strong span {
    display: inline;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
}

.bundle-pricing > div > span {
    margin-top: 4px;
    color: #bdd3ee;
    font-size: 11px;
    line-height: 1.3;
}

.bundle-note {
    margin: 15px 0 18px;
    color: #a9c5e8;
    font-size: 12px;
}

.bundle-actions {
    display: flex;
    gap: 12px;
}

.bundle-cta {
    flex: 0 1 calc(65% - 6px);
}

.pricing-cta {
    flex: 0 1 calc(35% - 6px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stats article {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(205, 224, 255, 0.18);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.hero-stats h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.hero-stats p {
    margin: 0;
    font-size: 15px;
    color: #cbdcff;
}

.section {
    padding: 88px 20px;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: linear-gradient(180deg, #0f1f38 0%, #0a1222 100%);
    color: #edf3ff;
}

.section-contact {
    background: linear-gradient(150deg, #132746 0%, #0a1222 60%, #121026 100%);
    color: #edf3ff;
}

.section-header {
    max-width: 1180px;
    margin: 0 auto 34px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 14px;
}

.section-header p {
    max-width: 760px;
    color: var(--text-muted);
    margin: 0;
}

.section-dark .section-header p,
.section-contact .section-header p {
    color: #c9d6eb;
}

.service-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.service-card i {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 14px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.service-card p {
    margin: 0;
    color: var(--text-muted);
}

.process-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(211, 225, 251, 0.2);
    border-radius: 16px;
    padding: 22px;
}

.process-step span {
    display: inline-block;
    margin-bottom: 10px;
    color: #6be4ef;
    font-weight: 700;
    letter-spacing: 1px;
}

.process-step h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.process-step p {
    margin: 0;
    color: #cfdbf0;
}

.about-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 26px;
    align-items: center;
}

.about-media img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: block;
}

.about-content h2 {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 14px;
}

.about-content p {
    color: var(--text-muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag-list span {
    background: #e6eefb;
    border: 1px solid #cddcf5;
    color: #17345c;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.contact-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-intro h2 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 14px;
}

.contact-intro p {
    color: #d2ddf2;
}

.contact-intro .btn {
    margin-top: 14px;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(207, 224, 248, 0.22);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-strong);
}

.contact-form-card label {
    display: block;
    font-weight: 700;
    margin: 10px 0 6px;
    color: #dbe8ff;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(211, 225, 248, 0.35);
    background: rgba(11, 25, 49, 0.72);
    color: #eff5ff;
    padding: 12px 13px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}

.contact-form-card textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #a7bad8;
}

.form-reply {
    margin-top: 12px;
    display: none;
    font-weight: 600;
}

.form-reply.error {
    color: #ffb6b6;
}

.form-reply.success {
    color: #83f7d0;
}

.site-footer {
    background: #070d1b;
    color: #d9e7ff;
    padding: 70px 20px 28px;
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: #c3d3ef;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: #7de5f1;
}

.footer-bottom {
    max-width: 1180px;
    margin: 26px auto 0;
    border-top: 1px solid rgba(199, 217, 245, 0.2);
    padding-top: 16px;
}

.footer-bottom p {
    margin: 0;
    color: #95a8cb;
    font-size: 13px;
}

.strategy-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1200;
}

.strategy-modal.is-open {
    display: block;
}

.strategy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 19, 0.72);
    backdrop-filter: blur(4px);
}

.strategy-modal-content {
    position: relative;
    width: min(980px, calc(100% - 28px));
    margin: 3.5vh auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(2, 9, 23, 0.45);
    overflow: hidden;
}

.strategy-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #dbe5f3;
}

.strategy-modal-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #102948;
}

.strategy-modal-header p {
    margin: 0;
    color: #5a6a84;
}

.strategy-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #5a6a84;
    font-size: 30px;
    line-height: 1;
    padding: 2px 8px;
    cursor: pointer;
}

.strategy-modal-embed-wrap {
    height: min(78vh, 760px);
    background: #f4f7fd;
}

.strategy-modal-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bio-section {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 42px clamp(22px, 5vw, 64px);
}

.about-hero {
    margin-top: 60px;
    padding: 28px 20px 28px 20px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #10294b 0%, #0c7480 100%);
}

.about-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero .eyebrow {
    color: #9bf0e6;
    margin-bottom: 14px;
}

.about-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(44px, 8vw, 78px);
    letter-spacing: 0;
}

.about-hero p:last-child {
    margin: 0;
    color: #d9f4f3;
    font-size: clamp(17px, 2.5vw, 23px);
}

.about-page-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 20px 90px;
}

.bio-copy {
    max-width: 820px;
}

.bio-section h4,
.about-detail-column h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 22px;
}

.bio-section p,
.timeline-item p,
.platform-panel p,
.about-cta p {
    color: var(--text-muted);
}

.about-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.about-detail-column > h4 i {
    color: var(--primary);
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.competency-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
}

.competency-list li {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
}

.competency-list li:last-child {
    border-bottom: 0;
}

.competency-list i {
    width: 18px;
    color: #15966e;
}

.platform-panel {
    border-left: 3px solid var(--primary);
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-soft);
    padding: 18px 22px;
}

.platform-panel p {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}

.platform-panel p:first-child {
    display: block;
    margin-top: 0;
    color: var(--text-main);
}

.platform-panel i {
    width: 18px;
    flex: 0 0 18px;
}

.platform-amazon { color: #e47911; }
.platform-shopify { color: #5e8e3e; }
.platform-walmart { color: #0875c1; }

.journey-section {
    padding: 58px 10px 16px;
}

.journey-section > h3 {
    font-size: 32px;
    margin-bottom: 28px;
}

.timeline-item {
    border-left: 3px solid var(--primary);
    padding: 2px 0 8px 24px;
    margin: 0 0 28px 8px;
}

.timeline-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 19px;
}

.timeline-item h4 i {
    color: var(--primary);
}

.about-cta {
    margin-top: 32px;
    padding: 42px 24px;
    border: 1px solid #bce8e4;
    border-radius: 8px;
    text-align: center;
    background: linear-gradient(135deg, #e9fbfa 0%, #fff7f0 100%);
}

.about-cta h3 {
    font-size: 28px;
}

.about-cta .btn {
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .site-nav-inner {
        padding: 12px 14px;
    }

    .brand {
        padding: 6px 9px;
    }

    .brand img {
        height: 34px;
    }

    .nav-links,
    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-block;
    }

    .hero {
        min-height: auto;
        padding: 104px 14px 54px;
        background-image: url('/images/home-m.jpg');
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .business-bundle {
        padding: 22px;
    }

    .section {
        padding: 68px 14px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        margin-top: 54px;
        padding: 64px 16px 58px;
    }

    .about-page-content {
        padding: 48px 14px 64px;
    }

    .about-detail-grid,
    .competency-grid {
        grid-template-columns: 1fr;
    }

    .journey-section {
        padding-left: 0;
        padding-right: 0;
    }

    .strategy-modal-content {
        width: calc(100% - 14px);
        margin: 1.5vh auto;
        border-radius: 12px;
    }

    .strategy-modal-header {
        padding: 14px 16px;
    }

    .strategy-modal-header h2 {
        font-size: 24px;
    }

    .strategy-modal-embed-wrap {
        height: 82vh;
    }
}

/* Compatibility for existing pages that still use legacy image sections */
.bgimg-1,
.bgimg-2,
.bgimg-3 {
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 360px;
}

.checkout-result {
    padding: 140px 16px 90px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    min-height: 60vh;
}

.checkout-result h2 {
    margin-top: 6px;
}

.checkout-result-note {
    color: var(--text-muted);
    font-size: 14px;
}

.checkout-result .eyebrow.is-error {
    color: #a52c2c;
}

.checkout-summary {
    list-style: none;
    margin: 26px auto 0;
    padding: 18px 20px;
    max-width: 440px;
    display: grid;
    gap: 10px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
}

.checkout-summary li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
}

.checkout-summary li span {
    color: var(--text-muted);
}

.checkout-summary li strong {
    text-align: right;
    word-break: break-word;
}

.checkout-actions {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.checkout-actions .btn-secondary {
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
}

.checkout-actions .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.pricing-hero {
    padding: 96px 16px 40px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 8px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 6px 8px;
}

.pricing-toggle button {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.pricing-toggle button.is-active {
    background: var(--primary);
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 46px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    margin: 0 0 6px;
}

.pricing-card .pricing-amount {
    font-size: 36px;
    font-weight: 700;
    margin: 12px 0 4px;
}

.pricing-card .pricing-amount small {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card .pricing-amount-note {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 10px;
}

.pricing-card .pricing-setup-fee {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.pricing-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.pricing-features li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-soft);
}

.pricing-features li.is-excluded {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-signup-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 34, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.pricing-signup-modal[hidden] {
    display: none;
}

.pricing-demo-cta {
    position: relative;
    max-width: 920px;
    margin: 0 auto 80px;
    padding: 44px 56px 48px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(118deg, #0d1d35 0%, #162d4c 100%);
    border: 1px solid rgba(143, 186, 234, 0.3);
    border-radius: 18px;
    box-shadow: var(--shadow-strong);
    text-align: center;
}

.pricing-demo-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, #18cad7 55%, var(--accent) 100%);
}

.pricing-demo-cta .eyebrow {
    margin-bottom: 12px;
    color: #7de3e9;
}

.pricing-demo-cta h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 40px);
}

.pricing-demo-cta p:not(.eyebrow) {
    max-width: 560px;
    margin: 0 auto 24px;
    color: #c7d7ed;
}

.pricing-demo-cta .btn {
    min-width: 150px;
}

.pricing-signup-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    max-width: 440px;
    width: calc(100% - 32px);
}

.pricing-signup-card label {
    display: block;
    margin-top: 14px;
    font-weight: 600;
}

.pricing-signup-card input {
    width: 100%;
    padding: 9px 10px;
    margin-top: 4px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font: inherit;
}

.event-detail-hero {
    position: relative;
    min-height: min(620px, 72vh);
    padding: 150px 20px 72px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(5, 16, 32, 0.9) 0%, rgba(5, 16, 32, 0.58) 58%, rgba(5, 16, 32, 0.2) 100%), var(--event-image);
    background-position: center;
    background-size: cover;
}

.event-detail-hero-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.event-detail-hero h1 {
    max-width: 820px;
    margin: 8px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
}

.event-detail-hero-inner > p {
    max-width: 680px;
    margin: 0;
    color: #e1ecfb;
    font-size: 18px;
}

.events-page-header {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 144px 0 0;
}

.events-page-header h1 {
    margin: 0 0 8px;
    font-size: 42px;
}

.events-page-header p {
    max-width: 680px;
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
}

.events-listing {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 96px;
}

.events-section-heading {
    margin-bottom: 28px;
}

.events-section-heading h2 {
    margin: 4px 0 0;
    font-size: 36px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.event-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 28, 47, 0.06);
}

.event-card-body {
    padding: 24px;
}

.event-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.event-card-body h2 {
    margin: 4px 0 10px;
    font-size: 24px;
}

.event-card-summary {
    max-width: 760px;
    margin: 0;
    color: var(--text-muted);
}

.event-format-label {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 4px;
    background: #edf2f8;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.event-visibility-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-category {
    margin: 0;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.event-card-facts div {
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
}

.event-card-facts dt {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.event-card-facts dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.events-empty {
    padding: 52px 24px;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
}

.events-empty p {
    color: var(--text-muted);
}

.event-detail-hero {
    min-height: min(560px, 68vh);
}

.event-back-link {
    display: inline-block;
    margin-bottom: 26px;
    color: #e1ecfb;
    font-weight: 700;
}

.event-back-link::before {
    content: "← ";
}

.event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 24px;
    font-weight: 700;
}

.event-hero-meta span + span::before {
    content: "•";
    margin-right: 20px;
    color: var(--accent);
}

.event-detail-layout {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 56px;
    align-items: start;
}

.event-detail-section + .event-detail-section {
    margin-top: 52px;
}

.event-detail-section h2,
.event-ticket-panel h2 {
    font-size: 30px;
}

.event-description {
    color: var(--text-muted);
    font-size: 17px;
}

.event-session-list {
    border-top: 1px solid var(--border-soft);
}

.event-session {
    display: grid;
    grid-template-columns: minmax(155px, 0.4fr) 1fr;
    gap: 28px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-soft);
}

.event-session time,
.event-session time span {
    display: block;
}

.event-session time span,
.event-session p {
    color: var(--text-muted);
}

.event-session h3,
.event-session p {
    margin: 0 0 5px;
}

.event-session-more {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.event-ticket-panel {
    position: sticky;
    top: 96px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.event-option-list > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-soft);
}

.event-option-list span,
.event-option-list small {
    display: block;
}

.event-option-list small {
    margin-top: 4px;
    color: var(--text-muted);
}

.event-option-list b {
    white-space: nowrap;
}

.event-registration-state {
    margin: 22px 0 0;
    padding: 12px;
    border-left: 3px solid var(--primary);
    background: #edfafa;
    color: var(--primary-dark);
}

.event-registration-state strong,
.event-registration-state span {
    display: block;
}

.event-registration-state span {
    margin-top: 3px;
    font-size: 13px;
}

.event-registration-state.is-closed {
    border-color: #b63838;
    background: #fff0f0;
    color: #8e2525;
}

.event-invited-as {
    margin: 18px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--primary);
    background: #edfafa;
    color: var(--text-main);
    font-size: 13px;
}
.event-invited-as[hidden] {
    display: none;
}

.event-registration-form {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

.event-registration-form > label,
.event-registration-addons legend,
.event-registration-sessions legend {
    display: block;
    margin: 12px 0 4px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
}

.event-registration-form input,
.event-registration-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    background: #fff;
    color: var(--text-main);
    font: inherit;
}

.event-registration-form label span {
    color: var(--text-muted);
    font-weight: 500;
}

.event-registration-sessions {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    background: #f7fafc;
}
.event-registration-sessions label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}
.event-registration-sessions input[type="checkbox"] {
    width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
}
.event-registration-sessions .event-select-all {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-soft);
    font-weight: 700;
}

.event-attendee-list {
    display: grid;
    gap: 14px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.event-attendee-session {
    padding: 12px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
}
.event-attendee-session > strong {
    display: block;
    margin-bottom: 8px;
}
.event-attendee-session ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.event-attendee-session ul li {
    padding: 5px 8px;
    border-radius: 4px;
    background: #edfafa;
}
.event-attendee-session ul .event-attendee-empty {
    background: transparent;
    color: var(--text-muted);
    padding-left: 0;
}

.event-registration-addons {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
}

.event-registration-addons label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.event-registration-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 20px 0 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    font-weight: 700;
}
.event-registration-total[hidden] {
    display: none;
}
#eventRegistrationSubmit {
    margin-top: 20px;
}
.event-registration-manage {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}
.event-registration-manage[hidden],
#eventRegistrationCancel[hidden] {
    display: none;
}

.event-registration-total strong {
    font-size: 22px;
}

.event-ticket-page {
    width: min(680px, calc(100% - 32px));
    min-height: 70vh;
    margin: 0 auto;
    padding: 144px 0 80px;
    text-align: center;
}

.event-ticket-page h1 {
    margin-bottom: 14px;
    font-size: 40px;
}

.event-ticket-qr {
    width: min(280px, 100%);
    margin: 28px auto 18px;
}

.event-ticket-qr svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .event-detail-hero {
        min-height: 520px;
        padding: 130px 18px 54px;
        background-position: 62% center;
    }

    .event-detail-hero h1 {
        font-size: 42px;
    }

    .events-page-header {
        padding-top: 120px;
    }

    .events-page-header h1 {
        font-size: 34px;
    }

    .event-ticket-page {
        padding-top: 120px;
    }

    .event-card-heading {
        display: block;
    }

    .event-format-label {
        display: inline-block;
        margin-bottom: 12px;
    }

    .event-detail-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .event-ticket-panel {
        position: static;
        grid-row: 1;
    }

    .event-session {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .event-hero-meta span + span::before {
        content: "";
        margin: 0;
    }

    .event-hero-meta span {
        width: 100%;
    }
}

.poll-page {
    min-height: 100vh;
    padding: 140px 18px 88px;
    background: linear-gradient(135deg, #edf8fb 0%, #f8fbff 54%, #fff4ed 100%);
}
.poll-shell {
    max-width: 780px;
    margin: 0 auto;
}
.poll-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 5vw, 42px);
}
.poll-card h1 {
    font-size: clamp(34px, 7vw, 54px);
    margin-bottom: 14px;
}
.poll-description,
.poll-question p,
.poll-reply {
    color: var(--text-muted);
}
.poll-question {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    margin: 18px 0;
    padding: 18px;
}
.poll-question legend {
    padding: 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}
.poll-choice,
.poll-scale label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    cursor: pointer;
}

.poll-ranking {
    display: grid;
    gap: 14px;
}

.poll-ranking-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.poll-rank-choice,
.poll-rank-remove {
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: #f8fbff;
    color: var(--text-main);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.poll-rank-choice {
    padding: 10px 14px;
}

.poll-rank-choice:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.poll-ranking-selected {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 28px;
}

.poll-ranking-selected li {
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: #ffffff;
}

.poll-ranking-selected li::marker {
    font-weight: 800;
    color: var(--primary-dark);
}

.poll-ranking-selected li span {
    font-weight: 700;
}

.poll-rank-remove {
    float: right;
    padding: 4px 10px;
    font-size: 12px;
    color: #a52c2c;
}

.poll-scale {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.poll-scale span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: #f8fbff;
    font-weight: 700;
}
.poll-scale input:checked + span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.poll-question input[type="text"],
.poll-question input[type="email"],
.poll-question input[type="date"],
.poll-question input[type="time"],
.poll-question textarea,
.poll-identity input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font: inherit;
}
.poll-question textarea {
    min-height: 120px;
    resize: vertical;
}
.poll-identity {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.poll-identity label {
    font-weight: 700;
}
.poll-matrix {
    overflow-x: auto;
}
.poll-matrix table {
    width: 100%;
    border-collapse: collapse;
}
.poll-matrix th,
.poll-matrix td {
    border: 1px solid var(--border-soft);
    padding: 10px;
    text-align: center;
}
.poll-public-results {
    margin-top: 28px;
}
.poll-public-results section {
    border-top: 1px solid var(--border-soft);
    padding: 18px 0;
}
.poll-result-bar {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 42px 2fr;
    gap: 10px;
    align-items: center;
    margin: 9px 0;
}
.poll-result-bar div {
    height: 10px;
    border-radius: 999px;
    background: #e7eef8;
    overflow: hidden;
}
.poll-result-bar i {
    display: block;
    height: 100%;
    background: var(--primary);
}
.poll-reply.error {
    color: #a52c2c;
}
@media (max-width: 700px) {
    .poll-identity,
    .poll-result-bar {
        grid-template-columns: 1fr;
    }
}

.bgimg-1 {
    background-image: linear-gradient(rgba(8, 16, 32, 0.65), rgba(8, 16, 32, 0.65)), url('/images/home.jpg');
}

.bgimg-2,
.bgimg-3 {
    background-image: linear-gradient(rgba(8, 16, 32, 0.7), rgba(8, 16, 32, 0.7)), url('/images/img2.jpg');
}

body.inner-page .bgimg-1 {
    background-image: linear-gradient(rgba(8, 23, 44, 0.48), rgba(8, 23, 44, 0.48)), url('/images/home.jpg');
}

body.inner-page .w3-content {
    color: #183154;
}

body.inner-page .w3-content h3,
body.inner-page .w3-content h4,
body.inner-page .w3-content p,
body.inner-page .w3-content li {
    color: #173255;
}

body.inner-page .w3-content .w3-panel,
body.inner-page .w3-content .w3-border {
    background: #ffffff;
    border-color: #d2deef !important;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 36, 72, 0.08);
}

body.inner-page .w3-content .w3-pale-blue {
    background: #eaf6ff !important;
}

/* ==========================================================================
   Legal & Compliance Pages (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero {
    margin-top: 60px;
    padding: 56px 20px 48px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #0e1e38 0%, #0d5f75 100%);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(20, 180, 196, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.legal-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9bf0e6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(155, 240, 230, 0.25);
}

.legal-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.legal-hero-subtitle {
    margin: 0;
    color: #d2f0ee;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 500;
}

.legal-page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 88px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* Sidebar Navigation */
.legal-sidebar {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--shadow-soft);
}

.legal-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.legal-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.legal-sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--border-soft);
    border-radius: 4px;
}

.legal-sidebar-nav a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.18s ease;
    line-height: 1.4;
}

.legal-sidebar-nav a:hover {
    background: #f0f7ff;
    color: var(--primary-dark);
    transform: translateX(2px);
}

.legal-sidebar-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.legal-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: 8px;
    background: #f0f9fa;
    border: 1px solid rgba(15, 163, 177, 0.2);
    transition: background-color 0.2s ease;
}

.legal-sidebar-footer a:hover {
    background: #e1f5f7;
}

/* Content Area */
.legal-content {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: var(--shadow-soft);
}

.legal-callout {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f4f8 100%);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 36px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.legal-callout-icon {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-callout p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f2d4a;
    line-height: 1.6;
}

.legal-section {
    scroll-margin-top: 100px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px dashed var(--border-soft);
}

.legal-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e8f6f8;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #2c3e50;
    margin: 0 0 14px;
}

.legal-list {
    list-style: none;
    margin: 12px 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.65;
    color: #2c3e50;
}

.legal-list li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e8f6f8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.legal-contact-box {
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

.legal-contact-box p {
    margin: 0 0 8px;
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

.legal-contact-box a {
    color: var(--primary-dark);
    font-weight: 600;
}

.legal-contact-box a:hover {
    text-decoration: underline;
}

.legal-footer-actions {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

@media (max-width: 991px) {
    .legal-page-shell {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .legal-sidebar {
        position: static;
        top: auto;
    }

    .legal-sidebar-nav {
        max-height: 260px;
    }

    .legal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 576px) {
    .legal-hero {
        padding: 40px 16px 36px;
    }

    .legal-content {
        padding: 24px 16px;
    }

    .legal-section h2 {
        font-size: 19px;
    }

    .legal-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .legal-footer-actions .btn {
        width: 100%;
    }
}

