/* ==========================================================================
   Appnox Design System — 01 Tokens
   Palette is fixed by brand spec. Do not add hues outside this list.
   ========================================================================== */

:root {
  /* --- Brand palette (locked) --- */
  --anx-ink:          #0f172a;
  --anx-body:         #475569;
  --anx-blue:         #2563eb;
  --anx-blue-deep:    #1d4ed8;
  --anx-blue-hi:      #60a5fa;
  --anx-blue-pale:    #eff6ff;
  --anx-blue-soft:    #f4f8ff;
  --anx-blue-light:   #e5eeff;
  --anx-neutral:      #f8fafc;
  --anx-border:       #e2e8f0;
  --anx-white:        #ffffff;

  /* --- Derived, kept inside the palette --- */
  --anx-ink-70:       #334155;
  /* 4.72:1 or better on every surface in this palette, including the
     palest blue. The previous #64748b fell to 4.47:1 on --anx-blue-soft. */
  --anx-muted:        #5b6a80;
  --anx-border-soft:  #edf2f7;
  --anx-border-blue:  #d7e4fb;

  /* --- Deep-blue surfaces. The site has no dark ground at all: the closing
         CTA and the footer sit on the palest blues in the palette, with ink
         type, so every surface on every page is blue-and-white. --- */
  --anx-deep:         #e8f0ff;   /* the strongest tint used as a ground   */
  --anx-deep-edge:    #c9dcfb;
  --anx-on-deep:      #4b5a70;   /*  5.6:1 on the panel's deepest tint    */
  --anx-on-deep-mute: #5b6a80;   /*  5.0:1 on --anx-deep                  */
  --anx-on-deep-line: rgba(37, 99, 235, 0.14);

  /* --- Signature surfaces --- */
  --anx-page-bg: radial-gradient(at 50% 4%, #e5eeff 0%, #f7faff 45%, #ffffff 80%);
  --anx-btn-primary: linear-gradient(110deg, #2563eb, #1d4ed8);
  --anx-btn-primary-hover: linear-gradient(110deg, #1d4ed8, #1e40af);
  /* Hairline that catches light along the top edge of a raised surface. */
  --anx-edge: linear-gradient(90deg,
      rgba(37, 99, 235, 0) 0%, rgba(96, 165, 250, 0.75) 28%,
      rgba(37, 99, 235, 0.9) 62%, rgba(37, 99, 235, 0) 100%);
  /* Faint engineering grid, used behind heroes and dark bands. */
  --anx-grid: linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
              linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  --anx-grid-ink: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  --anx-grid-size: 62px 62px;

  /* Circuit corner. One motif, used at low opacity on every raised surface,
     so a card reads as part of a system rather than as a plain box. */
  --anx-circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none'%3E%3Cpath d='M96 22H74a8 8 0 0 0-8 8v12' stroke='%232563eb' stroke-width='1.25' stroke-linecap='round'/%3E%3Cpath d='M96 46H86a6 6 0 0 0-6 6v14' stroke='%2360a5fa' stroke-width='1.25' stroke-linecap='round'/%3E%3Cpath d='M52 0v14a8 8 0 0 0 8 8h8' stroke='%2360a5fa' stroke-width='1.25' stroke-linecap='round'/%3E%3Ccircle cx='66' cy='44' r='3.2' fill='%232563eb'/%3E%3Ccircle cx='80' cy='68' r='2.4' fill='%2360a5fa'/%3E%3Crect x='62' y='6' width='9' height='9' rx='2.5' stroke='%232563eb' stroke-width='1.25'/%3E%3C/svg%3E");

  /* --- Type --- */
  --anx-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
              "Helvetica Neue", Arial, sans-serif;
  --anx-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Display sizes run larger than a typical services site on purpose: at these
     weights and tracking the headline carries the page rather than the artwork. */
  --fs-display: clamp(2.45rem, 1.62rem + 2.6vw, 3.72rem);
  --fs-h1:      clamp(2.2rem, 1.55rem + 2.2vw, 3.3rem);
  --fs-h2:      clamp(1.95rem, 1.5rem + 1.75vw, 2.82rem);
  --fs-h3:      clamp(1.28rem, 1.14rem + 0.62vw, 1.6rem);
  --fs-h4:      clamp(1.08rem, 1.01rem + 0.32vw, 1.22rem);
  --fs-lead:    clamp(1.12rem, 1.0rem + 0.6vw, 1.42rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9625rem;
  --fs-xs:      0.8375rem;
  --fs-eyebrow: 0.75rem;

  --lh-tight: 1.06;
  --lh-head:  1.13;
  --lh-snug:  1.3;
  --lh-body:  1.7;

  --tr-display: -0.038em;
  --tr-head:    -0.026em;
  --tr-eyebrow:  0.14em;

  --fw-display: 700;

  /* --- Spacing --- */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-28: 112px;

  --sp-section: clamp(84px, 9.5vw, 152px);
  --sp-section-tight: clamp(60px, 6.5vw, 100px);

  /* --- Layout --- */
  --anx-max: 1264px;
  --anx-max-narrow: 900px;
  --anx-max-text: 68ch;
  --anx-gutter: clamp(20px, 4.2vw, 52px);

  /* --- Radii --- */
  --r-sm: 12px;  --r-md: 16px;  --r-lg: 22px;  --r-xl: 32px; --r-2xl: 40px;
  --r-pill: 999px;

  /* --- Elevation: two-layer, low-contrast, blue-tinted --- */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.035);
  --sh-md: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px -10px rgba(15, 23, 42, 0.11);
  --sh-lg: 0 2px 4px rgba(15, 23, 42, 0.03), 0 26px 60px -20px rgba(15, 23, 42, 0.17);
  --sh-xl: 0 2px 4px rgba(15, 23, 42, 0.03), 0 44px 92px -32px rgba(15, 23, 42, 0.26);
  --sh-blue: 0 8px 24px -10px rgba(37, 99, 235, 0.42);
  --sh-blue-hover: 0 14px 34px -10px rgba(37, 99, 235, 0.52);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 680ms;

  --anx-header-h: 78px;
}

@media (max-width: 860px) { :root { --anx-header-h: 66px; } }

/* ==========================================================================
   Appnox Design System — 02 Base, reset, typography, layout primitives
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--anx-header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--anx-font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--anx-body);
  background: var(--anx-white);
  background-image: var(--anx-page-bg);
  background-repeat: no-repeat;
  background-size: 100% 1100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv05" 1, "ss01" 1;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--anx-ink);
  font-weight: 600;
  line-height: var(--lh-head);
  letter-spacing: var(--tr-head);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1); font-weight: var(--fw-display);
  letter-spacing: var(--tr-display); line-height: var(--lh-tight);
}
h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-display);
  letter-spacing: var(--tr-display); line-height: 1.07;
}
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--anx-blue-deep); text-decoration: none; }
a:hover { color: var(--anx-blue); }

img, svg, video { max-width: 100%; height: auto; display: block; }
strong { color: var(--anx-ink-70); font-weight: 600; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: var(--sp-2); }
li::marker { color: var(--anx-blue-hi); }

hr { border: 0; border-top: 1px solid var(--anx-border); margin: var(--sp-12) 0; }

::selection { background: var(--anx-blue-light); color: var(--anx-ink); }

/* --- Focus: always visible, never removed --- */
:focus-visible {
  outline: 2px solid var(--anx-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* --- Skip link --- */
.anx-skip {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--anx-white);
  color: var(--anx-blue-deep);
  font-size: var(--fs-sm); font-weight: 600;
  padding: 12px 22px;
  border: 1px solid var(--anx-border-blue);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--sh-md);
  transition: transform var(--dur) var(--ease-out);
}
.anx-skip:focus { transform: translate(-50%, 0); }

/* ---------- Layout primitives ---------- */
.anx-shell { width: 100%; max-width: var(--anx-max); margin-inline: auto; padding-inline: var(--anx-gutter); }
.anx-shell--narrow { max-width: var(--anx-max-narrow); }

.anx-section { padding-block: var(--sp-section); position: relative; }
.anx-section--tight { padding-block: var(--sp-section-tight); }
.anx-section--pale { background: var(--anx-blue-soft); }
.anx-section--neutral { background: var(--anx-neutral); }
.anx-section--white { background: var(--anx-white); }

/* Hairline separators instead of hard colour blocks where possible */
.anx-section--ruled { border-top: 1px solid var(--anx-border); }

/* Tinted band. The light system's equivalent of a change of ground: a deeper
   blue wash with the same grid texture, used where a long page needs a pause. */
.anx-section--wash {
  background:
    radial-gradient(58% 70% at 12% 0%, rgba(96, 165, 250, 0.20) 0%, rgba(96, 165, 250, 0) 62%),
    radial-gradient(48% 62% at 92% 100%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 60%),
    linear-gradient(180deg, var(--anx-blue-soft) 0%, var(--anx-blue-pale) 100%);
  border-block: 1px solid var(--anx-border-blue);
  overflow: hidden;
  isolation: isolate;
}
.anx-section--wash::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--anx-grid);
  background-size: var(--anx-grid-size);
  -webkit-mask-image: radial-gradient(72% 72% at 50% 38%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 72% at 50% 38%, #000 0%, transparent 78%);
}

.anx-stack > * + * { margin-top: var(--sp-4); }

.anx-grid { display: grid; gap: var(--sp-6); }
.anx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.anx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.anx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .anx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .anx-grid--2, .anx-grid--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .anx-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Section headers ---------- */
.anx-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--anx-blue-deep);
}
.anx-eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--anx-blue-hi), var(--anx-blue));
  flex: none;
}

