/* =========================================================================
   Elitedge — static site stylesheet
   Brand: navy #233649 (sampled from the logo). Teal = services, blue = products,
   amber = the one spark per view. Plus Jakarta Sans for display, Inter for text.
   ========================================================================= */

/* ---------- Fonts ---------- */
/* The two families are embedded in fonts.css (generated by the build from assets/fonts). */
/* Metric-matched fallbacks so the layout doesn't jump while fonts load. */
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'); size-adjust: 103%; ascent-override: 96%; descent-override: 26%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; }

/* ---------- Tokens ---------- */
:root {
    --navy: #233649;
    --navy-deep: #1a2837;
    --navy-glow: #33506d;
    --navy-panel: #2b4157;
    --white: #ffffff;
    --mist: #f3f5f8;
    --cloud: #e9edf2;
    --line: #dce2e9;
    --line-strong: #c9d2dc;
    --slate: #5a6876;
    --on-dark-soft: #c3ccd6;
    --on-dark-faint: #8e9cab;

    --teal: #14b8a6; --teal-ink: #0f766e; --teal-tint: #e3f6f3; --teal-on-dark: #5ee0cf;
    --blue: #3b6cf6; --blue-ink: #2850d8; --blue-tint: #e8eefe; --blue-on-dark: #a5bbff;
    --amber: #f59e0b; --amber-ink: #b45309; --amber-tint: #fef3dc; --amber-on-dark: #fbbf24;
    --cerulean: #2792ce; --cerulean-ink: #1b6a99; --cerulean-tint: #e4f2fb; --cerulean-on-dark: #7cc6f0;
    --violet: #7c5cf6; --violet-ink: #5b3bd6; --violet-tint: #efebfe; --violet-on-dark: #bba8ff;
    --danger: #c2412d; --danger-tint: #fdecea;

    /* Default accent: products blue. Sections and cards override it. */
    --accent: var(--blue);
    --accent-ink: var(--blue-ink);
    --accent-tint: var(--blue-tint);
    --accent-on-dark: var(--blue-on-dark);
    --accent-solid: var(--blue-ink);
    --accent-on-solid: var(--white);

    --font-display: 'Plus Jakarta Sans', 'Jakarta Fallback', 'Segoe UI', Arial, sans-serif;
    --font-text: 'Inter', 'Inter Fallback', 'Segoe UI', Arial, sans-serif;

    --fs-display: clamp(2.6rem, 1.3rem + 4.4vw, 5.1rem);
    --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.9rem);
    --fs-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3.15rem);
    --fs-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
    --fs-lead: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
    --fs-small: 0.9375rem;
    --fs-xs: 0.8125rem;

    --space-section: clamp(4.5rem, 2.9rem + 5.2vw, 8.5rem);
    --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
    --container: 1240px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;

    --shadow-sm: 0 1px 2px rgb(26 40 55 / 0.06), 0 2px 6px rgb(26 40 55 / 0.05);
    --shadow-md: 0 2px 4px rgb(26 40 55 / 0.04), 0 14px 32px -10px rgb(26 40 55 / 0.18);
    --shadow-lg: 0 40px 90px -30px rgb(26 40 55 / 0.45), 0 14px 30px -14px rgb(26 40 55 / 0.25);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 84px;
}

.accent-teal { --accent: var(--teal); --accent-ink: var(--teal-ink); --accent-tint: var(--teal-tint); --accent-on-dark: var(--teal-on-dark); --accent-solid: var(--teal-ink); --accent-on-solid: var(--white); }
.accent-blue { --accent: var(--blue); --accent-ink: var(--blue-ink); --accent-tint: var(--blue-tint); --accent-on-dark: var(--blue-on-dark); --accent-solid: var(--blue-ink); --accent-on-solid: var(--white); }
.accent-amber { --accent: var(--amber); --accent-ink: var(--amber-ink); --accent-tint: var(--amber-tint); --accent-on-dark: var(--amber-on-dark); --accent-solid: var(--amber); --accent-on-solid: var(--navy); }
.accent-cerulean { --accent: var(--cerulean); --accent-ink: var(--cerulean-ink); --accent-tint: var(--cerulean-tint); --accent-on-dark: var(--cerulean-on-dark); --accent-solid: var(--cerulean-ink); --accent-on-solid: var(--white); }
.accent-violet { --accent: var(--violet); --accent-ink: var(--violet-ink); --accent-tint: var(--violet-tint); --accent-on-dark: var(--violet-on-dark); --accent-solid: var(--violet-ink); --accent-on-solid: var(--white); }
.side-services { --accent: var(--teal); --accent-ink: var(--teal-ink); --accent-tint: var(--teal-tint); --accent-on-dark: var(--teal-on-dark); --accent-solid: var(--teal-ink); --accent-on-solid: var(--white); }
.side-products { --accent: var(--blue); --accent-ink: var(--blue-ink); --accent-tint: var(--blue-tint); --accent-on-dark: var(--blue-on-dark); --accent-solid: var(--blue-ink); --accent-on-solid: var(--white); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h4, .h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--slate); max-width: 38em; text-wrap: pretty; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.surface-navy :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .side-panel--dark :focus-visible { outline-color: var(--amber); }
.tabular { font-variant-numeric: tabular-nums; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none; transform: translateY(-200%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--space-section); }
.section-tight { position: relative; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section-tight + .section, .section-tight + .section-tight { padding-top: 0; }
.surface-white { background: var(--white); }
.surface-mist { background: var(--mist); }
.surface-navy { background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.surface-navy .lead { color: var(--on-dark-soft); }
.surface-navy a:not(.btn) { color: var(--accent-on-dark); }
.surface-white + .surface-white:not(.section-tight) { padding-top: 0; }
.band-diagonal { clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--space-section) + 3.5vw); }

/* Brand signatures: the cropped mark as a watermark on navy, and the three edge lines. */
.watermark { position: absolute; right: -6%; bottom: -24%; width: min(560px, 60vw); height: auto; color: var(--white); opacity: 0.022; pointer-events: none; z-index: -1; }
.edge-lines { position: absolute; top: clamp(1.5rem, 3vw, 2.5rem); right: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 6px; justify-items: end; pointer-events: none; }
.edge-lines span { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.18; }
.edge-lines span:nth-child(1) { width: 46px; }
.edge-lines span:nth-child(2) { width: 32px; }
.edge-lines span:nth-child(3) { width: 20px; background: var(--amber); opacity: 1; }
.edge-lines--lg span { height: 8px; }
.edge-lines--lg span:nth-child(1) { width: 72px; }
.edge-lines--lg span:nth-child(2) { width: 50px; }
.edge-lines--lg span:nth-child(3) { width: 30px; }

