:root {
    --bg-900: #030712;
    --bg-800: #081020;
    --panel: rgba(9, 18, 38, 0.72);
    --panel-border: rgba(94, 234, 212, 0.22);
    --text-main: #e2e8f0;
    --text-muted: #a5b4fc;
    --brand-cyan: #22d3ee;
    --brand-teal: #2dd4bf;
}

* {
    box-sizing: border-box;
}

body.dvags-body {
    margin: 0;
    color: var(--text-main);
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    background:
        radial-gradient(1200px 700px at 100% 0%, rgba(14, 165, 233, 0.12), transparent 60%),
        linear-gradient(180deg, var(--bg-900), var(--bg-800));
}

body.modal-open {
    overflow: hidden;
}

.site-backdrop {
    background:
        radial-gradient(800px 420px at 10% -5%, rgba(45, 212, 191, 0.14), transparent 65%),
        radial-gradient(1000px 500px at 100% 0%, rgba(56, 189, 248, 0.14), transparent 62%);
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

.site-main {
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.page-particles {
    inset: 0;
    opacity: 0.62;
    pointer-events: none;
    position: fixed;
    z-index: 1;
}

.page-particles canvas {
    display: block;
    height: 100%;
    width: 100%;
}

.site-nav {
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(3, 10, 28, 0.9), rgba(2, 8, 24, 0.72));
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
    position: sticky;
    top: 0;
    z-index: 200;
}

.site-nav-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0.95rem 1.25rem;
    position: relative;
}

.nav-toggle {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.55rem;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.45rem;
}

.nav-toggle span {
    background: #e2e8f0;
    display: block;
    height: 2px;
    width: 18px;
}

.brand-mark {
    color: #f0f9ff;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
}

.brand-mark .custom-logo-link {
    display: inline-flex;
    line-height: 1;
    pointer-events: none;
}

.brand-mark .custom-logo {
    display: block;
    height: auto;
    max-height: 44px;
    max-width: 170px;
    object-fit: contain;
    object-position: left center;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-main);
    border: 1px solid transparent;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    min-height: 2.5rem;
    padding: 0.2rem 0.6rem;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links li:focus-within > a {
    background: rgba(14, 23, 43, 0.8);
    border-color: rgba(56, 189, 248, 0.35);
    color: #f8fafc;
}

.nav-links a.is-active,
.nav-links li.is-active-branch > a {
    background: rgba(10, 25, 49, 0.88);
    border-color: rgba(56, 189, 248, 0.55);
    color: #dff9ff;
}