.anx-section-head { max-width: 820px; margin-bottom: clamp(44px, 5.2vw, 76px); }
.anx-section-head--centre { margin-inline: auto; text-align: center; }
.anx-section-head--centre .anx-eyebrow::before { display: none; }

.anx-lead {
  font-size: var(--fs-lead);
  line-height: 1.52;
  letter-spacing: -0.014em;
  color: var(--anx-ink-70);
  margin-top: var(--sp-6);
  max-width: var(--anx-max-text);
  text-wrap: pretty;
}
.anx-section-head--centre .anx-lead { margin-inline: auto; }

.anx-prose { max-width: var(--anx-max-text); }
.anx-prose p + p { margin-top: var(--sp-4); }

/* ==========================================================================
   Appnox Design System — 03 Components
   ========================================================================== */

/* ---------- Buttons ---------- */
.anx-btn {
  --btn-y: 15px; --btn-x: 28px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-y) var(--btn-x);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.2;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-soft),
              border-color var(--dur) var(--ease-soft),
              color var(--dur) var(--ease-soft);
}
.anx-btn:disabled, .anx-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.anx-btn--primary {
  background: var(--anx-btn-primary);
  color: var(--anx-white);
  box-shadow: var(--sh-blue);
}
/* A light sweep travels across the primary button on hover. It is a single
   pass on a pseudo-element, so no content moves and nothing loops. */
.anx-btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg,
    rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-100%);
  transition: transform 640ms var(--ease-out);
}
.anx-btn--primary:hover:not(:disabled)::before { transform: translateX(100%); }
.anx-btn--primary:hover:not(:disabled) {
  background: var(--anx-btn-primary-hover);
  color: var(--anx-white);
  transform: translateY(-2px);
  box-shadow: var(--sh-blue-hover);
}
.anx-btn--primary:active:not(:disabled) { transform: translateY(0); }

.anx-btn--secondary {
  background: var(--anx-white);
  color: var(--anx-ink);
  border-color: var(--anx-border);
  box-shadow: var(--sh-sm);
}
.anx-btn--secondary:hover:not(:disabled) {
  color: var(--anx-blue-deep);
  border-color: var(--anx-border-blue);
  background: var(--anx-blue-pale);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.anx-btn--ghost { background: transparent; color: var(--anx-ink); border-color: var(--anx-border); }
.anx-btn--ghost:hover { background: var(--anx-white); color: var(--anx-blue-deep); border-color: var(--anx-border-blue); }

.anx-btn--sm { --btn-y: 11px; --btn-x: 20px; font-size: var(--fs-xs); }
.anx-btn--lg { --btn-y: 17px; --btn-x: 34px; font-size: var(--fs-body); }

/* Circular arrow badge inside a pill. The badge is decorative — the label
   carries the accessible name — so it is aria-hidden in the markup. */
.anx-btn__badge {
  flex: none;
  width: 26px; height: 26px;
  margin-right: -8px; margin-left: 2px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-soft);
}
.anx-btn__badge svg { width: 12px; height: 12px; }
.anx-btn:hover .anx-btn__badge { transform: translateX(3px); background: rgba(255, 255, 255, 0.3); }
.anx-btn--secondary .anx-btn__badge,
.anx-btn--ghost .anx-btn__badge { background: var(--anx-blue-pale); color: var(--anx-blue-deep); }
.anx-btn--secondary:hover .anx-btn__badge { background: var(--anx-blue-light); }
.anx-btn--lg .anx-btn__badge { width: 30px; height: 30px; margin-right: -10px; }

.anx-btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
@media (max-width: 480px) {
  .anx-btn-row { flex-direction: column; align-items: stretch; }
  .anx-btn-row .anx-btn { width: 100%; }
}

/* Inline text link with arrow */
.anx-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-sm); font-weight: 600;
  min-height: 24px;                 /* WCAG 2.2 AA target size */
  color: var(--anx-blue-deep);
}
.anx-link .anx-link__arrow { transition: transform var(--dur) var(--ease-out); }
.anx-link:hover .anx-link__arrow { transform: translateX(3px); }

/* ---------- Cards ----------
   A card is a piece of a system, not a box with text in it. Three cues carry
   that, and all three are opacity or colour changes — the card itself only
   ever lifts 3px, so a grid of them never feels busy:
     · a circuit corner traced into the top-right
     · a gradient hairline along the top edge
     · a soft field of light behind the index marker
   ------------------------------------------------------------------------ */
.anx-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 2.6vw, 40px);
  background: linear-gradient(168deg, var(--anx-white) 0%, var(--anx-white) 62%, var(--anx-blue-soft) 100%);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-soft),
              background-position var(--dur-slow) var(--ease-out);
}
/* The motif sits at 40% until the card is addressed, inset so the whole trace
   is visible rather than clipped by the corner radius. */
.anx-card::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 96px; height: 96px; z-index: -1; pointer-events: none;
  background: var(--anx-circuit) center / contain no-repeat;
  opacity: 0.4;
  transition: opacity var(--dur) var(--ease-soft);
}
.anx-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1.5px;
  background: var(--anx-edge);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-soft);
}
.anx-card:hover {
  transform: translateY(-3px);
  border-color: var(--anx-blue-hi);
  box-shadow: var(--sh-md);
}
.anx-card:hover::before { opacity: 1; }
.anx-card:hover::after { opacity: 0.85; }
.anx-card--flat { box-shadow: none; }
.anx-card--pale {
  background: linear-gradient(168deg, var(--anx-blue-soft) 0%, var(--anx-blue-pale) 100%);
  border-color: var(--anx-border-blue);
}