/* ---------- Buttons and links ---------- */
.btn {
    --btn-bg: var(--navy); --btn-fg: var(--white); --btn-ring: transparent;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    min-height: 48px; padding: 0.75rem 1.4rem;
    border: 0; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    box-shadow: inset 0 0 0 1.5px var(--btn-ring);
    font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.1;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    overflow: hidden; isolation: isolate;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
.btn > span, .btn > .icon { position: relative; z-index: 1; }
/* A soft sheen that sweeps across on hover. */
.btn::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease-out); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary:hover { --btn-bg: var(--navy-deep); }
.btn--accent { --btn-bg: var(--amber); --btn-fg: var(--navy); box-shadow: 0 10px 24px -10px rgb(245 158 11 / 0.7); }
.btn--accent:hover { --btn-bg: #fbad2b; box-shadow: 0 14px 30px -10px rgb(245 158 11 / 0.8); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-ring: var(--line-strong); }
.btn--outline:hover { --btn-ring: var(--navy); --btn-bg: var(--white); }
.btn--outline::after, .btn--light-outline::after { background: linear-gradient(110deg, transparent 30%, rgb(35 54 73 / 0.06) 50%, transparent 70%); }
.btn--light-outline { --btn-bg: transparent; --btn-fg: var(--white); --btn-ring: rgb(255 255 255 / 0.35); }
.btn--light-outline:hover { --btn-ring: var(--white); --btn-bg: rgb(255 255 255 / 0.06); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.7rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
[data-magnetic] { will-change: transform; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Small parts ---------- */
.icon-tile {
    --tile: 44px;
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: var(--tile); height: var(--tile); border-radius: 12px;
    background: var(--accent-tint); color: var(--accent-ink);
    transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease-out);
}
.icon-tile .icon { width: 55%; height: 55%; }
.icon-tile--xs { --tile: 26px; border-radius: 7px; }
.icon-tile--sm { --tile: 34px; border-radius: 10px; }
.icon-tile--lg { --tile: 56px; border-radius: 16px; }
.icon-tile--solid { background: var(--accent-solid); color: var(--accent-on-solid); }

.pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; }
.pill .icon { width: 15px; height: 15px; }
.pill--neutral { background: var(--mist); color: var(--slate); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.check-list { display: grid; gap: 0.85rem; margin-top: 1.75rem; list-style: none; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-ink); }
.surface-navy .check-list .icon { color: var(--accent-on-dark); }
.surface-navy .check-list strong { color: var(--white); }

/* Spotlight: a soft accent glow that follows the pointer across a card. */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
[data-spotlight]:hover::before { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: 0; transition: padding 0.4s var(--ease-out); pointer-events: none; }
.site-header__inner {
    position: relative;
    display: flex; align-items: center; gap: 1.5rem;
    width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); height: var(--header-h);
    margin-inline: auto; padding-inline: var(--gutter);
    border-radius: 0;
    background: transparent;
    pointer-events: auto;
    transition: max-width 0.5s var(--ease-out), height 0.4s var(--ease-out), border-radius 0.4s, background-color 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.is-scrolled { padding-top: 12px; }
.site-header.is-scrolled .site-header__inner {
    max-width: min(1160px, calc(100% - 24px)); height: 64px; padding-inline: 1.1rem 0.6rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.78);
    -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    box-shadow: 0 0 0 1px rgb(35 54 73 / 0.08), 0 18px 40px -18px rgb(26 40 55 / 0.35);
}
.site-header.is-hidden:not(.has-open) { transform: translateY(-120%); }
.site-header { transition: padding 0.4s var(--ease-out), transform 0.45s var(--ease-out); }
.site-logo { display: flex; color: var(--navy); margin-right: auto; }
.brand-logo { width: 148px; height: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-item { position: relative; }
.nav-item > a, .nav-trigger {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.55rem 0.9rem; border: 0; border-radius: 999px; background: none;
    color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 0.975rem; text-decoration: none; cursor: pointer;
    transition: background-color 0.2s;
}
.nav-item > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded='true'] { background: rgb(35 54 73 / 0.06); text-decoration: none; }
.nav-item > a[aria-current='page'] { background: var(--navy); color: var(--white); }
.nav-trigger .icon { transition: transform 0.3s var(--ease-out); }
.nav-trigger[aria-expanded='true'] .icon { transform: rotate(180deg); }

.mega {
    position: absolute; top: calc(100% + 14px); left: 50%;
    display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 0.5rem;
    width: min(800px, calc(100vw - 2rem)); padding: 0.6rem;
    border-radius: var(--radius-lg); background: var(--white);
    box-shadow: 0 0 0 1px rgb(35 54 73 / 0.08), var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-42%, 10px) scale(0.98); transform-origin: top center;
    transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
}
.mega::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.no-js .nav-item:hover .mega, .no-js .nav-item:focus-within .mega, .nav-trigger[aria-expanded='true'] + .mega {
    opacity: 1; visibility: visible; transform: translate(-42%, 0) scale(1); transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s;
}
.mega__list { display: grid; gap: 2px; list-style: none; }
.mega__link { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.7rem 0.8rem; border-radius: 14px; color: var(--navy); text-decoration: none; transition: background-color 0.2s; }
.mega__link:hover, .mega__link:focus-visible, .mega__link.is-hovered { background: var(--mist); text-decoration: none; }
.mega__link:hover .icon-tile, .mega__link.is-hovered .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); transform: rotate(-6deg); }
.mega__link[aria-current='page'] strong { color: var(--accent-ink); }
.mega__text { display: grid; gap: 1px; }
.mega__text strong { font-family: var(--font-display); font-weight: 700; font-size: 0.975rem; }
.mega__desc { color: var(--slate); font-size: 0.85rem; line-height: 1.4; }
.mega__aside { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; border-radius: 18px; background: var(--navy); color: var(--on-dark-soft); font-size: 0.9rem; overflow: hidden; }
.mega__aside strong { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.mega__aside .link-arrow { margin-top: auto; color: var(--accent-on-dark); }
.mega__aside--preview { padding: 1rem; }
.mega__stage { position: relative; height: 150px; margin-bottom: 0.4rem; border-radius: 12px; overflow: hidden; }
.mega__preview { position: absolute; top: 0; left: 0; width: 200%; transform-origin: top left; transform: scale(0.5) translateY(10px); opacity: 0; transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.mega__preview.is-active { opacity: 1; transform: scale(0.5); }
.mega__preview .device { box-shadow: none; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; }
.nav-toggle span { position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 2px; background: var(--white); transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); transform-origin: left; transform: scaleX(var(--progress, 0)); }

.mobile-nav {
    position: fixed; inset: 0; z-index: 90; overflow-y: auto;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--white);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { list-style: none; border-top: 1px solid var(--line); }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list > li > a, .mobile-nav__list summary {
    display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0.25rem;
    color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; cursor: pointer; list-style: none;
}
.mobile-nav__list summary::-webkit-details-marker { display: none; }
.mobile-nav__list summary .icon { transition: transform 0.3s; }
.mobile-nav__list details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav__sub { display: grid; gap: 0.25rem; padding: 0 0 1rem; list-style: none; }
.mobile-nav__sub a { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.25rem; color: var(--navy); font-weight: 600; text-decoration: none; }
.mobile-nav__actions { display: grid; gap: 0.75rem; margin-top: 2rem; }
.mobile-nav__contact { margin-top: 2rem; color: var(--slate); font-size: var(--fs-small); line-height: 1.9; }
.mobile-nav__contact a { color: var(--navy); }
body.nav-open { overflow: hidden; }

@media (max-width: 1023.98px) {
    .primary-nav, .header-cta { display: none; }
    .nav-toggle { display: block; }
    :root { --header-h: 72px; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0 2rem; background: var(--navy-deep); color: var(--on-dark-soft); font-size: var(--fs-small); }
.site-footer .watermark { right: -8%; bottom: -30%; opacity: 0.025; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__top { display: grid; gap: 3rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; max-width: 26rem; }
.site-footer__brand .brand-logo { color: var(--white); width: 160px; }
.site-footer__brand > p { margin-top: 1.25rem; }
.site-footer__contact { display: grid; gap: 0.6rem; margin-top: 1.5rem; list-style: none; }
.site-footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--teal-on-dark); }
.site-footer__heading { margin-bottom: 1rem; color: var(--white); font-size: 1rem; letter-spacing: -0.01em; }
.site-footer__col ul { display: grid; gap: 0.6rem; list-style: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.1); color: var(--on-dark-faint); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 0.8fr; } .site-footer__brand { grid-column: auto; } }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0s 0.3s; }
.to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease-out); }

