:root {
    --red: #ce2a34;
    --red-deep: #a3262e;
    --red-dark: #7a1e26;
    --ink: #161311;
    --ink-soft: #4a4341;
    --muted: #746c6a;
    --line: #e6dfdb;
    --paper: #f6f3f1;
    --white: #fffdfc;
    --shadow: 0 28px 70px rgba(20, 17, 16, 0.12);
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --header-h: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

::selection {
    background: var(--red);
    color: #fff;
}

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

.skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 80;
    background: #fff;
    color: var(--ink);
    padding: 8px 12px;
}

.skip:focus {
    top: 12px;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.kicker {
    margin: 0;
    color: var(--red);
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker.light {
    color: #f0b4b8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 13px 18px;
    background: transparent;
    color: var(--ink);
    font-weight: 560;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-red:hover {
    background: var(--red-deep);
}

.btn-red:disabled,
.consult-form.is-submitting .consult-submit {
    cursor: wait;
    opacity: 0.88;
}

.consult-form.is-submitting {
    pointer-events: none;
}

.btn-ghost {
    border-color: #d5ccc8;
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.btn-sm {
    padding: 11px 14px;
    font-size: 14px;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hp label {
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.topbar {
    background: #141110;
    color: #e6dfdb;
    font-size: 13.5px;
}

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

.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.topbar-phone:hover,
.topbar a:hover {
    color: #fff;
}

.social {
    display: flex;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.social a,
.topbar .social a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
}

.social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.topbar .social {
    margin: 0;
}

.topbar-end {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-client {
    color: #e6dfdb;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.topbar-client:hover {
    color: #fff;
}

.social svg,
.topbar-phone svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.chrome {
    position: sticky;
    top: 0;
    z-index: 40;
}

.site-header {
    background: rgba(255, 253, 252, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
}

.brand-name {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 6px;
    font-family: Montserrat, var(--sans);
    font-size: clamp(14px, 1.25vw, 20px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.brand-name-skill {
    color: #615a5a;
    white-space: nowrap;
}

.brand-name-tech {
    color: var(--red);
    white-space: nowrap;
}

.brand-name-ltd {
    color: #615a5a;
    font-size: 0.58em;
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.site-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 2px;
    height: var(--header-h);
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.nav-link,
.menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: none;
    color: var(--ink);
    padding: 8px 10px;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link[aria-current="page"] {
    color: var(--red);
    font-weight: 560;
}

.nav-link:hover,
.menu-btn:hover,
.has-menu.is-open > .menu-btn {
    color: var(--red);
}

.menu-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.has-menu.is-open > .menu-btn svg,
.has-menu:hover > .menu-btn svg {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.client-link {
    color: var(--ink-soft);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.client-link:hover {
    color: var(--red);
}

.drawer-head,
.drawer-foot,
.nav-backdrop {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle-box {
    position: relative;
    width: 18px;
    height: 12px;
}

.nav-toggle-box span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    transition: 0.2s ease;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 5px; }
.nav-toggle-box span:nth-child(3) { top: 10px; }

.nav-open .nav-toggle-box span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.nav-open .nav-toggle-box span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle-box span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
}

.menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-menu:hover > .menu-panel,
.has-menu:focus-within > .menu-panel,
.has-menu.is-open > .menu-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.is-wide {
    position: static;
}

.is-mid,
.is-list {
    position: relative;
}

.is-wide > .menu-panel {
    left: 0;
    right: 0;
}

.is-mid > .menu-panel {
    width: min(580px, calc(100vw - 48px));
}

.is-list > .menu-panel {
    min-width: 260px;
}

.mega,
.products-menu,
.panel-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.mega {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    overflow: hidden;
}

.mega-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    align-items: start;
}

.mega-group {
    min-width: 0;
}

.mega-group-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.mega-group-card:hover {
    border-color: #e4b4b6;
    box-shadow: 0 14px 34px rgba(20, 17, 16, 0.1);
    transform: translateY(-2px);
}

.mega-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--ink);
}

.mega-group-head:hover strong {
    color: var(--red);
}

.mega-group-icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.mega-group-card:hover .mega-group-icon {
    background: var(--red);
    color: #fff;
    transform: scale(1.04);
}

.mega-group-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mega-group-icon svg circle[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.mega-group-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.mega-group-meta strong {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 560;
    line-height: 1.2;
    transition: color 0.15s ease;
}

.mega-group-meta > span {
    display: none;
}

.mega-group-links {
    margin: 0;
    padding: 6px 0 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.mega-group-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 6px;
    margin-inline: -4px;
    border-radius: 7px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.25;
    text-decoration: none;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.mega-group-links a span {
    min-width: 0;
}

.mega-group-links a svg {
    width: 15px;
    height: 15px;
    flex: none;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.mega-group-links a:hover {
    background: var(--paper);
    color: var(--red);
}

.mega-group-links a:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.mega-aside {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    background:
        linear-gradient(160deg, rgba(206, 42, 52, 0.22), transparent 42%),
        #141110;
    color: #f4eeec;
}

.mega-aside .kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.mega-aside-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 560;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.mega-aside p:last-of-type {
    margin: 0;
    color: #d2c8c4;
    font-size: 13px;
    line-height: 1.45;
}

.mega-aside .btn {
    margin-top: 6px;
    align-self: flex-start;
    padding: 11px 14px;
    font-size: 14px;
}

.products-menu {
    box-sizing: border-box;
    padding: 14px;
}

.products-menu-intro {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.products-menu-intro .kicker {
    margin-bottom: 6px;
}

.products-menu-intro p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.products-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products-menu-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.products-menu-card:hover {
    border-color: #e4b4b6;
    box-shadow: 0 12px 28px rgba(20, 17, 16, 0.09);
    transform: translateY(-1px);
}

.products-menu-card:hover strong {
    color: var(--red);
}

.products-menu-icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.products-menu-card:hover .products-menu-icon {
    background: var(--red);
    color: #fff;
}

.products-menu-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.products-menu-icon svg circle[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.products-menu-meta {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.products-menu-meta strong {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 560;
    line-height: 1.25;
    transition: color 0.15s ease;
}

.products-menu-meta > span {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.products-menu-arrow {
    display: flex;
    flex: none;
    align-self: center;
    color: var(--red);
    opacity: 0;
    transform: translateX(-3px);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.products-menu-arrow svg {
    width: 15px;
    height: 15px;
}

.products-menu-card:hover .products-menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

.products-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    width: 100%;
    color: var(--red);
    font-size: 14px;
    font-weight: 560;
    text-decoration: none;
}

.products-menu-cta:hover {
    color: var(--red-deep);
}

.products-menu-cta svg {
    width: 15px;
    height: 15px;
}

.panel-list a {
    display: flex;
    text-decoration: none;
    border-radius: 12px;
}

.panel-list a:hover {
    background: var(--paper);
}

.panel-list {
    padding: 8px;
}

.panel-list a {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    color: var(--ink);
}

.panel-list svg,
.service-links svg,
.product-grid svg {
    width: 16px;
    height: 16px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero {
    position: relative;
    padding: clamp(88px, 11vh, 128px) 0 clamp(80px, 10vh, 116px);
    background: url("../img/hero.webp") center center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.37;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: min(28vh, 200px);
    background: linear-gradient(180deg, transparent 0%, var(--white) 92%);
    pointer-events: none;
}

.hero-boxed {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero-intro {
    text-align: center;
    margin-bottom: 28px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 8px 14px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-intro h1 {
    margin: 0 auto;
    color: #fff;
    font-family: Poppins, var(--sans);
    font-size: clamp(34px, 4.6vw, 50px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
}

.hero-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 28px clamp(20px, 3vw, 35px);
    border: 0;
    border-radius: 0;
    background: var(--red);
    box-shadow: none;
    text-align: left;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    align-items: center;
    gap: 24px 32px;
}

.hero-panel-copy {
    min-width: 0;
}

.hero-panel-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-lede {
    margin: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.6;
}

.hero-lede strong {
    color: #fff;
    font-weight: 600;
}

.hero-offerings {
    margin: 16px 0 0;
    max-width: none;
    color: #d4d4d4;
    font-size: 13px;
    font-weight: 560;
    line-height: 1.55;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: min(100%, 260px);
}

.hero-actions .btn {
    justify-content: center;
    width: 100%;
}

.hero-panel .btn-red {
    background: #fff;
    color: var(--red);
}

.hero-panel .btn-red:hover {
    background: #f6f3f1;
    color: var(--red-deep);
}

.hero-panel .hero-btn-outline {
    border-color: #615a5a;
    background: #615a5a;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.hero-panel .hero-btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: #615a5a;
}

.section-head h2,
.worldwide blockquote p,
.consult h2,
.missing h1,
.service-card h3,
.product-grid strong {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.035em;
}

.lede {
    max-width: 62ch;
    margin-bottom: 14px;
    color: var(--ink-soft);
    font-size: 18px;
}

.hero-line {
    max-width: 46ch;
    margin: 0;
    color: var(--muted);
}

.region-line {
    margin: 0 auto;
    padding: 16px 0;
    color: var(--muted);
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.region-line span {
    margin-right: 14px;
    color: var(--red);
}

.services,
.consult {
    padding: 92px 0;
}

.section-head {
    max-width: 740px;
    margin-bottom: 18px;
}

.section-head h2,
.consult h2 {
    margin: 10px 0 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px 22px 58px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    scroll-margin-top: 110px;
    overflow: hidden;
}

.service-card:hover {
    border-color: #e4b4b6;
}

.service-card h3 {
    margin: 0 0 10px;
    padding-right: 8px;
    font-size: 22px;
    line-height: 1.15;
}

.service-text {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.service-links {
    margin: auto 0 0;
    padding: 12px 0 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.service-card-icon {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--red);
    opacity: 0.28;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-card-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-icon svg circle[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.service-card:hover .service-card-icon {
    opacity: 0.5;
    transform: translateY(-2px);
}

.service-links a {
    display: block;
    padding: 5px 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    text-decoration: none;
}

.service-links a:hover {
    color: var(--red);
}

.worldwide {
    padding: 84px 0;
    background: var(--paper);
}

.worldwide-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.worldwide blockquote {
    margin: 0;
}

.worldwide blockquote p {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.12;
}

.products {
    position: relative;
    padding: 96px 0 104px;
    background:
        radial-gradient(820px 380px at 8% -8%, rgba(206, 42, 52, 0.22), transparent 62%),
        radial-gradient(640px 320px at 100% 112%, rgba(206, 42, 52, 0.12), transparent 58%),
        #12100f;
    color: #f6f1ef;
    overflow: hidden;
}

.section-head-light h2 {
    color: #fff;
}

.products-head {
    max-width: 720px;
}

.products-head .section-head {
    max-width: none;
    margin-bottom: 0;
}

.products-lede {
    margin: 16px 0 0;
    max-width: 48ch;
    color: #c9bfbb;
    font-size: 17px;
    line-height: 1.55;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--red), rgba(206, 42, 52, 0));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.product-card:hover {
    border-color: rgba(206, 42, 52, 0.55);
    background: #1b1715;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    transform: translateY(-3px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:focus-visible {
    outline: 2px solid #f0b4b8;
    outline-offset: 3px;
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.product-card-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(206, 42, 52, 0.14);
    color: #f4c4c7;
    transition:
        background 0.22s ease,
        color 0.22s ease;
}

.product-card:hover .product-card-icon {
    background: var(--red);
    color: #fff;
}

.product-card-icon svg {
    width: 22px;
    height: 22px;
}

.product-card-icon svg circle[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.product-card-index {
    color: rgba(246, 241, 239, 0.55);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 560;
    letter-spacing: 0.08em;
}

.product-grid strong {
    font-size: clamp(26px, 2.2vw, 32px);
    line-height: 1.12;
}

.product-card-text {
    margin-top: 12px;
    max-width: 46ch;
    color: #d4cac6;
    font-size: 16.5px;
    line-height: 1.55;
}

.product-card em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #f6f1ef;
    font-style: normal;
    font-size: 14px;
    font-weight: 560;
}

.product-card em svg {
    transition: transform 0.22s ease;
}

.product-card:hover em svg {
    transform: translateX(4px);
}

.consult-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}

.consult-copy h2 {
    margin-bottom: 0;
}

.consult-copy h2 + .lede {
    margin-top: 24px;
}

.consult-points {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.consult-points a {
    display: inline-block;
    padding: 6px 0;
}

.consult-points a:hover {
    color: var(--red);
}

.consult-point-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.consult-point-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
}

.consult-point-icon svg {
    width: 20px;
    height: 20px;
}

.consult-point-link--phone .consult-point-icon {
    background: var(--red);
    box-shadow: 0 6px 18px rgba(206, 42, 52, 0.32);
}

.consult-point-link--phone .consult-point-icon svg {
    fill: currentColor;
}

.consult-point-link--phone:hover .consult-point-icon {
    background: var(--red-deep);
}

.consult-point-link--whatsapp .consult-point-icon {
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.consult-point-link--whatsapp .consult-point-icon svg {
    fill: currentColor;
}

.consult-point-link--whatsapp:hover .consult-point-icon {
    background: #1ebe5d;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
}

.consult-point-link--mail .consult-point-icon {
    background: rgba(206, 42, 52, 0.12);
    color: var(--red);
    box-shadow: 0 6px 16px rgba(20, 17, 16, 0.06);
}

.consult-point-link--mail .consult-point-icon svg {
    stroke: currentColor;
    fill: none;
}

.consult-point-link--mail:hover .consult-point-icon {
    background: rgba(206, 42, 52, 0.18);
}

.consult-point-link--neutral .consult-point-icon {
    background: #e8e2de;
    color: var(--ink-soft);
    box-shadow: 0 6px 16px rgba(20, 17, 16, 0.06);
}

.consult-point-link--neutral .consult-point-icon svg {
    stroke: currentColor;
    fill: none;
}

.consult-point-link:hover {
    color: var(--ink);
}

.consult-form {
    position: relative;
}

.consult-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(20, 17, 16, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 14px;
}

.field span {
    color: var(--muted);
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd4d0;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
}

.field textarea {
    resize: vertical;
}

.field-captcha {
    max-width: 220px;
}

.field-captcha input {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(206, 42, 52, 0.15);
}

.form-note {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14.5px;
}

.form-note.is-ok {
    background: #eaf5ee;
    color: #1d5a32;
}

.form-note.is-error {
    background: #fdecee;
    color: var(--red-dark);
}

.site-footer {
    padding-top: 72px;
    background: #100e0d;
    color: #e7e1de;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 28px;
    align-items: start;
}

.footer-logo img {
    height: 108px;
    width: auto;
    max-width: none;
}

.footer-tag {
    margin: 12px 0 8px;
    color: #b7aeab;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
}

.footer-phone {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.footer-label {
    margin: 0 0 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-base a {
    color: #cfc6c2;
    text-decoration: none;
}

.footer-links a {
    display: inline-block;
    padding: 4px 0;
}

.footer-links a:hover,
.footer-base a:hover,
.footer-phone:hover {
    color: #fff;
}

.footer-base {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-base-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 22px;
    color: #9c948f;
    font-size: 14px;
}

.footer-base-inner p {
    margin: 0;
}

.page-hero {
    padding: 36px 0 48px;
    background:
        linear-gradient(180deg, rgba(20, 17, 16, 0.37), rgba(20, 17, 16, 0.52)),
        url("../img/hero.webp") center / cover no-repeat;
    color: #fff;
}

.page-hero-stack {
    text-align: left;
}

.page-hero-head {
    padding-inline: clamp(20px, 3vw, 35px);
}

.page-hero h1 {
    margin: 12px 0 0;
    color: #fff;
    font-family: Poppins, var(--sans);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.page-hero .kicker {
    color: #f0b4b8;
}

.page-hero-panel {
    width: 100%;
    margin-top: 24px;
    padding: 28px clamp(20px, 3vw, 35px);
    background: var(--red);
    text-align: left;
    box-sizing: border-box;
}

.page-hero-panel .lede {
    margin: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.6;
}

.page-hero-contact {
    padding-bottom: 0;
    border-bottom: 0;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    opacity: 0.45;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    color: #f0b4b8;
}

.contact-channels {
    padding: 56px 0 12px;
    margin-top: 0;
    background: var(--paper);
}

.page-contact .contact-channels {
    padding-top: 48px;
}

.about-office {
    margin: 0;
    padding: 0;
    background: var(--paper);
}

.about-office img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-founder {
    padding: 64px 0;
    background: var(--paper);
}

.about-founder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: 48px;
    align-items: start;
}

.about-founder-copy h2,
.about-story-card h2,
.about-pillar h2 {
    margin: 10px 0 20px;
    font-family: var(--serif);
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.about-founder-copy p {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

.about-founder-copy p:last-of-type {
    margin-bottom: 0;
}

.about-founder-signoff {
    margin-top: 22px !important;
    color: var(--ink) !important;
}

.about-founder-photo {
    width: 100%;
    max-width: 280px;
    justify-self: end;
}

.about-founder-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    aspect-ratio: 433 / 576;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 22px 50px rgba(20, 17, 16, 0.1);
}

.about-story {
    padding: 72px 0;
}

.about-story-card {
    max-width: 820px;
    padding: 28px 28px 32px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 17, 16, 0.04);
}

.about-story-icon,
.about-pillar-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 12px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
}

.about-story-icon svg,
.about-pillar-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}

.about-story-card p,
.about-pillar p {
    margin: 0 0 14px;
    color: var(--ink-soft);
}

.about-pillars {
    padding: 0 0 72px;
    background: #fff;
}

.about-pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-pillar {
    padding: 26px 24px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
}

.about-worldwide {
    padding: 72px 0;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-channel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px 22px 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 17, 16, 0.04);
}

.contact-channel-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
}

.contact-channel-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-channel h2 {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.contact-channel-link {
    color: var(--red);
    font-weight: 560;
}

.contact-channel-link:hover {
    color: var(--red-deep);
}

.contact-channel-link svg {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    stroke: currentColor;
    fill: none;
}

.contact-channel-address {
    margin: 0 0 10px;
    color: var(--ink-soft);
}

.contact-channel-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-form-section {
    scroll-margin-top: 110px;
}

.contact-map {
    padding: 0 0 72px;
    background: var(--paper);
}

.contact-map-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: min(420px, 56vw);
    border: 0;
}

.contact-map-caption {
    margin: 14px 4px 0;
    color: var(--muted);
    font-size: 14px;
}

.page-contact .site-footer {
    margin-top: 0;
}

.missing {
    padding: 96px 0 120px;
}

.missing h1 {
    margin: 12px 0 16px;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.95;
}

.missing code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--paper);
    font-family: var(--sans);
    font-size: 0.85em;
}

#services,
#consult,
#products {
    scroll-margin-top: 100px;
}

@media (min-width: 1081px) {
    .header-inner {
        position: relative;
    }
}

@media (min-width: 1081px) {
    .hero-intro h1 {
        max-width: none;
        white-space: nowrap;
        font-size: clamp(40px, 3.2vw, 50px);
    }
}

@media (max-width: 1080px) {
    :root {
        --header-h: 68px;
    }

    .shell {
        width: min(1180px, calc(100% - 32px));
    }

    .header-actions {
        margin-left: auto;
    }

    .header-actions .btn {
        display: none;
    }

    .topbar-social {
        display: none;
    }

    .brand-name {
        gap: 5px;
        font-size: clamp(16px, 4.2vw, 19px);
    }

    .header-inner {
        gap: 12px;
    }

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

    /* backdrop-filter would trap the fixed drawer and backdrop inside the
       header, so the closed menu sits to the right of the page and the
       document grows a horizontal scrollbar. */
    .site-header {
        background: var(--white);
        backdrop-filter: none;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 80;
        display: block;
        border: 0;
        background: rgba(12, 10, 9, 0.52);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

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

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        z-index: 90;
        display: flex;
        flex-direction: column;
        width: min(400px, 88vw);
        height: 100dvh;
        margin: 0;
        padding: 18px 22px 28px;
        overflow: auto;
        background: var(--white);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        pointer-events: none;
    }

    .nav-open .site-nav {
        transform: translateX(0);
        box-shadow: -24px 0 60px rgba(12, 10, 9, 0.18);
        pointer-events: auto;
    }

    .drawer-head,
    .drawer-foot {
        display: flex;
    }

    .drawer-head {
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
    }

    .drawer-head p {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--white);
        color: var(--ink);
        cursor: pointer;
        transition:
            border-color 0.15s ease,
            color 0.15s ease,
            background 0.15s ease;
    }

    .drawer-close svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    .drawer-close:hover {
        border-color: #e4b4b6;
        background: var(--paper);
        color: var(--red);
    }

    .drawer-foot {
        flex-direction: column;
        gap: 12px;
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }

    .drawer-foot .client-link,
    .drawer-foot a:not(.btn) {
        color: var(--ink-soft);
        text-decoration: none;
    }

    .drawer-foot .btn {
        width: 100%;
        color: #fff;
    }

    .drawer-foot .btn:hover {
        color: #fff;
    }

    .nav-open {
        overflow: hidden;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
    }

    .nav-item,
    .has-menu {
        flex-direction: column;
        align-items: stretch;
        position: static;
        border-bottom: 1px solid var(--line);
    }

    .nav-link,
    .menu-btn {
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        font-size: 18px;
    }

    .menu-panel,
    .has-menu:hover > .menu-panel,
    .has-menu:focus-within > .menu-panel {
        position: static;
        display: none;
        width: auto;
        min-width: 0;
        padding: 0 0 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: none;
        box-shadow: none;
    }

    .has-menu.is-open > .menu-panel {
        display: block;
        pointer-events: auto;
    }

    .mega,
    .products-menu,
    .panel-list {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

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

    .mega-groups {
        grid-template-columns: 1fr;
        padding: 0;
    }

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

    .products-menu-card {
        transform: none;
    }

    .products-menu-card:hover {
        transform: none;
    }

    .products-menu-arrow {
        opacity: 0.45;
        transform: translateX(0);
    }

    .mega-group-card {
        transform: none;
    }

    .mega-group-card:hover {
        transform: none;
    }

    .mega-group-links a svg {
        opacity: 0.45;
        transform: translateX(0);
    }

    .mega-aside {
        margin-top: 12px;
        border-radius: 16px;
    }

    .services,
    .consult,
    .products,
    .worldwide {
        padding: 56px 0;
    }

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

    .contact-channel-grid {
        grid-template-columns: 1fr;
    }

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

    .about-founder-photo {
        order: -1;
        max-width: 240px;
        margin: 0 auto 8px;
        justify-self: center;
    }

    .about-founder-photo img {
        max-height: 320px;
    }

    .worldwide-grid,
    .consult-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .products-lede {
        max-width: 46ch;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .product-card {
        min-height: 0;
    }

    .footer-base-inner {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card {
        padding: 22px 20px 18px;
    }

    .product-card-top {
        margin-bottom: 20px;
    }

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

    .brand {
        gap: 8px;
    }

    .brand-logo {
        height: 40px;
    }

    .brand-name {
        gap: 4px;
        font-size: clamp(13px, 4.5vw, 17px);
    }

    .topbar-phone span {
        font-size: 12.5px;
    }

    .hero-intro h1 {
        max-width: none;
        white-space: normal;
    }

    .hero-panel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-panel-actions {
        justify-content: flex-start;
    }

    .hero-actions {
        width: 100%;
    }

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

    .region-line {
        letter-spacing: 0.04em;
        line-height: 1.7;
    }
}

.lms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.page-hero-panel .btn-red {
    background: #fff;
    color: var(--red);
}

.page-hero-panel .btn-red:hover {
    background: #f6f3f1;
    color: var(--red-deep);
}

.page-hero-panel .hero-btn-outline {
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
    color: #fff;
}

.page-hero-panel .hero-btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: var(--red);
}

.lms-shot {
    padding: 28px 0 8px;
    background: var(--paper);
}

.lms-shot figure {
    max-width: 760px;
    margin: 0 auto;
}

.lms-shot img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.lms-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.lms-facts li {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lms-facts strong,
.lms-facts span {
    display: block;
}

.lms-facts span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14.5px;
}

.lms-demos,
.lms-core,
.lms-pricing {
    padding: 84px 0;
}

.lms-demos {
    background: #fff;
}

.lms-subhead {
    margin: 36px 0 14px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
    letter-spacing: -0.03em;
}

.lms-demo-grid,
.lms-addon-grid {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.lms-demo-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.lms-demo-grid-addons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
}

.lms-demo-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    text-decoration: none;
}

.lms-demo-card:hover {
    border-color: var(--red);
    background: #fff;
}

.lms-demo-card strong {
    font-size: 18px;
}

.lms-demo-card span {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 15px;
}

.lms-demo-card em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--red);
    font-style: normal;
    font-size: 14px;
    font-weight: 560;
}

.lms-demo-card svg {
    width: 14px;
    height: 14px;
}

.lms-demo-card.is-compact {
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
}

.lms-demo-card.is-compact em {
    margin-top: 0;
    padding-top: 0;
}

.lms-ai {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    background: #141110;
    color: #f6f1ef;
}

.lms-ai-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.lms-ai > .shell {
    position: relative;
    z-index: 1;
}

.lms-ai .lms-feature-grid li {
    background:
        radial-gradient(160px circle at var(--cx, 50%) var(--cy, 0%), rgba(206, 42, 52, 0.28), transparent 70%),
        rgba(28, 25, 23, 0.72);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.lms-ai .lms-feature-grid li:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 42, 52, 0.55);
}

.lms-ai .lede {
    color: #cfc6c2;
}

.lms-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.lms-feature-grid li {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #1c1917;
}

.lms-feature-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(206, 42, 52, 0.16);
    color: #f0b4b8;
}

.lms-feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}

.lms-feature-icon svg path[fill="currentColor"],
.lms-feature-icon svg circle[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.lms-feature-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 560;
}

.lms-feature-grid p {
    margin: 0;
    color: #cfc6c2;
    font-size: 15px;
}

.lms-core-grid li {
    border-color: var(--line);
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 17, 16, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lms-core-grid li:hover {
    transform: translateY(-6px);
    border-color: rgba(206, 42, 52, 0.45);
    box-shadow: 0 22px 44px rgba(20, 17, 16, 0.1);
}

.lms-core-grid .lms-feature-icon {
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lms-core-grid li:hover .lms-feature-icon {
    background: var(--red);
    color: #fff;
    transform: scale(1.06);
}

.lms-core-grid h3 {
    color: var(--ink);
}

.lms-core-grid p {
    color: var(--ink-soft);
}

.lms-coach {
    padding: 84px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(206, 42, 52, 0.16), transparent 32%),
        #141110;
    color: #f6f1ef;
    overflow: hidden;
}

.lms-coach-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.lms-coach h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.lms-coach .lede {
    color: #cfc6c2;
}

.lms-coach-points {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.lms-coach-points li {
    position: relative;
    padding: 8px 0 8px 18px;
    color: #e7e1de;
}

.lms-coach-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.lms-coach-stage {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.lms-coach-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lms-coach-switch button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 84px;
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: transparent;
    color: #e7e1de;
    font-size: 13.5px;
    font-weight: 560;
    cursor: pointer;
}

.lms-coach-switch button span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    color: #f0b4b8;
}

.lms-coach-switch svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.lms-coach-switch svg.is-brand {
    stroke: none;
}

.lms-coach-switch svg.is-brand path {
    stroke: none;
}

.lms-coach-switch button:hover,
.lms-coach-switch button[aria-selected="true"] {
    border-color: var(--red);
    background: rgba(206, 42, 52, 0.16);
    color: #fff;
}

.lms-coach-room {
    margin-top: 14px;
    padding: 22px 20px 20px;
    border-radius: 16px;
    background: #1c1917;
    animation: lms-coach-in 0.45s ease;
}

.lms-coach-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #f0b4b8;
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lms-coach-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: lms-pulse 1.8s ease infinite;
}

.lms-coach-people {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin: 22px 0 8px;
}

.lms-coach-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cfc6c2;
}

.lms-coach-person span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 22px;
    font-weight: 560;
}

.lms-coach-person.is-learner span {
    background: #615a5a;
}

.lms-coach-link {
    position: relative;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.lms-coach-link span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: lms-link 1.8s linear infinite;
}

.lms-coach-room-title {
    margin: 18px 0 6px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
}

.lms-coach-room-text {
    margin: 0;
    color: #cfc6c2;
}

@keyframes lms-pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

@keyframes lms-link {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(320%);
    }
}

@keyframes lms-coach-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.lms-clients {
    padding: 72px 0;
    background: var(--paper);
}

.lms-clients-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.lms-clients h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 560;
    letter-spacing: -0.03em;
}

.lms-carousel-controls {
    display: flex;
    gap: 8px;
}

.lms-carousel-btn {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.lms-carousel-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.lms-carousel-btn[data-carousel-prev] svg {
    transform: rotate(90deg);
}

.lms-carousel-btn[data-carousel-next] svg {
    transform: rotate(-90deg);
}

.lms-carousel-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.lms-carousel {
    margin-top: 22px;
}

.lms-carousel-viewport {
    overflow: hidden;
}

.lms-carousel-track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.45s ease;
}

.lms-carousel-track li {
    display: flex;
    flex: 0 0 calc(100% / var(--lms-visible, 4));
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 8px;
    box-sizing: border-box;
}

.lms-carousel-track li img {
    width: calc(100% - 8px);
    height: 104px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

.lms-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.lms-carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5ccc8;
    cursor: pointer;
}

.lms-carousel-dots button.is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--red);
}

.lms-pay .section-head {
    max-width: none;
}

.lms-pay .section-head h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    white-space: nowrap;
}

.lms-pay {
    padding: 84px 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(206, 42, 52, 0.08), transparent 28%),
        var(--paper);
}

.lms-pay-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
    align-items: stretch;
}

.lms-pay-methods {
    display: grid;
    gap: 8px;
}

.lms-pay-methods button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lms-pay-methods button > span:last-child {
    display: grid;
}

.lms-pay-methods strong {
    font-size: 15px;
    font-weight: 580;
    line-height: 1.2;
}

.lms-pay-methods small {
    color: var(--muted);
    font-size: 13px;
}

.lms-pay-methods button:hover,
.lms-pay-methods button[aria-selected="true"] {
    border-color: var(--tone, var(--red));
    box-shadow: 0 12px 28px rgba(20, 17, 16, 0.08);
    transform: translateX(6px);
}

.lms-pay-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
}

.lms-pay-icon svg {
    width: 22px;
    height: 22px;
}

.lms-pay-icon.is-stripe { color: #635bff; background: rgba(99, 91, 255, 0.12); }
.lms-pay-icon.is-jazz { color: #e21b22; background: rgba(226, 27, 34, 0.12); }
.lms-pay-icon.is-easy { color: #1c8c45; background: rgba(28, 140, 69, 0.12); }
.lms-pay-icon.is-bill { color: #0b6bcb; background: rgba(11, 107, 203, 0.12); }
.lms-pay-icon.is-cash { color: #9a6b2f; background: rgba(154, 107, 47, 0.14); }
.lms-pay-icon.is-voucher { color: var(--red); background: rgba(206, 42, 52, 0.1); }
.lms-pay-icon.is-bank { color: #1f4b6e; background: rgba(31, 75, 110, 0.12); }

.lms-pay-methods button[data-pay-tab="stripe"] { --tone: #635bff; }
.lms-pay-methods button[data-pay-tab="jazz"] { --tone: #e21b22; }
.lms-pay-methods button[data-pay-tab="easy"] { --tone: #1c8c45; }
.lms-pay-methods button[data-pay-tab="bill"] { --tone: #0b6bcb; }
.lms-pay-methods button[data-pay-tab="cash"] { --tone: #9a6b2f; }
.lms-pay-methods button[data-pay-tab="voucher"] { --tone: var(--red); }
.lms-pay-methods button[data-pay-tab="transfer"] { --tone: #1f4b6e; }

.lms-pay-console {
    --pay: #635bff;
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--pay) 35%, transparent), transparent 42%),
        #161311;
    color: #f6f1ef;
    box-shadow: var(--shadow);
}

.lms-pay-portal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lms-pay-portal div {
    display: grid;
    flex: 1;
}

.lms-pay-portal strong {
    font-size: 16px;
    font-weight: 580;
}

.lms-pay-portal span {
    color: #cfc6c2;
    font-size: 13px;
}

.lms-pay-avatar {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 650;
}

.lms-pay-portal em {
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay) 22%, transparent);
    color: #fff;
    font-style: normal;
    font-size: 13px;
    font-weight: 580;
}

.lms-pay-rail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cfc6c2;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lms-pay-rail i {
    position: relative;
    flex: 1;
    height: 2px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.16);
}

.lms-pay-rail i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--pay), #fff);
    animation: lms-pay-flow 1.3s linear infinite;
}

.lms-pay-receipt {
    padding: 22px;
    border-radius: 18px;
    background: #fffdfc;
    color: var(--ink);
    animation: lms-pay-in 0.45s ease;
}

.lms-pay-receipt::before {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 99px;
    background: var(--pay);
}

.lms-pay-kicker,
.lms-pay-title,
.lms-pay-text,
.lms-pay-amount,
.lms-pay-status {
    margin: 0;
}

.lms-pay-kicker {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lms-pay-amount {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1;
}

.lms-pay-amount small {
    margin-right: 4px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 560;
    letter-spacing: 0;
}

.lms-pay-title {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 580;
}

.lms-pay-text {
    margin-top: 6px;
    color: var(--ink-soft);
    min-height: 4.8em;
}

.lms-pay-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #1c8c45;
    font-weight: 600;
}

.lms-pay-check {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1c8c45;
}

.lms-pay-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 6px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg);
    animation: lms-pay-tick 0.45s ease;
}

@keyframes lms-pay-flow {
    to { transform: translateX(350%); }
}

@keyframes lms-pay-in {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes lms-pay-tick {
    from { transform: rotate(40deg) scale(0.4); }
    to { transform: rotate(40deg) scale(1); }
}

.lms-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.lms-plan-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flex-demo-wrap {
    display: flex;
    justify-content: center;
}

.flex-demo {
    width: min(560px, 100%);
}

.flex-emi {
    padding: 84px 0;
    background:
        radial-gradient(circle at 84% 12%, rgba(206, 42, 52, 0.2), transparent 34%),
        #141110;
    color: #f6f1ef;
    overflow: hidden;
}

.flex-emi-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
    gap: 42px;
    align-items: center;
}

.flex-emi h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.flex-emi .lede {
    color: #cfc6c2;
}

.flex-emi-switch {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.flex-emi-switch button {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: transparent;
    color: #f6f1ef;
    text-align: left;
    cursor: pointer;
}

.flex-emi-switch button strong,
.flex-emi-switch button small {
    display: block;
}

.flex-emi-switch button small {
    color: #cfc6c2;
    font-size: 13px;
}

.flex-emi-switch button[aria-selected="true"] {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.flex-emi-switch button[aria-selected="true"] small {
    color: var(--muted);
}

.flex-emi-board {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: #1c1917;
    box-shadow: var(--shadow);
    animation: lms-pay-in 0.45s ease;
}

.flex-emi-top,
.flex-emi-meta,
.flex-emi-balance {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.flex-emi-top strong,
.flex-emi-balance strong {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.03em;
}

.flex-emi-top strong {
    font-size: 28px;
}

.flex-emi-top span,
.flex-emi-meta,
.flex-emi-note {
    color: #cfc6c2;
    font-size: 14px;
}

.flex-emi-meta {
    margin-top: 8px;
}

.flex-emi-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.flex-emi-track li {
    display: grid;
    min-height: 64px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #cfc6c2;
    font-size: 13px;
    font-weight: 600;
}

.flex-emi-track li.is-paid {
    border-color: rgba(28, 140, 69, 0.75);
    background: rgba(28, 140, 69, 0.18);
    color: #d7f5e3;
}

.flex-emi-track li.is-due {
    border-color: var(--red);
    background: rgba(206, 42, 52, 0.24);
    color: #fff;
    animation: flex-emi-due 1.6s ease infinite;
}

@keyframes flex-emi-due {
    70% {
        box-shadow: 0 0 0 8px rgba(206, 42, 52, 0);
    }
}

.flex-emi-balance {
    margin-top: 4px;
}

.flex-emi-balance strong {
    color: #fff;
    font-size: 32px;
}

.flex-emi-note {
    min-height: 4.8em;
    margin: 12px 0 0;
}

.lms-plan {
    display: flex;
    flex-direction: column;
    padding: 24px 22px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.lms-plan.is-featured {
    border-color: var(--red);
    box-shadow: var(--shadow);
}

.lms-plan-flag {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lms-plan h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 560;
}

.lms-plan-fit {
    min-height: 3.2em;
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.lms-plan-price {
    margin: 18px 0 0;
}

.lms-plan-price s {
    display: block;
    color: var(--muted);
    font-size: 15px;
}

.lms-plan-price strong {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1;
}

.lms-plan-price span,
.lms-plan-usd {
    color: var(--muted);
}

.lms-plan-usd,
.lms-plan-lead {
    margin: 6px 0 0;
    font-size: 14.5px;
}

.lms-plan-lead {
    margin-top: 18px;
    color: var(--ink);
    font-weight: 560;
}

.lms-plan ul {
    flex: 1;
    margin: 10px 0 18px;
    padding: 0;
    list-style: none;
}

.lms-plan li {
    padding: 6px 0 6px 16px;
    position: relative;
    color: var(--ink-soft);
    font-size: 15px;
}

.lms-plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.lms-addon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lms-addon-grid li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
}

.lms-addon-grid span {
    color: var(--ink-soft);
    font-size: 14.5px;
}

.lms-addon-grid em {
    margin-top: 8px;
    color: var(--red);
    font-style: normal;
    font-weight: 560;
}

.lms-note {
    max-width: 78ch;
    margin: 16px 0 28px;
    color: var(--muted);
    font-size: 14.5px;
}

.lms-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.lms-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.lms-table caption {
    padding: 16px 18px 0;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
    text-align: left;
    caption-side: top;
}

.lms-table th,
.lms-table td {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.lms-table thead th {
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lms-table tbody th {
    font-weight: 560;
}

.pos-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(560px, 100%);
    margin: 14px auto 0;
}

.pos-login div {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.pos-login dt {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pos-login dd {
    margin: 2px 0 0;
    font-weight: 620;
}

.pos-sale {
    padding: 84px 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(206, 42, 52, 0.18), transparent 32%),
        #141110;
    color: #f6f1ef;
    overflow: hidden;
}

.pos-sale-grid,
.pos-quotes-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
    gap: 42px;
    align-items: center;
}

.pos-sale h2,
.pos-quotes h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.pos-sale .lede {
    color: #cfc6c2;
}

.pos-sale-switch,
.pos-quote-switch {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.pos-sale-switch button,
.pos-quote-switch button {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pos-quote-switch button {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.pos-sale-switch button[aria-selected="true"] {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.pos-quote-switch button[aria-selected="true"] {
    border-color: var(--red);
    color: var(--red);
}

.pos-ticket {
    padding: 22px;
    border-radius: 18px;
    background: #fffdfc;
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: lms-pay-in 0.45s ease;
}

.pos-ticket-top,
.pos-lines li,
.pos-ticket-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pos-ticket-top strong {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
}

.pos-ticket-top span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
    font-size: 13px;
    font-weight: 650;
}

.pos-ticket-top span.is-held {
    background: rgba(154, 107, 47, 0.14);
    color: #9a6b2f;
}

.pos-ticket-top span.is-paid {
    background: rgba(28, 140, 69, 0.14);
    color: #1c8c45;
}

.pos-lines {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.pos-lines li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
}

.pos-ticket-total {
    font-size: 18px;
}

.pos-ticket-total strong {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 560;
}

.pos-ticket-note {
    min-height: 4.8em;
    margin: 12px 0 0;
    color: var(--ink-soft);
}

.auto-spec {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.pos-quotes {
    padding: 84px 0;
    background: var(--paper);
}

.pos-quote {
    margin: 0;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    animation: lms-pay-in 0.45s ease;
}

.pos-quote p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 520;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.pos-quote footer {
    display: grid;
    margin-top: 22px;
}

.pos-quote strong {
    font-size: 16px;
}

.pos-quote span {
    color: var(--muted);
}

@media (max-width: 1080px) {
    .lms-facts,
    .lms-demo-grid,
    .lms-demo-grid-addons,
    .lms-feature-grid,
    .lms-plan-grid,
    .lms-addon-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lms-coach-grid,
    .lms-pay-layout,
    .flex-emi-grid,
    .pos-sale-grid,
    .pos-quotes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .lms-facts,
    .lms-demo-grid,
    .lms-demo-grid-addons,
    .lms-feature-grid,
    .lms-plan-grid,
    .lms-addon-grid {
        grid-template-columns: 1fr;
    }

    .lms-coach-switch {
        grid-template-columns: 1fr;
    }

    .lms-pay .section-head h2 {
        font-size: clamp(20px, 6.2vw, 28px);
    }

    .lms-clients-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .pos-login {
        grid-template-columns: 1fr;
    }
}

.case-work {
    padding: 48px 0 84px;
    background: var(--paper);
}

.case-work .lms-facts {
    margin-top: 0;
}

.case-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 36px 0 22px;
}

.case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-filters button {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 560;
    cursor: pointer;
}

.case-filters button[aria-pressed="true"] {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.case-count {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.case-group + .case-group {
    margin-top: 56px;
}

.case-group[hidden] {
    display: none;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-card {
    min-width: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.case-card a,
.case-card-static {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.case-card figure {
    margin: 0;
    aspect-ratio: 640 / 390;
    overflow: hidden;
    background: #efeceb;
}

.case-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.45s ease;
}

.case-card:hover img,
.case-card:focus-within img {
    transform: scale(1.035);
}

.case-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding: 16px 18px 18px;
}

.case-tags {
    display: flex;
    gap: 10px;
    margin: 0;
    color: var(--red);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.case-card h2 {
    margin: 0;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.case-card-body > p:last-of-type {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.45;
}

.case-go {
    margin-top: auto;
    padding-top: 14px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 650;
}

.case-card:hover .case-go,
.case-card:focus-within .case-go {
    color: var(--red);
}

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

.case-logo,
.case-shot {
    margin: 0;
    min-width: 0;
}

.case-logo button,
.case-shot button {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: zoom-in;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.case-logo img {
    display: block;
    width: auto;
    max-width: 72%;
    height: 120px;
    margin: 28px auto 8px;
    object-fit: contain;
}

.case-logo .case-caption,
.case-shot .case-caption {
    padding: 8px 14px 16px;
    color: var(--muted);
    font-size: 13.5px;
}

.case-shot img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.case-shot:hover img,
.case-shot:focus-within img {
    transform: scale(1.035);
}

.case-aerial {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-lightbox {
    width: min(1080px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    background: transparent;
}

.case-lightbox::backdrop {
    background: rgba(16, 12, 12, 0.84);
}

.case-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
}

.case-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .case-grid,
    .case-aerial {
        grid-template-columns: 1fr 1fr;
    }

    .case-logos {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .case-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-grid,
    .case-logos,
    .case-aerial {
        grid-template-columns: 1fr;
    }
}

.process {
    padding: 48px 0 84px;
    background: var(--paper);
}

.process .lms-facts {
    margin-top: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    align-items: start;
    margin-top: 36px;
}

.process-steps {
    display: grid;
    gap: 10px;
}

.process-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.process-step[aria-selected="true"] {
    border-color: var(--red);
    box-shadow: var(--shadow);
}

.process-num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
    letter-spacing: -0.04em;
    color: var(--red);
}

.process-step-copy strong,
.process-step-copy span {
    display: block;
}

.process-step-copy strong {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.process-step-copy span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.45;
}

.process-file {
    position: sticky;
    top: 96px;
    padding: 32px;
    border-radius: 24px;
    background: #171311;
    color: #fff;
}

.process-file .kicker {
    color: #f0b4b8;
}

.process-file h2 {
    margin: 8px 0 12px;
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 560;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.process-file [data-process-text] {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16.5px;
    line-height: 1.55;
}

.process-points {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.process-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.process-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--red);
}

.process-note {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14.5px;
    line-height: 1.5;
}

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

    .process-file {
        position: static;
    }
}

.web-services,
.web-builds,
.web-markets,
.web-work {
    padding: 72px 0;
}

.web-services {
    padding-top: 48px;
    background: var(--paper);
}

.web-services .lms-facts {
    margin-top: 0;
}

.web-head {
    margin-top: 56px;
}

.web-inline {
    color: var(--red);
    font-weight: 650;
}

.web-grid,
.web-types {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.web-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.web-grid li,
.web-types li {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.web-card-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(206, 42, 52, 0.1);
    color: var(--red);
}

.web-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}

.web-card-icon svg path[fill="currentColor"],
.web-card-icon svg circle[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.web-grid h3,
.web-types h3,
.web-work h3 {
    margin: 0 0 8px;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.web-grid p,
.web-types p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.web-builds,
.web-work {
    background: #fff;
}

.web-builds.is-paper {
    background: var(--paper);
}

.web-types.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-types {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.web-steps {
    list-style: none;
}

.web-steps .process-num {
    display: block;
    margin-bottom: 10px;
}

.web-stack-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-stack {
    padding: 84px 0;
    background: #171311;
    color: #fff;
}

.web-stack .section-head h2 {
    color: #fff;
}

.light-copy {
    color: rgba(255, 255, 255, 0.78);
}

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

.web-stack h3 {
    margin: 0 0 14px;
    color: #f0b4b8;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.web-stack ul,
.web-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-stack li,
.web-industries li {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
}

.web-stack li {
    background: rgba(255, 255, 255, 0.08);
}

.web-markets {
    background: var(--paper);
}

.web-packages {
    margin-top: 28px;
}

.web-faq {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.web-faq li {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.web-faq h3 {
    margin: 0 0 8px;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.web-faq p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.web-industries li {
    border: 1px solid var(--line);
    background: #fff;
}

.web-work-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.web-work-head .section-head {
    margin-bottom: 0;
}

.web-work .case-grid {
    margin-top: 28px;
}

.btn-dark {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    background: #2a2422;
}

@media (max-width: 1080px) {
    .web-grid,
    .web-types,
    .web-stack-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .web-grid,
    .web-types,
    .web-types.is-three,
    .web-stack-grid,
    .web-stack-grid.is-three {
        grid-template-columns: 1fr;
    }

    .web-work-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.ai-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 72px;
    background:
        radial-gradient(820px 380px at 88% 0%, rgba(206, 42, 52, 0.38), transparent 62%),
        radial-gradient(540px 320px at 0% 110%, rgba(206, 42, 52, 0.18), transparent 60%),
        #141110;
    color: #fff;
}

.ai-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 42, 52, 0.45), transparent 68%);
    filter: blur(2px);
    pointer-events: none;
    animation: ai-float 11s ease-in-out infinite;
}

.ai-orb-a {
    top: -80px;
    right: 8%;
}

.ai-orb-b {
    bottom: -120px;
    left: -40px;
    animation-delay: -4s;
}

@keyframes ai-float {
    0%,
    100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 18px, 0); }
}

@keyframes ai-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.ai-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 42px;
    align-items: center;
}

.ai-hero h1 {
    margin: 12px 0 0;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(46px, 5.4vw, 72px);
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.96;
}

.ai-hero .lede {
    max-width: 46ch;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.ai-suite {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.ai-suite a {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 560;
}

.ai-suite a[aria-current="page"] {
    border-color: transparent;
    background: var(--red);
    color: #fff;
}

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

.ai-hero .hero-btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
}

.ai-hero .hero-btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.ai-stage,
.ai-chat,
.ai-layers,
.ai-brief {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.ai-stage,
.ai-layers,
.ai-brief {
    padding: 18px;
}

.ai-stage-rail {
    position: relative;
}

.ai-stage-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.ai-stage-tabs::before {
    content: "";
    position: absolute;
    top: 21px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.16);
}

.ai-stage-pulse {
    position: absolute;
    z-index: 1;
    top: 16px;
    left: calc(10% + (var(--ai-index, 0) * 20%));
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(206, 42, 52, 0.22), 0 0 18px rgba(206, 42, 52, 0.85);
    transition: left 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ai-stage-tabs button,
.ai-layer,
.ai-brief button {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.ai-stage-tabs button {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 560;
}

.ai-stage-tabs button span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: #1c1816;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.ai-stage-tabs button[aria-selected="true"] {
    color: #fff;
}

.ai-stage-tabs button[aria-selected="true"] span {
    border-color: var(--red);
    background: var(--red);
}

.ai-stage-panels,
.ai-layer-copy,
.ai-brief-copy {
    margin-top: 18px;
    padding: 18px 18px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    animation: ai-rise 0.4s ease;
}

.ai-stage-panels h2,
.ai-layer-copy h2,
.ai-brief-copy h2 {
    margin: 0;
    color: #fff;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
    letter-spacing: -0.03em;
}

.ai-stage-panels p,
.ai-layer-copy p,
.ai-brief-copy p {
    margin: 8px 0 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
}

.ai-layers,
.ai-brief {
    display: grid;
    gap: 8px;
}

.ai-switch-list {
    display: grid;
    gap: 8px;
}

.ai-layer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    text-align: left;
}

.ai-layer strong {
    font-weight: 560;
}

.ai-layer span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: rgba(206, 42, 52, 0.18);
    color: #f0b4b8;
    font-size: 12px;
    font-weight: 650;
}

.ai-layer[aria-selected="true"] {
    background: #fff;
    color: var(--ink);
}

.ai-layer[aria-selected="true"] span {
    background: var(--red);
    color: #fff;
}

.ai-layer-copy {
    margin-top: 4px;
}

.ai-brief {
    display: grid;
    gap: 8px;
}

.ai-brief button {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    text-align: left;
    font-weight: 560;
}

.ai-brief button span {
    color: #f0b4b8;
    font-family: var(--serif);
    font-size: 22px;
}

.ai-brief button[aria-selected="true"] {
    background: #fff;
    color: var(--ink);
}

.ai-brief button[aria-selected="true"] span {
    color: var(--red);
}

.ai-chat {
    overflow: hidden;
    background: #fff;
    color: var(--ink);
}

.ai-chat-switch {
    display: flex;
    gap: 6px;
    padding: 12px;
    background: #1c1816;
}

.ai-chat-switch button {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-size: 13px;
    font-weight: 560;
    cursor: pointer;
}

.ai-chat-switch button[aria-selected="true"] {
    border-color: transparent;
    background: var(--red);
    color: #fff;
}

.ai-chat-log {
    display: flex;
    min-height: 320px;
    max-height: 380px;
    flex-direction: column;
    gap: 10px;
    overflow: auto;
    padding: 18px;
}

.ai-bubble {
    max-width: 86%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.45;
    animation: ai-rise 0.35s ease;
}

.ai-bubble.is-user {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: var(--ink);
    color: #fff;
}

.ai-bubble.is-bot {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    background: var(--paper);
    color: var(--ink);
}

.ai-typing {
    display: inline-flex;
    gap: 4px;
    align-self: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--paper);
}

.ai-typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: ai-dot 1s ease-in-out infinite;
}

.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes ai-dot {
    0%,
    80%,
    100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.ai-chat-note {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--muted);
    font-size: 12.5px;
}

.ai-links {
    padding: 28px 0 72px;
    background: var(--paper);
}

.ai-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-related a {
    display: flex;
    min-height: 140px;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ai-related a:hover {
    transform: translateY(-3px);
    border-color: var(--red);
}

.ai-related strong {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.ai-related span {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.45;
}

.ai-stage-tabs button:focus-visible,
.ai-layer:focus-visible,
.ai-brief button:focus-visible,
.ai-chat-switch button:focus-visible,
.ai-suite a:focus-visible,
.ai-related a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .ai-hero-grid,
    .ai-related {
        grid-template-columns: 1fr;
    }

    .ai-stage-tabs {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ai-stage-tabs::before,
    .ai-stage-pulse {
        display: none;
    }

    .ai-stage-tabs button {
        grid-template-columns: 42px 1fr;
        justify-items: start;
        align-items: center;
    }
}

@media (max-width: 720px) {
    .ai-hero {
        padding: 28px 0 48px;
    }

    .ai-hero h1 {
        font-size: 42px;
    }

    .ai-chat-log {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
