/**
 * W.A.I Desk v8.2 - The Session Window, maximalist cut
 *
 * Colour stays semantic: emerald = window open, amber = closing,
 * cyan = authentication (which lives outside the clock).
 * Everything else here exists to give the page depth, light and weight.
 */

/* ============================================================ tokens === */

:root {
    --ink: #04050a;
    --ink-2: #070911;
    --ink-3: #0b0e18;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-2: rgba(255, 255, 255, 0.055);
    --line: rgba(255, 255, 255, 0.10);
    --line-2: rgba(255, 255, 255, 0.20);

    --text: #f4f7fb;
    --dim: #9aa6b8;
    --faint: #5d6779;

    --open: #14f195;
    --closing: #ffb020;
    --closed: #7a8494;
    --auth: #35d0ff;

    --state: var(--open);

    --r: 16px;
    --r-lg: 26px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --mnx: 0;
    --mny: 0;
    --life: 0;
}

@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ============================================================== base === */

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

html.x-page {
    background: var(--ink);
    color-scheme: dark;
    overflow-x: clip;
    margin: 0;
    scroll-behavior: smooth;
}

body.x-body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

/* Kills the ~300ms double-tap zoom delay on touch, and the grey flash Android
   paints over taps (we draw our own :active states). */
:where(a, button, [role="tab"], [role="button"], summary, label) {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Digits that sit in columns or swap in place (KPI counters, OTP cells, the
   mock clock) must not reflow as values change. */
.x-ckpi-num, .x-sim-num, .x-stop-num, .x-sit-pill,
.x-otp-digits span, .x-phone-clock, .x-sim-stat-callout {
    font-variant-numeric: tabular-nums;
}
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }

:where(a, button, summary, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--open);
    outline-offset: 4px;
    border-radius: 6px;
}

.x-skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 0.8rem 1.2rem; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 10px; }
.x-skip:focus { left: 1rem; top: 1rem; }

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

.x-shell { width: min(100%, 1240px); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 3rem); }

section { position: relative; }
section[id] { scroll-margin-top: clamp(4.5rem, 8vw, 6.5rem); }

/* film grain over the whole page, fixed so it never repaints on scroll */
.x-grain {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.42;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ========================================================= typography == */

.x-display {
    font-size: clamp(2.8rem, 6.2vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.96;
}
.x-display-sm { font-size: clamp(2.6rem, 8vw, 6.5rem); }

.x-h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    font-weight: 660;
    letter-spacing: -0.04em;
    line-height: 1.12;
}
.x-h2 em, .x-life-title em, .x-display em {
    /* inline-block plus trailing padding: an italic's last glyph leans past
       its own box, and background-clip:text crops exactly at that box */
    display: inline-block;
    font-style: italic;
    font-weight: 620;
    line-height: 1.12;
    padding: 0 0.14em 0.1em 0;
    margin-right: -0.1em;
    background: linear-gradient(96deg, var(--state), color-mix(in srgb, var(--state) 35%, #ffffff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.x-sub { margin-top: 0.65rem; font-size: clamp(0.92rem, 1.08vw, 1.05rem); color: var(--dim); max-width: 58ch; line-height: 1.55; }
.x-sub-center { margin-inline: auto; text-align: center; }

.x-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.65rem; }
.x-label { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }

.x-dot { color: var(--state); }

/* ============================================================ buttons == */

.x-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 570;
    letter-spacing: -0.01em;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform 400ms var(--spring), background-color 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
    will-change: transform;
}
.x-btn-lg { min-height: 58px; padding: 0 2rem; font-size: 1rem; }
.x-btn-block { display: flex; width: 100%; }

.x-btn-primary {
    background: var(--open);
    color: #01130c;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--open) 60%, transparent), 0 18px 50px -18px color-mix(in srgb, var(--open) 70%, transparent);
}
.x-btn-primary:hover { box-shadow: 0 0 0 6px color-mix(in srgb, var(--open) 14%, transparent), 0 22px 60px -18px color-mix(in srgb, var(--open) 85%, transparent); }

.x-btn-glass {
    background: var(--panel-2);
    border-color: var(--line-2);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.x-btn-glass:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.32); }

.x-btn-ghost { border-color: var(--line); color: var(--dim); }
.x-btn-ghost:hover { color: var(--text); border-color: var(--line-2); }

.x-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.x-actions-center { justify-content: center; }

section[id] { scroll-margin-top: clamp(4.5rem, 8vh, 6rem); }

/* ============================================================= header == */

.x-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    background: linear-gradient(180deg, rgba(4, 5, 10, 0.9), rgba(4, 5, 10, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.x-nav {
    width: min(100%, 1240px);
    margin-inline: auto;
    padding: 1.1rem clamp(1.15rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    gap: 2rem;
}
.x-mark { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 640; letter-spacing: -0.03em; font-size: 1.02rem; }
.x-mark-lockup { display: block; height: 30px; width: auto; }
.x-mark-orb {
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--open);
    box-shadow: 0 0 18px 2px color-mix(in srgb, var(--open) 75%, transparent);
}
.x-nav-list { display: flex; gap: 1.9rem; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 0.92rem; color: var(--dim); }
.x-nav-list a { position: relative; }
.x-nav-list a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
    background: var(--state);
    transition: width 300ms var(--ease);
}
.x-nav-list a:hover { color: var(--text); }
.x-nav-list a:hover::after { width: 100%; }
.x-nav-end { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
.x-nav-list + .x-nav-end { margin-left: 0; }

.x-burger { display: none; width: 46px; height: 46px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.x-burger span { width: 20px; height: 1.5px; background: var(--text); }

.x-drawer { background: rgba(4, 5, 10, 0.97); border-top: 1px solid var(--line); padding: 1rem clamp(1.15rem, 4vw, 3rem) 1.6rem; }
.x-drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.x-drawer a { display: flex; align-items: center; min-height: 52px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }

/* =============================================================== hero == */

.x-hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

/* the field is bright, and body copy has to win against it */
.x-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(100deg, rgba(4, 5, 10, 0.82) 0%, rgba(4, 5, 10, 0.45) 38%, rgba(4, 5, 10, 0) 62%);
}

.x-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1200ms var(--ease); }
.x-hero-canvas.is-live { opacity: 1; }

/* what the page looks like with no WebGL at all */
.x-hero-fallback {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(60% 50% at 68% 42%, color-mix(in srgb, var(--open) 22%, transparent), transparent 70%),
        radial-gradient(45% 45% at 20% 75%, rgba(53, 208, 255, 0.13), transparent 70%),
        radial-gradient(80% 60% at 50% 0%, rgba(255, 176, 32, 0.09), transparent 70%),
        var(--ink);
}

/* the ring: a 78vh instrument, not an ornament */
.x-ring {
    position: absolute;
    top: 50%;
    left: 66%;
    width: min(76vh, 760px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%) translate3d(calc(var(--mnx) * 26px), calc(var(--mny) * 26px), 0);
    z-index: -1;
    transition: transform 700ms var(--ease);
    --state: var(--open);
    --ring-turn: 0.055;
}
.x-ring[data-state="closing"] { --state: var(--closing); }
.x-ring[data-state="closed"] { --state: var(--closed); }

.x-ring-svg { width: 100%; height: 100%; overflow: visible; }
.x-ring-track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
@keyframes x-ring-pulse {
    0%, 100% { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--state) 75%, transparent)); }
    50% { filter: drop-shadow(0 0 24px color-mix(in srgb, var(--state) 92%, transparent)); }
}
.x-ring-arc {
    fill: none;
    stroke: var(--state);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1156.1;
    stroke-dashoffset: calc(1156.1px - 1156.1px * var(--ring-turn, 0.055));
    transform: rotate(-90deg);
    transform-origin: 200px 200px;
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--state) 75%, transparent));
    animation: x-ring-pulse 4s ease-in-out infinite;
    transition: stroke 700ms var(--ease);
}
.x-ring-marks line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.x-ring-marks line.is-major { stroke: rgba(255, 255, 255, 0.3); }

