/**
 * ITMDesk Marketing Site styles.
 *
 * Same dark-first aesthetic as base/; richer motion and section variety to
 * carry a marketing narrative. Reuses tokens from variables.css; local
 * surface/text shades live in :root below to keep one-off values out of
 * the shared token set.
 */

:root {
    --mk-bg:           #0a0a0b;
    --mk-bg-deep:      #050506;
    --mk-surface:      #141416;
    --mk-surface-alt:  #1c1c1f;
    --mk-surface-hi:   #232328;
    --mk-border:       #2a2a2e;
    --mk-border-soft:  rgba(255, 255, 255, 0.06);
    --mk-text:         #f5f5f5;
    --mk-text-soft:    #a0a0a8;
    --mk-text-muted:   #6b6b73;
    --mk-radius:       12px;
    --mk-radius-lg:    20px;
    --mk-max:          1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--mk-bg);
    color: var(--mk-text);
    font-family: var(--font-sans);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Containers and rhythm */
.container {
    max-width: var(--mk-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-lime);
    margin: 0 0 1.25rem;
}
.section-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-lime);
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent-lime) 45%, transparent);
}
.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--mk-text);
    max-width: 26ch;
}
.section-title em { font-style: normal; color: var(--accent-lime); }
.section-lede {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--mk-text-soft);
    margin: 0 0 2.5rem;
    max-width: 60ch;
}

/* ===== Topbar ===== */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(10, 10, 11, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), background var(--transition-base);
}
.topbar.is-scrolled {
    border-bottom-color: var(--mk-border);
    background: rgba(10, 10, 11, 0.85);
}
.topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.topbar-right {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}
/* Language switch — discreet text-only EN / PT / ES; stays visible on mobile
   (it sits outside .topbar-nav, which collapses on narrow screens). */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}
.lang-opt {
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    color: var(--mk-text-muted);
    letter-spacing: 0.06em;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.lang-opt:hover { color: var(--mk-text); }
.lang-opt.is-active {
    color: #0a0a0b;
    background: var(--accent-lime);
    font-weight: 600;
}
.topbar-nav {
    display: inline-flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.88rem;
}
.topbar-nav a {
    color: var(--mk-text-soft);
    transition: color var(--transition-fast);
}
.topbar-nav a:hover { color: var(--mk-text); }
/* The single contact point. Same weight as a nav item on purpose — it invites
   without asking, and it survives the nav collapsing on narrow screens. */
.topbar-hello {
    font-size: 0.88rem;
    color: var(--mk-text-soft);
    transition: color var(--transition-fast);
}
.topbar-hello:hover { color: var(--accent-lime); }

/* ===== Hero ===== */
.hero {
    position: relative;
    /* Fills the first screen exactly, so the scroll cue lands on the bottom
       edge instead of leaving a dead band under the video. svh (not vh) keeps
       that true on mobile, where vh counts the retractable browser chrome.
       min-height, not height: the block still grows if the copy needs it. */
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Symmetric padding: the top half clears the fixed topbar, the bottom half
       clears the scroll cue, and the copy stays optically centred between them. */
    padding-top: 80px;
    padding-bottom: 80px;
}
.hero-video,
.hero-video-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-video-fallback {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%,
            color-mix(in srgb, var(--accent-lime) 20%, transparent) 0%, transparent 60%),
        linear-gradient(180deg, #14141a 0%, #050506 100%);
    z-index: -1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Side fade: the (cropped) video frame is narrower than wide viewports,
           leaving a hard vertical seam against the page black. Dissolve the left
           and right edges into --mk-bg so the seam is never visible. */
        linear-gradient(to right,
            rgba(10,10,11,1) 0%, rgba(10,10,11,1) 7%, rgba(10,10,11,0) 28%,
            rgba(10,10,11,0) 72%, rgba(10,10,11,1) 93%, rgba(10,10,11,1) 100%),
        radial-gradient(ellipse 60% 80% at 50% 30%, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.85) 80%),
        linear-gradient(180deg, rgba(10,10,11,0.4) 0%, rgba(10,10,11,0.95) 100%);
}
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.6;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--mk-max);
    width: 100%;
    padding: 0 1.5rem;
    text-align: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-lime);
    padding: 0.4rem 0.9rem;
    border: 1px solid color-mix(in srgb, var(--accent-lime) 28%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-lime) 10%, transparent);
    margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-lime);
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent-lime) 60%, transparent);
}
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem;
    color: var(--mk-text);
}
.hero-title em { font-style: normal; color: var(--accent-lime); }
/* Second half of the headline lockup: reads as one thought with the h1 above
   it, so it tracks the same clamp and sits tight under it. */