/* Index marker: a monospace badge on a tinted plate with a light behind it. */
.anx-card__index {
  position: relative;
  align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 28px; padding: 0 10px;
  margin-bottom: var(--sp-5);
  font-family: var(--anx-font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--anx-blue-deep);
  background: var(--anx-blue-pale);
  border: 1px solid var(--anx-border-blue);
  border-radius: 8px;
  transition: background-color var(--dur) var(--ease-soft),
              border-color var(--dur) var(--ease-soft);
}
.anx-card:hover .anx-card__index {
  background: var(--anx-blue-light);
  border-color: var(--anx-blue-hi);
}
.anx-card__title { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.anx-card__body { font-size: var(--fs-sm); line-height: 1.64; margin: 0; }
.anx-card__foot {
  margin-top: auto; padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* Capability chips. A leading node dot makes each one read as a component in
   a system rather than as a decorative tag. */
.anx-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 11px;
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--anx-ink-70);
  background: var(--anx-white);
  border: 1px solid var(--anx-border-blue);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease-soft),
              background-color var(--dur-fast) var(--ease-soft);
}
.anx-chip::before {
  content: ""; width: 5px; height: 5px; flex: none;
  border-radius: 50%;
  background: var(--anx-blue-hi);
  box-shadow: 0 0 0 2.5px rgba(96, 165, 250, 0.2);
}
.anx-card:hover .anx-chip { border-color: var(--anx-blue-hi); background: var(--anx-blue-pale); }

/* Icon plate: a lit surface rather than a flat swatch. */
.anx-plate {
  position: relative;
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  margin-bottom: var(--sp-5);
  border-radius: 15px;
  background: linear-gradient(150deg, var(--anx-white), var(--anx-blue-light));
  border: 1px solid var(--anx-border-blue);
  color: var(--anx-blue-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
              0 6px 16px -8px rgba(37, 99, 235, 0.45);
}
.anx-plate::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(96, 165, 250, 0.9), rgba(37, 99, 235, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.anx-plate svg { width: 24px; height: 24px; }

/* ---------- Numbered process rail ---------- */
.anx-rail { display: grid; gap: 0; counter-reset: rail; }
.anx-rail__item {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 0.85fr) minmax(0, 1.55fr);
  gap: var(--sp-6);
  align-items: start;
  padding: clamp(28px, 2.8vw, 42px) 0;
  border-top: 1px solid var(--anx-border);
  transition: border-color var(--dur) var(--ease-soft);
}
.anx-rail__item:last-child { border-bottom: 1px solid var(--anx-border); }
.anx-rail__item:hover { border-top-color: var(--anx-border-blue); }
.anx-rail__num {
  margin: 0;
  font-family: var(--anx-font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--anx-blue-deep);
  letter-spacing: 0.08em;
  padding-top: 5px;
}
.anx-rail__title { font-size: var(--fs-h3); margin: 0; }
.anx-rail__body { font-size: var(--fs-sm); line-height: 1.66; max-width: 62ch; margin: 0; }
@media (max-width: 1024px) {
  .anx-rail__item { grid-template-columns: 64px minmax(0, 1fr); gap: var(--sp-4) var(--sp-5); }
  .anx-rail__title { grid-column: 2; margin-bottom: var(--sp-3); }
  .anx-rail__body { grid-column: 2; }
}
@media (max-width: 640px) {
  .anx-rail__item { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .anx-rail__title, .anx-rail__body { grid-column: 1; }
}

/* ---------- Statement / quote block ---------- */
.anx-statement {
  border-left: 2px solid var(--anx-blue-hi);
  padding-left: clamp(20px, 2.4vw, 34px);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--anx-ink);
  letter-spacing: -0.016em;
}

/* ---------- Note / disclosure line ---------- */
.anx-note {
  font-size: var(--fs-xs);
  line-height: 1.62;
  color: var(--anx-muted);
  margin-top: var(--sp-5);
}

/* ---------- Accordion (FAQ) ---------- */
.anx-faq { border-top: 1px solid var(--anx-border); }
.anx-faq__item { border-bottom: 1px solid var(--anx-border); }
.anx-faq__btn {
  width: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-6);
  padding: clamp(22px, 2.3vw, 30px) 0;
  background: none; border: 0;
  font-family: inherit;
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--anx-ink);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur) var(--ease-soft);
}
.anx-faq__btn:hover { color: var(--anx-blue-deep); }
.anx-faq__icon {
  flex: none; width: 28px; height: 28px; margin-top: 2px;
  display: grid; place-items: center;
  border: 1px solid var(--anx-border); border-radius: 50%;
  color: var(--anx-blue-deep);
  transition: transform var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-soft),
              border-color var(--dur) var(--ease-soft);
}
.anx-faq__btn:hover .anx-faq__icon { background: var(--anx-blue-pale); border-color: var(--anx-border-blue); }
.anx-faq__btn[aria-expanded="true"] .anx-faq__icon { transform: rotate(45deg); }
.anx-faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease-out); }
.anx-faq__panel[data-open="true"] { grid-template-rows: 1fr; }
/* A collapsed panel is clipped to zero height, which hides it visually but
   would leave its content focusable and in the accessibility tree.
   `visibility: hidden` takes it out of both; the delay lets the row
   animation finish before it disappears. */
.anx-faq__panel > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear var(--dur-slow);
}
.anx-faq__panel[data-open="true"] > div { visibility: visible; transition-delay: 0s; }
.anx-faq__panel p {
  font-size: var(--fs-sm); line-height: 1.7;
  max-width: 68ch;
  padding-bottom: clamp(22px, 2.3vw, 30px);
}

/* ---------- Visual frame for SVG art ---------- */
.anx-visual {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--anx-border-blue);
  background: linear-gradient(168deg, var(--anx-white) 0%, var(--anx-blue-soft) 58%, var(--anx-blue-pale) 100%);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
/* Light catches the top edge of the frame, the way it does on the cards. */
.anx-visual::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: var(--anx-edge); opacity: 0.6;
}
.anx-visual svg { width: 100%; height: auto; display: block; }
.anx-visual--plain { box-shadow: var(--sh-md); }

/* ==========================================================================
   Appnox Design System — 04 Header, navigation, footer
   ========================================================================== */

.anx-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-soft),
              box-shadow var(--dur) var(--ease-soft),
              background-color var(--dur) var(--ease-soft);
}
.anx-header[data-stuck="true"] {
  border-bottom-color: var(--anx-border);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 1px 24px -12px rgba(15, 23, 42, 0.22);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .anx-header { background: var(--anx-white); }
}

.anx-header__inner {
  height: var(--anx-header-h);
  display: flex; align-items: center; gap: var(--sp-6);
}

/* --- Logo --- */
.anx-logo { display: inline-flex; align-items: center; flex: none; }
.anx-logo img {
  height: 34px; width: auto;       /* 400x107 source, ratio preserved */
  display: block;
  transition: opacity var(--dur) var(--ease-soft);
}
.anx-logo:hover img { opacity: 0.82; }
/* The footer ground is now a pale blue, so the mark is used as supplied —
   no inversion, no second asset. */
.anx-logo--invert { margin-bottom: var(--sp-2); }
@media (max-width: 860px) { .anx-logo img { height: 30px; } }

/* --- Desktop nav --- */
.anx-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.anx-nav__item { position: relative; }
.anx-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--anx-ink-70);
  border-radius: var(--r-pill);
  background: none; border: 0; font-family: inherit; cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-soft), background-color var(--dur-fast) var(--ease-soft);
}
.anx-nav__link:hover, .anx-nav__link[aria-expanded="true"] {
  color: var(--anx-blue-deep); background: var(--anx-blue-pale);
}
.anx-nav__link[aria-current="page"] { color: var(--anx-blue-deep); font-weight: 600; }
.anx-nav__caret { transition: transform var(--dur) var(--ease-out); }
.anx-nav__link[aria-expanded="true"] .anx-nav__caret { transform: rotate(180deg); }

.anx-header__cta { flex: none; margin-left: var(--sp-3); }

/* --- Dropdown panel --- */
.anx-drop {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 500px;
  padding: 14px;
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease-soft),
              transform var(--dur) var(--ease-out),
              visibility 0s linear var(--dur);
}
.anx-nav__item[data-open="true"] .anx-drop,
/* Keyboard safety net: a panel holding focus stays open and visible even if
   a pointer event would otherwise have closed it. */
