/* ============================================================
   MIKROMIND MARKETING — Refined Modern B2B Theme
   Modern, sleek, tech-focused for ISP/MSP Infrastructure.
   ============================================================ */

:root {
    /* Layout */
    --maxw: 1200px;
    --maxw-prose: 800px;
    --header-height: 68px;

    /* Color Palette - Crisp Light Base with Deep Slate Tech Accents */
    --bg:           #ffffff;
    --bg-soft:      #f8fafc;
    --bg-card:      #ffffff;
    --bg-dark:      #0b101d;
    --bg-dark-card: #131b2e;
    --bg-ink:       #070a12;

    --border:       #e2e8f0;
    --border-mid:   #cbd5e1;
    --border-dark:  #1e293b;

    --text:         #0f172a;
    --text-muted:   #475569;
    --text-soft:    #64748b;
    --text-dim:     #94a3b8;
    --text-inverse: #ffffff;

    /* Brand & Accent Colors */
    --accent:       #1e40af;
    --accent-2:     #2563eb;
    --accent-soft:  rgba(37, 99, 235, 0.08);
    --accent-glow:  rgba(59, 130, 246, 0.18);
    --accent-bright:#3b82f6;
    --accent-light: #60a5fa;

    /* Brand cyan — matches the product wordmark/logo accent (#22D3EE in
       the MikroManageGo dark UI), darkened one step for light surfaces. */
    --brand-cyan:   #0891B2;

    /* Status Colors */
    --green:        #10b981;
    --green-soft:   rgba(16, 185, 129, 0.12);
    --amber:        #f59e0b;
    --amber-soft:   rgba(245, 158, 11, 0.12);
    --red:          #ef4444;
    --red-soft:     rgba(239, 68, 68, 0.12);
    --blue:         #0284c7;
    --blue-soft:    rgba(2, 132, 199, 0.12);

    /* Geometry */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow:    0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.18), 0 0 20px rgba(37, 99, 235, 0.08);
    --glow:      0 0 25px rgba(59, 130, 246, 0.25);

    /* Focus */
    --focus: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* ============================================================
   BASE & TYPOGRAPHY
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.page { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

a { color: var(--accent-2); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--accent); text-decoration: underline; }

h1, h2, h3, h4 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); font-size: 1rem; }
ul, ol { color: var(--text-muted); padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

code, kbd, samp {
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.15em 0.4em;
    font-size: 0.875em;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    color: var(--accent);
}

pre {
    background: var(--bg-dark);
    color: #e2e8f0;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    box-shadow: var(--shadow-sm);
}
pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 200ms ease, border-color 200ms ease;
}

.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    /* Wordmark matches the product's: JetBrains Mono, uppercase,
       "Mikro" regular + "Mind" bold in the brand cyan. */
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none !important;
}
.brand:hover { text-decoration: none; }
/* Product accent is #22D3EE (built for dark UI); this is the same hue
   darkened for legibility on the site's light surfaces. */
.brand__word strong { color: var(--brand-cyan); font-weight: 700; }
.brand__mark { display: inline-flex; align-items: center; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.site-nav a {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 120ms ease;
}
.site-nav a:hover {
    color: var(--text);
    background: var(--bg-soft);
    text-decoration: none;
}
.site-nav a.nav__link--active {
    color: var(--accent-2);
    background: var(--accent-soft);
}

.nav__cta {
    background: var(--accent-2) !important;
    color: var(--text-inverse) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease !important;
}
.nav__cta:hover {
    background: var(--accent) !important;
    color: var(--text-inverse) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.nav__cta--ghost {
    background: transparent !important;
    color: var(--text) !important;
    border: 1px solid var(--border-mid);
    box-shadow: none !important;
}
.nav__cta--ghost:hover {
    background: var(--bg-soft) !important;
    color: var(--text) !important;
    border-color: var(--text-muted);
    transform: none;
}

.nav__burger {
    display: none;
    background: transparent;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
}
.nav__burger span {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 150ms ease, opacity 150ms ease;
}

@media (max-width: 880px) {
    .nav__burger { display: flex; align-items: center; justify-content: center; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.25rem 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
    }
    .site-nav a { width: 100%; text-align: left; }
    .site-nav.is-open { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    padding: 4.5rem 0 4rem;
    background:
        radial-gradient(ellipse 70% 60% at 85% 0%, rgba(59, 130, 246, 0.12), transparent 70%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(30, 64, 175, 0.05), transparent 70%),
        var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px);
    background-size: 28px 24px;
    pointer-events: none;
    opacity: 0.6;
}

.hero__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-2);
    background: var(--accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}
.eyebrow--dark {
    color: var(--accent-light);
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(96, 165, 250, 0.2);
}

.hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text);
    letter-spacing: -0.03em;
}
.hero__hl {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__sub {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 38rem;
    margin-bottom: 1.75rem;
}
.hero__actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-soft);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.45rem 1rem;
}