.hero-title-sub {
    font-size: clamp(1.05rem, 2vw, 1.6rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--mk-text-soft);
    margin: 0 0 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--mk-text-soft);
    margin: 0 auto 2.25rem;
    max-width: 56ch;
}
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--mk-text-muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 6px); }
}

/* ===== Pitch (3D logo + 3 pillars) ===== */
.pitch { background: var(--mk-bg-deep); }
.pitch-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
/* Lime backlight behind the copy — the same glow we pulled off the 3D logo,
   repurposed as a soft modern highlight behind the eyebrow + title. */
.pitch-copy {
    position: relative;
    isolation: isolate; /* keep the glow contained behind this column's text */
}
.pitch-copy::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -2.5rem;
    width: clamp(220px, 24vw, 340px);
    aspect-ratio: 1;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--accent-lime) 18%, transparent) 0%,
        transparent 70%);
    filter: blur(45px);
    z-index: -1;
    pointer-events: none;
}
.pitch-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
}
.pitch-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.pillars { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    transition: border-color var(--transition-base), transform var(--transition-base);
}
.pillar:hover {
    border-color: color-mix(in srgb, var(--accent-lime) 25%, var(--mk-border));
    transform: translateX(2px);
}
.pillar-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-lime) 12%, transparent);
    color: var(--accent-lime);
    border-radius: 8px;
    font-size: 1rem;
}
.pillar-body h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mk-text);
}
.pillar-body p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--mk-text-soft);
    line-height: 1.55;
}

/* ===== Modules showcase ===== */
.modules-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
    margin-top: 3rem;
}
.module-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.module-row--reverse .module-row-text { order: 2; }
.module-row--reverse .module-row-visual { order: 1; }

.module-row-text .pill-mono {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mk-text-muted);
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    margin-bottom: 1rem;
}
.module-row-text h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: var(--mk-text);
}
.module-row-text .module-tagline {
    font-size: 1.05rem;
    color: var(--mk-text-soft);
    margin: 0 0 1.5rem;
    line-height: 1.55;
}
.module-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.module-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--mk-text-soft);
}
.module-feature-list i {
    color: var(--accent-lime);
    margin-top: 0.2rem;
    font-size: 0.85rem;
}
.module-actions {
    display: inline-flex;
    align-items: center;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}
.module-overview-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--mk-text-soft);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast),
                background var(--transition-fast);
}
.module-overview-btn:hover {
    color: var(--accent-lime);
    border-color: color-mix(in srgb, var(--accent-lime) 35%, var(--mk-border));
    background: color-mix(in srgb, var(--accent-lime) 6%, transparent);
}
.module-overview-btn i { font-size: 0.85em; }

/* ===== Product overview dialog (native <dialog>) =====
   Each product row has a sibling <dialog id="dlg-{key}"> opened via JS
   (marketing.js). showModal() handles focus trap + ESC for free; the
   click-on-backdrop close is wired in JS, since clicking the dialog
   element directly only happens outside its inner content. */
.product-dialog {
    background: var(--mk-surface);
    color: var(--mk-text);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 0;
    max-width: 720px;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 4rem);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.product-dialog::backdrop {
    background: rgba(5, 5, 6, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.product-dialog-inner {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4rem);
}
.product-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0.5rem;
}
.product-dialog-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--mk-border);
    background: transparent;
    color: var(--mk-text-soft);
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: color var(--transition-fast), border-color var(--transition-fast),
                background var(--transition-fast);
}
.product-dialog-close:hover {
    color: var(--accent-lime);
    border-color: color-mix(in srgb, var(--accent-lime) 35%, var(--mk-border));
    background: color-mix(in srgb, var(--accent-lime) 6%, transparent);
}
.product-dialog-title {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--mk-text);
    margin: 0.5rem 1.5rem 0.25rem;
}
.product-dialog-tagline {
    margin: 0 1.5rem 1rem;
    font-size: 1rem;
    font-style: italic;
    color: var(--accent-lime);
    line-height: 1.4;
}
.product-dialog-body {
    padding: 0 1.5rem 0.5rem;
    overflow-y: auto;
    flex: 1;
}
.product-dialog-body p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--mk-text-soft);
}
.product-dialog-body p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
    .product-dialog { width: calc(100% - 1rem); }
}

.module-row-visual {
    position: relative;
    /* The screenshots' native ratio (1512x807), so nothing is cropped sideways
       — a 16/9 frame ate into the app logo on the left. Placeholder rows follow
       the same ratio so the six module rows stay visually aligned. */
    aspect-ratio: 1512 / 807;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7);
}
.screenshot-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background:
        linear-gradient(135deg, var(--mk-surface) 0%, var(--mk-surface-alt) 100%);
    color: var(--mk-text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}