.anx-nav__item .anx-drop:focus-within {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.anx-drop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.anx-drop--single .anx-drop__grid { grid-template-columns: minmax(0, 1fr); }
.anx-drop--single { min-width: 330px; }

.anx-drop__link {
  display: block; padding: 12px 14px;
  border-radius: var(--r-sm);
  transition: background-color var(--dur-fast) var(--ease-soft);
}
.anx-drop__link:hover { background: var(--anx-blue-pale); }
.anx-drop__name {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--anx-ink); margin-bottom: 2px;
}
.anx-drop__link:hover .anx-drop__name { color: var(--anx-blue-deep); }
.anx-drop__desc { display: block; font-size: var(--fs-xs); line-height: 1.5; color: var(--anx-muted); }

.anx-drop__foot {
  margin-top: 10px; padding: 12px 14px 4px;
  border-top: 1px solid var(--anx-border-soft);
}

/* --- Mobile toggle --- */
.anx-burger {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-sm);
  color: var(--anx-ink); cursor: pointer;
}
.anx-burger:hover { border-color: var(--anx-border-blue); color: var(--anx-blue-deep); }

/* --- Mobile drawer --- */
.anx-drawer {
  position: fixed; inset: var(--anx-header-h) 0 0;
  z-index: 99;
  background: var(--anx-white);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-6) var(--anx-gutter) var(--sp-16);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-soft),
              transform var(--dur) var(--ease-out),
              visibility 0s linear var(--dur);
}
.anx-drawer[data-open="true"] {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.anx-drawer__group { border-bottom: 1px solid var(--anx-border); }
.anx-drawer__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 2px;
  background: none; border: 0; font-family: inherit;
  font-size: 1.05rem; font-weight: 600; color: var(--anx-ink);
  text-align: left; cursor: pointer;
}
.anx-drawer__head[aria-expanded="true"] { color: var(--anx-blue-deep); }
.anx-drawer__head .anx-nav__caret { transition: transform var(--dur) var(--ease-out); }
.anx-drawer__head[aria-expanded="true"] .anx-nav__caret { transform: rotate(180deg); }
.anx-drawer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.anx-drawer__panel[data-open="true"] { grid-template-rows: 1fr; }
/* Clipping a collapsed group to zero height hides it visually but would leave
   every sub-link tabbable and announced. `visibility: hidden` removes it from
   the tab order and the accessibility tree; the delay lets the row animation
   finish first so the group still slides shut. */
.anx-drawer__panel > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear var(--dur);
}
.anx-drawer__panel[data-open="true"] > div { visibility: visible; transition-delay: 0s; }
.anx-drawer__sub {
  display: block; padding: 12px 2px 12px 15px;
  border-left: 1px solid var(--anx-border);
  font-size: var(--fs-sm); color: var(--anx-body);
}
.anx-drawer__sub:hover { color: var(--anx-blue-deep); border-left-color: var(--anx-blue-hi); }
.anx-drawer__panel > div > :last-child { margin-bottom: var(--sp-4); }
.anx-drawer__cta { margin-top: var(--sp-8); }
.anx-drawer__cta .anx-btn { width: 100%; }

@media (max-width: 1100px) {
  .anx-nav, .anx-header__cta { display: none; }
  .anx-burger { display: inline-flex; }
}
@media (min-width: 1101px) { .anx-drawer { display: none; } }

body[data-drawer="open"] { overflow: hidden; }

/* ---------- Footer ---------- */
/* Light, like the rest of the site. The separation from the page above comes
   from the tint and the top rule rather than from an inversion. */
.anx-footer {
  position: relative;
  background: linear-gradient(180deg, var(--anx-blue-soft) 0%, var(--anx-deep) 100%);
  border-top: 1px solid var(--anx-border-blue);
  color: var(--anx-on-deep);
  padding-block: clamp(64px, 6.5vw, 96px) var(--sp-10);
  overflow: hidden;
  isolation: isolate;
}
.anx-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--anx-grid);
  background-size: var(--anx-grid-size);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 76%);
}
.anx-footer::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--anx-edge); opacity: 0.55;
}
.anx-footer a { color: var(--anx-ink-70); }
.anx-footer a:hover { color: var(--anx-blue-deep); }

.anx-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: var(--sp-12);
}
.anx-footer__statement {
  font-size: var(--fs-sm); line-height: 1.7;
  color: var(--anx-on-deep-mute); max-width: 38ch; margin: var(--sp-5) 0 var(--sp-6);
}
.anx-footer__mail {
  font-size: var(--fs-sm); font-weight: 600; color: var(--anx-blue-deep);
  display: inline-block; padding: 4px 0; min-height: 24px;
}

.anx-footer__title {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--anx-blue-deep); margin-bottom: var(--sp-5);
}
.anx-footer__list { list-style: none; margin: 0; padding: 0; }
.anx-footer__list li { margin-bottom: 6px; }
.anx-footer__list a {
  font-size: var(--fs-sm);
  display: inline-block;
  padding: 4px 0;          /* WCAG 2.2 AA target size: >= 24px tall */
  min-height: 24px;
}

.anx-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--sp-5);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--anx-on-deep-line);
}
.anx-footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.anx-footer__copy { font-size: var(--fs-xs); color: var(--anx-on-deep-mute); }
.anx-footer__legal a {
  font-size: var(--fs-xs); color: var(--anx-on-deep-mute);
  display: inline-flex; align-items: center; min-height: 24px;
}

@media (max-width: 900px) {
  .anx-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .anx-footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Appnox Design System — 05 Page sections
   ========================================================================== */

/* ---------- Hero ---------- */
.anx-hero {
  position: relative;
  padding-block: clamp(52px, 6vw, 96px) clamp(64px, 6.6vw, 112px);
  overflow: hidden;
}
/* Two decorative layers behind the hero: a slow aurora, and a fixed
   engineering grid that fades out before it reaches the copy. Both are
   pointer-transparent and neither carries information. */
.anx-hero__mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 820px;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(48% 46% at 22% 30%, rgba(96, 165, 250, 0.26) 0%, rgba(96, 165, 250, 0) 62%),
    radial-gradient(44% 42% at 82% 18%, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 60%),
    radial-gradient(52% 40% at 58% 78%, rgba(229, 238, 255, 0.76) 0%, rgba(229, 238, 255, 0) 66%);
  animation: anx-mesh 26s var(--ease-soft) infinite alternate;
}
.anx-hero__grid {
  position: absolute; inset: 0 0 auto; height: 620px;
  pointer-events: none; z-index: 0;
  background: var(--anx-grid);
  background-size: var(--anx-grid-size);
  -webkit-mask-image: radial-gradient(76% 62% at 50% 22%, #000 0%, transparent 72%);
  mask-image: radial-gradient(76% 62% at 50% 22%, #000 0%, transparent 72%);
}
@keyframes anx-mesh {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2.2%, 1.6%, 0) scale(1.06); }
}

.anx-hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(32px, 3.6vw, 60px);
  align-items: center;
}
@media (max-width: 1024px) {
  .anx-hero__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 52px); }
}