/* ---------- Section headers ---------- */
.section-header { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 46rem; }
.section-header--split { max-width: none; }
@media (min-width: 900px) {
    .section-header--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
    .section-header--split .lead { justify-self: end; }
}
.surface-navy .section-header h2 { color: var(--white); }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(2rem, 0.5rem + 4vw, 4rem)) 0 clamp(3.5rem, 2rem + 4vw, 6rem); overflow: hidden; }
/* Dotted grid, brighter in a circle around the pointer. */
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid-bg::before, .hero__grid-bg::after { content: ''; position: absolute; inset: 0; background-size: 26px 26px; }
.hero__grid-bg::before {
    background-image: radial-gradient(circle at 1px 1px, rgb(35 54 73 / 0.14) 1px, transparent 1.6px);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero__grid-bg::after {
    background-image: radial-gradient(circle at 1px 1px, var(--blue) 1.2px, transparent 1.8px);
    -webkit-mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 40%), #000, transparent 75%); mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 40%), #000, transparent 75%);
    opacity: var(--grid-glow, 0); transition: opacity 0.5s;
}
.hero__title { font-size: var(--fs-display); letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; }
@media (min-width: 1100px) { .hero__title { max-width: none; } }
.hero__line { display: block; }
/* Each line carries its side's colour as a highlighter stroke: blue for software, teal for people. */
.hero__line .hl {
    display: inline;
    background-image: linear-gradient(transparent 66%, var(--hl) 66%, var(--hl) 92%, transparent 92%);
    background-repeat: no-repeat; background-size: var(--hl-size, 100%) 100%;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__line .pt { margin-left: -0.07em; }
.hero__line--products { --hl: var(--blue-tint); }
.hero__line--services { --hl: var(--teal-tint); }
.hero__body { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); align-items: start; }
@media (min-width: 1024px) { .hero__body { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }
.hero__copy .btn-row { margin-top: 2rem; }
.hero__notes { display: grid; gap: 0.6rem; margin-top: 2rem; list-style: none; color: var(--slate); font-size: var(--fs-small); }
.hero__notes li { display: flex; align-items: center; gap: 0.55rem; }
.hero__notes .icon { color: var(--accent-ink); }

/* The console: products and the service team working side by side. */
.console { position: relative; display: grid; gap: 14px; perspective: 1600px; }
.console__glow { position: absolute; inset: 10% -6% -4% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(59 108 246 / 0.16), transparent), radial-gradient(closest-side at 30% 80%, rgb(20 184 166 / 0.16), transparent); filter: blur(30px); }
.console__win { will-change: transform; }
.console__win .device { box-shadow: 0 30px 70px -30px rgb(26 40 55 / 0.45), 0 0 0 1px rgb(35 54 73 / 0.08); }
.console__win--b, .console__win--c { position: relative; }
@media (min-width: 640px) {
    .console { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
    .console__win--a { grid-column: 1 / 12; grid-row: 1; }
    .console__win--b { grid-column: 1 / 7; grid-row: 2; margin-top: -40px; z-index: 2; }
    .console__win--c { grid-column: 7 / 13; grid-row: 2; margin-top: 18px; margin-left: 14px; z-index: 3; }
}
.mk-kanban--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.mk-kanban--3 > :nth-child(4) { display: none; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.mk-col[data-col] { min-height: 108px; }
.deal-move { position: relative; z-index: 2; }
.deal-move.is-won { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.mk-slots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
button.mk-slot { font: inherit; font-weight: 600; font-size: 11.5px; color: var(--navy); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
button.mk-slot:hover { border-color: var(--accent); }
button.mk-slot[aria-pressed='true'] { background: var(--accent-solid); border-color: var(--accent-solid); color: var(--accent-on-solid); }
.mk-spacer { height: 46px; }
.mk-spacer--sm { height: 44px; }
.mk-toast[data-toast] { opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s var(--ease-out); }
.mk-toast[data-toast].is-shown { opacity: 1; transform: none; }
.console-label { margin-bottom: 8px; color: var(--slate); font-size: 11.5px; font-weight: 600; }
.console-queue li { display: block; }
.console-queue button.mk-row { width: 100%; font: inherit; font-size: 12px; text-align: left; color: var(--navy); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.console-queue button.mk-row:hover { border-color: var(--accent); }
.console-queue .mk-check { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: transparent; transition: background-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.3s var(--ease-out); }
.console-queue [aria-pressed='true'] .mk-check { background: var(--accent-solid); box-shadow: none; color: var(--accent-on-solid); transform: scale(1.08); }
.console-queue [aria-pressed='true'] > span:last-child { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--line-strong); }
[data-task-bar] i { width: var(--w, 0%); transition: width 0.6s var(--ease-out); }

/* Hide the hero pieces that animate in, only while the intro is pending (the head script lifts this after 2.5s regardless). */
@media (prefers-reduced-motion: no-preference) {
    .js:not(.intro-safe) .hero__line, .js:not(.intro-safe) .hero__copy > *, .js:not(.intro-safe) .console__win,
    .js:not(.intro-safe) [data-hero-title], .js:not(.intro-safe) .page-hero__visual, .js:not(.intro-safe) .form-card { visibility: hidden; }
    .is-motion .hero__line, .is-motion .hero__copy > *, .is-motion .console__win, .is-motion [data-hero-title], .is-motion .page-hero__visual, .is-motion .form-card { visibility: visible; }
}

/* ---------- Two sides diptych ---------- */
.sides { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .sides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.side-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); background: var(--mist); }
.side-panel__head { display: flex; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.side-panel__head h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; }
.side-panel__head p { margin-top: 0.5rem; color: var(--slate); max-width: 26rem; }
.side-panel--dark { background: var(--navy); color: var(--white); }
.side-panel--dark .side-panel__head p { color: var(--on-dark-soft); }
.side-panel--dark .side-panel__head > .icon-tile { background: rgb(255 255 255 / 0.08); color: var(--accent-on-dark); }
.side-panel--dark .link-arrow { color: var(--accent-on-dark); }
.side-panel .link-arrow { margin-top: auto; padding-top: 1.5rem; }
.side-list { list-style: none; border-top: 1px solid var(--line); }
.side-panel--dark .side-list { border-color: rgb(255 255 255 / 0.1); }
.side-list li { border-bottom: 1px solid var(--line); }
.side-panel--dark .side-list li { border-color: rgb(255 255 255 / 0.1); }
.side-list a { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 0.5rem; color: inherit; text-decoration: none; border-radius: 14px; transition: background-color 0.25s, padding 0.35s var(--ease-out); }
.side-list a:hover { background: var(--white); padding-inline: 1rem 0.75rem; }
.side-panel--dark .side-list a:hover { background: rgb(255 255 255 / 0.06); }
.side-panel--dark .side-list .icon-tile { background: rgb(255 255 255 / 0.08); color: var(--accent-on-dark); }
.side-list a:hover .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); transform: rotate(-6deg) scale(1.05); }
.side-text { display: grid; flex: 1; min-width: 0; }
.side-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.side-text span { color: var(--slate); font-size: var(--fs-small); line-height: 1.45; }
.side-panel--dark .side-text span { color: var(--on-dark-soft); }
.side-go { opacity: 0.35; transform: translateX(-6px); transition: opacity 0.3s, transform 0.35s var(--ease-out); }
.side-list a:hover .side-go { opacity: 1; transform: none; }

/* ---------- Product showcase ---------- */
.showcase { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-section); --amb: var(--amber); }
.showcase__ambient { position: absolute; z-index: -1; right: -10%; top: 10%; width: 60vw; height: 70%; border-radius: 50%; background: var(--amb); opacity: 0.12; filter: blur(110px); transition: background-color 0.8s; pointer-events: none; }
.showcase__list { display: grid; gap: 1.25rem; list-style: none; }
.showcase__item { display: grid; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.showcase__item h3 a { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--navy); text-decoration: none; }
.showcase__item h3 a:hover { color: var(--accent-ink); }
.showcase__item h3 .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); }
.showcase__more p { margin: 0.75rem 0; color: var(--slate); }
.showcase__tick { display: none; }
.showcase__stage { display: none; }