.x-ring-head {
    transform-origin: 200px 200px;
    transform: rotate(calc(var(--ring-turn, 0.055) * 1turn));
    will-change: transform;
}
.x-ring-head.is-story {
    transition: transform 900ms var(--ease);
}
.x-ring-wave {
    fill: none;
    stroke: var(--state);
    pointer-events: none;
    filter: drop-shadow(0 0 6px var(--state));
    transition: stroke 700ms var(--ease);
}
.x-ring-dot {
    fill: var(--state);
    filter: drop-shadow(0 0 10px var(--state)) drop-shadow(0 0 20px color-mix(in srgb, var(--state) 90%, transparent));
    transition: fill 700ms var(--ease);
}
.x-ring-dot-core {
    fill: #ffffff;
    pointer-events: none;
    filter: drop-shadow(0 0 4px #ffffff);
}

.x-hero-inner {
    position: relative;
    width: min(100%, 1240px);
    margin-inline: auto;
    padding-inline: clamp(1.15rem, 4vw, 3rem);
    padding-top: clamp(1rem, 3vh, 2.5rem);
}

.x-line { display: block; overflow: hidden; }
.x-line > span {
    display: block;
    transform: translateY(105%);
    animation: x-rise 1150ms var(--ease) forwards;
}
.x-line:nth-child(2) > span { animation-delay: 110ms; }
.x-line:nth-child(3) > span { animation-delay: 220ms; }
@keyframes x-rise { to { transform: translateY(0); } }

.x-hours {
    display: inline-block;
    padding-right: 0.06em;
    background: linear-gradient(100deg, var(--open), #b8fff0 55%, var(--auth));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* no drop-shadow here: Chromium paints the filter against the element box,
       which shows up as a lit rectangle behind clipped text */
    -webkit-text-fill-color: transparent;
}

.x-hero-side {
    margin-top: clamp(1.4rem, 2.5vh, 2.2rem);
    max-width: 48ch;
    opacity: 0;
    animation: x-fade 900ms var(--ease) 480ms forwards;
}
@keyframes x-fade { to { opacity: 1; } }
.x-hero-sub { font-size: clamp(1rem, 1.15vw, 1.15rem); color: var(--dim); }

/* ========================================================== lifecycle == */

.x-life { background: var(--ink); }
.x-life-sticky { position: sticky; top: 0; height: 100dvh; display: grid; place-items: center; overflow: hidden; padding-top: 4rem; }
.x-life-runway { height: 85vh; }

.x-life-stage { width: min(100%, 1240px); padding-inline: clamp(1.15rem, 4vw, 3rem); }
.x-life-title {
    font-size: clamp(2.2rem, 4.8vw, 3.9rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.x-track {
    position: relative;
    margin-top: clamp(2.2rem, 5vw, 3.6rem);
}
.x-track-line {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 3px;
}
.x-track-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--life) * 100%);
    background: linear-gradient(90deg, var(--auth), var(--open));
    box-shadow: 0 0 18px color-mix(in srgb, var(--open) 75%, transparent);
    transition: width 600ms var(--ease);
    border-radius: 3px;
}
.x-track-packet {
    position: absolute;
    top: 50%;
    left: calc(var(--life) * 100%);
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--open);
    box-shadow: 0 0 24px 6px color-mix(in srgb, var(--open) 85%, transparent), 0 0 0 3px rgba(4, 5, 10, 0.9);
    transition: left 600ms var(--ease);
    z-index: 3;
}
.x-track-stops {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.x-track-stops li {
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    transition: color 350ms var(--ease);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    user-select: none;
}
.x-stop-num {
    font-size: 0.66rem;
    font-weight: 700;
    opacity: 0.5;
    transition: opacity 300ms var(--ease), color 300ms var(--ease);
}
.x-track-stops li:nth-child(2),
.x-track-stops li:nth-child(3) {
    justify-content: center;
}
.x-track-stops li:last-child {
    justify-content: flex-end;
}
.x-track-stops li.is-past { color: var(--dim); }
.x-track-stops li.is-now { color: var(--open); font-weight: 600; }
.x-track-stops li.is-now .x-stop-num { opacity: 1; color: var(--open); }

.x-life-cards {
    position: relative;
    margin-top: clamp(2rem, 4.5vw, 3.5rem);
    min-height: 400px;
}
.x-life-card {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(1.8rem, 4vw, 3.8rem);
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 350ms var(--ease), transform 350ms var(--ease), visibility 350ms;
    pointer-events: none;
}
.x-life-card.is-on {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.x-life-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.x-life-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    font-weight: 650;
    color: var(--open);
    margin-bottom: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--open) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--open) 25%, transparent);
}
.x-life-card h3 {
    font-size: clamp(1.65rem, 2.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
}
.x-life-card p {
    margin-top: 0.95rem;
    color: var(--dim);
    font-size: 1.05rem;
    line-height: 1.62;
    max-width: 46ch;
}
.x-life-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
}
.x-pill-feature {
    font-size: 0.74rem;
    font-weight: 550;
    letter-spacing: 0.02em;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* Glassmorphic simulation preview container */
.x-life-visual { width: 100%; }
.x-sim-window {
    background: rgba(11, 14, 24, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 0 26px 65px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 400ms var(--ease), border-color 400ms var(--ease);
}
.x-sim-window:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}
.x-sim-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.76rem;
}
.x-sim-dots { display: flex; gap: 6px; }
.x-sim-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}
.x-sim-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 550;
    color: #e2e8f0;
}
.x-sim-pill {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.x-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--open);
    box-shadow: 0 0 8px var(--open);
    animation: x-pulse 1.8s infinite;
}
@keyframes x-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}
.x-sim-live { background: rgba(20, 241, 149, 0.12); color: var(--open); border: 1px solid rgba(20, 241, 149, 0.25); }
.x-sim-ai { background: rgba(53, 208, 255, 0.12); color: var(--auth); border: 1px solid rgba(53, 208, 255, 0.25); }
.x-sim-resolved { background: rgba(20, 241, 149, 0.15); color: var(--open); border: 1px solid rgba(20, 241, 149, 0.3); }
.x-sim-escalated { background: rgba(255, 176, 32, 0.12); color: var(--closing); border: 1px solid rgba(255, 176, 32, 0.25); }