.anx-hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--tr-display);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-6);
  max-width: 17ch;
}
.anx-hero__title em {
  font-style: normal;
  background: linear-gradient(105deg, var(--anx-blue), var(--anx-blue-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.anx-hero__lead {
  font-size: var(--fs-lead); line-height: 1.52; letter-spacing: -0.014em;
  color: var(--anx-ink-70); max-width: 52ch;
  margin-bottom: var(--sp-8);
}
/* Hero CTAs sit on one line at desktop without shrinking the type. */
.anx-hero .anx-btn-row { gap: 10px; }
.anx-hero .anx-btn-row .anx-btn { --btn-x: 19px; }
.anx-hero .anx-btn-row .anx-btn__badge { width: 24px; height: 24px; margin-right: -6px; }

.anx-hero__meta {
  margin: var(--sp-8) 0 0;
  padding: var(--sp-5) 0 0; list-style: none;
  border-top: 1px solid var(--anx-border);
  font-size: var(--fs-xs); color: var(--anx-muted);
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 8px; row-gap: 4px;
}
.anx-hero__meta li { margin: 0; display: inline-flex; align-items: center; }
.anx-hero__meta li + li::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--anx-blue-hi); margin-right: 8px; flex: none;
}

/* Hero media sits slightly wider than its column on large screens so the
   composition reads at the same weight as the headline. */
.anx-hero__visual .anx-visual { margin-right: calc(var(--anx-gutter) * -0.35); }
@media (max-width: 1024px) { .anx-hero__visual .anx-visual { margin-right: 0; } }

@media (max-width: 1024px) {
  .anx-hero__title { max-width: 22ch; }
  .anx-hero__visual { order: 2; }
}

/* ---------- Proof strip ---------- */
.anx-proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--anx-border);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.anx-proof__cell {
  background: var(--anx-white); padding: clamp(24px, 2.5vw, 34px);
  transition: background-color var(--dur) var(--ease-soft);
}
.anx-proof__cell:hover { background: var(--anx-blue-soft); }
.anx-proof__label {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--anx-blue-deep); margin-bottom: 10px;
}
.anx-proof__text { font-size: var(--fs-sm); line-height: 1.62; margin: 0; }
@media (max-width: 900px) { .anx-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .anx-proof { grid-template-columns: minmax(0, 1fr); } }

/* On the tinted band the cells keep their white ground, so the strip reads as
   a set of raised cards on the wash rather than a flat table. */
.anx-section--wash .anx-proof { border-color: var(--anx-border-blue); box-shadow: var(--sh-md); }
.anx-section--wash .anx-proof__cell:hover { background: var(--anx-blue-pale); }

/* ---------- Split feature (text + visual) ---------- */
.anx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.anx-split--reverse .anx-split__media { order: -1; }
@media (max-width: 960px) {
  .anx-split { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 48px); }
  .anx-split--reverse .anx-split__media { order: 0; }
}

/* Capability list inside split */
.anx-caps { list-style: none; margin: var(--sp-8) 0 0; padding: 0; display: grid; gap: 2px; }
.anx-caps li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px;
  padding: 14px 0; margin: 0;
  border-top: 1px solid var(--anx-border);
  font-size: var(--fs-sm); line-height: 1.62;
}
.anx-caps li:last-child { border-bottom: 1px solid var(--anx-border); }

/* Full-width variant: the same list, laid out across the measure so a long
   capability set does not stretch one column past its visual. */
.anx-caps--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 3.4vw, 60px);
  margin-top: 0;
}
.anx-caps--grid li:last-child { border-bottom: 0; }
.anx-caps--grid li:nth-last-child(-n+3) { border-bottom: 1px solid var(--anx-border); }
@media (max-width: 960px) {
  .anx-caps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anx-caps--grid li:nth-last-child(-n+3) { border-bottom: 0; }
  .anx-caps--grid li:nth-last-child(-n+2) { border-bottom: 1px solid var(--anx-border); }
}
@media (max-width: 620px) {
  .anx-caps--grid { grid-template-columns: minmax(0, 1fr); }
  .anx-caps--grid li:nth-last-child(-n+2) { border-bottom: 0; }
  .anx-caps--grid li:last-child { border-bottom: 1px solid var(--anx-border); }
}
.anx-caps__tick { color: var(--anx-blue); margin-top: 3px; }
.anx-caps strong { display: block; color: var(--anx-ink); font-weight: 600; margin-bottom: 2px; }

.anx-section--wash .anx-caps li { border-color: var(--anx-border-blue); }

/* ---------- PipeClose band: visibly separated product ---------- */
.anx-product {
  position: relative;
  border: 1px solid var(--anx-border-blue);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--anx-white) 0%, var(--anx-blue-soft) 70%, var(--anx-blue-pale) 100%);
  padding: clamp(34px, 4.2vw, 64px);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.anx-product::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: var(--anx-edge); opacity: 0.7;
}
.anx-product__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; margin-bottom: var(--sp-6);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--anx-blue-deep);
  background: var(--anx-white);
  border: 1px solid var(--anx-border-blue);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}
.anx-product__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 68px); align-items: center;
}
@media (max-width: 900px) { .anx-product__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Case study card ---------- */
.anx-case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.anx-case__body { padding: clamp(30px, 3.6vw, 56px); }
.anx-case__media {
  background: linear-gradient(160deg, var(--anx-blue-soft), var(--anx-blue-pale));
  border-left: 1px solid var(--anx-border);
  display: grid; place-items: center;
  padding: clamp(20px, 2.4vw, 38px);
}
@media (max-width: 900px) {
  .anx-case { grid-template-columns: minmax(0, 1fr); }
  .anx-case__media { border-left: 0; border-top: 1px solid var(--anx-border); order: -1; }
}

/* ---------- Final CTA ---------- */
/* A raised panel on the palest blues, not an inverted block. The weight comes
   from the gradient, the edge light and the elevation. */
.anx-cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid var(--anx-border-blue);
  background:
    radial-gradient(64% 76% at 50% -12%, rgba(96, 165, 250, 0.26) 0%, rgba(96, 165, 250, 0) 66%),
    radial-gradient(44% 60% at 92% 108%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 62%),
    linear-gradient(170deg, var(--anx-white) 0%, var(--anx-blue-soft) 52%, var(--anx-deep) 100%);
  padding: clamp(44px, 5.6vw, 92px);
  text-align: center;
  box-shadow: var(--sh-lg);
  isolation: isolate;
}
.anx-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--anx-grid);
  background-size: var(--anx-grid-size);
  -webkit-mask-image: radial-gradient(66% 72% at 50% 46%, #000 0%, transparent 76%);
  mask-image: radial-gradient(66% 72% at 50% 46%, #000 0%, transparent 76%);
}
.anx-cta::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--anx-edge); opacity: 0.7;
}
.anx-cta > * { position: relative; z-index: 1; }
.anx-cta h2 { color: var(--anx-ink); max-width: 18ch; margin-inline: auto; }
.anx-cta .anx-eyebrow { color: var(--anx-blue-deep); justify-content: center; }
.anx-cta .anx-eyebrow::before { display: none; }
.anx-cta__lead {
  color: var(--anx-ink-70); font-size: var(--fs-lead); line-height: 1.52;
  letter-spacing: -0.014em;
  max-width: 54ch; margin: var(--sp-6) auto var(--sp-8);
}
.anx-cta .anx-btn-row { justify-content: center; }
.anx-cta .anx-btn--secondary {
  background: var(--anx-white);
  color: var(--anx-ink);
  border-color: var(--anx-border-blue);
  box-shadow: var(--sh-sm);
}
.anx-cta .anx-btn--secondary:hover {
  background: var(--anx-blue-pale);
  color: var(--anx-blue-deep);
  border-color: var(--anx-blue-hi);
}
/* --anx-muted is 4.39:1 against the panel's deepest tint. This note sits on
   that tint, so it takes the darker ink: 5.60:1 at worst. */
.anx-cta__note { color: var(--anx-on-deep); font-size: var(--fs-xs); margin-top: var(--sp-6); }
.anx-cta__note a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--anx-blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(29, 78, 216, 0.4);
  transition: color var(--dur) var(--ease-soft), text-decoration-color var(--dur) var(--ease-soft);
}
.anx-cta__note a:hover { color: var(--anx-blue); text-decoration-color: var(--anx-blue); }

/* ==========================================================================
   Appnox Design System — 06 Motion
   Rules: entrance only, one pass, never looping inside content.
   Everything here is opt-in via [data-reveal] and is fully disabled
   under prefers-reduced-motion.
   ========================================================================== */

/* Content is visible by default. JS adds .anx-motion to <html> only when
   motion is permitted, which is what arms the hidden state. This guarantees
   content is never trapped invisible if JS fails. */
.anx-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.anx-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Hero entrance: slightly longer, staggered by inline delay */
.anx-motion [data-reveal="hero"] { transform: translateY(22px); }