/* Enhanced (desktop with motion): pinned list on the left, one live screen on the right. */
.showcase.is-enhanced .showcase__pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; min-height: 100vh; padding-block: calc(var(--header-h) + 1rem) 2rem; }
.showcase.is-enhanced { padding-block: 0; }
.showcase.is-enhanced .section-header { margin-bottom: 2rem; }
.showcase.is-enhanced .showcase__list { gap: 0; }
.showcase.is-enhanced .showcase__item { position: relative; grid-template-columns: 1fr; padding: 0.85rem 0 0.85rem 1.75rem; border-radius: 0; background: none; box-shadow: none; }
.showcase.is-enhanced .showcase__item-visual { display: none; }
.showcase.is-enhanced .showcase__tick { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.showcase.is-enhanced .showcase__tick i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.showcase.is-enhanced .showcase__item h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); transition: color 0.3s; }
.showcase.is-enhanced .showcase__item:not(.is-active) h3 a { color: #8593a2; }
.showcase.is-enhanced .showcase__item:not(.is-active) h3 .icon-tile { background: var(--cloud); color: var(--slate); }
.showcase.is-enhanced .showcase__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out), opacity 0.4s; opacity: 0; }
.showcase.is-enhanced .showcase__more > * { min-height: 0; overflow: hidden; }
.showcase.is-enhanced .is-active .showcase__more { grid-template-rows: 1fr; opacity: 1; }
.showcase.is-enhanced .showcase__more .pill { width: fit-content; }
.showcase.is-enhanced .showcase__stage { display: block; position: relative; height: min(520px, 62vh); }
.showcase__slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transform: translateY(40px) scale(0.96) rotateX(6deg); transition: opacity 0.6s, transform 0.8s var(--ease-out), visibility 0s 0.8s; perspective: 1400px; }
.showcase__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s, transform 0.8s var(--ease-out), visibility 0s; }
.showcase__slide.is-past { transform: translateY(-40px) scale(0.96); }
.showcase__slide .device { box-shadow: 0 50px 100px -40px rgb(26 40 55 / 0.5), 0 0 0 1px rgb(35 54 73 / 0.08); }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 3rem; }
@media (min-width: 960px) { .principles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; } .principles__intro { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; } }
.principles__intro .lead { margin-top: 1.25rem; }
.pull-quote { margin: 2.5rem 0 0; padding-left: 1.5rem; border-left: 4px solid var(--amber); }
.pull-quote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.25; }
.pull-quote footer { margin-top: 0.75rem; color: var(--slate); font-size: var(--fs-small); }
.value-list { list-style: none; border-top: 1px solid var(--line); }
.value-list li { display: flex; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.value-list__icon { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); color: var(--accent-ink); transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.5s var(--ease-out); }
.value-list li:hover .value-list__icon { background: var(--accent-solid); border-color: var(--accent-solid); color: var(--accent-on-solid); transform: rotate(-10deg); }
.value-list h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); }
.value-list p { margin-top: 0.4rem; color: var(--slate); }

/* ---------- Steps (real sequences only) ---------- */
.steps { position: relative; display: grid; gap: 2rem; list-style: none; }
.steps__rail { display: none; }
.steps__item { position: relative; padding-left: 4.25rem; }
.steps__num { position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--accent-ink); transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.steps__item.is-lit .steps__num { background: var(--accent-solid); color: var(--accent-on-solid); box-shadow: 0 0 0 6px var(--accent-tint); }
.steps__item h3 { margin-bottom: 0.4rem; }
.steps__item p { color: var(--slate); }
.steps--dark .steps__num { background: var(--navy); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.22); color: var(--accent-on-dark); }
.steps--dark .steps__item.is-lit .steps__num { background: var(--accent); color: var(--navy); box-shadow: 0 0 0 6px rgb(255 255 255 / 0.06); }
.steps--dark .steps__item h3 { color: var(--white); }
.steps--dark .steps__item p { color: var(--on-dark-soft); }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2rem; }
    .steps__item { padding-left: 0; padding-top: 4.5rem; }
    .steps__num { top: 0; }
    .steps__rail { display: block; position: absolute; left: 24px; right: 0; top: 23px; height: 2px; background: var(--line); }
    .steps--dark .steps__rail { background: rgb(255 255 255 / 0.14); }
    .steps__rail i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
}