/* Dynamic Interactive Hero visual */
.hero__visual { perspective: 1200px; }
.hero__mock {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--glow);
    overflow: hidden;
    transform: rotateY(-2deg) rotateX(1deg);
    transition: transform 300ms ease, box-shadow 300ms ease;
    color: #e2e8f0;
}
.hero__mock:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero__mock-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.1rem;
    background: #0d1424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__mock-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.hero__mock-title {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    color: #94a3b8;
}
.hero__mock-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Real product screenshot inside the hero browser frame. */
.hero__shot {
    display: block;
    width: 100%;
    height: auto;
    background: #0d1424;
}

/* Product screenshots on the features page. Images link to the
   full-size PNG so detail-dense UI stays readable. */
.feature__shot { margin: 1.25rem 0 0; }
.feature__shot a,
.feature__shots a {
    display: block;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.feature__shot a:hover,
.feature__shots a:hover {
    border-color: var(--accent-2);
    box-shadow: var(--shadow);
}
.feature__shot img,
.feature__shots img {
    display: block;
    width: 100%;
    height: auto;
}
.feature__shot figcaption,
.feature__shots figcaption {
    margin-top: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
}
/* Portrait screenshot (template editor): cap its width so the figure
   doesn't tower over the feature text. */
.feature__shot--tall a { max-width: 560px; }
/* Side-by-side screenshots (customer view + client drill-down). */
.feature__shots {
    margin: 1.25rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
.feature__shots figcaption { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 720px) {
    .feature__shots { grid-template-columns: 1fr; }
}
/* Click affordance: screenshots open the lightbox, not a new tab. */
.hero__shot-link { display: block; cursor: zoom-in; }
.feature__shot a,
.feature__shots a { cursor: zoom-in; }
.hero__shot,
.feature__shot img,
.feature__shots img { transition: filter 150ms ease; }
.hero__shot-link:hover .hero__shot,
.feature__shot a:hover img,
.feature__shots a:hover img { filter: brightness(1.06); }

/* ---- Lightbox ------------------------------------------------ */
/* Full-viewport modal viewer. The dialog itself is transparent and
   stretches edge to edge; the dark dimming lives on ::backdrop, and
   the picture centers via margin:auto so 1:1-zoomed oversized images
   still scroll from their top-left corner instead of clipping. */
.lightbox {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 2.25rem 3.5rem 2.5rem;
    border: none;
    background: transparent;
    overflow: auto;
    overscroll-behavior: contain;
}
.lightbox::backdrop {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(3px);
}
.lightbox__figure {
    margin: auto;
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.lightbox__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 10rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    cursor: zoom-in;
}
.lightbox--zoom .lightbox__img {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}
.lightbox__caption {
    max-width: 56rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #cbd5e1;
}
.lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}
.lightbox__close:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #ffffff;
}
@media (max-width: 720px) {
    .lightbox { padding: 1rem 1rem 1.5rem; }
    .lightbox__img { max-height: calc(100vh - 8.5rem); }
    .lightbox__close { top: 0.6rem; right: 0.6rem; }
}

@media (max-width: 880px) {
    .hero { padding: 3rem 0 2.5rem; }
    .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__visual { order: 2; }
    .hero__mock { transform: none; }
}

/* ============================================================
   STRIP (KEY HIGHLIGHTS)
   ============================================================ */

.strip {
    background: var(--bg-ink);
    color: #e2e8f0;
    padding: 2.25rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}
.strip__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.strip__item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.strip__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.strip__icon svg { width: 20px; height: 20px; }
.strip__lead {
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    margin: 0 0 0.15rem;
}
.strip__detail {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.45;
}
@media (max-width: 880px) {
    .strip__inner { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 4.5rem 0; }
.section--alt {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}
.section__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
}
.section__head p {
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-hero {
    padding: 4rem 0 3rem;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.10), transparent 70%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}