/* Media reveal: a restrained scale settle plus a short defocus that resolves
   as the element lands. Both are on the element itself, not its contents. */
.anx-motion [data-reveal="media"] {
  transform: translateY(22px) scale(0.982);
  transform-origin: 50% 60%;
  filter: blur(6px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out),
              filter var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.anx-motion [data-reveal="media"].is-in { transform: none; filter: none; }

/* Grouped children stagger off their own index, set by the reveal observer.
   A group never staggers past ~360ms so a long row still feels like one move. */
.anx-motion [data-reveal-group] > * {
  --reveal-delay: calc(var(--reveal-index, 0) * 55ms);
}

/* SVG line-draw, used only in the system diagrams */
.anx-motion .anx-draw {
  stroke-dasharray: var(--draw-len, 400);
  stroke-dashoffset: var(--draw-len, 400);
}
.anx-motion .is-in .anx-draw,
.anx-motion .anx-draw.is-in {
  animation: anx-draw 1500ms var(--ease-out) forwards;
  animation-delay: var(--draw-delay, 200ms);
}
@keyframes anx-draw { to { stroke-dashoffset: 0; } }

/* Data-flow pulse travelling along a path. Slow, low contrast, few in number. */
.anx-motion .anx-flow {
  animation: anx-flow var(--flow-dur, 4.5s) linear infinite;
  animation-delay: var(--flow-delay, 0s);
}
@keyframes anx-flow {
  0%   { offset-distance: 0%;   opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ==========================================================================
   Reduced motion: no exceptions. Every animation and transition is removed,
   the hero mesh is frozen, and all revealed content is shown immediately.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .anx-motion [data-reveal],
  .anx-motion [data-reveal="media"] {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }

  /* These carry a transition-delay rather than a duration, so the global
     duration override above does not reach them. */
  .anx-faq__panel > div,
  .anx-drawer__panel > div { transition-delay: 0s !important; }

  .anx-motion .anx-draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .anx-motion .anx-flow { display: none !important; }
  .anx-hero__mesh { animation: none !important; }
  .anx-btn--primary::before { display: none !important; }

  .anx-btn:hover, .anx-card:hover, .anx-tier:hover { transform: none !important; }
}

/* Utility */
.anx-visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Appnox Design System — 07 Interior page components
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */
.anx-crumbs { margin-bottom: clamp(24px, 3vw, 40px); }
.anx-crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: var(--fs-xs);
}
.anx-crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }
.anx-crumbs li + li::before {
  content: ""; width: 5px; height: 5px; flex: none;
  border-right: 1px solid var(--anx-border-blue);
  border-bottom: 1px solid var(--anx-border-blue);
  transform: rotate(-45deg);
}
.anx-crumbs a {
  color: var(--anx-muted);
  display: inline-flex; align-items: center;
  min-height: 24px;               /* WCAG 2.2 AA target size */
}
.anx-crumbs a:hover { color: var(--anx-blue-deep); }
.anx-crumbs [aria-current] {
  color: var(--anx-ink-70); font-weight: 500;
  display: inline-flex; align-items: center; min-height: 24px;
}

/* ---------- Interior hero ---------- */
.anx-hero--page { padding-block: clamp(36px, 4.4vw, 64px) clamp(56px, 6vw, 96px); }
.anx-hero--solo .anx-hero__title { max-width: 19ch; }
.anx-hero--solo .anx-hero__lead { max-width: 62ch; }
.anx-hero--page .anx-hero__title {
  font-size: clamp(2.05rem, 1.5rem + 1.85vw, 2.95rem);
  max-width: 18ch;
}
.anx-hero--solo .anx-hero__title { max-width: 20ch; }

.anx-hero__price {
  display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: var(--sp-6) 0 0;
  padding: 13px 20px;
  background: var(--anx-white);
  border: 1px solid var(--anx-border-blue);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  font-size: var(--fs-sm);
  color: var(--anx-ink-70);
}
.anx-hero__price strong {
  font-size: 1.42rem; font-weight: var(--fw-display); letter-spacing: -0.03em;
  color: var(--anx-ink);
}

/* ---------- Problem symptoms ---------- */
.anx-symptoms {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 4vw, 64px);
}
.anx-symptom {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--anx-border);
}
.anx-symptom p { margin: 0; font-size: var(--fs-sm); line-height: 1.62; }
.anx-symptom__mark {
  width: 8px; height: 8px; margin-top: 8px;
  border-radius: 2px;
  background: var(--anx-blue-hi);
  transform: rotate(45deg);
}
@media (max-width: 760px) { .anx-symptoms { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Linked cards ---------- */
.anx-card--link { text-decoration: none; color: inherit; }
.anx-card--link:hover { color: inherit; }
.anx-card__kicker {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--anx-blue-deep); margin: 0 0 var(--sp-4);
}
.anx-card__more {
  margin: auto 0 0; padding-top: var(--sp-6);
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--anx-blue-deep);
}
.anx-card--link:hover .anx-card__more .anx-link__arrow { transform: translateX(3px); }
.anx-card__more .anx-link__arrow { transition: transform var(--dur) var(--ease-out); }
.anx-card__foot + .anx-card__more { padding-top: var(--sp-5); }

/* ---------- Engagement tiers ---------- */
.anx-tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  align-items: stretch;
}
@media (max-width: 980px) { .anx-tiers { grid-template-columns: minmax(0, 1fr); } }

.anx-tier {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-soft);
}
.anx-tier:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--anx-border-blue); }
.anx-tier--featured {
  margin-top: 11px;               /* room for the flag that sits on the border */
  border-color: var(--anx-blue);
  box-shadow: var(--sh-md);
  background: linear-gradient(170deg, var(--anx-white) 0%, var(--anx-blue-soft) 100%);
}
.anx-tier__flag {
  position: absolute; top: 0; left: clamp(26px, 2.6vw, 36px);
  right: clamp(26px, 2.6vw, 36px);
  transform: translateY(-50%);
  width: fit-content; max-width: 100%;
  white-space: nowrap;
  margin: 0; padding: 5px 13px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--anx-white);
  background: var(--anx-btn-primary);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-blue);
}
.anx-tier__step {
  margin: 0 0 var(--sp-4);
  font-family: var(--anx-font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.08em; color: var(--anx-blue-deep);
}
.anx-tier__name { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.anx-tier__price {
  display: flex; flex-direction: column; gap: 3px;
  margin: 0 0 var(--sp-5); padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--anx-border);
  font-size: 2.05rem; font-weight: var(--fw-display);
  letter-spacing: -0.035em; color: var(--anx-ink);
  font-variant-numeric: tabular-nums;
}
.anx-tier__price span {
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0;
  color: var(--anx-muted);
}
.anx-tier__body { font-size: var(--fs-sm); line-height: 1.62; margin: 0 0 var(--sp-6); }
.anx-tier__list { list-style: none; margin: 0 0 var(--sp-8); padding: 0; display: grid; gap: 10px; }
.anx-tier__list li {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 11px;
  margin: 0; font-size: var(--fs-sm); line-height: 1.5;
}
.anx-tier__list svg { color: var(--anx-blue); margin-top: 3px; }
.anx-tier__cta { margin-top: auto; }
.anx-tier__cta .anx-btn { width: 100%; }

/* ---------- Related links ---------- */
.anx-related {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--anx-border);
  border: 1px solid var(--anx-border); border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .anx-related { grid-template-columns: minmax(0, 1fr); } }
.anx-related__item {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--anx-white);
  transition: background-color var(--dur) var(--ease-soft);
}
.anx-related__item:hover { background: var(--anx-blue-pale); }
.anx-related__item::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: var(--anx-edge); opacity: 0;
  transition: opacity var(--dur) var(--ease-soft);
}
.anx-related__item:hover::before { opacity: 1; }
.anx-related__kicker {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--anx-blue-deep);
}
.anx-related__title { font-size: var(--fs-h4); font-weight: 600; color: var(--anx-ink); letter-spacing: -0.015em; }
.anx-related__desc { font-size: var(--fs-sm); line-height: 1.58; color: var(--anx-body); }
.anx-related__go { color: var(--anx-blue-deep); margin-top: 6px; }
.anx-related__item:hover .anx-link__arrow { transform: translateX(3px); }
.anx-related__go .anx-link__arrow { transition: transform var(--dur) var(--ease-out); }