/* ---------- Splits and visual stages ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
.split .lead { margin-top: 1.25rem; }
.split .btn-row { margin-top: 2rem; }
.split--top { align-items: start; }
@media (min-width: 960px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
    .split--visual { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .split--reverse > :first-child { order: 2; }
}
.visual-stage { position: relative; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-xl); }
.visual-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent-tint); transform: rotate(-2.5deg); }
.visual-stage { isolation: isolate; color: var(--accent-ink); }
.visual-stage .device { color: var(--navy); }

/* ---------- White-label brand switcher ---------- */
.brand-swap { --brand: var(--teal-ink); --brand-tint: var(--teal-tint); }
.brand-swap .device__app .icon-tile, .brand-swap .device__user, .brand-swap .mk-btn, .brand-swap .mk-cal .sel, .brand-swap .mk-slot.is-selected { background: var(--brand); border-color: var(--brand); color: var(--white); transition: background-color 0.5s, border-color 0.5s; }
.brand-swap .mk-cal .avail { background: var(--brand-tint); color: var(--brand); transition: background-color 0.5s, color 0.5s; }
.brand-swap .brand-name { color: var(--brand); transition: color 0.5s; }
.brand-swap[data-brand='maple'] { --brand: #0f766e; --brand-tint: #e3f6f3; }
.brand-swap[data-brand='harbour'] { --brand: #c2410c; --brand-tint: #ffeadf; }
.brand-swap[data-brand='northfield'] { --brand: #2850d8; --brand-tint: #e8eefe; }
.brand-swap .device { transition: transform 0.6s var(--ease-out); }
.brand-swap.is-swapping .device { transform: rotateY(8deg) scale(0.98); }
.brand-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.5rem; color: var(--slate); font-size: var(--fs-small); }
.brand-picker span { margin-right: 0.25rem; }
.brand-picker button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem; border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--navy); font-weight: 600; font-size: var(--fs-small); cursor: pointer; transition: box-shadow 0.25s, background-color 0.25s; }
.brand-picker button i { width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
.brand-picker button:hover { box-shadow: inset 0 0 0 1.5px var(--dot); }
.brand-picker button[aria-pressed='true'] { background: var(--navy); color: var(--white); box-shadow: none; }

/* ---------- Benefits ---------- */
.benefits { display: grid; list-style: none; border-top: 1px solid var(--line-strong); }
.benefits li { position: relative; isolation: isolate; padding: 2rem 1.5rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.benefits li::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--accent-tint), transparent); opacity: 0; transition: opacity 0.4s; }
.benefits li:hover::after { opacity: 1; }
.benefits li:hover .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); transform: translateY(-4px); }
.benefits h3 { margin-top: 1.25rem; }
.benefits p { margin-top: 0.4rem; color: var(--slate); }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } .benefits li { padding-inline: 1.5rem; } .benefits li:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } .benefits li { border-right: 1px solid var(--line); } .benefits li:nth-child(3n) { border-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5.5rem); border-radius: var(--radius-xl); background: var(--navy); color: var(--white); --accent: var(--blue); }
.cta-band::after { content: ''; position: absolute; inset: auto -10% -60% 30%; height: 120%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(20 184 166 / 0.22), transparent), radial-gradient(closest-side at 70% 40%, rgb(59 108 246 / 0.25), transparent); filter: blur(30px); }
.cta-band .watermark { right: -4%; bottom: -40%; width: min(520px, 55vw); }
.cta-band .edge-lines { color: var(--white); }
.cta-band h2 { max-width: 15ch; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.9rem); letter-spacing: -0.04em; }
.cta-band > p { margin-top: 1.25rem; max-width: 34rem; color: var(--on-dark-soft); font-size: var(--fs-lead); }
.cta-band .btn-row { margin-top: 2.25rem; }
.cta-band__contact { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.12); }
.cta-band__contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark-soft); font-size: var(--fs-small); text-decoration: none; }
.cta-band__contact a:hover { color: var(--white); }
.cta-band__contact .icon { width: 18px; height: 18px; color: var(--teal-on-dark); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(1.5rem, 1rem + 2vw, 2.5rem)) 0 clamp(3.5rem, 2rem + 4vw, 6rem); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--mist), var(--white)); }
.page-hero__bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgb(35 54 73 / 0.12) 1px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 20%, transparent 70%); }
.page-hero__bg::after { content: ''; position: absolute; right: -10%; top: -20%; width: 55vw; height: 80%; border-radius: 50%; background: var(--accent); opacity: 0.09; filter: blur(100px); }
.page-hero__grid { display: grid; gap: 3rem; align-items: center; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4.5rem; } .page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); } }
.page-hero__copy .lead { margin-top: 1.4rem; }
.page-hero__copy .pill-row { margin-top: 1.5rem; }
.page-hero__copy .btn-row { margin-top: 2rem; }
.page-hero__label { display: inline-flex; align-items: center; gap: 0.65rem; margin-bottom: 1.25rem; font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); }
.page-hero__label .icon-tile { --tile: 38px; }
.page-hero__visual { position: relative; transform-style: preserve-3d; }
.page-hero__visual::before { content: ''; position: absolute; inset: 8% -4% -6% 6%; z-index: -1; border-radius: var(--radius-xl); background: var(--accent-tint); transform: rotate(3deg); }
.page-hero__visual--swap::before { inset: -4% -4% 22% 6%; }
.page-hero--legal .lead, .page-hero--error .lead { margin-top: 1.25rem; }
.page-hero--legal h1, .page-hero--error h1 { margin-top: 1.5rem; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; font-size: var(--fs-xs); color: var(--slate); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Services index ---------- */
.service-index { list-style: none; border-top: 1px solid var(--line-strong); }
.service-index li { border-bottom: 1px solid var(--line); }
.service-index a { position: relative; display: grid; gap: 1rem; padding: 2rem 0.25rem; color: var(--navy); text-decoration: none; transition: padding 0.45s var(--ease-out); }
.service-index a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent-tint); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease-out); }
.service-index li { position: relative; isolation: isolate; }
.service-index a:hover::before, .service-index a:focus-visible::before { transform: scaleY(1); }
.service-index a:hover { padding-inline: 1.5rem; }
.si-name { display: flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.1; }
.si-text { display: grid; gap: 0.85rem; color: var(--slate); }
.si-go { display: none; }
@media (min-width: 900px) {
    .service-index a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 56px; align-items: center; gap: 2.5rem; }
    .si-go { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color 0.3s, color 0.3s, transform 0.45s var(--ease-out), box-shadow 0.3s; }
    .service-index a:hover .si-go { background: var(--accent-solid); color: var(--accent-on-solid); box-shadow: none; transform: rotate(45deg); }
}
.cursor-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.3s; }
.cursor-preview.is-visible { opacity: 1; }
.cursor-preview__item { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transition: opacity 0.3s; }
.cursor-preview__item.is-active { opacity: 1; }
.cursor-preview .device { box-shadow: var(--shadow-lg), 0 0 0 1px rgb(35 54 73 / 0.08); }
@media (hover: none), (max-width: 899.98px) { .cursor-preview { display: none; } }

.aside-card { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--accent-tint); }
.aside-card p { margin-top: 0.5rem; color: #3b4b5b; max-width: 40rem; }
.aside-card a:not(.btn) { color: var(--accent-ink); }
@media (min-width: 900px) { .aside-card:not(.aside-card--stack) { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.aside-card--stack { gap: 0.25rem; margin-top: 2.5rem; padding: 1.5rem; }
.aside-card--stack .link-arrow { margin-top: 0.75rem; }

/* ---------- Compare (problem and fix) ---------- */
.compare { display: grid; gap: 1rem; }
@media (min-width: 560px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare__col { padding: 1.75rem; border-radius: var(--radius-lg); }
.compare__col h3 { font-size: 1.05rem; margin-bottom: 1.25rem; }
.compare__col ul { display: grid; gap: 0.9rem; list-style: none; }
.compare__col li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--fs-small); line-height: 1.5; }
.compare__col .icon { width: 20px; height: 20px; margin-top: 1px; }
.compare__col--without { background: var(--mist); color: var(--slate); }
.compare__col--without h3 { color: var(--slate); }
.compare__col--without .icon { color: #9aa6b2; }
.compare__col--without li { text-decoration: line-through; text-decoration-color: rgb(90 104 118 / 0.35); }
.compare__col--with { background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.compare__col--with .icon { color: var(--accent-on-dark); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px rgb(35 54 73 / 0.06); transition: box-shadow 0.35s, transform 0.45s var(--ease-out); }
.feature:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), var(--shadow-md); transform: translateY(-4px); }
.feature:hover .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); }
.feature h3 { margin-top: 1.25rem; font-size: 1.15rem; }
.feature p { margin-top: 0.45rem; color: var(--slate); font-size: var(--fs-small); }
.surface-white .feature { background: var(--mist); box-shadow: none; }

.audience-list { display: grid; gap: 0; margin-top: 2rem; list-style: none; border-top: 1px solid var(--line-strong); }
.audience-list li { display: grid; gap: 0.15rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.audience-list strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.015em; }
.audience-list span { color: var(--slate); }

/* FAQ: native details, with the open and close animated by script. */
.faq { margin-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.split--top > h2 + .faq { margin-top: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.075rem; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out); }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease-out); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--navy); box-shadow: none; color: var(--white); transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover i { box-shadow: inset 0 0 0 1.5px var(--navy); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 3rem 1.4rem 0; color: var(--slate); }

.other-links { display: grid; gap: 0.75rem; margin-top: 1.5rem; list-style: none; }
@media (min-width: 640px) { .other-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .other-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.other-links a { display: flex; gap: 0.85rem; align-items: center; height: 100%; padding: 1rem 1.1rem; border-radius: var(--radius-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--navy); font-family: var(--font-display); font-weight: 700; text-decoration: none; transition: box-shadow 0.3s, transform 0.4s var(--ease-out); }
.surface-white .other-links a { background: var(--mist); box-shadow: none; }
.other-links a:hover { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-md); transform: translateY(-3px); }
.other-links small { display: block; margin-top: 2px; color: var(--slate); font-family: var(--font-text); font-weight: 400; font-size: var(--fs-xs); line-height: 1.4; }