.x-sim-body {
    padding: 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.x-sim-msg-in, .x-sim-msg-out { display: flex; flex-direction: column; }
.x-sim-sender {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
    color: #e2e8f0;
}
.x-sim-num { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }
.x-sim-bubble {
    position: relative;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.48;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    max-width: 95%;
}
.x-sim-bubble-bot {
    background: rgba(18, 54, 42, 0.45);
    border-color: rgba(20, 241, 149, 0.22);
}
.x-sim-bubble-bot p { margin: 0; color: #f1f5f9; font-size: 0.9rem; line-height: 1.45; }
.x-sim-time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.67rem;
    color: #94a3b8;
    text-align: right;
    font-family: var(--mono);
}
.x-sim-buttons { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.x-sim-btn-action {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: rgba(20, 241, 149, 0.12);
    border: 1px solid rgba(20, 241, 149, 0.3);
    color: var(--open);
    font-size: 0.75rem;
    font-weight: 550;
}

.x-sim-stream {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9px;
    padding: 0.75rem 0.9rem;
    font-family: var(--mono);
    font-size: 0.71rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.x-sim-log { display: flex; align-items: center; gap: 0.55rem; }
.x-log-tag { color: var(--open); font-weight: 700; }
.x-log-path { color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-log-status { margin-left: auto; color: #94a3b8; }
.x-sim-sig { color: #64748b; font-size: 0.67rem; }

.x-sim-intent-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.x-intent-row {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.77rem;
}
.x-intent-k {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.x-intent-v { font-weight: 600; color: #f1f5f9; }
.x-intent-score {
    font-family: var(--mono);
    font-size: 0.69rem;
    color: var(--auth);
    text-align: right;
}
.x-sim-routing-route {
    background: rgba(53, 208, 255, 0.06);
    border: 1px solid rgba(53, 208, 255, 0.16);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.75rem;
    color: #cbd5e1;
}
.x-route-indicator { display: flex; align-items: center; gap: 0.5rem; }
.x-route-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auth);
    box-shadow: 0 0 8px var(--auth);
}

.x-sim-stat-callout {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: rgba(20, 241, 149, 0.06);
    border: 1px solid rgba(20, 241, 149, 0.16);
    font-size: 0.77rem;
    color: #cbd5e1;
}
.x-callout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--open);
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 700;
}

.x-sim-handoff-box { display: flex; flex-direction: column; gap: 0.75rem; }
.x-handoff-agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.x-agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb020, #f59e0b);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}
.x-agent-meta { display: flex; flex-direction: column; font-size: 0.78rem; }
.x-agent-meta strong { color: #f1f5f9; }
.x-agent-meta span { font-size: 0.69rem; color: #94a3b8; }
.x-agent-badge {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--open);
    padding: 0.18rem 0.48rem;
    border-radius: 4px;
    background: rgba(20, 241, 149, 0.1);
}
.x-handoff-note {
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.05);
    border: 1px dashed rgba(255, 176, 32, 0.25);
    font-size: 0.8rem;
    color: #e2e8f0;
}
.x-handoff-note p { margin: 0; color: #e2e8f0; font-size: 0.8rem; line-height: 1.45; }
.x-note-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--closing);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.x-handoff-meta-row {
    display: flex;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.67rem;
    color: #94a3b8;
}
.x-handoff-meta-row span {
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 960px) {
    .x-life-cards { min-height: 560px; }
    .x-life-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================================ console == */

.x-console {
    padding-block: clamp(4.5rem, 7vh, 6.5rem);
    background: linear-gradient(180deg, var(--ink), var(--ink-2) 60%, var(--ink));
    position: relative;
    overflow: hidden;
}
.x-console-head {
    text-align: center;
    max-width: 64ch;
    margin-inline: auto;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
}
.x-console-head .x-eyebrow {
    justify-content: center;
    margin-bottom: 0.6rem;
}
.x-console-head .x-sub {
    margin-top: 0.65rem;
    color: var(--dim);
}

.x-console-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}
.x-console-tabs {
    display: inline-flex;
    gap: 0.45rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(11, 14, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    justify-content: center;
}
.x-ctab {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 550;
    color: var(--dim);
    cursor: pointer;
    transition: color 250ms var(--ease), background-color 250ms var(--ease);
}
.x-ctab:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.x-ctab.is-active {
    color: var(--ink);
    background: var(--open);
    font-weight: 600;
    box-shadow: 0 0 20px color-mix(in srgb, var(--open) 60%, transparent);
}
.x-ctab.is-active .x-ctab-pill { background: rgba(0, 0, 0, 0.25); color: var(--ink); }
.x-ctab-pill {
    font-size: 0.68rem;
    font-family: var(--mono);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--dim);
}

.x-console-deck {
    position: relative;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 50px -15px color-mix(in srgb, var(--open) 18%, transparent);
    z-index: 1;
}
.x-cview { display: none; width: 100%; }
.x-cview.is-active { display: block; animation: x-fade 350ms var(--ease); }

.x-cui-window {
    background: rgba(9, 12, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.x-cui-topbar {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.85rem 1.3rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    flex-wrap: wrap;
}
.x-cui-dots { display: flex; gap: 6px; }
.x-cui-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}
.x-cui-brand { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; }
.x-cui-orb {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--open);
    box-shadow: 0 0 10px var(--open);
}
.x-cui-sep { color: rgba(255, 255, 255, 0.2); }
.x-cui-sub { color: var(--dim); font-size: 0.76rem; }
.x-cui-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #64748b;
    font-size: 0.76rem;
    width: clamp(180px, 28vw, 340px);
    margin-left: auto;
}
.x-cui-search kbd {
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--dim);
    margin-left: auto;
}
.x-cui-user { display: flex; align-items: center; gap: 0.6rem; }
.x-cui-user-badge { font-size: 0.74rem; color: #cbd5e1; font-weight: 500; }
.x-cui-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #04050a;
    font-weight: 700;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.x-cui-status-pill {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--open);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.2);
}

.x-cui-body {
    display: grid;
    grid-template-columns: 170px 280px 1fr;
    height: 440px;
    overflow: hidden;
}
.x-cui-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.x-cnav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.x-cnav-item:hover { background: rgba(255, 255, 255, 0.04); color: #f1f5f9; }
.x-cnav-item.is-active { background: rgba(20, 241, 149, 0.12); color: var(--open); font-weight: 600; }
.x-cnav-cnt {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(20, 241, 149, 0.2);
    color: var(--open);
}

.x-cui-chats {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
}
.x-cchats-header {
    display: flex;
    gap: 0.4rem;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.72rem;
    font-family: var(--mono);
}
.x-cchats-filter {
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    color: var(--dim);
    cursor: pointer;
}
.x-cchats-filter.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 600;
}
.x-cchats-list { display: flex; flex-direction: column; overflow-y: auto; }
.x-cchat-item {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    cursor: pointer;
    transition: background 200ms var(--ease);
}
.x-cchat-item:hover { background: rgba(255, 255, 255, 0.03); }
.x-cchat-item.is-active { background: rgba(20, 241, 149, 0.06); border-left: 2px solid var(--open); }
.x-cchat-avatar {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e293b;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 650;
    font-size: 0.74rem;
    flex-shrink: 0;
}
.x-cchat-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--open);
    border: 2px solid #04050a;
}
.x-cchat-info { flex: 1; min-width: 0; }
.x-cchat-top { display: flex; justify-content: space-between; align-items: baseline; }
.x-cchat-top strong { font-size: 0.78rem; color: #f1f5f9; font-weight: 600; }
.x-cchat-time { font-family: var(--mono); font-size: 0.65rem; color: var(--dim); }
.x-cchat-snip {
    font-size: 0.72rem;
    color: var(--dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.2rem;
}

.x-cui-thread {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.22);
    height: 100%;
}
.x-cthread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 0.5rem;
}
.x-cthread-profile { display: flex; align-items: center; gap: 0.7rem; }
.x-cthread-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 650;
    font-size: 0.75rem;
}
.x-cthread-meta { display: flex; flex-direction: column; font-size: 0.8rem; }
.x-cthread-meta strong { color: #f1f5f9; }
.x-cthread-meta span { font-size: 0.68rem; color: var(--dim); font-family: var(--mono); }
.x-ctag-vip { font-style: normal; color: var(--closing); font-weight: 600; }
.x-cthread-actions { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.x-cbadge-assigned {
    font-family: var(--mono);
    font-size: 0.66rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 241, 149, 0.1);
    color: var(--open);
    border: 1px solid rgba(20, 241, 149, 0.2);
}
.x-cbtn-pill {
    font-size: 0.72rem;
    font-weight: 550;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    cursor: pointer;
}
.x-cbtn-pill.is-primary { background: var(--open); color: #04050a; font-weight: 600; border-color: var(--open); }

.x-cthread-messages {
    flex: 1;
    padding: 1.1rem 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.x-tmsg { display: flex; width: 100%; }
.x-tmsg-in { justify-content: flex-start; }
.x-tmsg-out { justify-content: flex-end; }
.x-tbubble {
    max-width: 82%;
    padding: 0.7rem 0.95rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}
.x-tbubble-bot { background: rgba(18, 54, 42, 0.45); border-color: rgba(20, 241, 149, 0.25); }
.x-tbot-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--open);
    margin-bottom: 0.25rem;
    font-family: var(--mono);
}
.x-tbot-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--open); }
.x-ttime {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.65rem;
    color: #94a3b8;
    font-family: var(--mono);
    text-align: right;
}
.x-tbubble-card {
    background: rgba(11, 25, 44, 0.65);
    border-color: rgba(53, 208, 255, 0.3);
    width: 100%;
    max-width: 320px;
}
.x-tcard-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--auth);
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.x-tcard-body p { margin: 0; font-size: 0.82rem; color: #f1f5f9; }
.x-tcard-dates { font-size: 0.7rem !important; color: #cbd5e1 !important; margin-top: 0.2rem !important; font-family: var(--mono); }
.x-tcard-actions { display: flex; gap: 0.4rem; margin-top: 0.55rem; }
.x-tcard-btn {
    font-size: 0.7rem;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    background: rgba(53, 208, 255, 0.15);
    border: 1px solid rgba(53, 208, 255, 0.3);
    color: var(--auth);
    font-weight: 550;
}
.x-tnote {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.05);
    border: 1px dashed rgba(255, 176, 32, 0.3);
    font-size: 0.78rem;
    color: #cbd5e1;
}
.x-tnote-badge {
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--closing);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}
.x-tnote p { margin: 0; }