/* An article's lead image is a lead, not a hero: held to a width where it
   reads as one glance rather than a full screen of artwork. */
.anx-article-lead .anx-visual { max-width: 660px; margin-inline: auto; }

/* ---------- Long-form article ---------- */
.anx-longform {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.anx-longform--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
@media (max-width: 980px) { .anx-longform { grid-template-columns: minmax(0, 1fr); } }

.anx-toc {
  position: sticky; top: calc(var(--anx-header-h) + 32px);
  padding: 22px;
  background: var(--anx-blue-soft);
  border: 1px solid var(--anx-border-blue);
  border-radius: var(--r-md);
}
@media (max-width: 980px) { .anx-toc { position: static; } }
.anx-toc__title {
  margin: 0 0 14px;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--anx-blue-deep);
}
.anx-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.anx-toc li { margin: 0; counter-increment: toc; }
.anx-toc a {
  display: block; padding: 6px 0;
  font-size: var(--fs-sm); line-height: 1.45; color: var(--anx-body);
  min-height: 24px;
}
.anx-toc a::before { content: counter(toc) "."; color: var(--anx-blue-hi); margin-right: 8px; font-variant-numeric: tabular-nums; }
.anx-toc a:hover { color: var(--anx-blue-deep); }

.anx-longform__body { max-width: 70ch; }
.anx-longform__body > h2 {
  font-size: clamp(1.45rem, 1.25rem + 0.85vw, 1.95rem);
  margin: clamp(40px, 4vw, 60px) 0 var(--sp-5);
  scroll-margin-top: calc(var(--anx-header-h) + 24px);
}
.anx-longform__body > h2:first-child { margin-top: 0; }
.anx-longform__body > h3 { font-size: var(--fs-h3); margin: var(--sp-10) 0 var(--sp-4); }
.anx-longform__body > p { margin-bottom: var(--sp-5); }
.anx-longform__body > ul,
.anx-longform__body > ol { margin-bottom: var(--sp-6); padding-left: 1.3em; }
.anx-longform__body li { margin-bottom: 10px; line-height: 1.6; }
.anx-longform__body > blockquote { margin: var(--sp-8) 0; }

/* ---------- Forms ---------- */
.anx-form-panel {
  position: relative;
  padding: clamp(28px, 3.2vw, 48px);
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.anx-form-panel::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: var(--anx-edge); opacity: 0.7;
}
.anx-form-panel > h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.anx-form-panel__lead { font-size: var(--fs-sm); line-height: 1.62; margin-bottom: var(--sp-8); }

.anx-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
@media (max-width: 620px) { .anx-field-grid { grid-template-columns: minmax(0, 1fr); } }

.anx-field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 var(--sp-5); }
.anx-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--anx-ink); }
.anx-field label span { color: var(--anx-blue); }
.anx-field input,
.anx-field select,
.anx-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit; font-size: var(--fs-sm); color: var(--anx-ink);
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.anx-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.anx-field input:hover, .anx-field select:hover, .anx-field textarea:hover { border-color: var(--anx-border-blue); }
.anx-field input:focus, .anx-field select:focus, .anx-field textarea:focus {
  outline: none;
  border-color: var(--anx-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.anx-field input:focus-visible, .anx-field select:focus-visible, .anx-field textarea:focus-visible {
  outline: 2px solid var(--anx-blue); outline-offset: 1px;
}
.anx-field input:user-invalid, .anx-field textarea:user-invalid, .anx-field select:user-invalid {
  border-color: #b91c1c;
}
.anx-field__hint { font-size: var(--fs-xs); line-height: 1.5; color: var(--anx-muted); }

.anx-field--check { flex-direction: row; align-items: flex-start; gap: 13px; }
/* The consent checkbox is a real <input type="checkbox">; only its box is
   restyled. It is drawn at 24x24 because WCAG 2.2 SC 2.5.8 exempts a control
   whose size the user agent decides, and an author-set size forfeits that
   exemption. Forced-colours mode falls back to the native control. */
.anx-field--check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; flex: none; margin: 1px 0 0;
  display: grid; place-content: center;
  background: var(--anx-white);
  border: 1.5px solid var(--anx-border);
  border-radius: 7px;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft);
}
.anx-field--check input[type="checkbox"]::before {
  content: ""; width: 13px; height: 13px;
  transform: scale(0); transform-origin: center;
  transition: transform var(--dur-fast) var(--ease-out);
  background: var(--anx-white);
  clip-path: polygon(14% 45%, 0 60%, 39% 100%, 100% 20%, 85% 7%, 37% 72%);
}
.anx-field--check input[type="checkbox"]:hover { border-color: var(--anx-border-blue); }
.anx-field--check input[type="checkbox"]:checked {
  background: var(--anx-btn-primary);
  border-color: var(--anx-blue-deep);
}
.anx-field--check input[type="checkbox"]:checked::before { transform: scale(1); }
.anx-field--check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--anx-blue); outline-offset: 2px;
}
@media (forced-colors: active) {
  .anx-field--check input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; }
}
.anx-field--check label { font-weight: 400; font-size: var(--fs-sm); line-height: 1.6; color: var(--anx-body); }
.anx-field--check a { text-decoration: underline; text-underline-offset: 2px; }

/* Honeypots: off-screen and untabbable, never display:none */
.anx-trap {
  position: absolute !important; left: -9999px !important;
  top: auto; width: 1px; height: 1px; overflow: hidden;
}

.anx-form-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.anx-form-status {
  margin: var(--sp-5) 0 0; padding: 0;
  font-size: var(--fs-sm); line-height: 1.55;
}
.anx-form-status:empty { display: none; }
.anx-form-status[data-kind="sending"] { color: var(--anx-muted); }
.anx-form-status[data-kind="success"] {
  color: #14532d; background: #f0fdf4; border: 1px solid #bbf7d0;
  padding: 13px 16px; border-radius: var(--r-sm);
}
.anx-form-status[data-kind="error"] {
  color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca;
  padding: 13px 16px; border-radius: var(--r-sm);
}

/* Contact layout: form beside supporting detail */
.anx-contact {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px); align-items: start;
}
@media (max-width: 960px) { .anx-contact { grid-template-columns: minmax(0, 1fr); } }
.anx-contact__aside .anx-card { margin-bottom: var(--sp-5); }

/* ---------- Article meta ---------- */
.anx-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: var(--sp-6);
  font-size: var(--fs-xs); color: var(--anx-muted);
}
.anx-meta-row li { margin: 0; display: inline-flex; align-items: center; min-height: 24px; }

/* ---------- Simple definition/table list ---------- */
.anx-deflist { display: grid; gap: 0; margin: 0; }
.anx-deflist > div {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: var(--sp-6);
  padding: 18px 0;
  border-top: 1px solid var(--anx-border);
}
.anx-deflist > div:last-child { border-bottom: 1px solid var(--anx-border); }
.anx-deflist dt { font-size: var(--fs-sm); font-weight: 600; color: var(--anx-ink); }
.anx-deflist dd { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
@media (max-width: 700px) {
  .anx-deflist > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ---------- Feature card (insights lead, case study lead) ---------- */
.anx-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3vw, 44px);
  background: var(--anx-white);
  border: 1px solid var(--anx-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  color: inherit;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-soft);
}
.anx-feature:hover {
  transform: translateY(-3px);
  border-color: var(--anx-border-blue);
  box-shadow: var(--sh-lg);
  color: inherit;
}
.anx-feature h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem);
  margin-bottom: var(--sp-5);
}
.anx-feature:hover h2 { color: var(--anx-blue-deep); }
.anx-feature__dek { font-size: var(--fs-sm); line-height: 1.66; margin: 0; max-width: 56ch; }
.anx-feature__media .anx-visual { box-shadow: var(--sh-sm); }
.anx-feature .anx-card__more { padding-top: var(--sp-5); }
@media (max-width: 900px) {
  .anx-feature { grid-template-columns: minmax(0, 1fr); }
  .anx-feature__media { order: -1; }
}