/* ---------- Products: bento and tables ---------- */
.bento { display: grid; gap: 1rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__tile--feature { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .bento__tile { grid-column: span 2; } .bento__tile--feature { grid-column: span 4; grid-row: span 1; } .bento__tile:nth-child(2) { grid-column: span 2; } }
.bento__tile { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 1.75rem 1.75rem 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px rgb(35 54 73 / 0.06); transition: box-shadow 0.35s, transform 0.45s var(--ease-out); }
.bento__tile:hover { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-lg); transform: translateY(-6px); }
.tile-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.bento__tile h2 a, .bento__tile h3 a { color: var(--navy); text-decoration: none; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.bento__tile > p { margin-top: 0.5rem; color: var(--slate); font-size: var(--fs-small); max-width: 34rem; }
.tile-preview { margin-top: auto; padding-top: 1.75rem; }
.tile-preview .device { margin-bottom: -28px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; transform: translateY(12px); transition: transform 0.6s var(--ease-out); }
.bento__tile:hover .tile-preview .device { transform: translateY(0); }
.bento__tile--feature { background: linear-gradient(135deg, var(--white) 40%, var(--accent-tint)); }

.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
th, td { padding: 1.1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--mist); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--slate); }
tbody tr:last-child > * { border-bottom: 0; }
.fit-table tbody tr { transition: background-color 0.25s; }
.fit-table tbody tr:hover { background: var(--accent-tint); }
.fit-table th[scope='row'] a { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.fit-table th[scope='row'] a:hover { color: var(--accent-ink); }
.plan-table th[scope='row'] { font-family: var(--font-display); font-weight: 700; width: 26%; }
.plan-table td .icon { width: 20px; height: 20px; margin-right: 0.5rem; color: var(--teal-ink); }
.plan-table thead th:last-child { background: var(--navy); color: var(--white); }
@media (max-width: 719.98px) {
    .fit-table thead { display: none; }
    .fit-table tr { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--line); }
    .fit-table th, .fit-table td { border: 0; padding: 0.35rem 1.25rem; }
    .fit-table td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--navy); }
}

.plan-options { display: grid; gap: 1rem; }
@media (min-width: 768px) { .plan-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: var(--radius-lg); background: var(--white); }
.plan h3 { margin-top: 0.75rem; font-size: 1.5rem; }
.plan p { color: var(--slate); }
.plan .link-arrow { margin-top: auto; padding-top: 0.75rem; }
.plan--brand { background: var(--navy); color: var(--white); }
.plan--brand p { color: var(--on-dark-soft); }
.plan--brand .icon-tile { background: rgb(255 255 255 / 0.08); color: var(--accent-on-dark); }
.plan--brand .link-arrow { color: var(--accent-on-dark); }
.plan .watermark { width: 260px; bottom: -40%; }

.product-chips { display: grid; gap: 0.6rem; list-style: none; }
.product-chips a { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem 1rem 0.75rem 0.75rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--navy); font-family: var(--font-display); font-weight: 700; text-decoration: none; transition: box-shadow 0.3s, transform 0.4s var(--ease-out), background-color 0.3s; }
.product-chips .icon-tile { border-radius: 50%; }
.product-chips a:hover, .product-chips a.is-picked { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-md); transform: translateX(6px); }
.product-chips a.is-picked .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); }
.chip-go { margin-left: auto; opacity: 0.4; transition: opacity 0.3s, transform 0.3s; }
.product-chips a:hover .chip-go { opacity: 1; transform: translateX(3px); }
.product-chips--pick { margin-top: 2.5rem; }

/* ---------- About ---------- */
.about-figures { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1px; border-radius: var(--radius-xl); background: rgb(255 255 255 / 0.1); color: var(--white); }
.about-figures .watermark { opacity: 0.03; z-index: 0; }
.about-figures .edge-lines { color: var(--white); z-index: 1; }
.about-figures__item { position: relative; display: flex; align-items: center; gap: 1.5rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem); background: var(--navy); z-index: -1; }
.about-figures__item:first-of-type { z-index: -1; }
.about-figures__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 7vw, 8.5rem); line-height: 0.85; letter-spacing: -0.06em; color: var(--accent-on-dark); }
.about-figures__item > span:last-child { color: var(--on-dark-soft); font-size: 1.05rem; max-width: 17rem; }
.about-figures__item strong { color: var(--white); }
.page-hero__visual:has(.about-figures)::before { display: none; }

.story { display: grid; gap: 2rem; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5rem; } .story h2 { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; } }
.story__text p { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); line-height: 1.55; letter-spacing: -0.01em; color: var(--navy); }
.story__text p + p { margin-top: 1.4em; }
.story__text .w { opacity: 0.18; transition: opacity 0.2s; }
.story__text .w.is-on { opacity: 1; }

.mv-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); border-radius: var(--radius-xl); background: var(--white); }
.mv-card h3 { font-size: 1rem; color: var(--slate); letter-spacing: 0; }
.mv-card p { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.2; }
.mv-card--dark { background: var(--navy); color: var(--white); }
.mv-card--dark h3 { color: var(--teal-on-dark); }
.mv-card .watermark { width: 300px; bottom: -40%; }

.values-grid { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.values-grid li { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--accent-tint); transition: transform 0.45s var(--ease-out); }
.values-grid li:hover { transform: translateY(-6px); }
.values-grid li:hover .icon-tile { background: var(--accent-solid); color: var(--accent-on-solid); }
.values-grid .icon-tile { background: var(--white); }
.values-grid h3 { margin-top: 2.5rem; }
.values-grid p { margin-top: 0.4rem; color: #3b4b5b; font-size: var(--fs-small); }

.traits { display: grid; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.14); }
.traits li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.14); transition: padding 0.45s var(--ease-out); }
.traits li:hover { padding-left: 1rem; }
.traits strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.5vw, 4.25rem); letter-spacing: -0.045em; line-height: 1; color: var(--white); }
.traits span { color: var(--teal-on-dark); font-size: var(--fs-lead); }

/* ---------- Forms ---------- */
.contact-layout { display: grid; gap: 3rem; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4.5rem; } .contact-layout__info { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-layout__info .lead { margin-top: 1.25rem; }
.contact-list { display: grid; gap: 1.25rem; margin-top: 2.5rem; list-style: none; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .label { display: block; color: var(--slate); font-size: var(--fs-xs); font-weight: 600; }
.contact-list a { font-weight: 600; }
.map-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-small); }
.expect-list { display: grid; gap: 1.25rem; margin-top: 2.5rem; list-style: none; counter-reset: ex; }
.expect-list li { position: relative; display: grid; padding-left: 3.25rem; counter-increment: ex; }
.expect-list li::before { content: counter(ex); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-solid); color: var(--accent-on-solid); font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.expect-list strong { font-family: var(--font-display); }
.expect-list span { color: var(--slate); font-size: var(--fs-small); }