.x-cthread-input {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.35);
}
.x-tinput-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.x-tinput-box input {
    flex: 1;
    background: transparent;
    border: 0;
    color: #f1f5f9;
    font-size: 0.8rem;
}
.x-tinput-box input:focus-visible {
    outline: 2px solid var(--open);
    outline-offset: 2px;
    border-radius: 4px;
}
.x-tinput-send {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--open);
    color: #04050a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    flex-shrink: 0;
}

/* Automation DAG flow styles */
.x-flow-canvas {
    padding: 2.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    min-height: 480px;
    background: radial-gradient(circle at center, rgba(53, 208, 255, 0.04), transparent 70%);
}
.x-flow-node {
    width: min(100%, 380px);
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    background: rgba(11, 14, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.x-fnode-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--mono);
    font-size: 0.67rem;
    color: var(--auth);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}
.x-fnode-body strong { display: block; font-size: 0.85rem; color: #f1f5f9; }
.x-fnode-body p { margin: 0.2rem 0 0; font-size: 0.75rem; color: var(--dim); }
.x-flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 24px;
}
.x-flow-line { width: 2px; height: 100%; background: rgba(53, 208, 255, 0.3); }
.x-flow-branch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: min(100%, 680px);
}
.x-fbranch-col { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.x-fnode-branch-tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
}
.x-fnode-branch-tag.is-yes { background: rgba(20, 241, 149, 0.15); color: var(--open); }
.x-fnode-branch-tag.is-no { background: rgba(255, 176, 32, 0.15); color: var(--closing); }

/* Campaign Analytics styles */
.x-camp-dashboard {
    padding: 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    min-height: 480px;
}
.x-camp-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.x-ckpi {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}
.x-ckpi-label { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; font-family: var(--mono); }
.x-ckpi-num { font-size: 1.6rem; color: #f1f5f9; font-weight: 700; margin: 0.3rem 0; }
.x-ckpi-delta { font-size: 0.7rem; color: var(--open); font-family: var(--mono); }
.x-camp-charts {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.4rem;
}
.x-cchart-box, .x-cstatus-box {
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.x-cchart-title { display: block; font-size: 0.8rem; font-weight: 600; color: #cbd5e1; margin-bottom: 1.2rem; }
.x-cbars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 140px;
    padding-top: 10px;
}
.x-cbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    justify-content: flex-end;
    flex: 1;
}
.x-cbar-fill {
    width: 20px;
    height: var(--h);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--open), color-mix(in srgb, var(--open) 40%, transparent));
    box-shadow: 0 0 12px color-mix(in srgb, var(--open) 30%, transparent);
}
.x-cbar span { font-family: var(--mono); font-size: 0.65rem; color: var(--dim); }
.x-cstatus-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.8rem; color: #cbd5e1; }
.x-cstatus-list li { display: flex; align-items: center; gap: 0.6rem; }
.x-cstatus-dot { width: 8px; height: 8px; border-radius: 50%; }
.x-cstatus-dot.is-sent { background: #3b82f6; }
.x-cstatus-dot.is-del { background: var(--open); }
.x-cstatus-dot.is-read { background: var(--auth); }
.x-cstatus-dot.is-fail { background: #f43f5e; }

/* 4 Core Pillars below console */
.x-console-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}
.x-pillar {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: background-color 300ms var(--ease), border-color 300ms var(--ease),
                transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.x-pillar:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(20, 241, 149, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.6);
}
.x-pillar-icon { font-size: 1.25rem; margin-bottom: 0.35rem; }
.x-pillar h3 { font-size: 0.92rem; font-weight: 650; margin-bottom: 0.25rem; color: #f1f5f9; }
.x-pillar p { font-size: 0.8rem; color: var(--dim); line-height: 1.42; }

@media (max-width: 1080px) {
    .x-cui-body { grid-template-columns: 60px 240px 1fr; }
    .x-cnav-txt, .x-cnav-cnt { display: none; }
    .x-cnav-item { justify-content: center; }
    .x-console-pillars { grid-template-columns: 1fr 1fr; }
    .x-camp-kpis { grid-template-columns: 1fr 1fr; }
    .x-camp-charts { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .x-console-badges { flex-wrap: wrap; justify-content: center; font-size: 0.7rem; }
    .x-cui-body { grid-template-columns: 1fr; height: auto; }
    .x-cui-sidebar { display: none; }
    .x-cui-chats { display: none; }
    .x-cui-search { display: none; }
    .x-flow-branch { grid-template-columns: 1fr; }
    .x-console-pillars { grid-template-columns: 1fr; }
}

/* ============================================================ foundry == */

.x-foundry { padding-block: clamp(4.5rem, 7vh, 6.5rem); background: var(--ink-2); position: relative; overflow: hidden; }
.x-foundry::before {
    content: "";
    position: absolute;
    inset: -20% 30% 40% -10%;
    background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--auth) 12%, transparent), transparent 60%);
    pointer-events: none;
}