.page-hero__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}
.page-hero__sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}
.page-hero__actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 150ms ease;
    box-shadow: var(--shadow-sm);
}
.btn:focus-visible { outline: 0; box-shadow: var(--focus); }
.btn--primary {
    background: var(--accent-2);
    color: var(--text-inverse) !important;
    border-color: var(--accent-2);
}
.btn--primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}
.btn--ghost {
    background: var(--bg-card);
    color: var(--text) !important;
    border-color: var(--border-mid);
}
.btn--ghost:hover {
    background: var(--bg-soft);
    color: var(--text) !important;
    border-color: var(--text-muted);
    text-decoration: none !important;
    transform: translateY(-1px);
}
.btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; border-radius: var(--radius); }
.btn--block { display: flex; width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */

.cards { display: grid; gap: 1.5rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
    .cards--2, .cards--3 { grid-template-columns: 1fr; }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
    position: relative;
}
.card:hover {
    border-color: var(--accent-bright);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { margin-bottom: 0; }
.card--feature { display: flex; flex-direction: column; gap: 0.5rem; }
.card--feature .btn { margin-top: 1rem; align-self: flex-start; }
.card__list { margin-top: 0.75rem; padding-left: 1.25em; }
.card__list li { margin-bottom: 0.4em; }
.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--accent-2);
    margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }

/* ============================================================
   ZERO-TOUCH ONBOARDING FLOW DIAGRAM
   ============================================================ */

.flow-diagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0 1rem;
    position: relative;
}
@media (max-width: 880px) {
    .flow-diagram { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .flow-diagram { grid-template-columns: 1fr; }
}

.flow-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 200ms ease, border-color 200ms ease;
}
.flow-step:hover {
    transform: translateY(-2px);
    border-color: var(--accent-2);
}
.flow-step__badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-2);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
}
.flow-step h4 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }
.flow-step p { font-size: 0.875rem; color: var(--text-soft); margin: 0; line-height: 1.5; }

/* Connector arrows between steps (desktop 4-column layout only) */
@media (min-width: 881px) {
    .flow-step:not(:last-child)::after {
        content: "\2192";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(50%, -50%);
        color: var(--accent-bright);
        font-size: 1.15rem;
        font-weight: 700;
        line-height: 1;
        z-index: 1;
    }
}

/* ============================================================
   COMPARE TABLE (HOME)
   ============================================================ */