.screenshot-placeholder i { font-size: 1.5rem; opacity: 0.6; }
.screenshot-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ===== Product screenshot carousel =====
   One per module row. The track is a flex strip translated by whole slides;
   with JS off it degrades to a horizontally scrollable strip (scroll-snap),
   so every screenshot stays reachable. */
.shot-carousel {
    position: absolute;
    /* Bezel. The frame's 20px corner radius sits right on top of the app logo
       in the screenshots' top-left corner; insetting the strip and giving it
       the matching inner radius (20 - 8) moves the curve clear of the UI. */
    inset: 0.5rem;
    overflow: hidden;
    border-radius: calc(var(--mk-radius-lg) - 0.5rem);
}
.shot-track {
    display: flex;
    height: 100%;
    transition: transform 420ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
.shot-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    margin: 0;
}
.shot-zoom {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}
.shot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.shot-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* Bottom padding clears the dots row that sits over this same corner. */
    padding: 2.25rem 1.1rem 1.75rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--mk-text);
    background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 6, 0.88) 55%);
    pointer-events: none;
}

/* Arrows — hidden until the row is hovered on pointer devices, always shown
   on touch (no hover to reveal them). */
.shot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--mk-bg-deep) 72%, transparent);
    color: var(--mk-text);
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
.shot-nav--prev { left: 0.75rem; }
.shot-nav--next { right: 0.75rem; }
.module-row-visual:hover .shot-nav,
.shot-nav:focus-visible { opacity: 1; }
.shot-nav:hover {
    background: var(--mk-bg-deep);
    border-color: color-mix(in srgb, var(--accent-lime) 45%, var(--mk-border));
}

.shot-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.7rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}
.shot-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mk-text) 35%, transparent);
    cursor: pointer;
    transition: background var(--transition-base), width var(--transition-base);
}
.shot-dot.is-active {
    width: 1.15rem;
    background: var(--accent-lime);
}

@media (hover: none) {
    .shot-nav { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .shot-track { transition: none; }
}

/* No-JS fallback: the script adds .is-ready, so until then (or forever, with
   JS disabled) the track scrolls natively instead of sitting frozen on slide 1. */
.shot-carousel:not(.is-ready) .shot-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.shot-carousel:not(.is-ready) .shot-slide { scroll-snap-align: start; }
.shot-carousel:not(.is-ready) .shot-nav { display: none; }
.shot-carousel:not(.is-ready) .shot-zoom { cursor: default; }

/* Lightbox — shared by every carousel; the script swaps src/alt on open. */
.shot-lightbox {
    max-width: 96vw;
    max-height: 94vh;
    padding: 0;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    background: var(--mk-bg-deep);
    overflow: visible;
}
.shot-lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.shot-lightbox img {
    display: block;
    max-width: 96vw;
    max-height: 94vh;
    width: auto;
    height: auto;
    border-radius: var(--mk-radius);
}
.shot-lightbox-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    background: var(--mk-surface);
    color: var(--mk-text);
    cursor: pointer;
    transition: border-color var(--transition-base);
}
.shot-lightbox-close:hover {
    border-color: color-mix(in srgb, var(--accent-lime) 45%, var(--mk-border));
}

/* ===== Differentiators ===== */
.diff { background: var(--mk-bg-deep); }
.diff-grid {
    display: grid;
    /* Capped at three so the five principles land as 3 + 2 rather than the
       lopsided 4 + 1 that auto-fit produces at this container width. */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}
@media (min-width: 901px) {
    .diff-grid { grid-template-columns: repeat(3, 1fr); }
}
.diff-card {
    padding: 1.75rem 1.5rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    transition: transform var(--transition-base), border-color var(--transition-base);
}
.diff-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent-lime) 30%, var(--mk-border));
}
.diff-card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-lime) 14%, transparent);
    color: var(--accent-lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.diff-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mk-text);
    margin: 0 0 0.5rem;
}
.diff-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--mk-text-soft);
    margin: 0;
}

/* ===== The thesis =====
   The three questions carry the weight; the prose only lands them. Rendered
   large and quiet so they read as questions, not as headlines. */
.thesis { background: var(--mk-bg); }
.thesis-questions {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    max-width: 820px;
    border-top: 1px solid var(--mk-border);
}
.thesis-questions li {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--mk-border-soft);
    font-size: clamp(1.05rem, 2.1vw, 1.4rem);
    line-height: 1.35;
    color: var(--mk-text);
    letter-spacing: -0.01em;
}
.thesis-questions li::before {
    content: '\2014';
    color: var(--accent-lime);
    margin-right: 0.75rem;
}
.thesis-body {
    max-width: 820px;
    margin-top: 2.25rem;
}
.thesis-body p {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mk-text-soft);
}
.thesis-body p:last-child {
    margin-bottom: 0;
    color: var(--mk-text);
}