.x-foundry-head {
    text-align: center;
    max-width: 66ch;
    margin-inline: auto;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}
.x-foundry-head .x-eyebrow {
    justify-content: center;
    margin-bottom: 0.6rem;
}
.x-foundry-head .x-sub {
    margin-top: 0.65rem;
    color: var(--dim);
}

.x-drum-wrap {
    position: relative;
    margin-block: 0.5rem clamp(2.5rem, 5vh, 3.75rem);
}
.x-drum-hint { text-align: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.6rem; }

.x-drum {
    position: relative;
    height: 250px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    cursor: grab;
    touch-action: pan-y;
}
.x-drum:active { cursor: grabbing; }
.x-drum-ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: translateZ(-380px) rotateY(calc(var(--rot, 0) * 1deg));
    transition: transform 700ms var(--ease);
}
.x-drum-ring.is-dragging { transition: none; }

.x-plate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    margin: -85px 0 0 -150px;
    padding: 1.05rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 60px -20px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(380px);
    transition: opacity 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
    opacity: 0.25;
    /* without this the far side of the drum shows its plates mirrored */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.x-plate[aria-selected="true"] {
    opacity: 1;
    border-color: color-mix(in srgb, var(--cat-hue, var(--open)) 65%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 20px 50px -15px color-mix(in srgb, var(--cat-hue, var(--open)) 30%, transparent);
}
.x-plate[data-cat="utility"] { --cat-hue: var(--open); }
.x-plate[data-cat="marketing"] { --cat-hue: var(--closing); }
.x-plate[data-cat="auth"] { --cat-hue: var(--auth); }

.x-plate-cat { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cat-hue); }
.x-plate-body { margin-top: 0.65rem; font-size: 0.94rem; line-height: 1.45; letter-spacing: -0.015em; color: #e2e8f0; }
.x-plate-foot { display: block; margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--faint); }

.x-drum-floor {
    position: absolute;
    inset: auto 15% -10px 15%;
    height: 70px;
    background: radial-gradient(50% 100% at 50% 100%, color-mix(in srgb, var(--open) 14%, transparent), transparent 70%);
    filter: blur(16px);
    pointer-events: none;
    z-index: 0;
}

.x-composer {
    max-width: 1040px;
    margin-inline: auto;
    margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border: 1px solid var(--line-2);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(16, 22, 34, 0.75) 0%, rgba(8, 12, 18, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.x-composer-edit {
    padding: clamp(1.3rem, 2.2vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.x-composer-preview {
    padding: clamp(1.3rem, 2.2vw, 2rem);
    border-left: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-composer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.x-tpl-cat-pills {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--line);
}

.x-tcat-btn {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    color: var(--dim);
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
    cursor: pointer;
    min-height: 32px;
}

.x-tcat-btn:hover {
    color: var(--text);
}

.x-tcat-btn.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.x-tpl-vars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.x-tvar-lbl {
    font-size: 0.72rem;
    font-family: var(--mono);
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 0.2rem;
}

.x-tvar-btn {
    font-size: 0.75rem;
    font-family: var(--mono);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: rgba(20, 241, 149, 0.05);
    border: 1px solid rgba(20, 241, 149, 0.22);
    color: var(--open);
    cursor: pointer;
    min-height: 30px;
    transition: background 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease);
}

.x-tvar-btn:hover {
    background: rgba(20, 241, 149, 0.14);
    border-color: var(--open);
    transform: translateY(-1px);
}

.x-field-lbl {
    display: block;
    margin-bottom: 0.4rem;
}

.x-field textarea {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.85rem 1.05rem;
    background: rgba(0, 0, 0, 0.45);
    color: #f1f5f9;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    font-family: var(--mono);
    font-size: 0.88rem;
    line-height: 1.55;
    resize: none;
    min-height: 96px;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.x-field textarea:focus {
    outline: none;
    border-color: var(--open);
    box-shadow: 0 0 0 3px rgba(20, 241, 149, 0.15);
}

.x-help {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: var(--faint);
    line-height: 1.45;
}

.x-linter {
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color 300ms var(--ease);
}
.x-linter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.x-cat {
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--cat-hue, var(--open)) 16%, transparent);
    color: var(--cat-hue, var(--open));
    border: 1px solid color-mix(in srgb, var(--cat-hue, var(--open)) 40%, transparent);
    transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.x-linter[data-cat="utility"] { --cat-hue: var(--open); }
.x-linter[data-cat="marketing"] { --cat-hue: var(--closing); }
.x-linter-why {
    margin-top: 0.65rem;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.5;
}
.x-linter-foot {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.x-linter-badge {
    font-size: 0.72rem;
    font-family: var(--mono);
    color: var(--open);
    letter-spacing: 0.04em;
}
.x-linter-honesty {
    font-size: 0.74rem;
    color: var(--faint);
    font-style: italic;
}

/* WhatsApp Smartphone Mockup */
.x-phone-mockup {
    width: 100%;
    max-width: 360px;
    background: #0b141a;
    border: 3px solid #233138;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 28px 70px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
}

.x-phone-speaker-slit {
    width: 54px;
    height: 4px;
    background: #1f2c34;
    border-radius: 999px;
    margin: 9px auto 3px;
}

.x-phone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 1.25rem 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8696a0;
}

.x-phone-indicators {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.x-status-icon {
    display: inline-block;
    vertical-align: middle;
}

.x-phone-battery {
    width: 18px;
    height: 9px;
    border: 1px solid #8696a0;
    border-radius: 2.5px;
    padding: 1px;
    position: relative;
    box-sizing: border-box;
}

.x-phone-battery::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 2px;
    width: 1.5px;
    height: 3px;
    background: #8696a0;
    border-radius: 0 1px 1px 0;
}

.x-phone-batt-level {
    display: block;
    width: 75%;
    height: 100%;
    background: #8696a0;
    border-radius: 1px;
}

.x-phone-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    background: #1f2c34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.x-phone-back {
    font-size: 1.3rem;
    line-height: 1;
    color: #00a884;
    cursor: pointer;
    margin-right: -0.15rem;
}

.x-phone-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.x-phone-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111b21;
    border: 1.5px solid #25d366;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.x-phone-avatar-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.x-phone-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.x-phone-name-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.x-phone-name-row strong {
    font-size: 0.84rem;
    color: #e9edef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.x-wa-verified {
    flex-shrink: 0;
}

.x-phone-subtext {
    font-size: 0.66rem;
    color: #8696a0;
    white-space: nowrap;
}

.x-phone-actions-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #00a884;
}