.submenu-toggle {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    color: #93c5fd;
    cursor: pointer;
    display: none;
    font-size: 0.8rem;
    line-height: 1;
    margin-left: 0.35rem;
    min-height: 2.25rem;
    min-width: 2.25rem;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.submenu-toggle:hover,
.menu-has-children.submenu-open > .submenu-toggle {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(56, 189, 248, 0.35);
}

.sub-menu {
    background: rgba(2, 6, 23, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.75rem;
    box-shadow: 0 20px 34px rgba(2, 6, 23, 0.45);
    display: block;
    left: 0;
    list-style: none;
    margin: 0;
    min-width: 240px;
    padding: 0.6rem;
    pointer-events: none;
    position: absolute;
    top: 100%;
    visibility: hidden;
    z-index: 60;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.sub-menu .sub-menu {
    left: 100%;
    top: -0.2rem;
}

.menu-has-children {
    margin-bottom: -0.4rem;
    padding-bottom: 0.4rem;
}

.sub-menu a {
    border-radius: 0.45rem;
    display: block;
    min-height: 2.4rem;
    padding: 0.55rem 0.65rem;
}

.sub-menu a:hover {
    background: rgba(15, 23, 42, 0.95);
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu,
.menu-has-children.submenu-open > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.menu-has-children.submenu-open > .submenu-toggle [aria-hidden="true"] {
    transform: rotate(180deg);
    display: inline-block;
}

.hero-future {
    background:
        radial-gradient(1000px 500px at 85% 0%, rgba(15, 118, 255, 0.22), transparent 60%),
        radial-gradient(800px 450px at 0% 100%, rgba(16, 185, 129, 0.16), transparent 55%),
        linear-gradient(180deg, #050912 0%, #060b17 100%);
    min-height: 84vh;
    position: relative;
}

.hero-gradient-layer,
.hero-grid-lines,
.hero-particles {
    inset: 0;
    position: absolute;
}

.hero-gradient-layer {
    background:
        radial-gradient(circle at 18% 30%, rgba(56, 189, 248, 0.28), transparent 46%),
        radial-gradient(circle at 82% 72%, rgba(45, 212, 191, 0.24), transparent 42%);
    filter: blur(8px);
}

.hero-grid-lines {
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 80%);
}

.hero-particles canvas {
    display: block;
    height: 100%;
    width: 100%;
}

.hero-grid {
    display: grid;
    gap: 1.25rem;
    margin: 0 auto;
    max-width: 1200px;
    opacity: 0;
    padding: 6.5rem 1.25rem;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.32em;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    max-width: 16ch;
}

.hero-copy {
    color: #c7d2fe;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    line-height: 1.6;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 0.75rem;
}

.hero-btn {
    border-radius: 9999px;
    color: #f8fafc;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.82rem 1.35rem;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-btn:hover {
    transform: translateY(-1px);
}

.hero-btn-primary {
    background: linear-gradient(120deg, #0ea5e9, #10b981);
    box-shadow: 0 0 32px rgba(14, 165, 233, 0.28);
}

.hero-btn-ghost {
    background-color: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.section-shell,
.page-shell {
    margin: 0 auto;
    max-width: 1200px;
    padding: 5rem 1.25rem;
}

.page-shell-glow {
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(56, 189, 248, 0.12), transparent 65%),
        rgba(5, 15, 35, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 1.2rem;
    margin-top: 2.5rem;
}

.section-intro {
    margin-bottom: 2rem;
    max-width: 760px;
}

.section-eyebrow {
    color: var(--brand-teal);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin: 0;
}

.section-copy {
    color: var(--text-muted);
    line-height: 1.6;
}

.services-grid,
.knowledge-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-card,
.knowledge-card,
.content-card,
.cta-panel,
.chatbot-shell {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1rem;
}

.service-card {
    backdrop-filter: blur(8px);
    grid-column: span 6;
    min-height: 210px;
    padding: 1.25rem;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.service-card h3,
.knowledge-card h3 {
    margin: 0 0 0.65rem;
}

.service-card p,
.knowledge-card p,
.content-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.service-card span {
    color: var(--brand-cyan);
    display: inline-block;
    font-size: 0.82rem;
    margin-top: 1rem;
}

.service-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 22px 60px rgba(8, 47, 73, 0.28);
}

.knowledge-card {
    grid-column: span 4;
    padding: 1.25rem;
}

.content-card,
.cta-panel {
    padding: 1.25rem;
}

.cta-panel h2 {
    margin-top: 0;
}

.chatbot-shell {
    margin-top: 1rem;
    max-width: 740px;
    padding: 1rem;
}

.chatbot-log {
    display: grid;
    gap: 0.6rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.4rem;
}

.chat-row {
    border-radius: 0.65rem;
    font-size: 0.92rem;
    margin: 0;
    max-width: 90%;
    padding: 0.55rem 0.75rem;
}

.chat-row.bot {
    background: rgba(30, 41, 59, 0.88);
}

.chat-row.user {
    background: rgba(8, 145, 178, 0.28);
    justify-self: end;
}

.chatbot-form {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr auto;
    margin-top: 0.8rem;
}

.chatbot-form input {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(100, 116, 139, 0.45);
    border-radius: 0.65rem;
    color: #f8fafc;
    padding: 0.7rem 0.8rem;
}

.chatbot-form button {
    background: linear-gradient(120deg, #0891b2, #10b981);
    border: 0;
    border-radius: 0.65rem;
    color: #ecfeff;
    cursor: pointer;
    font-weight: 700;
    padding: 0.7rem 1rem;
}

.chatbot-float {
    bottom: 1rem;
    position: fixed;
    right: 1rem;
    z-index: 280;
}

.chatbot-float-toggle {
    background: linear-gradient(120deg, #0891b2, #10b981);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.35);
    color: #ecfeff;
    cursor: pointer;
    font-weight: 700;
    padding: 0.72rem 1rem;
}

.chatbot-float-panel {
    margin-bottom: 0.65rem;
    width: min(94vw, 360px);
}

.chatbot-float .chatbot-shell {
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 46px rgba(2, 6, 23, 0.45);
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 2rem;
}

.site-footer-inner {
    color: #94a3b8;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1.6rem 1.25rem;
}

.footer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-grid h4 {
    color: #e2e8f0;
    margin: 0 0 0.5rem;
}

.footer-grid p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.footer-grid nav {
    display: grid;
    gap: 0.45rem;
}

.footer-grid nav a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-grid nav a:hover {
    color: #dbeafe;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 1.2rem;
    padding-top: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.detail-section {
    background: rgba(7, 18, 40, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    margin-top: 1rem;
    padding: 1.1rem 1.2rem;
}

.detail-section h3 {
    margin: 0 0 0.65rem;
}

.detail-list {
    margin: 0;
    padding-left: 1.1rem;
}

.detail-list li {
    color: #cbd5e1;
    margin-bottom: 0.45rem;
}

.faq-item + .faq-item {
    margin-top: 0.85rem;
}

.faq-item h4 {
    margin: 0 0 0.35rem;
}

.faq-item p {
    color: #cbd5e1;
    margin: 0;
}

.template-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.template-filter {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    color: #dbeafe;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
}

.template-filter.is-active {
    background: linear-gradient(120deg, #0891b2, #10b981);
    border-color: transparent;
    color: #f0fdfa;
}

.template-options-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.template-option {
    background: rgba(8, 20, 46, 0.7);
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: 0.8rem;
    color: #dbeafe;
    cursor: pointer;
    display: grid;
    gap: 0.3rem;
    padding: 0.75rem 0.8rem;
    text-align: left;
}

.template-option strong {
    font-size: 0.92rem;
}

.template-option span {
    color: #9fb3d9;
    font-size: 0.82rem;
    line-height: 1.45;
}

.template-option.is-selected {
    border-color: rgba(34, 211, 238, 0.75);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 14px 32px rgba(2, 132, 199, 0.2);
}

.template-preview {
    background: rgba(6, 16, 38, 0.74);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 0.85rem;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
}

.template-preview h4 {
    margin: 0 0 0.45rem;
}

.template-preview p {
    color: #cbd5e1;
    margin: 0 0 0.55rem;
}

.plan-builder-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
}

.plan-builder-controls {
    background: rgba(7, 18, 40, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
}

.plan-builder-controls .contact-form__field label {
    display: block;
    margin-bottom: 0.3rem;
}

.plan-builder-controls .contact-form__field input[type="checkbox"] {
    margin-right: 0.45rem;
}

.plan-builder-result h4 {
    margin-top: 0;
}

.plan-estimate {
    color: #67e8f9;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.plan-estimate-note {
    color: #a5b4fc;
    margin: 0 0 0.8rem;
}

.contact-modal {
    inset: 0;
    position: fixed;
    z-index: 320;
}

.contact-modal__backdrop {
    background: rgba(2, 6, 23, 0.74);
    inset: 0;
    position: absolute;
}

.contact-modal__panel {
    background: linear-gradient(180deg, rgba(4, 14, 36, 0.98), rgba(6, 18, 44, 0.95));
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 1rem;
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.6);
    left: 50%;
    max-height: 88vh;
    max-width: 640px;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 1.5rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
}

.contact-modal__close {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.5rem;
    color: #dbeafe;
    cursor: pointer;
    font-size: 1.2rem;
    height: 2rem;
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    width: 2rem;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.contact-form__field {
    display: grid;
    gap: 0.35rem;
}

.contact-form__field label {
    color: #cbd5e1;
    font-size: 0.86rem;
    font-weight: 600;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(100, 116, 139, 0.48);
    border-radius: 0.6rem;
    color: #e2e8f0;
    font: inherit;
    padding: 0.68rem 0.75rem;
    width: 100%;
}

.contact-form__field textarea {
    resize: vertical;
}

.contact-form__error {
    color: #fda4af;
    margin: 0;
    min-height: 1.2rem;
}

.contact-form__success {
    color: #67e8f9;
    margin: 0;
    min-height: 1.2rem;
}

.is-clickable-card {
    cursor: pointer;
}

.is-clickable-card:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.75);
    outline-offset: 2px;
}

.insight-modal {
    inset: 0;
    position: fixed;
    z-index: 330;
}

.insight-modal__backdrop {
    background: rgba(2, 6, 23, 0.76);
    inset: 0;
    position: absolute;
}

.insight-modal__panel {
    background: linear-gradient(180deg, rgba(5, 16, 40, 0.98), rgba(5, 21, 52, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 1rem;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.62);
    left: 50%;
    height: 70vh;
    max-height: 70vh;
    max-width: 70vw;
    overflow-y: auto;
    padding: 1.25rem 1.35rem 1.5rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
}

.insight-modal__close {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.5rem;
    color: #dbeafe;
    cursor: pointer;
    font-size: 1.2rem;
    height: 2rem;
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    width: 2rem;
}

.insight-modal__eyebrow {
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0 0 0.4rem;
    text-transform: uppercase;
}

.insight-modal__panel h3 {
    margin: 0 0 0.7rem;
}

.insight-modal__content p {
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 0.7rem;
}

.insight-carousel {
    align-items: center;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: auto 1fr auto;
    margin-top: 0.8rem;
}

.insight-carousel__viewport {
    overflow: hidden;
    width: 100%;
}

.insight-carousel__track {
    display: flex;
    transition: transform 260ms ease;
    width: 100%;
}

.insight-carousel__slide {
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 0.85rem;
    display: grid;
    grid-template-rows: 25% 50% 25%;
    flex: 0 0 100%;
    min-height: 40vh;
    overflow: hidden;
    padding: 0;
}

.insight-slide__band {
    position: relative;
}

.insight-slide__band::before,
.insight-slide__band::after {
    content: "";
    inset: 0;
    position: absolute;
}

.insight-slide__band--top {
    background:
        radial-gradient(120px 48px at 20% 50%, rgba(56, 189, 248, 0.28), transparent 70%),
        radial-gradient(140px 52px at 75% 50%, rgba(45, 212, 191, 0.24), transparent 72%),
        linear-gradient(180deg, rgba(8, 26, 58, 0.85), rgba(6, 18, 40, 0.35));
}

.insight-slide__band--bottom {
    background:
        radial-gradient(140px 52px at 25% 50%, rgba(45, 212, 191, 0.22), transparent 72%),
        radial-gradient(120px 48px at 80% 50%, rgba(56, 189, 248, 0.26), transparent 70%),
        linear-gradient(0deg, rgba(8, 26, 58, 0.85), rgba(6, 18, 40, 0.35));
}

.insight-slide__band::before {
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
}

.insight-slide__band::after {
    background:
        linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.4), transparent);
    filter: blur(0.3px);
    opacity: 0.4;
    transform: translateX(-100%);
    animation: insight-band-scan 4.5s linear infinite;
}

.insight-slide__content {
    background: rgba(5, 16, 36, 0.78);
    overflow-y: auto;
    padding: 0.9rem 1rem;
}

.insight-slide__content h4 {
    margin: 0 0 0.65rem;
}

@keyframes insight-band-scan {
    to {
        transform: translateX(100%);
    }
}

.insight-carousel__nav {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 999px;
    color: #dbeafe;
    cursor: pointer;
    font-size: 1.4rem;
    height: 2.4rem;
    width: 2.4rem;
}

.insight-carousel__dots {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 0.65rem;
}

.insight-carousel__dot {
    background: rgba(148, 163, 184, 0.35);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 0.45rem;
    width: 0.45rem;
}

.insight-carousel__dot.is-active {
    background: #67e8f9;
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

@media (max-width: 920px) {
    .service-card,
    .knowledge-card {
        grid-column: span 12;
    }
}

@media (max-width: 767px) {
    .brand-mark .custom-logo {
        max-height: 36px;
        max-width: 140px;
    }

    .hero-future {
        min-height: 74vh;
    }

    .hero-grid-lines {
        background-size: 38px 38px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        background: rgba(2, 6, 23, 0.96);
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 0.8rem;
        flex-direction: column;
        left: 1.25rem;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        pointer-events: none;
        position: absolute;
        right: 1.25rem;
        top: 64px;
        transition: max-height 220ms ease, opacity 220ms ease, padding 220ms ease;
        gap: 0.25rem;
    }

    .nav-links.is-open {
        max-height: 78vh;
        opacity: 1;
        overflow-y: auto;
        padding: 0.6rem;
        pointer-events: auto;
        width: auto;
    }

    .menu-has-children {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .menu-has-children > a {
        flex: 1;
        min-height: 2.75rem;
        padding: 0.5rem 0.65rem;
    }

    .submenu-toggle {
        display: inline-block;
        min-height: 2.75rem;
        min-width: 2.75rem;
    }

    .sub-menu {
        border: 0;
        display: none;
        margin-left: 0.65rem;
        min-width: 0;
        opacity: 1;
        padding: 0.35rem 0 0.35rem 0.55rem;
        position: static;
        transform: none;
        transition: none;
    }

    .menu-has-children.submenu-open > .sub-menu {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .template-options-grid {
        grid-template-columns: 1fr;
    }

    .plan-builder-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 5.25rem 1rem 4.25rem;
    }

    .section-shell,
    .page-shell {
        padding: 3.5rem 1rem;
    }

    .insight-modal__panel {
        height: 70vh;
        max-height: 70vh;
        max-width: calc(100vw - 1rem);
        width: calc(100vw - 1rem);
    }

    .insight-carousel {
        grid-template-columns: 1fr;
    }

    .insight-carousel__nav {
        display: none;
    }
}
