:root {
    --primary: #075f5c;
    --primary-dark: #063f3d;
    --primary-soft: #e5f0ed;
    --accent: #f5c95e;
    --accent-light: #fff0bb;
    --ink: #17211f;
    --text: #5d6663;
    --muted: #f4f5f1;
    --cream: #f8f8f3;
    --white: #ffffff;
    --line: #dfe4df;
    --font-body: "DM Sans", Arial, sans-serif;
    --font-heading: "Manrope", Arial, sans-serif;
    --shadow: 0 20px 50px rgba(20, 39, 35, .1);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
}

body.nav-open,
body.search-open {
    overflow: hidden;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-heading);
    letter-spacing: 0;
}

h1,
h2 {
    font-weight: 600;
}

h3 {
    font-weight: 700;
}

button {
    border: 0;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1540px;
    padding-right: 24px;
    padding-left: 24px;
}

.container-wide {
    width: min(1580px, calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 112px 0;
}

.two {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 27px;
    height: 3px;
    background: var(--accent);
    content: "";
}

.eyebrow.light {
    color: var(--accent);
}

.section-head {
    margin-bottom: 54px;
}

.section-head h2,
.solution-copy h2 {
    max-width: 720px;
    font-size: 50px;
    line-height: 1.14;
}

.split-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-link i {
    display: grid;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    place-items: center;
    transition: .25s;
}

.text-link:hover i {
    color: var(--white);
    border-color: var(--primary);
    background: var(--primary);
    transform: rotate(45deg);
}

.btn {
    display: inline-flex;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: transform .25s, background-color .25s, color .25s;
}

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

.btn-accent {
    color: var(--ink);
    background: var(--accent);
}

.btn-accent:hover {
    color: var(--white);
    background: var(--primary);
}

.btn-dark {
    color: var(--white);
    background: var(--primary-dark);
}

.btn-dark:hover {
    color: var(--ink);
    background: var(--accent);
}

.service-section .btn:hover,
.footer-cta .btn:hover {
    color: var(--white);
    background: #111;
}

/* Search */
.search-wrap {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    padding: 30px;
    color: var(--white);
    background: rgba(6, 33, 31, .97);
    opacity: 0;
    visibility: hidden;
    place-items: center;
    transition: .25s;
}

.search-wrap.is-open {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-inner {
    width: min(760px, 100%);
}

.search-kicker {
    margin-bottom: 16px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 64px;
    border-bottom: 2px solid rgba(255, 255, 255, .5);
}

.search-form input {
    width: 100%;
    padding: 15px 0 20px;
    color: var(--white);
    border: 0;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 30px;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, .55);
}

.search-form button {
    color: var(--accent);
    font-size: 28px;
}

/* Header */
.site-header {
    position: relative;
    z-index: 100;
    background: var(--white);
}

.topbar {
    color: #d6e1df;
    background: var(--primary-dark);
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: space-between;
}

.topbar-info,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar-info a,
.topbar-social a {
    transition: color .2s;
}

.topbar-info a:hover,
.topbar-social a:hover {
    color: var(--accent);
}

.topbar i {
    margin-right: 7px;
    color: var(--accent);
}

.topbar-social {
    gap: 14px;
}

.topbar-social span {
    padding-right: 8px;
    color: rgba(255, 255, 255, .55);
}

.nav-shell {
    box-shadow: 0 7px 25px rgba(16, 41, 37, .06);
}

.nav-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
}

.site-logo {
    display: block;
    width: 150px;
    flex: 0 0 150px;
}

.site-logo img {
    height: auto;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu>ul {
    display: flex;
    align-items: center;
}

.nav-menu>ul>li {
    position: relative;
}

.nav-menu>ul>li>a,
.nav-parent>a {
    position: relative;
    display: flex;
    min-height: 82px;
    padding: 0 15px;
    color: var(--ink);
    align-items: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: color .2s;
}

.nav-menu>ul>li>a::after,
.nav-parent>a::after {
    position: absolute;
    right: 15px;
    bottom: 19px;
    left: 15px;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}

.nav-menu>ul>li:hover>a,
.nav-menu>ul>li>a.active,
.nav-parent:hover>a {
    color: var(--primary);
}

.nav-menu>ul>li:hover>a::after,
.nav-menu>ul>li>a.active::after,
.nav-parent:hover>a::after {
    transform: scaleX(1);
}

.nav-parent {
    display: flex;
    align-items: center;
}

.nav-chevron {
    width: 18px;
    margin-left: -12px;
    color: var(--ink);
    font-size: 10px;
}

.nav-chevron i {
    display: block;
    transition: transform .25s;
}

.has-dropdown:hover .nav-chevron i,
.has-mega:hover .nav-chevron i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 220px;
    padding: 13px;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 6px 6px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
}

.dropdown-menu::before,
.mega-menu::before {
    position: absolute;
    top: -15px;
    right: 0;
    left: 0;
    height: 15px;
    content: "";
}

.has-dropdown:hover .dropdown-menu,
.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 11px;
    color: var(--text);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-menu a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.has-submenu {
    position: relative;
}

.submenu-parent {
    display: flex;
    align-items: center;
}

.submenu-parent>a {
    flex: 1;
}

.submenu-toggle {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--text);
    place-items: center;
    font-size: 11px;
}

.submenu-menu {
    position: absolute;
    top: -18px;
    left: calc(100% + 20px);
    width: 220px;
    padding: 18px 20px;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 6px 6px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: .25s;
}

.submenu-menu::before {
    position: absolute;
    top: 0;
    right: 100%;
    width: 21px;
    height: 100%;
    content: "";
}

.has-submenu:hover>.submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mega-menu {
    position: fixed;
    top: 121px;
    right: max(24px, calc((100vw - 1312px) / 2));
    left: max(24px, calc((100vw - 1312px) / 2));
    display: grid;
    padding: 30px;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 8px 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 35px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
}

.mega-heading {
    display: block;
    margin-bottom: 13px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.mega-heading:hover {
    color: var(--primary);
}

.mega-column>a {
    display: block;
    padding: 7px 0;
    color: var(--text);
    font-size: 14px;
}

.mega-column>a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    margin-left: 17px;
    padding-left: 17px;
    border-left: 1px solid var(--line);
    align-items: center;
    gap: 17px;
}

.nav-search-btn {
    width: 40px;
    height: 40px;
    color: var(--ink);
    border-radius: 50%;
    font-size: 19px;
    transition: .2s;
}

.nav-search-btn:hover {
    color: var(--white);
    background: var(--primary);
}

.nav-contact {
    display: flex;
    color: var(--ink);
    align-items: center;
    gap: 10px;
}

.nav-contact>span {
    display: grid;
    width: 40px;
    height: 40px;
    color: var(--primary);
    border-radius: 50%;
    background: var(--accent);
    place-items: center;
}

.nav-contact div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.nav-contact small {
    color: var(--text);
    font-size: 11px;
}

.nav-contact strong {
    font-family: var(--font-heading);
    font-size: 13px;
}

.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    border-radius: 4px;
    background: var(--primary);
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    transition: .25s;
}