.x-phone-chat {
    padding: 0.9rem 0.85rem;
    background: #0b141a;
    background-image: radial-gradient(circle at 50% 50%, rgba(32, 44, 51, 0.45) 0%, rgba(11, 20, 26, 0.85) 100%);
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.x-wa-enc-banner {
    text-align: center;
    margin-bottom: 0.75rem;
}

.x-wa-enc-banner span {
    display: inline-block;
    background: rgba(24, 34, 41, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    font-size: 0.62rem;
    color: #ffd279;
    line-height: 1.35;
    max-width: 92%;
}

.x-tpl-card-wrap {
    max-width: 100%;
    background: #1f2c34;
    border-radius: 12px 12px 12px 3px;
    overflow: hidden;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.x-tpl-media-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.68rem;
    font-weight: 600;
    color: #aebac1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.x-phone-chat .x-bubble {
    margin: 0;
    padding: 0.75rem 0.85rem 0.4rem;
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #e9edef;
}

.x-phone-msg-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    padding: 0 0.75rem 0.45rem;
}

.x-phone-time {
    font-size: 0.64rem;
    color: #8696a0;
}

.x-wa-ticks {
    font-size: 0.72rem;
    color: #53bdeb;
    font-weight: 700;
    letter-spacing: -0.1em;
}

.x-tpl-actions {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.x-tpl-action-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #53bdeb;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    min-height: 34px;
    transition: background 150ms var(--ease);
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
}

.x-tpl-action-btn:last-child {
    border-bottom: none;
}

.x-tpl-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.x-phone-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem 0.65rem;
    background: #1f2c34;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.x-phone-emoji, .x-phone-attach {
    color: #8696a0;
    font-size: 0.95rem;
    cursor: pointer;
}

.x-phone-fake-input {
    flex: 1;
    background: #2a3942;
    border-radius: 18px;
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
    color: #8696a0;
}

.x-phone-mic {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00a884;
    color: #ffffff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.x-sim { margin-top: 0.9rem; font-size: 0.75rem; color: var(--faint); text-align: center; }

.x-fact { margin-top: 2rem; font-size: 0.88rem; color: var(--faint); max-width: 72ch; }
.x-src { color: var(--dim); border-bottom: 1px solid var(--line-2); margin-left: 0.4rem; white-space: nowrap; }
.x-src:hover { color: var(--text); }

/* =========================================================== verify ==== */

.x-verify { padding-block: clamp(4.5rem, 7vh, 6.5rem); background: #020306; --state: var(--auth); position: relative; overflow: hidden; }
.x-verify::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 70%;
    background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--auth) 14%, transparent), transparent 70%);
    pointer-events: none;
}
.x-verify .x-eyebrow { color: var(--auth); }

.x-verify-grid { margin-top: 1.25rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.2rem, 2.5vw, 2.4rem); align-items: start; }

.x-verify-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.x-vcard {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.95rem 1.2rem;
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease);
}

.x-vcard:hover {
    border-color: rgba(53, 208, 255, 0.35);
    background: rgba(255, 255, 255, 0.035);
    transform: translateY(-2px);
}

.x-vcard-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.x-vcard-text h3 {
    font-size: 0.96rem;
    font-weight: 650;
    color: #fff;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.x-vcard-text p {
    font-size: 0.82rem;
    color: var(--dim);
    line-height: 1.48;
    margin: 0;
}

.x-otp { text-align: center; padding: clamp(1.15rem, 2.2vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.02); }

.x-otp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.x-otp-live-pill {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--auth) 15%, transparent);
    color: var(--auth);
    border: 1px solid color-mix(in srgb, var(--auth) 30%, transparent);
}

.x-otp-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 999px;
    margin-bottom: 1.1rem;
    font-size: 0.74rem;
    font-family: var(--mono);
    color: var(--dim);
}

.x-pipe-step {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.x-pipe-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auth);
    box-shadow: 0 0 6px var(--auth);
}

.x-pipe-sep {
    color: var(--faint);
    font-weight: bold;
}

.x-otp-digits { display: flex; justify-content: center; gap: 0.55rem; }
.x-otp-digits span {
    width: 2.75rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-2);
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--auth);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 26px -12px color-mix(in srgb, var(--auth) 80%, transparent);
}
.x-otp-digits span.is-pop { animation: x-pop 340ms var(--spring); }
@keyframes x-pop {
    0% { transform: scale(0.86); opacity: 0.4; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
.x-otp-meta { margin-top: 0.85rem; font-size: 0.82rem; color: var(--dim); }
.x-otp-live-status { color: var(--open); font-weight: 600; }
.x-otp-actions { display: flex; justify-content: center; gap: 0.7rem; margin-top: 1.1rem; flex-wrap: wrap; }

/* Push Notification Banner Simulator */
.x-otp-push-card {
    margin-top: 1.25rem;
    padding: 0.85rem 1.1rem;
    background: rgba(31, 44, 52, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.x-push-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.x-push-app {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #e9edef;
}

.x-push-time {
    font-size: 0.7rem;
    color: #8696a0;
}

.x-push-msg {
    font-size: 0.88rem;
    line-height: 1.4;
    color: #d1d7db;
}

.x-push-msg strong {
    color: #fff;
    font-family: var(--mono);
    letter-spacing: 0.05em;
}

.x-push-actions {
    margin-top: 0.65rem;
    display: flex;
    justify-content: flex-end;
}

.x-push-action-chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--auth);
    background: color-mix(in srgb, var(--auth) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--auth) 30%, transparent);
    border-radius: 999px;
    cursor: pointer;
    min-height: 30px;
    transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}

.x-push-action-chip:hover {
    background: color-mix(in srgb, var(--auth) 22%, transparent);
    border-color: var(--auth);
}

.x-verify-facts { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 3rem; }
.x-verify-facts li { font-size: 0.9rem; color: var(--dim); padding-top: 1.1rem; border-top: 1px solid var(--line); }
.x-verify-facts code { font-family: var(--mono); font-size: 0.85rem; color: var(--auth); }

/* ======================================================== situations === */

.x-situations { padding-block: clamp(4.5rem, 7vh, 6.5rem); background: var(--ink-2); position: relative; overflow: hidden; }
.x-situations::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(20, 241, 149, 0.04), transparent 60%);
    pointer-events: none;
}

.x-sit-head { max-width: 780px; }

.x-sit-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.15rem; }
.x-sit-tab {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--dim);
    min-height: 38px;
    cursor: pointer;
    transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease);
}
.x-sit-tab:hover { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.x-sit-tab[aria-selected="true"],
.x-sit-tab.is-active {
    color: #04050a;
    background: var(--open);
    border-color: var(--open);
    font-weight: 600;
    box-shadow: 0 4px 16px -4px rgba(20, 241, 149, 0.5);
}

.x-sit-panel {
    margin-top: 1.15rem;
    padding: clamp(1.15rem, 2.2vw, 1.85rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.x-sit-panel[hidden] { display: none; }
.x-sit-panel[data-state="open"] { --state: var(--open); }
.x-sit-panel[data-state="closing"] { --state: var(--closing); }

.x-sit-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: clamp(1.5rem, 3vw, 2.8rem);
    align-items: center;
}

.x-sit-info { display: flex; flex-direction: column; }
.x-sit-state {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--state);
    padding: 0.3rem 0.75rem;
    background: color-mix(in srgb, var(--state) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--state) 28%, transparent);
    border-radius: 999px;
    margin-bottom: 0.65rem;
}
.x-sit-h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.55rem;
}
.x-sit-desc {
    font-size: 0.9rem;
    line-height: 1.52;
    color: var(--dim);
    margin-bottom: 0.85rem;
}

