/* =============================================================================
   ACQUISITION CURSOR  ·  site-wide
   -----------------------------------------------------------------------------
   A reticle, not a logo. It has a true centre, so clicking stays precise; it is
   directionally neutral, so it never implies a direction the page does not have;
   and it is the mark the products themselves draw. Square corners, butt caps,
   after the Samaritan idiom: an instrument, not an ornament.

   TWO STATES, which is what makes it safe to run everywhere:

     idle   wide corner brackets + tick marks + a 1.6px centre pip
     lock   brackets snapped inward, centre pip filled solid

   The lock state replaces `cursor: pointer` on everything clickable. A custom
   cursor across a whole site normally costs more affordance than it returns,
   because it flattens the browser's built-in "this is clickable" signal. Giving
   the pointer its own state in the same visual language pays that back: the
   cursor still changes over a link, it just changes into our idiom instead of
   the operating system's.

   Text entry keeps the native I-beam. Guessing at a caret is not worth it.

   Each SVG uses single quotes and is percent-encoded, so the data URI cannot
   close the CSS string it sits inside. Both carry a dark halo underneath so the
   cursor survives light panels, product renders and the galaxy intro.
   ========================================================================== */

:root {
    --reticle-idle: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Cg%20fill='none'%20stroke='%2304080d'%20stroke-width='4.2'%20stroke-linejoin='miter'%20opacity='.55'%3E%3Cpath%20d='M2%2010V2h8M22%202h8v8M30%2022v8h-8M10%2030H2v-8'/%3E%3Cpath%20d='M16%206v5M16%2021v5M6%2016h5M21%2016h5'/%3E%3C/g%3E%3Cg%20fill='none'%20stroke='%233ce2ff'%20stroke-width='2'%20stroke-linejoin='miter'%3E%3Cpath%20d='M2%2010V2h8M22%202h8v8M30%2022v8h-8M10%2030H2v-8'/%3E%3C/g%3E%3Cg%20fill='none'%20stroke='%233ce2ff'%20stroke-width='1.6'%3E%3Cpath%20d='M16%206v5M16%2021v5M6%2016h5M21%2016h5'/%3E%3C/g%3E%3Ccircle%20cx='16'%20cy='16'%20r='1.6'%20fill='%233ce2ff'/%3E%3C/svg%3E");
    --reticle-lock: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Cg%20fill='none'%20stroke='%2304080d'%20stroke-width='4.6'%20stroke-linejoin='miter'%20opacity='.6'%3E%3Cpath%20d='M6%2013V6h7M19%206h7v7M26%2019v7h-7M13%2026H6v-7'/%3E%3C/g%3E%3Ccircle%20cx='16'%20cy='16'%20r='4.8'%20fill='%2304080d'%20opacity='.55'/%3E%3Cg%20fill='none'%20stroke='%233ce2ff'%20stroke-width='2.4'%20stroke-linejoin='miter'%3E%3Cpath%20d='M6%2013V6h7M19%206h7v7M26%2019v7h-7M13%2026H6v-7'/%3E%3C/g%3E%3Ccircle%20cx='16'%20cy='16'%20r='3'%20fill='%233ce2ff'/%3E%3C/svg%3E");
}

/* The hotspot is the dead centre of a 32x32 image, so the click lands exactly
   where the pip sits. `crosshair` is the keyword fallback if the data URI is
   ever refused — it degrades to the right idea rather than to an arrow. */

html,
body {
    cursor: var(--reticle-idle) 16 16, crosshair;
}

/* Anything clickable acquires. Includes the elements that are only clickable
   because script says so, which the browser would otherwise leave as an arrow. */

a,
button,
summary,
label,
select,
[role="button"],
[role="tab"],
[role="link"],
[onclick],
.btn,
.cta,
.nav-link,
.product-card,
.platform-card,
.mload-skip {
    cursor: var(--reticle-lock) 16 16, pointer;
}

/* Text entry keeps the native caret: a reticle gives no indication of where the
   insertion point will land, and these are the few places on the site where
   that precision is the whole point. */

input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea,
[contenteditable="true"] {
    cursor: text;
}

input[type="checkbox"],
input[type="radio"],
input[type="submit"],
input[type="button"],
input[type="range"] {
    cursor: var(--reticle-lock) 16 16, pointer;
}

/* Disabled controls must not claim to be acquirable. */

:disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
}

/* Touch and coarse pointers never render a cursor, so do not pay to download or
   decode one. Also covers the hybrid laptops where a stylus reports coarse. */

@media (hover: none), (pointer: coarse) {
    html, body { cursor: auto; }
    a, button, summary, label, select,
    [role="button"], [role="tab"], [role="link"], [onclick],
    .btn, .cta, .nav-link, .product-card, .platform-card, .mload-skip,
    input[type="checkbox"], input[type="radio"],
    input[type="submit"], input[type="button"], input[type="range"] { cursor: pointer; }
}