.nav-overlay {
    display: none;
}

/* Hero */
.hero-section {
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 0;
    /* aspect-ratio: 2 / 1; */
}

.hero-image {
    inset: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 31, 29, .88) 0%, rgba(4, 31, 29, .68) 44%, rgba(4, 31, 29, .08) 78%);
}

.hero-content {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    min-height: 0;
    padding-top: 80px;
    padding-bottom: 90px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--white);
}

.hero-title {
    max-width: 760px;
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 600;
    line-height: 1.08;
}

.hero-description {
    max-width: 600px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    margin-top: 34px;
    align-items: center;
    gap: 27px;
}

.hero-controls {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 35px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-controls .swiper-pagination {
    position: static;
    width: auto;
    pointer-events: auto;
}

.hero-controls .swiper-pagination-bullet {
    width: 25px;
    height: 3px;
    margin: 0 4px;
    border-radius: 0;
    background: var(--white);
    opacity: .35;
}

.hero-controls .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

.hero-arrows {
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.hero-arrows .swiper-button-prev,
.hero-arrows .swiper-button-next {
    position: static;
    display: grid;
    width: 45px;
    height: 45px;
    margin: 0;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    place-items: center;
    transition: .2s;
    font-size: 20px;
}

.hero-arrows .swiper-button-prev:hover,
.hero-arrows .swiper-button-next:hover {
    color: var(--ink);
    border-color: var(--accent);
    background: var(--accent);
}

.hero-arrows .swiper-button-prev::after,
.hero-arrows .swiper-button-next::after {
    display: none;
}

/* Products */
.product-section {
    position: relative;
    overflow: hidden;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(7, 95, 92, .09) 1px, transparent 1px);
    background-size: 19px 19px;
}

.product-tabs {
    display: flex;
    margin-bottom: 34px;
    flex-wrap: wrap;
    gap: 11px;
}

.product-tab {
    padding: 12px 23px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 0 rgba(9, 45, 42, .06);
    transition: .2s;
}

.product-tab:hover,
.product-tab.active {
    border-color: var(--accent);
    background: var(--accent);
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
}

.panel-copy {
    display: flex;
    max-width: 900px;
    margin-bottom: 34px;
    color: var(--text);
    align-items: flex-start;
    gap: 28px;
}

.panel-copy strong {
    min-width: 300px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 21px;
    line-height: 1.45;
}

.panel-copy>div {
    padding-top: 3px;
}

.product-swiper {
    padding-bottom: 46px;
}

.product-card {
    overflow: hidden;
    height: 100%;
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(24, 46, 42, .08);
}

.product-image {
    display: block;
    overflow: hidden;
}

.product-image img {
    transition: transform .45s;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.product-body {
    padding: 24px 25px 26px;
}

.product-body h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.35;
}

.product-body h3 a:hover {
    color: var(--primary);
}

.product-body .card-description {
    font-size: 15px;
}

.card-link {
    display: inline-flex;
    margin-top: 17px;
    color: var(--ink);
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
}

.card-link:hover {
    color: var(--primary);
}

.product-swiper .swiper-pagination,
.blog-swiper .swiper-pagination {
    bottom: 0;
}

.product-swiper .swiper-pagination-bullet,
.blog-swiper .swiper-pagination-bullet {
    width: 22px;
    height: 3px;
    border-radius: 0;
    background: var(--primary);
    opacity: .2;
}

.product-swiper .swiper-pagination-bullet-active,
.blog-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

/* Services */
.service-section {
    color: rgba(255, 255, 255, .7);
    background: var(--primary);
}

.service-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.service-head h2 {
    color: var(--white);
}

.service-grid {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-left: 1px solid rgba(255, 255, 255, .18);
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    position: relative;
    padding: 36px 30px;
    border-right: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    transition: color .25s, background-color .25s, transform .25s;
}

.service-card:hover {
    z-index: 2;
    color: var(--text);
    background: var(--accent);
    transform: translateY(-8px);
}

.service-icon {
    margin: 51px 0 27px;
    color: var(--accent);
    font-size: 38px;
}

.service-card:hover .service-icon {
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 22px;
    line-height: 1.35;
}

.service-card:hover h3 {
    color: var(--ink);
}

.service-card .card-description {
    font-size: 15px;
}

/* Cases */
.case-section {
    overflow: hidden;
    background: var(--white);
}

.case-controls {
    display: flex;
    gap: 10px;
}

.case-controls button {
    display: grid;
    font-size: 20px;
    width: 48px;
    height: 48px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    place-items: center;
    transition: .2s;
}

.case-controls button:hover {
    color: var(--white);
    border-color: var(--primary);
    background: var(--primary);
}

.case-swiper {
    overflow: visible;
}

.case-card {
    overflow: hidden;
    border-radius: 7px;
    background: var(--accent);
}

.case-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.case-image img {
    transition: transform .45s;
}

.case-card:hover .case-image img {
    transform: scale(1.04);
}

.case-body {
    display: flex;
    padding: 23px 27px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.case-body span {
    color: rgba(23, 33, 31, .65);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.case-body h3 {
    margin-top: 3px;
    font-size: 23px;
}

/* Solutions */
.solution-section {
    color: rgba(255, 255, 255, .7);
    background: #111b19;
}

.solution-layout {
    display: grid;
    align-items: start;
    grid-template-columns: .75fr 1.25fr;
    gap: 90px;
}

.solution-copy {
    position: sticky;
    top: 150px;
}

.solution-copy h2 {
    margin-bottom: 24px;
    color: var(--white);
}

.solution-copy>div:not(.eyebrow) {
    max-width: 500px;
}

.solution-copy .btn {
    margin-top: 34px;
}

.solution-list {
    display: grid;
    gap: 22px;
}

.solution-card {
    position: sticky;
    top: 125px;
    display: grid;
    overflow: hidden;
    border-radius: 7px;
    background: #1b2926;
    grid-template-columns: .95fr 1.05fr;
    box-shadow: 0 -12px 35px rgba(0, 0, 0, .12);
}

.solution-card:nth-child(2) {
    top: 148px;
}

.solution-card:nth-child(3) {
    top: 171px;
}

.solution-image {
    overflow: hidden;
}

.solution-image img {
    transition: transform .45s;
}

.solution-card:hover .solution-image img {
    transform: scale(1.045);
}

.solution-body {
    position: relative;
    display: flex;
    padding: 36px;
    flex-direction: column;
    justify-content: center;
}

.solution-body span {
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.solution-body h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 25px;
}

.solution-body .card-description {
    font-size: 15px;
}

.solution-body>a:last-child {
    position: absolute;
    right: 28px;
    bottom: 27px;
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--ink);
    border-radius: 50%;
    background: var(--accent);
    place-items: center;
}

/* About */
.about-section {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.about-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr .9fr;
    gap: 95px;
}

.about-visual {
    position: relative;
    min-height: 620px;
}

.about-main-image {
    position: absolute;
    inset: 0 100px 0 0;
    overflow: hidden;
    border-radius: 7px;
    background: var(--primary-soft);
}

.about-main-image img {
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.about-video-card {
    position: absolute;
    right: 0;
    bottom: 45px;
    overflow: hidden;
    width: 260px;
    border: 8px solid var(--cream);
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.about-video-card img {
    aspect-ratio: 1.25;
    object-fit: cover;
}

.about-content h1 {
    max-width: 650px;
    font-size: 51px;
    line-height: 1.15;
}

.about-lead {
    margin-top: 24px;
    font-size: 18px;
}

/* Blog */
.blog-section {
    background: var(--white);
}

.blog-swiper {
    padding-bottom: 47px;
}

.blog-card {
    height: 100%;
}

.blog-image {
    position: relative;
    display: block;
    /* overflow: hidden; */
    border-radius: 7px;
}

.blog-image img {
    transition: transform .45s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.045);
}

.blog-date {
    position: absolute;
    right: 17px;
    bottom: -10px;
    display: flex;
    width: 63px;
    min-height: 67px;
    padding: 8px;
    color: var(--ink);
    border-radius: 5px  ;
    background: var(--accent);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
}

.blog-date strong {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 22px;
}

.blog-body {
    padding: 23px 7px 0;
}

.blog-meta {
    display: flex;
    margin-bottom: 11px;
    color: var(--primary);
    gap: 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-body h3 {
    margin-bottom: 13px;
    font-size: 22px;
    line-height: 1.4;
}

.blog-body h3 a:hover {
    color: var(--primary);
}

.blog-body .card-description {
    font-size: 15px;
}

/* Footer */
.site-footer {
    padding-top: 78px;
    color: rgba(255, 255, 255, .65);
    background: #111816;
}

.footer-cta {
    display: flex;
    margin-bottom: 73px;
    padding: 38px 45px;
    color: rgba(255, 255, 255, .75);
    border-radius: 7px;
    background: var(--primary);
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.footer-cta-title {
    margin-bottom: 8px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-call {
    display: flex;
    color: var(--white);
    align-items: center;
    gap: 10px;
}

.footer-call>span {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--ink);
    border-radius: 50%;
    background: var(--accent);
    place-items: center;
}

.footer-call div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.footer-call small {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

.footer-call strong {
    font-family: var(--font-heading);
    font-size: 13px;
}

.footer-grid {
    display: grid;
    padding-bottom: 65px;
    grid-template-columns: 1.4fr .75fr .85fr 1.1fr;
    gap: 70px;
}

.footer-logo {
    display: block;
    width: 143px;
    margin-bottom: 23px;
}

.footer-about>div:nth-child(2) {
    max-width: 330px;
}

.footer-social {
    display: flex;
    margin-top: 25px;
    gap: 8px;
}

.footer-social a {
    display: grid;
    width: 36px;
    height: 36px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    place-items: center;
    transition: .2s;
}

.footer-social a:hover {
    color: var(--ink);
    border-color: var(--accent);
    background: var(--accent);
}

.footer-title {
    margin-bottom: 21px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
}

.footer-column>a,
.footer-column>div:not(.footer-title) {
    display: block;
    margin: 9px 0;
}

.footer-column>a:hover {
    color: var(--accent);
}

.footer-contact i {
    display: inline-block;
    width: 24px;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    min-height: 74px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}

.footer-bottom>div:last-child {
    display: flex;
    gap: 25px;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.side-tools {
    position: fixed;
    z-index: 90;
    top: 50%;
    right: 13px;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(18, 42, 38, .14);
    flex-direction: column;
    transform: translateY(-50%);
}

.side-tools a,
.side-tools button {
    display: grid;
    width: 43px;
    height: 43px;
    color: var(--primary);
    border-bottom: 1px solid var(--line);
    place-items: center;
}

.side-tools a:hover,
.side-tools button:hover {
    color: var(--ink);
    background: var(--accent);
}

.side-tools> :last-child {
    border-bottom: 0;
}

@media (max-width: 1199px) {

    .nav-menu>ul>li>a,
    .nav-parent>a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    .nav-contact {
        display: none;
    }

    .hero-title {
        font-size: 62px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-layout {
        gap: 50px;
    }

    .about-grid {
        gap: 55px;
    }

    .about-content h1 {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 85px 0;
    }

    .section-head h2,
    .solution-copy h2 {
        font-size: 42px;
    }

    .topbar-social {
        display: none;
    }

    .nav-inner {
        min-height: 74px;
    }

    .site-logo {
        width: 135px;
        flex-basis: 135px;
    }

    .nav-menu {
        position: fixed;
        z-index: 1010;
        top: 0;
        right: 0;
        bottom: 0;
        display: block;
        overflow-y: auto;
        width: min(390px, 88vw);
        margin: 0;
        padding: 90px 24px 35px;
        background: var(--white);
        transform: translateX(100%);
        transition: transform .3s;
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-menu>ul {
        display: block;
    }

    .nav-menu>ul>li {
        border-bottom: 1px solid var(--line);
    }

    .nav-menu>ul>li>a,
    .nav-parent>a {
        min-height: 54px;
        padding: 0;
        font-size: 15px;
    }

    .nav-menu>ul>li>a::after,
    .nav-parent>a::after {
        display: none;
    }

    .nav-parent {
        justify-content: space-between;
    }

    .nav-parent>a {
        flex: 1;
    }

    .nav-chevron {
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 4px;
        background: var(--muted);
    }

    .has-dropdown:hover .nav-chevron i,
    .has-mega:hover .nav-chevron i {
        transform: none;
    }

    .has-dropdown.is-open .nav-chevron,
    .has-mega.is-open .nav-chevron {
        color: var(--white);
        background: var(--primary);
    }

    .has-dropdown.is-open .nav-chevron i,
    .has-mega.is-open .nav-chevron i {
        transform: rotate(180deg);
    }

    .dropdown-menu,
    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 5px 0 15px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .has-dropdown.is-open .dropdown-menu,
    .has-mega.is-open .mega-menu {
        display: block;
    }

    .submenu-parent {
        width: 100%;
    }

    .submenu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 4px;
        background: var(--muted);
    }

    .has-submenu.is-open .submenu-toggle {
        color: var(--white);
        background: var(--primary);
    }

    .has-submenu.is-open .submenu-toggle i {
        transform: rotate(90deg);
    }

    .submenu-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 2px 0 8px 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

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

    .mega-menu {
        grid-template-columns: 1fr;
    }

    .mega-column {
        margin-top: 12px;
    }

    .mega-heading {
        margin-bottom: 4px;
        color: var(--primary);
        font-size: 13px;
        text-transform: uppercase;
    }

    .mega-column>a {
        padding: 6px 0;
    }

    .nav-actions {
        margin-left: auto;
        padding-left: 0;
        border-left: 0;
    }

    .nav-burger {
        position: relative;
        z-index: 1020;
        display: block;
    }

    .nav-burger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-burger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-burger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-overlay {
        position: fixed;
        z-index: 1000;
        inset: 0;
        display: block;
        background: rgba(4, 28, 26, .68);
        opacity: 0;
        visibility: hidden;
        transition: .25s;
    }

    .nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* 
    .hero-slide {
        min-height: 440px;
        aspect-ratio: auto;
    } */

    .hero-content {
        min-height: 0;
    }

    .hero-title {
        font-size: 56px;
    }

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

    .solution-copy {
        position: static;
    }

    .solution-card,
    .solution-card:nth-child(2),
    .solution-card:nth-child(3) {
        position: static;
    }

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

    .about-visual {
        min-height: 600px;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 45px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .container-wide {
        width: calc(100% - 36px);
    }

    .section {
        padding: 70px 0;
    }

    .section-head {
        margin-bottom: 38px;
    }

    .section-head h2,
    .solution-copy h2 {
        font-size: 35px;
    }

    .split-head,
    .service-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-inner {
        justify-content: center;
    }

    .topbar-info a:first-child {
        display: none;
    }

    .hero-image {
        min-height: 360px;
    }

    .hero-content {
        min-height: 0;
    }

    .hero-overlay {
        background: rgba(4, 31, 29, .72);
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 85px;
    }

    .hero-title {
        font-size: 45px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .hero-arrows {
        display: none;
    }

    .panel-copy {
        display: block;
    }

    .panel-copy strong {
        display: block;
        min-width: 0;
        margin-bottom: 10px;
    }

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

    .service-icon {
        margin-top: 37px;
    }

    .solution-card {
        grid-template-columns: 1fr;
    }

    .solution-body {
        padding: 28px;
    }

    .about-visual {
        min-height: 480px;
    }

    .about-main-image {
        right: 45px;
    }

    .about-video-card {
        width: 190px;
        border-width: 5px;
    }

    .about-content h1 {
        font-size: 36px;
    }

    .footer-cta {
        padding: 30px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-cta-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-cta-title {
        font-size: 30px;
    }

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

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .side-tools {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-logo {
        width: 124px;
        flex-basis: 124px;
    }

    .nav-search-btn {
        display: none;
    }

    .hero-title {
        font-size: 39px;
    }

    .product-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .about-visual {
        min-height: 420px;
    }

    .about-video-card {
        width: 155px;
    }

    .about-content h1 {
        font-size: 32px;
    }

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

    .footer-about,
    .footer-contact {
        grid-column: auto;
    }
}

/* Demo 3 reference-led homepage composition */
.pill-button,
.pill-link {
    border-radius: 999px;
}

.pill-link {
    display: inline-flex;
    min-height: 58px;
    padding: 7px 9px 7px 30px;
    color: var(--white);
    border-radius: 999px;
    background: var(--primary);
    align-items: center;
    gap: 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

.pill-link i,
.pill-button i {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--ink);
    border-radius: 50%;
    background: var(--white);
    place-items: center;
    transition: transform .25s;
}

.pill-link:hover i,
.pill-button:hover i {
    transform: rotate(45deg);
}

.light-pill {
    color: var(--ink);
    background: var(--accent);
}

.topbar-inner {
    min-height: 40px;
}

.nav-inner,
.nav-menu>ul>li>a,
.nav-parent>a {
    min-height: 100px;
}

.mega-menu {
    top: 140px;
}

/* .hero-slide {
    min-height: 0;
    aspect-ratio: 2 / 1;
} */

.hero-slide {
    background-position: center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(3, 47, 44, .76) 0%, rgba(3, 47, 44, .43) 42%, rgba(3, 47, 44, .03) 74%);
}

.hero-content {
    min-height: 0;
    padding-top: 70px;
    padding-bottom: 90px;
}

.hero-title {
    max-width: 590px;
    font-size: 64px;
    line-height: 1.17;
}

.hero-description {
    max-width: 510px;
    margin-top: 24px;
    font-size: 16px;
}

.hero-actions {
    margin-top: 35px;
}

.hero-actions .pill-button {
    min-height: 60px;
    padding: 7px 8px 7px 30px;
}

.hero-controls {
    bottom: 80px;
}

.hero-controls .swiper-pagination-bullet {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 10px;
    margin: 0 10px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, .26);
    opacity: 1;
    transition: background-color .3s ease;
}

.hero-controls .swiper-pagination-bullet::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    content: "";
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .3s ease;
}

.hero-controls .swiper-pagination-bullet-active {
    background: var(--accent);
}

.hero-controls .swiper-pagination-bullet-active::after {
    opacity: 1;
}

/* Products */
.product-section {
    padding-top: 110px;
    padding-bottom: 105px;
}

.product-section .section-head {
    margin-bottom: 42px;
}

.product-section .section-head .eyebrow {
    display: none;
}

.product-section .section-head h2 {
    font-size: 54px;
}

.product-section .text-link {
    min-height: 58px;
    padding: 7px 9px 7px 30px;
    color: var(--white);
    border-radius: 999px;
    background: var(--primary);
    gap: 18px;
}

.product-section .text-link i {
    color: var(--ink);
    border: 0;
    background: var(--white);
}

.product-tabs {
    margin-bottom: 34px;
    justify-content: center;
}

.product-tab {
    padding: 13px 26px;
    font-size: 16px;
}

.panel-copy {
    display: block;
    max-width: 900px;
    margin: 0 auto 38px;
    text-align: center;
}

.panel-copy strong {
    display: none;
}

.panel-copy>div {
    padding: 0;
}

.product-swiper {
    padding: 0 0 74px;
}

.product-card {
    border-radius: 14px;
    box-shadow: 0 6px 0 rgba(15, 35, 32, .07);
}

.product-body {
    padding: 25px 29px 28px;
}

.product-body h3 {
    font-size: 23px;
}

.product-swiper .swiper-pagination {
    right: auto;
    bottom: 12px;
    left: 0;
    width: auto;
    width: 100%;
}

.product-swiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

/* Service - new content in the reference visual system */
.service-section {
    padding-top: 105px;
    padding-bottom: 115px;
    color: rgba(255, 255, 255, .72);
    background-color: var(--primary);
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 18px 18px;
}

.service-section .service-head {
    margin-bottom: 52px;
}

.service-section .service-head h2 {
    color: var(--white);
    font-size: 54px;
}

.service-grid {
    display: grid;
    border: 0;
    grid-template-columns: 1.08fr .92fr;
    grid-template-rows: repeat(2, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    display: grid;
    overflow: hidden;
    padding: 0;
    color: var(--text);
    border: 0;
    border-radius: 14px;
    background: var(--white);
    grid-template-columns: .9fr 1.1fr;
    transition: transform .25s;
}

.service-card:hover {
    color: var(--text);
    background: var(--white);
    transform: translateY(-6px);
}

.service-body {
    position: relative;
    display: flex;
    padding: 31px;
    flex-direction: column;
    justify-content: center;
}

.service-body>span {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-body h3,
.service-card:hover h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 24px;
}

.service-body .card-description {
    font-size: 14px;
}

.service-more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--ink);
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Case */
.case-section {
    min-height: 0;
    padding-top: 110px;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(7, 95, 92, .08) 1px, transparent 1px);
    background-size: 19px 19px;
}

.case-section .section-head {
    margin-bottom: 60px;
}

.case-section .section-head .eyebrow {
    display: none;
}

.case-section .section-head h2 {
    font-size: 54px;
}

.case-track {
    width: 100%;
    max-width: none;
}

.case-swiper {
    overflow: visible;
}

.case-swiper .swiper-slide {
    width: 700px;
}

.case-card {
    border-radius: 15px;
}

.case-body {
    padding: 26px 31px;
    align-items: flex-start;
}

.case-body span {
    color: var(--primary);
}

.case-body h3 {
    margin-top: 3px;
    font-size: 25px;
}

/* Solution */
.solution-section {
    padding-top: 120px;
    padding-bottom: 120px;
    color: var(--text);
    background: var(--white);
}

.solution-layout {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 70px;
}

.solution-copy {
    position: sticky;
    top: 150px;
    padding-top: 35px;
}

.solution-copy .eyebrow {
    color: var(--primary);
}

.solution-copy h2 {
    /* max-width: 470px; */
    margin-bottom: 38px;
    color: var(--ink);
    font-size: 53px;
    line-height: 1.18;
}

.solution-copy .btn {
    margin-top: 0;
}

.solution-list {
    display: grid;
    gap: 25px;
}

.solution-card,
.solution-card:nth-child(2),
.solution-card:nth-child(3) {
    position: sticky;
    top: var(--card-top);
    display: block;
    overflow: hidden;
    border-radius: 15px;
    background: #232423;
    box-shadow: none;
}

.solution-image {
    display: block;
}

.solution-image img {
    width: 100%;
}

.solution-body {
    display: block;
    padding: 23px 27px;
}

.solution-body h3 {
    margin-bottom: 2px;
    color: var(--accent);
    font-size: 25px;
}

.solution-body>div {
    color: var(--white);
    font-size: 13px;
}

/* About and video */
.about-section {
    min-height: 805px;
    padding-top: 108px;
    padding-bottom: 108px;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(7, 95, 92, .08) 1px, transparent 1px);
    background-size: 19px 19px;
}

.about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-visual {
    min-height: 585px;
}

.about-main-image {
    inset: 0 170px 0 0;
    overflow: visible;
    border-radius: 15px;
    background: transparent;
}

.about-main-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.about-video-card {
    right: 0;
    bottom: 70px;
    width: 315px;
    border: 0;
    border-radius: 15px;

    border: 3px solid #fff;

    box-shadow: 0 18px 45px rgba(23, 46, 42, .13);
}

.about-video-card img {
    aspect-ratio: 1 / 1.07;
}

.about-content {
    padding-left: 20px;
}

.about-label {
    display: inline-flex;
    margin-bottom: 25px;
    padding: 6px 21px;
    color: var(--primary);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    align-items: center;
    gap: 11px;
}

.about-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.about-content h1 {
    font-size: 54px;
    line-height: 1.18;
}

.about-lead {
    margin-top: 24px;
    font-size: 16px;
}

.about-checks {
    display: grid;
    margin: 32px 0 38px;
    grid-template-columns: 1fr 1fr;
    gap: 13px 35px;
}

.about-checks li {
    display: flex;
    color: var(--ink);
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.about-checks i {
    display: grid;
    width: 20px;
    height: 20px;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    place-items: center;
    font-size: 9px;
}

.video-section {
    position: relative;
    display: grid;
    min-height: 700px;
    background-position: center;
    background-size: cover;
    place-items: center;
}

.video-section::before {
    position: absolute;
    inset: 0;
    background: rgba(4, 32, 30, .06);
    content: "";
}

/* Business impact strip */
.impact-strip {
    position: relative;
    z-index: 2;
    margin-top: 82px;
    background: transparent;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px;
}

.impact-item {
    display: flex;
    min-width: 0;
    padding: 0;
    align-items: center;
    align-items: center;
    gap: 20px;
}

.impact-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    filter: brightness(0) saturate(100%) invert(51%) sepia(89%) saturate(2354%) hue-rotate(341deg) brightness(101%) contrast(88%);
}

.impact-copy {
    min-width: 0;
}

.impact-number {
    display: flex;
    color: var(--ink);
    align-items: baseline;
    font-family: var(--font-heading);
    font-size: 47px;
    font-weight: 600;
    line-height: .95;
}

.impact-label {
    margin-top: 12px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.25;
    white-space: nowrap;
}

.video-play {
    position: relative;
    z-index: 2;
    display: grid;
    width: 105px;
    height: 105px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: var(--primary);
    place-items: center;
    font-size: 28px;
    box-shadow: 0 0 0 20px rgba(255, 255, 255, .12), 0 0 0 40px rgba(255, 255, 255, .08);
}

/* Blog */
.blog-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.blog-section .section-head h2 {
    font-size: 54px;
}

.blog-swiper {
    padding-bottom: 0;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.blog-image {
    border-radius: 0;
}

.blog-date {
    right: 21px;
    min-height: 70px; 
}

.blog-body {
    padding: 24px 25px 27px;
}

.blog-meta {
    display: inline-flex;
    margin-bottom: 17px;
    padding: 7px 14px;
    color: var(--text);
    border-radius: 999px;
    background: var(--muted);
    gap: 14px;
    text-transform: none;
}

.blog-body h3 {
    font-size: 23px;
}

.blog-swiper .swiper-pagination {
    display: none;
}

@media (max-width: 1199px) {

    .nav-inner,
    .nav-menu>ul>li>a,
    .nav-parent>a {
        min-height: 88px;
    }

    .mega-menu {
        top: 128px;
    }

    .hero-title {
        font-size: 58px;
    }

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

    .solution-layout {
        gap: 45px;
    }

    .solution-copy h2 {
        font-size: 46px;
    }

    .about-content h1 {
        font-size: 45px;
    }
}

@media (max-width: 991px) {
    .nav-inner {
        min-height: 74px;
    }

    .nav-menu>ul>li>a,
    .nav-parent>a {
        min-height: 54px;
    }

    /* .hero-slide {
        min-height: 440px;
        aspect-ratio: auto;
    } */

    .hero-content {
        min-height: 0;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px 54px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .service-card {
        grid-template-columns: 1fr 1fr;
    }

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

    .solution-copy {
        position: static;
    }

    .solution-card,
    .solution-card:nth-child(2),
    .solution-card:nth-child(3) {
        position: static;
    }

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

    .about-content {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .hero-image {
        min-height: 360px;
    }

    .hero-content {
        min-height: 0;
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        max-width: 84%;
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .impact-strip {
        margin-top: 58px;
        padding-top: 34px;
    }

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

    .impact-item {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .product-section,
    .case-section,
    .blog-section {
        min-height: 0;
    }

    .product-section .section-head h2,
    .service-section .service-head h2,
    .case-section .section-head h2,
    .blog-section .section-head h2 {
        font-size: 38px;
    }

    .product-section .section-head,
    .service-section .section-head,
    .case-section .section-head,
    .blog-section .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-tabs {
        justify-content: flex-start;
    }

    .panel-copy {
        text-align: left;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .case-swiper .swiper-slide {
        width: 84vw;
    }

    .case-body {
        padding: 22px;
    }

    .solution-copy h2 {
        font-size: 38px;
    }

    .about-section {
        min-height: 0;
    }

    .about-visual {
        min-height: 480px;
    }

    .about-main-image {
        right: 80px;
    }

    .about-video-card {
        width: 220px;
    }

    .about-content h1 {
        font-size: 38px;
    }

    .about-checks {
        grid-template-columns: 1fr;
    }

    .video-section {
        min-height: 480px;
    }

    .video-play {
        width: 82px;
        height: 82px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 31px;
    }

    .pill-link {
        min-height: 52px;
        padding-left: 22px;
    }

    .pill-link i,
    .pill-button i {
        width: 38px;
        height: 38px;
    }

    .about-visual {
        min-height: 420px;
    }

    .about-main-image {
        right: 45px;
    }

    .about-video-card {
        width: 170px;
        bottom: 35px;
    }

    .about-content h1 {
        font-size: 34px;
    }
}

/* Header and footer matched to the reference */
.topbar {
    color: #545a58;
    background: #f5f5f0;
}

.topbar i {
    color: var(--primary);
}

.topbar-info,
.topbar-social {
    gap: 26px;
}

.topbar-social a {
    color: var(--ink);
    font-weight: 700;
}

.social-text {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.nav-shell {
    box-shadow: none;
}

.nav-menu {
    margin-left: 25px;
}

.site-logo {
    width: 155px;
    flex-basis: 155px;
}

.nav-menu>ul>li>a,
.nav-parent>a {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 15px;
}

.nav-menu>ul>li>a::after,
.nav-parent>a::after {
    display: none;
}

.nav-chevron {
    margin-left: -14px;
    font-size: 9px;
}

.nav-actions {
    margin-left: 18px;
    padding-left: 26px;
}

.nav-search-btn {
    width: 46px;
    height: 46px;
    font-size: 21px;
}

.nav-contact {
    gap: 15px;
}

.nav-contact>span {
    width: 54px;
    height: 54px;
    font-size: 23px;
}

.nav-contact small {
    font-size: 13px;
}

.nav-contact strong {
    margin-top: 2px;
    font-size: 18px;
}

.mega-menu {
    padding: 34px 40px 38px;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
}

.mega-heading {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
}

.mega-column>a {
    padding: 8px 0;
    font-size: 15px;
}

.site-footer {
    margin-top: 118px;
    padding-top: 0;
    color: rgba(255, 255, 255, .75);
    background-color: #222322;
    background-image: linear-gradient(rgba(34, 35, 34, .96), rgba(34, 35, 34, .96));
    background-position: center top;
    background-size: cover;
}

.footer-cta {
    min-height: 236px;
    margin-bottom: -25px;
    padding: 45px 50px;
    border-radius: 15px;
    transform: translateY(-118px);
}

.footer-cta-title {
    margin: 0;
    font-size: 46px;
    line-height: 1.2;
}

.footer-cta-button {
    display: inline-flex;
    min-height: 60px;
    padding: 7px 8px 7px 34px;
    color: var(--ink);
    border-radius: 999px;
    background: var(--white);
    align-items: center;
    gap: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.footer-cta-button i {
    display: grid;
    width: 46px;
    height: 46px;
    color: var(--white);
    border-radius: 50%;
    background: #292a29;
    place-items: center;
}

.footer-call>span {
    width: 54px;
    height: 54px;
    font-size: 22px;
}

.footer-call small {
    font-size: 14px;
}

.footer-call strong {
    margin-top: 3px;
    font-size: 19px;
}

.footer-grid {
    padding-bottom: 70px;
    grid-template-columns: 3fr 2fr 4fr 3fr;
    gap: 70px;
}

.footer-logo {
    width: 158px;
    margin-bottom: 24px;
}

.footer-about>div:nth-child(2) {
    max-width: 290px;
    line-height: 1.8;
}

.footer-title {
    margin-bottom: 24px;
    font-size: 22px;
}

.footer-column>a,
.footer-column>div:not(.footer-title):not(.footer-social) {
    margin: 10px 0;
}

.footer-contact>a,
.footer-contact>div:not(.footer-title) {
    display: flex;
    min-height: 44px;
    margin: 9px 0;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    display: grid;
    width: 44px;
    height: 44px;
    color: var(--accent);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    flex: 0 0 44px;
    place-items: center;
}

.footer-media>div:nth-child(2) {
    max-width: 290px;
    line-height: 1.75;
}

.footer-media .footer-social {
    display: flex !important;
    margin-top: 28px;
    gap: 10px;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border: 0;
    background: rgba(255, 255, 255, .08);
}

.footer-bottom {
    min-height: 100px;
    font-size: 14px;
}

@media (max-width: 1300px) {

    .nav-menu>ul>li>a,
    .nav-parent>a {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 13px;
    }

    .nav-chevron {
        margin-left: -9px;
    }

    .nav-contact strong {
        font-size: 15px;
    }
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1.2fr .8fr 1.2fr;
        gap: 45px;
    }

    .footer-media {
        grid-column: 1 / -1;
    }
}

/* Wide-container navigation and requested service cards */
.nav-actions {
    margin-left: auto;
}

.mega-menu {
    left: 50%;
    right: auto;
    width: min(1492px, calc(100vw - 48px));
    transform: translate(-50%, 8px);
    pointer-events: none;
}

.has-mega:hover .mega-menu {
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.dropdown-menu {
    top: 100%;
    left: 50%;
    width: 240px;
    padding: 18px 20px;
    transform: translate(-50%, 8px);
    pointer-events: none;
}

.dropdown-menu::before {
    top: -8px;
    height: 8px;
}

.has-dropdown:hover>.dropdown-menu {
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.dropdown-menu a {
    padding: 10px 11px;
    white-space: nowrap;
}

.service-section {
    color: var(--text);
    background-color: var(--cream);
    background-image: radial-gradient(rgba(7, 95, 92, .08) 1px, transparent 1px);
    background-size: 19px 19px;
}

.service-section .service-head h2 {
    color: var(--ink);
}

.service-section .service-head .light-pill {
    color: var(--white);
    background: var(--primary);
}

.service-grid {
    display: grid;
    border: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 28px;
}

.service-card,
.service-card:hover {
    display: grid;
    padding: 48px 50px;
    color: var(--text);
    border: 0;
    border-radius: 15px;
    background: var(--white);
    grid-template-columns: 102px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(20, 39, 35, .08);
}

.service-card .service-icon,
.service-card:hover .service-icon {
    display: grid;
    width: 100px;
    height: 100px;
    margin: 0;
    color: var(--primary);
    border-radius: 50%;
    background: var(--muted);
    place-items: center;
    font-size: 40px;
}

.service-card .service-body {
    display: block;
    padding: 0;
}

.service-card .service-body>span {
    display: none;
}

.service-card .service-body h3,
.service-card:hover .service-body h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.3;
}

.service-card .service-body .card-description {
    font-size: 17px;
    line-height: 1.8;
}

.service-card .service-more {
    margin-top: 32px;
    font-size: 16px;
}

@media (max-width: 1199px) {
    .mega-menu {
        top: 128px;
    }

    .service-card,
    .service-card:hover {
        padding: 38px;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 24px;
    }

    .service-card .service-icon,
    .service-card:hover .service-icon {
        width: 82px;
        height: 82px;
        font-size: 34px;
    }
}

@media (max-width: 991px) {

    .mega-menu,
    .has-mega:hover .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        pointer-events: auto;
    }

    .dropdown-menu,
    .has-dropdown:hover>.dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        pointer-events: auto;
    }

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

@media (max-width: 600px) {

    .service-card,
    .service-card:hover {
        padding: 30px 26px;
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 18px;
    }

    .service-card .service-icon,
    .service-card:hover .service-icon {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .service-card .service-body h3,
    .service-card:hover .service-body h3 {
        font-size: 22px;
    }

    .service-card .service-body .card-description {
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .nav-menu {
        margin-left: 0;
    }

    .mega-menu {
        padding: 5px 0 15px 14px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-heading {
        padding-bottom: 4px;
        border: 0;
        font-size: 13px;
    }

    .nav-parent>a {
        font-size: 15px;
    }

    .nav-chevron {
        margin-left: 0;
    }

    .site-footer {
        margin-top: 80px;
    }

    .footer-cta {
        min-height: 0;
        transform: translateY(-80px);
    }
}

@media (max-width: 767px) {
    .site-logo {
        width: 138px;
        flex-basis: 138px;
    }

    .footer-cta {
        margin-bottom: -30px;
        padding: 32px;
    }

    .footer-cta-title {
        font-size: 33px;
    }

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

    .footer-about,
    .footer-media {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-media {
        grid-column: auto;
    }
}

/* Requested homepage detail corrections */
.solution-copy .eyebrow {
    margin-bottom: 28px;
    gap: 14px;
    font-size: 14px;
}

.solution-copy .eyebrow::before {
    width: 34px;
    height: 3px;
}

.solution-copy h2 {
    font-size: 64px;
    line-height: 1.2;
}

.solution-copy .pill-button {
    min-height: 68px;
    padding: 7px 8px 7px 32px;
    gap: 20px;
    font-size: 16px;
}

.solution-copy .pill-button i {
    width: 54px;
    height: 54px;
    font-size: 20px;
}

.solution-copy .pill-button:hover{
    background: var(--ink);
}

.case-body {
    display: block;
    padding: 25px 31px 27px;
}

.case-body h3 {
    margin: 0 0 3px;
    font-size: 25px;
}

.case-category {
    color: var(--primary);
    font-size: 15px;
}

.case-read-more {
    display: inline-flex;
    margin-top: 15px;
    color: var(--ink);
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}

.case-read-more:hover {
    color: var(--primary);
}

.about-main-image {
    right: auto;
    width: 525px;
    max-width: 85%;
    overflow: visible;
    border-radius: 0;
}

.about-main-image img {
    height: auto;
    max-height: 585px;
    object-fit: contain;
    border-radius: 0;
}

.about-video-card {
    right: 0;
    bottom: 130px;
    width: 298px;
}

.about-video-card img {
    aspect-ratio: auto;
}

.blog-meta {
    display: none;
}

.blog-body h3 {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .solution-copy h2 {
        font-size: 54px;
    }
}

@media (max-width: 767px) {
    .solution-copy h2 {
        font-size: 40px;
    }

    .solution-copy .pill-button {
        min-height: 60px;
        padding-left: 26px;
        font-size: 15px;
    }

    .solution-copy .pill-button i {
        width: 46px;
        height: 46px;
    }

    .case-body {
        padding: 22px;
    }

    .about-main-image {
        right: auto;
        width: calc(100% - 45px);
        max-width: none;
    }

    .about-main-image img {
        width: 100%;
    }

    .about-video-card {
        bottom: 55px;
        width: 190px;
    }
}

/* Dark homepage sections and sticky header */
.site-header {
    position: relative;
    z-index: 1000;
}

.site-header.is-sticky {
    padding-bottom: var(--nav-height);
}

.site-header.is-sticky .nav-shell {
    position: fixed;
    z-index: 1010;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(16, 41, 37, .1);
    transform: translateY(0);
    transition: transform .32s ease;
    will-change: transform;
}

.site-header.is-sticky.nav-hidden .nav-shell {
    transform: translateY(-105%);
    pointer-events: none;
}

.site-header.is-sticky .mega-menu {
    top: var(--nav-height);
}

.nav-actions {
    padding-left: 0;
    border-left: 0;
}

.service-section,
.solution-section {
    color: rgba(255, 255, 255, .72);
    background-color: var(--primary);
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 18px 18px;
}

.service-section .service-head h2,
.solution-copy h2 {
    color: var(--white);
}

.service-section .service-head .light-pill {
    color: var(--ink);
    background: var(--white);
}

.service-section .service-head .light-pill i {
    color: var(--white);
    background: var(--ink);
}

.solution-copy .eyebrow {
    color: var(--accent);
}

/* Three-column services with image icons */
.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card,
.service-card:hover {
    padding: 36px 30px;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 22px;
}

.service-card .service-icon,
.service-card:hover .service-icon {
    width: 78px;
    height: 78px;
}

.service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.service-card .service-body h3,
.service-card:hover .service-body h3 {
    font-size: 23px;
}

.service-card .service-body .card-description {
    font-size: 15px;
    line-height: 1.75;
}

.service-card .service-more {
    margin-top: 24px;
}

@media (max-width: 1199px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Case slider shows up to four cards */
.case-swiper .swiper-slide {
    width: auto;
}

.case-body {
    padding: 23px 25px;
}

.case-body h3 {
    font-size: 22px;
}

/* Shared up-right arrow feedback */
.pill-link i,
.pill-button i,
.footer-cta-button i {
    transition: transform .3s ease;
}

.pill-link:hover i,
.pill-button:hover i,
.footer-cta-button:hover i {
    transform: rotate(45deg);
}

.card-link i,
.service-more i,
.case-read-more i {
    position: relative;
    top: 0;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    transition: transform .25s ease;
}

.text-link i {
    display: grid;
    line-height: 1;
    vertical-align: middle;
    place-items: center;
    transition: transform .25s ease;
}

.text-link:hover i,
.card-link:hover i,
.service-more:hover i,
.case-read-more:hover i {
    transform: rotate(45deg);
}

/* Linked list titles */
.product-body h3 a,
.service-body h3 a,
.case-body h3 a,
.solution-body h3 a,
.blog-body h3 a,
.image-card-body h3 a,
.search-item h3 a {
    transition: color .22s ease;
}

.product-body h3 a:hover,
.service-body h3 a:hover,
.case-body h3 a:hover,
.blog-body h3 a:hover,
.image-card-body h3 a:hover,
.search-item h3 a:hover {
    color: var(--primary);
}

.solution-body h3 a:hover {
    color: var(--white);
}

/* Refined mobile navigation */
.mobile-product-menu {
    display: none;
}

@media (max-width: 1400px) {
    .hero-controls {
        bottom: 30px;
    }
}

@media (max-width: 1199px) {

    .product-section,
    .about-section,
    .blog-section {
        min-height: 0;
    }

    .product-section,
    .service-section,
    .case-section,
    .solution-section,
    .about-section,
    .blog-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .video-section {
        min-height: 600px;
    }


}

@media (max-width: 991px) {
    .hero-controls {
        bottom: 20px;
    }

    .nav-menu {
        width: min(500px, calc(100vw - 12px));
        height: 100vh;
        padding: 112px 30px 42px;
        border-left: 1px solid rgba(7, 95, 92, .1);
        box-shadow: -18px 0 48px rgba(4, 31, 29, .16);
        transition: transform .34s cubic-bezier(.22, 1, .36, 1);
    }

    .nav-menu>ul>li {
        border-bottom: 1px solid #dfe4df;
    }

    .nav-menu>ul>li>a,
    .nav-parent>a {
        min-height: 68px;
        padding: 0 14px;
        color: var(--ink);
        font-size: 17px;
        font-weight: 700;
    }

    .nav-menu>ul>li>a.active {
        color: var(--primary);
    }

    .nav-parent {
        min-height: 68px;
    }

    .nav-chevron {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin-right: 0;
        border-radius: 6px;
        background: #f3f4f0;
    }

    .has-dropdown.is-open .nav-chevron,
    .has-mega.is-open .nav-chevron {
        color: var(--white);
        background: var(--primary);
    }

    .dropdown-menu,
    .has-dropdown:hover>.dropdown-menu,
    .mobile-product-menu {
        padding: 5px 0 18px 18px;
        background: transparent;
    }

    .dropdown-menu a,
    .mobile-product-menu a {
        display: flex;
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 5px;
        color: var(--text);
        align-items: center;
        font-size: 14px;
    }

    .mega-menu,
    .has-mega:hover .mega-menu,
    .has-mega.is-open .mega-menu {
        display: none;
    }

    .has-mega.is-open .mobile-product-menu {
        display: block;
    }

    .submenu-parent>a {
        padding-left: 14px;
    }

    .submenu-toggle {
        width: 30px;
        height: 30px;
        margin-right: 5px;
        border-radius: 5px;
    }

    .submenu-menu {
        padding: 2px 0 10px 20px;
    }

    .nav-burger[aria-expanded="true"] {
        position: fixed;
        top: 28px;
        right: 28px;
        width: 54px;
        height: 54px;
        padding: 13px 11px;
        border-radius: 6px;
        box-shadow: 0 10px 25px rgba(7, 95, 92, .22);
    }

    .nav-burger[aria-expanded="true"] span {
        height: 2px;
        background: var(--white);
    }

    .nav-overlay {
        background: rgba(4, 28, 26, .58);
        backdrop-filter: blur(2px);
    }

    .pill-link,
    .pill-button,
    .product-section .text-link {
        width: auto;
        max-width: 100%;
        min-height: 54px;
        padding: 6px 7px 6px 22px;
        gap: 14px;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .pill-link i,
    .pill-button i,
    .product-section .text-link i {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        line-height: 1;
        place-items: center;
    }

    .pill-link i::before,
    .pill-button i::before,
    .product-section .text-link i::before {
        line-height: 1;
    }

    .product-section,
    .about-section,
    .blog-section {
        min-height: 0;
    }

    .product-section,
    .service-section,
    .case-section,
    .solution-section,
    .about-section,
    .blog-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .video-section {
        min-height: 520px;
    }
}

@media (max-width: 520px) {
    .nav-menu {
        width: calc(100vw - 10px);
        padding: 96px 22px 34px;
    }

    .nav-menu>ul>li>a,
    .nav-parent>a {
        min-height: 62px;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 16px;
    }

    .nav-parent {
        min-height: 62px;
    }



    .nav-burger[aria-expanded="true"] {
        top: 22px;
        right: 22px;
        width: 50px;
        height: 50px;
    }

    .pill-link,
    .pill-button,
    .product-section .text-link {
        min-height: 50px;
        padding: 5px 6px 5px 19px;
        gap: 12px;
        font-size: 13px;
    }

    .pill-link i,
    .pill-button i,
    .product-section .text-link i {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .product-section,
    .service-section,
    .case-section,
    .solution-section,
    .about-section,
    .blog-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .video-section {
        min-height: 400px;
    }
}

.solution-copy .eyebrow {
    display: inline-flex;
    min-height: 42px;
    margin-bottom: 32px;
    padding: 6px 22px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50px;
    background: rgba(26, 88, 88, .48);
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-transform: none;
}

.solution-copy .eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    flex: 0 0 8px;
}

/* Larger side toolbar with hover labels */
.side-tools {
    right: 18px;
    overflow: visible;
    border-radius: 7px;
    background: transparent;
    box-shadow: 0 12px 34px rgba(18, 42, 38, .16);
}

.side-tools a,
.side-tools button {
    position: relative;
    width: 50px;
    height: 50px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    font-size: 18px;
}

.side-tools> :first-child {
    border-radius: 7px 7px 0 0;
}

.side-tools> :last-child {
    border-radius: 0 0 7px 7px;
}

.side-tools a::before,
.side-tools button::before {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    padding: 8px 13px;
    color: var(--white);
    border-radius: 4px;
    background: var(--ink);
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(8px, -50%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
}

.side-tools a:hover::before,
.side-tools button:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}




#text-side {
    display: none;
}

#text-side-phone {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    #text-side-phone {
        display: none;
    }

    #text-side {
        display: block;
    }
}

#toc-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.toc-container {
    line-height: 1.75;
}

.toc-item {
    color: #333;
    transition: ease-out .36s;
}

.toc-item-title {
    position: relative;
    font-size: 16px;
    padding: 5px 25px 5px 0;
}

.toc-sub-item {
    font-size: 14px;
    padding: 2px 0 4px 20px;
    color: #333;
}

.toc-item span {
    cursor: pointer;
    text-decoration: none;
}

.toc-item span:hover {
    text-decoration: underline;
}

.toc-item.active,
.toc-container:has(.toc-sub-list .active) .toc-item-title {
    color: var(--accent);
}

.toc-sub-list {
    padding: 3px 0;
    display: none;
}

.toc-icon {
    position: absolute;
    right: 0;
    top: 6px;
    transform: rotate(-90deg);
    font-style: normal;
    transition: ease-out .36s;
    cursor: pointer;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toc-icon:before {
    content: "⌵";
    font-weight: bold;
}

.toc-item-title.on .toc-icon {
    transform: rotate(0deg);
}

#text-content em {
    font-style: italic;
}

#text-content * {
    margin: revert;
    padding: revert;
}

#text-content table,
#text-content table th,
#text-content table td {
    width: revert;
    height: revert;
    text-align: revert;
    border-spacing: revert;
    border-collapse: revert;
}

#text-content h1,
#text-content h2,
#text-content h3,
#text-content h4,
#text-content h5,
#text-content h6,
#text-content p {
    font-size: revert;
}