.x-sit-bullets {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.x-sit-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: #d1d7db;
    line-height: 1.4;
}
.x-sit-bullets li span {
    color: var(--open);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.4;
}

.x-sit-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}
.x-sit-pill {
    font-size: 0.75rem;
    font-family: var(--mono);
    color: var(--dim);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line-2);
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
}
.x-sit-pill strong {
    color: var(--text);
    font-weight: 600;
}

/* WhatsApp Simulated Phone Box */
.x-wbox {
    background: #0b141a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.x-wbox-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    background: #1f2c34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.x-wbox-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25d366;
    color: #0b141a;
    font-weight: 700;
    font-size: 0.8rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.x-wbox-meta {
    display: flex;
    flex-direction: column;
}
.x-wbox-meta strong {
    font-size: 0.86rem;
    color: #e9edef;
}
.x-wbox-meta span {
    font-size: 0.7rem;
    color: #8696a0;
}

.x-wbox-body {
    padding: 1.25rem;
    background: radial-gradient(circle at 50% 50%, #0d1a22 0%, #080e13 100%);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 280px;
}

.x-wb-msg {
    max-width: 88%;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    position: relative;
}
.x-wb-msg p { margin: 0; font-size: 0.88rem; color: #e9edef; }
.x-wb-msg.is-in {
    align-self: flex-start;
    background: #1f2c34;
    border-bottom-left-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.x-wb-msg.is-out {
    align-self: flex-end;
    background: #005c4b;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.x-wb-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #8696a0;
    margin-top: 0.35rem;
}
.x-wb-msg.is-out .x-wb-time {
    color: #8bbfae;
}

.x-wb-bot-tag {
    font-size: 0.68rem;
    font-family: var(--mono);
    color: #14f195;
    background: rgba(20, 241, 149, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.x-wb-handoff-banner {
    align-self: center;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 176, 32, 0.12);
    border: 1px solid rgba(255, 176, 32, 0.28);
    border-radius: 999px;
    font-size: 0.72rem;
    font-family: var(--mono);
    color: #ffb020;
    text-align: center;
}
.x-wb-handoff-banner.is-vip {
    background: rgba(53, 208, 255, 0.12);
    border-color: rgba(53, 208, 255, 0.28);
    color: #35d0ff;
}

.x-wb-promo-card {
    padding: 0.7rem 0.95rem;
    background: #1f2c34;
    border-left: 3px solid #ffb020;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #d1d7db;
}
.x-wb-promo-card p { margin: 0; font-size: 0.82rem; }
.x-wb-promo-tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: #ffb020;
    display: block;
    margin-bottom: 0.2rem;
}

.x-wb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}
.x-wb-btn {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #53bdeb;
    cursor: pointer;
    min-height: 30px;
    transition: background 150ms var(--ease);
}
.x-wb-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ============================================================== faq ==== */

.x-faq {
    padding-block: clamp(4.5rem, 7vh, 6.5rem);
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.x-faq::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 30%, rgba(20, 241, 149, 0.035), transparent 50%),
                radial-gradient(circle at 90% 70%, rgba(53, 208, 255, 0.03), transparent 50%);
    pointer-events: none;
}

.x-faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(1.8rem, 4vw, 3.5rem);
    align-items: start;
}

.x-faq-intro {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 5.5rem;
}

.x-faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.x-faq-filter {
    font-family: var(--mono);
    font-size: 0.76rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: var(--dim);
    cursor: pointer;
    min-height: 32px;
    transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.x-faq-filter:hover {
    color: var(--text);
    border-color: var(--line-2);
    background: rgba(255, 255, 255, 0.06);
}

.x-faq-filter.is-active {
    background: rgba(20, 241, 149, 0.12);
    border-color: rgba(20, 241, 149, 0.4);
    color: var(--open);
    font-weight: 600;
}

.x-faq-help-card {
    margin-top: 1.4rem;
    padding: 1.15rem 1.25rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.x-faq-help-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.x-faq-help-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.x-faq-help-head strong {
    display: block;
    font-size: 0.92rem;
    color: #fff;
    font-weight: 600;
}

.x-faq-help-head span {
    display: block;
    font-size: 0.75rem;
    color: var(--faint);
}

.x-faq-help-card p {
    font-size: 0.85rem;
    color: var(--dim);
    line-height: 1.5;
    margin: 0;
}

.x-faq-help-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.x-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.x-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 220ms var(--ease), background-color 220ms var(--ease), box-shadow 220ms var(--ease);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.x-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
}

.x-faq-item[open] {
    border-color: rgba(20, 241, 149, 0.28);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.x-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 2.6rem 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    position: relative;
    user-select: none;
}

.x-faq-item summary::-webkit-details-marker {
    display: none;
}

.x-faq-item summary::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    margin-top: -5px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--faint);
    border-bottom: 1.5px solid var(--faint);
    transform: rotate(45deg);
    transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}

.x-faq-item[open] summary::after {
    transform: rotate(-135deg);
    border-color: var(--open);
}

.x-faq-q-text {
    font-size: 0.94rem;
    font-weight: 600;
    color: #e9edef;
    line-height: 1.45;
    flex: 1;
}

.x-faq-tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--dim);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.x-faq-item[open] .x-faq-tag {
    color: var(--open);
    border-color: rgba(20, 241, 149, 0.25);
    background: rgba(20, 241, 149, 0.08);
}

.x-faq-answer {
    padding: 0 1.15rem 1rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.x-faq-answer p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--dim);
    margin: 0;
}

/* ============================================================ close ==== */

.x-close {
    padding-block: clamp(4.5rem, 7vh, 6.5rem);
    position: relative;
    overflow: hidden;
    background: #020306;
}

.x-close-glow {
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 100%;
    background: radial-gradient(55% 65% at 50% 100%, rgba(20, 241, 149, 0.16) 0%, rgba(53, 208, 255, 0.08) 50%, transparent 75%);
    filter: blur(40px);
    pointer-events: none;
}

.x-close-card {
    border: 1px solid rgba(20, 241, 149, 0.24);
    border-radius: 24px;
    background: rgba(12, 17, 24, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 50px -15px rgba(20, 241, 149, 0.14);
    position: relative;
}

.x-close-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.4rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--dim);
}

.x-close-dots {
    display: flex;
    gap: 6px;
}