/* ===== A night in the operation =====
   A timeline, not a feature grid: the point is the sequence. */
.night { background: var(--mk-bg-deep); }
.night-timeline {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    max-width: 780px;
}
.night-timeline li {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-top: 1px solid var(--mk-border-soft);
}
.night-timeline li:first-child { border-top: 0; }
.night-time {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-lime);
    letter-spacing: 0.04em;
    padding-top: 0.1rem;
}
.night-timeline p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mk-text-soft);
}
.night-close {
    max-width: 780px;
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mk-border);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--mk-text);
}

/* ===== ITMDesk Intelligence =====
   Deliberately quiet and centred — the whole point is that this is a stance,
   not a feature announcement. */
.intel {
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%,
            color-mix(in srgb, var(--accent-lime) 9%, transparent) 0%, transparent 70%),
        var(--mk-bg);
}
.intel-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.intel-lockup {
    display: block;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--mk-text);
}
.intel-tagline {
    margin: 0.6rem 0 0;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 500;
    color: var(--accent-lime);
}
.intel-body {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--mk-border);
    text-align: left;
}
.intel-body p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mk-text-soft);
}
.intel-body p:last-child { margin-bottom: 0; color: var(--mk-text); }

/* ===== Evidence / compliance =====
   The list is the argument: each line is a record the platform keeps anyway.
   Two columns on wide screens so it reads as an inventory, not a sales list. */
.evidence { background: var(--mk-bg); }
.evidence-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 2.5rem;
    max-width: 900px;
}
.evidence-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--mk-border-soft);
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--mk-text-soft);
}
.evidence-list li::before {
    content: '\002B';
    color: var(--accent-lime);
    font-family: var(--font-mono);
    margin-right: 0.7rem;
}
.evidence-close {
    max-width: 820px;
    margin-top: 2.25rem;
}
.evidence-close p {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mk-text-soft);
}
.evidence-close p:last-child {
    margin-bottom: 0;
    color: var(--mk-text);
}
@media (min-width: 780px) {
    .evidence-list { grid-template-columns: 1fr 1fr; }
}

/* ===== Who builds this ===== */
.makers { background: var(--mk-bg-deep); }
.makers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: start;
}
.makers-body p {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mk-text-soft);
}
.makers-body p:last-child { margin-bottom: 0; }
.makers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--mk-border-soft);
}
.makers-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mk-border-soft);
}
.makers-what {
    font-size: 0.92rem;
    color: var(--mk-text-soft);
}
.makers-on {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--accent-lime);
    white-space: nowrap;
}

/* ===== Footer ===== */
footer {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid var(--mk-border);
    color: var(--mk-text-muted);
    font-size: 0.85rem;
}
.footer-inner {
    max-width: var(--mk-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}
.footer-brand-col p {
    margin: 0.75rem 0 0;
    color: var(--mk-text-muted);
    font-size: 0.85rem;
    max-width: 30ch;
}
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mk-text-muted);
    margin: 0 0 0.9rem;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.footer-col a { color: var(--mk-text-soft); }
.footer-col a:hover { color: var(--mk-text); }
.footer-bottom {
    max-width: var(--mk-max);
    margin: 2rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid var(--mk-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--mk-text-muted);
}
.footer-social {
    display: inline-flex;
    gap: 0.85rem;
}
.footer-social a {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    color: var(--mk-text-soft);
    transition: color var(--transition-fast), border-color var(--transition-fast),
                background var(--transition-fast);
}
.footer-social a:hover {
    color: var(--accent-lime);
    border-color: color-mix(in srgb, var(--accent-lime) 35%, var(--mk-border));
    background: color-mix(in srgb, var(--accent-lime) 8%, transparent);
}

/* ===== Scroll reveal (JS adds .is-in-view) ===== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .pitch-visual img,
    .hero-scroll { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .topbar-nav { display: none; }
    .pitch-inner { grid-template-columns: 1fr; }
    .module-row { grid-template-columns: 1fr; }
    .module-row--reverse .module-row-text { order: 1; }
    .module-row--reverse .module-row-visual { order: 2; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .makers-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
    .topbar { padding: 0.85rem 1.25rem; }
    .footer-inner { grid-template-columns: 1fr; }
    /* Stack the timestamp above its line instead of squeezing two columns. */
    .night-timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
}