.compare {
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.compare--table { overflow-x: auto; }

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 720px;
}
.compare-table th,
.compare-table td {
    padding: 0.95rem 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.compare-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-soft);
    font-weight: 700;
    background: var(--bg-soft);
}
.compare-table td:first-child,
.compare-table th.compare-table__cap {
    text-align: left;
}
.compare-table td:first-child {
    color: var(--text-muted);
    line-height: 1.45;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .compare-table__mm,
.compare-table .cell--mm {
    background: rgba(37, 99, 235, 0.06);
}
.compare-table .compare-table__mm {
    color: var(--accent-2);
    font-weight: 800;
}
.mark { display: inline-block; }
.mark--yes { color: var(--green); font-weight: 800; font-size: 1.05rem; }
.mark--no { color: var(--text-dim); font-weight: 600; }
.mark--own, .mark--partial {
    color: var(--amber);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.compare-table__note {
    padding: 1rem 1.5rem;
    margin: 0;
    color: var(--text-soft);
    font-size: 0.875rem;
    text-align: center;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}

/* ============================================================
   MISC: SECTION CTA LINE, PRICING BASICS, DEMO LIST
   ============================================================ */

.section-cta-line {
    text-align: center;
    margin: 2.5rem 0 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
    max-width: 800px;
    margin: 0 auto;
}
.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    margin-bottom: 0.75rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.faq__item:hover {
    border-color: var(--border-mid);
    box-shadow: var(--shadow-sm);
}
.faq__item summary {
    cursor: pointer;
    padding: 1.15rem 1.35rem;
    font-weight: 700;
    color: var(--text);
    list-style: none;
    position: relative;
    padding-right: 2.75rem;
    font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-2);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
    background:
        radial-gradient(ellipse 70% 90% at 50% 100%, rgba(59, 130, 246, 0.22), transparent 70%),
        var(--bg-ink);
    color: #e2e8f0;
    padding: 4rem 0;
    border-top: 1px solid var(--border-dark);
}
.cta-banner__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-banner__title {
    color: #ffffff;
    margin-bottom: 0.4rem;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: -0.02em;
}
.cta-banner__sub { color: #cbd5e1; margin: 0; font-size: 1.05rem; }
.cta-banner__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.cta-banner .btn--primary { background: var(--accent-bright); border-color: var(--accent-bright); }
.cta-banner .btn--primary:hover { background: #60a5fa; border-color: #60a5fa; color: var(--text-inverse); text-decoration: none; box-shadow: 0 4px 14px rgba(96, 165, 250, 0.4); }
.cta-banner .btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.32);
}
.cta-banner .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff !important; text-decoration: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 1.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.site-footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.25rem;
}
.site-footer__col h4.site-footer__heading {
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 0.85rem;
    font-weight: 700;
}
.site-footer__col a {
    display: block;
    color: var(--text-muted);
    padding: 0.25rem 0;
    transition: color 120ms ease;
}
.site-footer__col a:hover { color: var(--accent-2); text-decoration: underline; }
.site-footer__tag { color: var(--text-soft); margin: 0.65rem 0 0; line-height: 1.55; }
.brand--footer { color: var(--text); }
.site-footer__legal {
    max-width: var(--maxw);
    margin: 2.5rem auto 0;
    padding: 1.35rem 1.5rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.85rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.site-footer__sep { color: var(--text-dim); }

@media (max-width: 880px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .site-footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   FEATURES PAGE
   ============================================================ */

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}
.feature-tab {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    transition: all 120ms ease;
}
.feature-tab:hover { background: var(--bg); color: var(--text); }
.feature-tab.is-active { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.feature-list.is-hidden { display: none; }
.feature-list__note {
    font-size: 1.05rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
}

.feature-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.5rem;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    scroll-margin-top: calc(var(--header-height) + 1rem);
    box-shadow: var(--shadow-sm);
}
.feature:hover {
    border-color: var(--border-mid);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.feature__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-2);
    background: var(--accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature__body h2 {
    font-size: 1.3rem;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.feature__tag {
    font-size: 0.725rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.feature__tag--core { background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(37, 99, 235, 0.2); }
.feature__tag--roadmap { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.25); }

.feature__body p { margin: 0; line-height: 1.65; }

/* Compact grid for the smaller "everything included" features. */
.feature-extras {
    max-width: 900px;
    margin: 0.5rem auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
}
.feature-extras__title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text);
}
.feature-extras__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 2rem;
}
.feature-extras__grid li {
    position: relative;
    padding-left: 1.5rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.feature-extras__grid li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-2);
    font-weight: 700;
}
@media (max-width: 720px) {
    .feature-extras__grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .feature { grid-template-columns: 1fr; }
    .feature__num { width: 48px; height: 44px; font-size: 0.95rem; }
}