.form-card { position: relative; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-xl); background: var(--white); box-shadow: 0 0 0 1px rgb(35 54 73 / 0.06), var(--shadow-lg); }
.form-card form { display: grid; gap: 1.5rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: 1 / -1; } }
.quote-only[hidden] { display: none; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.form-label { font-weight: 600; font-size: var(--fs-small); }
.optional { color: var(--slate); font-weight: 400; }
.form-control {
    width: 100%; min-height: 52px; padding: 0.8rem 1rem;
    border: 0; border-radius: 14px; background: var(--mist);
    box-shadow: inset 0 0 0 1.5px transparent;
    color: var(--navy); font: inherit; font-size: 1rem;
    transition: box-shadow 0.25s, background-color 0.25s;
    appearance: none;
}
textarea.form-control { min-height: 140px; resize: vertical; line-height: 1.55; }
.form-control:hover { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.form-control:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px var(--blue-tint); }
.form-control[aria-invalid='true'] { background: var(--danger-tint); box-shadow: inset 0 0 0 1.5px var(--danger); }
.select-wrap { position: relative; }
.select-wrap .icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--slate); }
.select-wrap select { padding-right: 2.75rem; cursor: pointer; }
.field-hint { color: var(--slate); font-size: var(--fs-xs); }
.field-error { display: flex; gap: 0.35rem; color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.form-footnote { color: var(--slate); font-size: var(--fs-xs); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; }
.form-alert { display: flex; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: 14px; background: var(--danger-tint); color: #8a2b1d; font-size: var(--fs-small); }
.form-alert[hidden] { display: none; }
.form-alert .icon { width: 20px; height: 20px; margin-top: 2px; }
.form-alert ul { margin-top: 0.35rem; padding-left: 1.1rem; }
.form-alert--info { background: var(--amber-tint); color: #6b3a07; }
.segmented { margin: 0; padding: 0; border: 0; min-width: 0; }
.segmented legend { margin-bottom: 0.6rem; padding: 0; font-weight: 600; font-size: var(--fs-small); }
.segmented__track { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--mist); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { position: relative; z-index: 1; padding: 0.7rem 1rem; border-radius: 999px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: color 0.3s; }
.segmented input:checked + label { color: var(--white); }
.segmented input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.segmented__thumb { position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy); transition: transform 0.45s var(--ease-out); }
#type-quote:checked ~ .segmented__thumb { transform: translateX(100%); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn.is-loading .icon { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: grid; justify-items: start; gap: 1rem; padding: 1rem 0; }
.form-success:focus { outline: none; }
.form-success h2 { font-size: var(--fs-h2); }
.form-success p { color: var(--slate); font-size: var(--fs-lead); }
.success-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); }
.success-mark .icon { width: 36px; height: 36px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s 0.2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Legal ---------- */
.section--legal { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.prose table { min-width: 560px; }
@media (min-width: 1024px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 5rem; } .legal__toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.legal__toc p { margin-bottom: 0.75rem; font-family: var(--font-display); font-weight: 700; }
.legal__toc ol { display: grid; gap: 0.15rem; list-style: none; border-left: 2px solid var(--line); }
.legal__toc a { display: block; margin-left: -2px; padding: 0.35rem 0 0.35rem 1rem; border-left: 2px solid transparent; color: var(--slate); font-size: var(--fs-small); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.legal__toc a:hover, .legal__toc a.is-current { color: var(--navy); border-color: var(--blue); }
.prose { max-width: 46rem; }
.prose h2 { margin: 2.5em 0 0.75em; font-size: 1.6rem; letter-spacing: -0.025em; scroll-margin-top: calc(var(--header-h) + 2rem); }
.prose p, .prose ul { margin-top: 1em; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose .table-scroll { margin-top: 1.25rem; }
.draft-notice { display: flex; gap: 0.85rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-md); background: var(--amber-tint); color: #6b3a07; font-size: var(--fs-small); }
.draft-notice .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--amber-ink); }

/* ---------- 404 ---------- */
.page-hero--error { min-height: 80vh; display: flex; align-items: center; }
.error-code { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 3rem + 14vw, 14rem); line-height: 0.8; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 2px var(--line-strong); }
.page-hero--error .btn-row { margin-top: 2rem; }
.error-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.5rem; list-style: none; }

/* =========================================================================
   Device frame and mockups (ported from the Laravel site)
   ========================================================================= */