.x-close-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.x-close-dots span:nth-child(1) { background: #ff5f56; }
.x-close-dots span:nth-child(2) { background: #ffbd2e; }
.x-close-dots span:nth-child(3) { background: #27c93f; }

.x-close-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.x-close-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--open);
    box-shadow: 0 0 8px var(--open);
}

.x-close-content {
    padding: clamp(2rem, 3.8vw, 3.2rem) clamp(1.5rem, 3.8vw, 3rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.x-close-h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
}

.x-close-h2 em {
    font-style: normal;
    color: var(--open);
    font-family: var(--serif);
    font-weight: 400;
}

.x-close-desc {
    max-width: 62ch;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.55;
    color: var(--dim);
    margin-bottom: 1.6rem;
}

.x-close-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.x-close-btn-pri {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.8rem;
    font-size: 0.98rem;
}

.x-close-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: left;
}

.x-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.x-trust-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.x-trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.x-trust-text strong {
    font-size: 0.88rem;
    color: #fff;
    font-weight: 600;
}

.x-trust-text span {
    font-size: 0.76rem;
    color: var(--faint);
    line-height: 1.4;
}

/* =========================================================== footer ==== */

.x-footer {
    border-top: 1px solid var(--line);
    padding-block: 3.5rem;
    background: var(--ink);
}

.x-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.x-footer-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--faint);
    max-width: 46ch;
    line-height: 1.5;
}

.x-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: var(--dim);
}

.x-footer-links a:hover {
    color: var(--text);
}

/* ======================================================== responsive === */

@media (max-width: 1080px) {
    .x-composer, .x-verify-grid, .x-faq-grid, .x-sit-grid { grid-template-columns: 1fr; }
    .x-faq-intro { position: static; }
    .x-close-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .x-composer-preview { border-left: 0; border-top: 1px solid var(--line); }
    .x-shots { grid-template-columns: 1fr; }
    .x-verify-facts { grid-template-columns: 1fr; }
    .x-ring { left: 50%; opacity: 0.5; width: min(70vh, 560px); }
}

@media (max-width: 860px) {
    .x-nav-list { display: none; }
    .x-burger { display: flex; }
    .x-nav-end .x-btn { min-height: 44px; padding: 0 1.1rem; }
}

/* Short, wide screens (phones in landscape): centred 100dvh content is taller
   than the screen, so overflow:hidden clipped the headline under the nav.
   Let the hero grow with its content instead. */
@media (max-height: 560px) and (orientation: landscape) {
    .x-hero { min-height: auto; padding-block: 6rem 3rem; }
}

@media (max-width: 620px) {
    .x-display { font-size: clamp(2.7rem, 13vw, 4rem); }
    .x-hero { min-height: auto; padding-block: 7rem 4rem; }
    /* the ring stays behind the headline rather than pushing it off screen */
    .x-ring { top: 44%; left: 50%; transform: translate(-50%, -50%); width: min(104vw, 460px); opacity: 0.5; }
    .x-hero::after { background: linear-gradient(180deg, rgba(4, 5, 10, 0.5) 0%, rgba(4, 5, 10, 0.2) 30%, rgba(4, 5, 10, 0.88) 68%); }
    .x-shot:nth-child(2), .x-shot:nth-child(3) { margin-top: 0; }
    .x-actions { flex-direction: column; }
    .x-actions .x-btn { width: 100%; }

    .x-close-trust-grid { grid-template-columns: 1fr; gap: 1.1rem; }
    .x-close-actions { flex-direction: column; width: 100%; }
    .x-close-actions .x-btn { width: 100%; }
    .x-close-bar .x-close-ver { display: none; }
    .x-faq-item summary { flex-wrap: wrap; padding-right: 2.2rem; }
    .x-faq-tag { order: -1; }
    .x-faq-help-actions { flex-direction: column; }
    .x-faq-help-actions .x-btn { width: 100%; text-align: center; }

    .x-life-sticky { height: auto; position: static; padding-block: 4rem; }
    .x-life-runway { display: none; }
    .x-life-cards { min-height: 0; display: grid; gap: 2rem; }
    /* Desktop hides every card but the active one via visibility (not just
       opacity) — this stacked-list fallback shows all of them at once, so
       visibility has to be reset too, or every card but the first is an
       invisible blank block still taking up its full height. */
    .x-life-card { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .x-track-stops { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .x-track-stops li, .x-track-stops li:nth-child(n+2), .x-track-stops li:last-child { text-align: left; }

    /* the drum becomes a snap rail rather than a broken carousel */
    .x-drum { height: auto; perspective: none; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
    .x-drum-ring { position: static; display: flex; gap: 1rem; transform: none; transform-style: flat; }
    .x-plate { position: static; margin: 0; transform: none; opacity: 1; width: 80vw; max-width: 300px; flex: 0 0 auto; scroll-snap-align: center; }
    .x-drum-floor { display: none; }

    .x-otp-digits span { width: 2.6rem; height: 3.4rem; font-size: 1.5rem; }
    a, button, summary { min-height: 44px; }
}

@media (max-width: 420px) {
    .x-otp-digits { gap: 0.35rem; }
    .x-otp-digits span { width: 2.15rem; height: 2.9rem; font-size: 1.25rem; }
    .x-otp-pipeline { flex-wrap: wrap; font-size: 0.68rem; gap: 0.35rem; padding: 0.5rem 0.75rem; }
    .x-tpl-cat-pills { flex-wrap: wrap; }
    .x-tpl-card-wrap { max-width: 100%; }
}

/* ===================================================== touch & tablet == */

/* Console view tabs: three pills never fit one row below ~960px, and wrapping
   them turned the capsule into an oval with a clipped third tab. One
   swipeable strip instead; `safe center` keeps it centred when it fits and
   start-aligned (reachable) when it doesn't. */
@media (max-width: 960px) {
    .x-console-tabs-wrap { justify-content: safe center; }
    .x-console-tabs {
        flex-wrap: nowrap;
        justify-content: safe center;
        max-width: 100%;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .x-console-tabs::-webkit-scrollbar { display: none; }
    .x-ctab { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: center; }
}

/* FAQ: tag on its own line above the question, so the question gets the full
   row instead of a ~170px column beside the tag. */
@media (max-width: 620px) {
    .x-faq-q-text { flex: 1 1 100%; }
}

/* Touch devices of any width (phones, tablets, landscape): 44px hit areas,
   and 16px form text so iOS Safari doesn't zoom the page on focus. */
@media (pointer: coarse) {
    .x-mark,
    .x-tvar-btn,
    .x-tcat-btn,
    .x-cbtn-pill,
    .x-faq-filter,
    .x-sit-tab,
    .x-ctab,
    .x-tpl-action-btn,
    .x-push-action-chip { min-height: 44px; }
    .x-mark { display: inline-flex; align-items: center; }
    .x-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .x-tinput-send { min-width: 44px; min-height: 44px; }
    #x-tpl-body, .x-tinput-box input { font-size: 16px; }
}

/* ===================================================== reduced motion == */

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

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    /* meaning survives: everything that animates in is simply already there */
    .x-line > span { transform: none; }
    .x-hero-side { opacity: 1; }
    .x-life-card { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .x-life-cards { display: grid; gap: 2rem; min-height: 0; }
    .x-life-sticky { position: static; height: auto; padding-block: 4rem; }
    .x-life-runway { display: none; }
    .x-ring, .x-shot-frame { transform: translate(-50%, -50%); }
    .x-shot-frame { transform: none; }
    .x-hero-canvas { display: none; }
    .x-ring-wave { display: none !important; }
}