/* ============================================================
   PRICING PAGE
   ============================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.25rem;
    align-items: start;
}
@media (max-width: 880px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.pricing-table__title { margin-bottom: 1.25rem; }
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}
.pricing-table th,
.pricing-table td {
    padding: 0.85rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.pricing-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    font-weight: 700;
}
.pricing-table td strong { color: var(--text); }
.pricing-table__foot {
    color: var(--text-soft);
    font-size: 0.875rem;
    margin: 1.25rem 0 0;
    line-height: 1.55;
}

.pricing-calc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: sticky;
    top: calc(var(--header-height) + 1.25rem);
    box-shadow: var(--shadow);
}
.pricing-calc__title { margin-bottom: 1.25rem; }
.pricing-calc__label {
    display: block;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.pricing-calc__input-row {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    gap: 0.5rem;
    align-items: stretch;
}
.pricing-calc__step {
    background: var(--bg-soft);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all 120ms ease;
}
.pricing-calc__step:hover { background: var(--accent-soft); color: var(--accent-2); border-color: var(--accent-2); }
#calcDevices {
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    width: 100%;
    font-family: 'JetBrains Mono', monospace;
    appearance: textfield;
    -moz-appearance: textfield;
}
#calcDevices::-webkit-outer-spin-button,
#calcDevices::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#calcDevices:focus { outline: 0; box-shadow: var(--focus); border-color: var(--accent-2); }
#calcDevicesRange {
    width: 100%;
    margin-top: 1rem;
    accent-color: var(--accent-2);
}
.pricing-calc__scale {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 0.35rem;
}

.pricing-calc__result {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    margin: 1.35rem 0;
}
.pricing-calc__total {
    margin: 0 0 0.25rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-2);
    letter-spacing: -0.03em;
    font-family: 'JetBrains Mono', monospace;
}
.pricing-calc__total span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.25rem;
    font-family: inherit;
}
.pricing-calc__billable {
    margin: 0 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.pricing-calc__min {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--amber);
    font-size: 0.85rem;
    font-weight: 600;
}
.pricing-calc__lines {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 0.85rem;
}
.pricing-calc__lines li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}
.pricing-calc__line-amt { font-weight: 700; color: var(--text); font-family: 'JetBrains Mono', monospace; }

.pricing-calc__cta {
    display: grid;
    gap: 0.6rem;
}

.pricing-includes {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.pricing-includes__title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.pricing-includes__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-includes__list li {
    position: relative;
    padding: 0.32rem 0 0.32rem 1.6rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}
.pricing-includes__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.32rem;
    color: var(--green);
    font-weight: 800;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.25rem;
    align-items: start;
}
@media (max-width: 880px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.15rem; }
.form-row label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.req { color: var(--red); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-row select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 0;
    border-color: var(--accent-2);
    box-shadow: var(--focus);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin: 0.45rem 0 0;
    line-height: 1.5;
}
.form-error {
    background: var(--red-soft);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--red);
}
.form-error p { color: var(--red); margin: 0.35rem 0 0; font-size: 0.9rem; }
.form-foot { color: var(--text-soft); font-size: 0.875rem; margin: 1rem 0 0; }

/* Honeypot spam trap (formguard): rendered off-screen so humans and
   screen readers never see it, but present as a plain text input so
   bots that blanket-fill every field still trip it. Deliberately NOT
   display:none — some bots filter out hidden fields before filling. */
.hp-field {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-thanks {
    background: var(--green-soft);
    border: 1px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    text-align: center;
}
.contact-thanks h2 { color: var(--text); margin-bottom: 0.5rem; }
.contact-thanks p { margin: 0; }

.contact-aside {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.contact-aside h3 { margin-bottom: 0.85rem; }
.contact-aside__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.contact-aside__list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.75rem;
    align-items: baseline;
    margin: 0;
}
.contact-aside__list li:last-child { border-bottom: 0; }
.contact-aside__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    font-weight: 700;
}
.contact-aside__note {
    color: var(--text-soft);
    font-size: 0.875rem;
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    line-height: 1.55;
}

/* ============================================================
   DOCS
   ============================================================ */

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 720px) {
    .docs-grid { grid-template-columns: 1fr; }
}

.docs-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: var(--text);
    transition: all 180ms ease;
    box-shadow: var(--shadow-sm);
}
.docs-card:hover {
    border-color: var(--accent-bright);
    box-shadow: var(--shadow);
    text-decoration: none;
    transform: translateY(-2px);
}
.docs-card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.docs-card p { margin-bottom: 1rem; color: var(--text-muted); }
.docs-card__more { color: var(--accent-2); font-weight: 700; font-size: 0.95rem; }

.docs-prose {
    max-width: var(--maxw-prose);
    margin: 0 auto;
}
.docs-prose h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.docs-prose h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.docs-prose pre { margin: 1.25rem 0 1.75rem; }

.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 1.75rem;
}
.docs-table th,
.docs-table td {
    padding: 0.7rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.docs-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    font-weight: 700;
}

/* ============================================================
   STEPS (DEMO + SIGNUP)
   ============================================================ */

.steps {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}
.steps__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.35rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.steps__item:last-child { border-bottom: 0; }
.steps__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}
.steps__item h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.steps__item p { margin: 0; line-height: 1.6; }

/* ============================================================
   DOTS & BADGES
   ============================================================ */

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
}
.dot--green { background: var(--green); box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.dot--amber { background: var(--amber); box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.dot--red   { background: var(--red); box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.dot--blue  { background: var(--accent-bright); box-shadow: 0 0 8px rgba(59, 130, 246, 0.5); }