/* ---------- Disclosure panel (evidence notes) ---------- */
.anx-disclosure {
  padding: clamp(24px, 2.8vw, 40px);
  background: var(--anx-blue-soft);
  border: 1px solid var(--anx-border-blue);
  border-left: 3px solid var(--anx-blue);
  border-radius: var(--r-lg);
  max-width: 860px;
}
.anx-disclosure .anx-eyebrow { margin-bottom: var(--sp-4); }
.anx-disclosure .anx-prose { font-size: var(--fs-sm); }
.anx-disclosure em { font-style: normal; font-weight: 600; color: var(--anx-ink); }

/* ---------- HTML sitemap ---------- */
.anx-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.anx-sitemap__group { break-inside: avoid; }
.anx-sitemap__title {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--anx-blue-deep);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--anx-border);
}
.anx-sitemap ul { list-style: none; margin: 0; padding: 0; }
.anx-sitemap li { margin: 0; }
.anx-sitemap a {
  display: block; padding: 7px 0;
  font-size: var(--fs-sm); line-height: 1.45;
  color: var(--anx-body); min-height: 24px;
}
.anx-sitemap a:hover { color: var(--anx-blue-deep); }

/* ---------- Article body links ---------- */
.anx-longform__body a { text-decoration: underline; text-underline-offset: 2px; }
.anx-longform__body code {
  font-family: var(--anx-font-mono); font-size: 0.88em;
  background: var(--anx-blue-pale); border: 1px solid var(--anx-border-blue);
  padding: 2px 6px; border-radius: 5px; color: var(--anx-ink-70);
}

/* ---------- Careers: open-roles list (rendered client-side, see appnox.js) ---------- */
.anx-careers-list { margin-bottom: var(--sp-6); }
.anx-careers-list__status { font-size: var(--fs-sm); color: var(--anx-ink-70); }
.anx-careers-list__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.anx-careers-role__meta {
  font-size: var(--fs-sm); color: var(--anx-ink-70); margin-bottom: var(--sp-3);
}
.anx-careers-detail__list { padding-left: 1.2em; margin: 0 0 var(--sp-5); }
.anx-careers-detail__list li { margin-bottom: var(--sp-2); }

/* ==========================================================================
   Appnox Design System — 08 Scroll behaviour
   -----------------------------------------------------------------------------
   Scroll-linked motion. Everything here is armed by the `anx-motion` class,
   which JavaScript adds only when motion is permitted — so a script failure or
   a reduced-motion preference leaves a fully readable, fully visible page.
   ========================================================================== */

/* ---------- Reading progress ---------- */
.anx-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 300; pointer-events: none;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--anx-blue-hi), var(--anx-blue) 55%, var(--anx-blue-deep));
  opacity: 0;
  transition: opacity var(--dur) var(--ease-soft);
}
.anx-progress[data-on="true"] { opacity: 1; }

/* ---------- Word-by-word headline entrance ---------- */
/* The word spans are created by JS. Without JS the heading is plain text and
   needs no styling at all, which is why there is no default hidden state. */
.anx-motion .anx-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em) rotate(0.4deg);
  transition: opacity 620ms var(--ease-out), transform 720ms var(--ease-out);
  transition-delay: var(--w, 0ms);
  will-change: opacity, transform;
}
.anx-motion .is-in .anx-word,
.anx-motion .anx-word.is-in { opacity: 1; transform: none; }

/* ---------- Section heading clip-up ---------- */
/* Used where splitting into words would fight `text-wrap: balance`. */
.anx-motion [data-reveal="head"] {
  opacity: 0;
  transform: translateY(20px);
  clip-path: inset(0 0 12% 0);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out),
              clip-path var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.anx-motion [data-reveal="head"].is-in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0);
}

/* ---------- Parallax ---------- */
/* JS writes --par as a pixel offset. The element is translated only; nothing
   is scaled, so no text is ever resampled. */
.anx-motion [data-parallax] { transform: translate3d(0, var(--par, 0px), 0); will-change: transform; }

/* ---------- Process rail: a line that fills as the section passes ---------- */
.anx-rail { position: relative; }
.anx-rail__track {
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--anx-border);
  border-radius: 2px;
  overflow: hidden;
  display: none;
}
.anx-rail__track::after {
  content: ""; position: absolute; inset: 0 0 auto;
  height: var(--rail-progress, 0%);
  background: linear-gradient(180deg, var(--anx-blue-hi), var(--anx-blue));
  transition: height 120ms linear;
}
.anx-motion .anx-rail__track { display: block; }
.anx-motion .anx-rail__item { padding-left: 26px; transition: opacity var(--dur) var(--ease-soft); }
.anx-motion .anx-rail__item[data-past="false"] { opacity: 0.52; }
.anx-motion .anx-rail__item[data-past="true"] { opacity: 1; }
.anx-motion .anx-rail__item[data-past="true"] .anx-rail__num { color: var(--anx-blue-deep); }
@media (max-width: 640px) {
  .anx-motion .anx-rail__item { padding-left: 20px; }
}

/* ---------- Figure blocks ---------- */
.anx-figures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
@media (max-width: 1000px) { .anx-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .anx-figures { grid-template-columns: minmax(0, 1fr); } }

.anx-figure { position: relative; padding-top: var(--sp-6); border-top: 2px solid var(--anx-border-blue); }
.anx-figure__value {
  margin: 0 0 var(--sp-3);
  font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.4rem);
  font-weight: var(--fw-display);
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--anx-blue), var(--anx-blue-deep) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--anx-blue-deep);
}
.anx-figure__label { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--anx-ink-70); }
.anx-figure__qual {
  display: inline-block; margin-top: var(--sp-3);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--anx-muted);
}

/* Characters of a figure rise into place. The text itself is never rewritten,
   so the value on screen is always the real one, animated or not. */
.anx-motion .anx-figure__value .anx-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  transition: opacity 460ms var(--ease-out), transform 560ms var(--ease-out);
  transition-delay: var(--c, 0ms);
}
.anx-motion .anx-figure__value.is-in .anx-char { opacity: 1; transform: none; }

/* ---------- Marquee-free capability ticker ---------- */
/* A single slow pass on reveal, not a loop: the row slides once into place. */
.anx-ticker {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-block: var(--sp-6);
}

/* ---------- Sticky sub-navigation for long case studies ---------- */
.anx-jump {
  position: sticky; top: var(--anx-header-h); z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--anx-border);
}
.anx-jump__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.anx-jump__inner::-webkit-scrollbar { display: none; }
.anx-jump a {
  flex: none; padding: 8px 14px;
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
  color: var(--anx-ink-70); border-radius: var(--r-pill);
  transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.anx-jump a:hover { background: var(--anx-blue-pale); color: var(--anx-blue-deep); }
.anx-jump a[data-current="true"] { background: var(--anx-blue-pale); color: var(--anx-blue-deep); }

/* ---------- Reduced motion: every scroll effect off ---------- */
@media (prefers-reduced-motion: reduce) {
  .anx-progress { display: none !important; }
  .anx-motion .anx-word { opacity: 1 !important; transform: none !important; }
  .anx-motion [data-reveal="head"] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .anx-motion [data-parallax] { transform: none !important; }
  .anx-motion .anx-rail__track { display: none !important; }
  .anx-motion .anx-rail__item { opacity: 1 !important; padding-left: 0 !important; }
  .anx-motion .anx-figure__value .anx-char { opacity: 1 !important; transform: none !important; }
}