.device { position: relative; border-radius: 20px; background: var(--white); color: var(--navy); font-family: var(--font-text); font-size: 12.5px; line-height: 1.35; text-align: left; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgb(35 54 73 / 0.08); container-type: inline-size; margin: 0; }
.device__bar { display: flex; align-items: center; gap: 0.6rem; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.device__app { display: flex; align-items: center; gap: 0.5rem; min-width: 0; margin-right: auto; font-family: var(--font-display); font-weight: 700; font-size: 13px; white-space: nowrap; }
.device__app .icon-tile { --tile: 26px; border-radius: 7px; background: var(--accent-solid); color: var(--accent-on-solid); }
.device__search { display: flex; align-items: center; gap: 6px; width: min(170px, 34%); height: 28px; padding: 0 12px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.device__search .icon { width: 13px; height: 13px; }
.device__user { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 10.5px; font-weight: 700; flex-shrink: 0; }
.device__body { position: relative; padding: 16px; background: linear-gradient(var(--white), #fbfcfd); }
@container (max-width: 380px) { .device__search { display: none; } .device__body { padding: 12px; } }
.device--browser .device__bar { gap: 0.75rem; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-url { flex: 1; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: 11.5px; min-width: 0; }
.browser-url .icon { width: 12px; height: 12px; color: var(--teal-ink); }

.mk-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.mk-split--booking { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
@container (max-width: 420px) { .mk-split { grid-template-columns: minmax(0, 1fr); } }
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 12px; }
.mk-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.mk-sub { color: var(--slate); font-size: 11.5px; }
.mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.mk-stat { padding: 10px 12px; border-radius: 12px; background: var(--mist); }
.mk-stat b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mk-stat span { color: var(--slate); font-size: 11px; }
.mk-stat--accent { background: var(--accent-tint); }
.mk-stat--accent b { color: var(--accent-ink); }
.mk-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mk-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.mk-row > span:not([class]), .mk-row .mk-grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-card { min-width: 0; overflow: hidden; padding: 8px 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(26 40 55 / 0.05); }
.mk-card strong { display: block; font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card small { color: var(--slate); font-size: 11px; }
.mk-col { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; min-width: 0; padding: 8px; border-radius: 12px; background: var(--mist); }
.mk-col .mk-col-title { display: flex; justify-content: space-between; margin: 0 2px 2px; font-size: 11px; font-weight: 600; color: var(--slate); }
.mk-kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@container (max-width: 420px) { .mk-kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mk-kanban > :nth-child(4) { display: none; } }
.mk-status { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; white-space: nowrap; background: var(--mist); color: var(--slate); }
.mk-status--ok { background: var(--teal-tint); color: var(--teal-ink); }
.mk-status--warn { background: var(--amber-tint); color: var(--amber-ink); }
.mk-status--info { background: var(--blue-tint); color: var(--blue-ink); }
.mk-status--accent { background: var(--accent-tint); color: var(--accent-ink); }
.mk-avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-ink); font-size: 9.5px; font-weight: 700; flex-shrink: 0; }
.mk-list li:nth-child(3n + 2) .mk-avatar, .person:nth-of-type(2) .mk-avatar { background: var(--teal-tint); color: var(--teal-ink); }
.mk-list li:nth-child(3n) .mk-avatar { background: var(--amber-tint); color: var(--amber-ink); }
.mk-bar { height: 6px; border-radius: 999px; background: var(--cloud); overflow: hidden; }
.mk-bar i { display: block; width: var(--w, 50%); height: 100%; border-radius: inherit; background: var(--accent); }
.mk-line { height: 7px; border-radius: 4px; background: var(--cloud); width: var(--w, 100%); }
.mk-line + .mk-line { margin-top: 6px; }
.mk-line--strong { background: #cdd5df; }
.mk-line--accent { background: var(--accent-tint); }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: var(--accent-solid); color: var(--accent-on-solid); font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.mk-btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.mk-btn .icon { width: 12px; height: 12px; }
.mk-check { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-solid); color: var(--accent-on-solid); flex-shrink: 0; }
.mk-check .icon { width: 11px; height: 11px; }
.mk-toast { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 9px 12px; border-radius: 12px; background: var(--navy); color: var(--white); font-size: 11.5px; font-weight: 600; box-shadow: var(--shadow-md); }
.mk-toast .icon { width: 15px; height: 15px; color: var(--accent-on-dark); }
.mk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.mk-cal span { padding: 5px 0; border-radius: 7px; }
.mk-cal .dow { color: var(--slate); font-weight: 600; font-size: 10px; }
.mk-cal .muted { color: #a8b2bd; }
.mk-cal .avail { background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; }
.mk-cal .sel { background: var(--accent-solid); color: var(--accent-on-solid); font-weight: 700; }
.mk-slots { display: grid; gap: 6px; }
.mk-slot { padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); text-align: center; font-weight: 600; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.mk-slot.is-selected { background: var(--accent-solid); border-color: var(--accent-solid); color: var(--accent-on-solid); }
.mk-timetable { display: grid; grid-template-columns: 40px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 10.5px; }
.mk-timetable > span { padding: 6px 4px; border-radius: 7px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-timetable .t-head { color: var(--slate); font-weight: 600; }
.mk-timetable .t-time { color: var(--slate); font-variant-numeric: tabular-nums; text-align: left; padding-inline: 0; overflow: visible; }
.mk-timetable .s1 { background: var(--teal-tint); color: var(--teal-ink); }
.mk-timetable .s2 { background: var(--blue-tint); color: var(--blue-ink); }
.mk-timetable .s3 { background: var(--amber-tint); color: var(--amber-ink); }
.mk-timetable .s4 { background: var(--violet-tint); color: var(--violet-ink); }
.mk-timetable .s5 { background: var(--cerulean-tint); color: var(--cerulean-ink); }
.mk-units { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.mk-units span { display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 8px; font-size: 10.5px; font-weight: 700; background: var(--accent-tint); color: var(--accent-ink); }
.mk-units .vacant { background: var(--white); color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.mk-units .maint { background: var(--amber-tint); color: var(--amber-ink); }
.mk-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; color: var(--slate); font-size: 10.5px; }
.mk-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 4px; border-radius: 3px; background: var(--accent); vertical-align: -1px; }
.mk-legend .l-vacant i { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.mk-legend .l-maint i { background: var(--amber); }
.mk-code { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--navy-deep); color: #d7dee8; font-family: ui-monospace, 'Cascadia Code', Consolas, Menlo, monospace; font-size: 11px; line-height: 1.7; overflow: hidden; white-space: pre; }
.mk-code .ln { display: inline-block; width: 1.6em; color: #5d6d7e; user-select: none; }
.mk-code .t-k { color: var(--teal-on-dark); }
.mk-code .t-f { color: var(--blue-on-dark); }
.mk-code .t-s { color: var(--amber-on-dark); }
.mk-code .t-c { color: var(--on-dark-faint); }
.mk-arch { display: grid; gap: 8px; justify-items: center; }
.mk-arch .node { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 11.5px; box-shadow: 0 1px 2px rgb(26 40 55 / 0.05); }
.mk-arch .node .icon { width: 14px; height: 14px; color: var(--accent-ink); }
.mk-arch .node--core { background: var(--navy); border-color: var(--navy); color: var(--white); }
.mk-arch .node--core .icon { color: var(--accent-on-dark); }
.mk-arch .wire { width: 1.5px; height: 14px; background: var(--line-strong); }
.mk-arch .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mk-chart { display: block; width: 100%; height: auto; margin: 6px 0 10px; }
.mk-chart .grid-line { stroke: var(--cloud); stroke-width: 1; }
.mk-chart .area { fill: var(--accent-tint); }
.mk-chart .stroke { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mk-chart .stroke-2 { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 4 4; }
.mk-channels { display: grid; gap: 8px; }
.mk-channels > div { display: grid; grid-template-columns: 72px 1fr 34px; align-items: center; gap: 8px; font-size: 11px; }
.mk-channels b { text-align: right; font-variant-numeric: tabular-nums; }
.mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 8px 4px 0; border-bottom: 1px solid var(--line); }
.mk-bars i { flex: 1; height: var(--h, 50%); border-radius: 6px 6px 0 0; background: var(--accent-tint); box-shadow: inset 0 2px 0 var(--accent); transform-origin: bottom; }
.mk-bars i.hi { background: var(--accent); }
.mk-bars-labels { display: flex; gap: 8px; padding: 6px 4px 0; color: var(--slate); font-size: 10px; }
.mk-bars-labels span { flex: 1; text-align: center; }
.mk-notes { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
@container (max-width: 400px) { .mk-notes { grid-template-columns: minmax(0, 1fr); } .mk-notes__side { display: none !important; } }
.mk-notes__side { display: grid; align-content: start; gap: 4px; padding: 8px; border-radius: 12px; background: var(--mist); }
.mk-notes__side b { margin: 2px 4px 4px; font-size: 11px; color: var(--slate); font-weight: 600; }
.mk-notes__side span { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 600; }
.mk-notes__side span.on { background: var(--white); box-shadow: 0 1px 2px rgb(26 40 55 / 0.06); }
.mk-notes__side span i { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--teal)); }
.mk-doc { display: grid; gap: 8px; font-size: 11.5px; line-height: 1.55; }
.mk-doc .mk-doc-title { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.mk-doc p { margin: 0; color: #445566; }
.mk-doc mark { padding: 0 3px; border-radius: 4px; background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; }
.mk-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding: 10px; border-radius: 12px; background: var(--navy); color: var(--white); font-size: 11.5px; font-weight: 600; }
.mk-ai > span:first-child { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: var(--accent-on-dark); }
.mk-ai > span:first-child .icon { width: 14px; height: 14px; }
.mk-ai .mk-btn--ghost { background: rgb(255 255 255 / 0.1); color: var(--white); box-shadow: none; }
.mk-quiz { display: grid; gap: 6px; }
.mk-quiz .q { font-weight: 600; font-size: 12.5px; margin-bottom: 4px; }
.mk-quiz .opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: 11.5px; }
.mk-quiz .opt.correct { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-ink); font-weight: 600; }
.mk-quiz .opt i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); flex-shrink: 0; }
.mk-quiz .opt.correct i { background: var(--teal); box-shadow: none; }
.mk-flashcard { padding: 14px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-ink); text-align: center; font-weight: 700; font-size: 12.5px; }
.mk-flashcard small { display: block; margin-bottom: 4px; font-weight: 600; font-size: 10px; opacity: 0.8; }
.mk-team { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
@container (max-width: 380px) { .mk-team { grid-template-columns: minmax(0, 1fr); } .mk-team .op { justify-self: center; transform: rotate(90deg); } }
.mk-team .group { padding: 10px; border-radius: 14px; background: var(--mist); }
.mk-team .group--ext { background: var(--accent-tint); }
.mk-team .group b { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; color: var(--slate); }
.mk-team .person { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: var(--white); font-size: 11.5px; font-weight: 600; }
.mk-team .person + .person { margin-top: 5px; }
.mk-team .person small { display: block; color: var(--slate); font-weight: 500; font-size: 10.5px; }
.mk-team .op { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--slate); }
.mk-team-result { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 10px; border-radius: 12px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 12px; }
.mk-team-result .icon { width: 16px; height: 16px; color: var(--accent-on-dark); }
.mk-site { display: grid; gap: 10px; }
.mk-site__hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--navy); }
.mk-site__hero .mk-line { background: rgb(255 255 255 / 0.22); }
.mk-site__hero .mk-line--strong { background: var(--white); height: 10px; }
.mk-site__art { aspect-ratio: 1.3; border-radius: 10px; background: radial-gradient(60% 60% at 70% 30%, rgb(20 184 166 / 0.85), transparent 70%), radial-gradient(60% 60% at 30% 80%, rgb(59 108 246 / 0.8), transparent 70%), var(--navy-panel); }
.mk-site__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-site__cards div { padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.mk-vitals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .success-mark .icon { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .mobile-nav, .to-top, .cta-band, .site-footer .watermark { display: none !important; }
    .page-hero, .hero { padding-top: 1rem; }
}
.visual-stage .edge-lines { right: auto; left: clamp(1.25rem, 2.5vw, 2rem); top: clamp(1.25rem, 2.5vw, 2rem); justify-items: start; }
@media (min-width: 960px) { .split--visual.split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
