/* ============================================================================
   JCREDO — public website
   ----------------------------------------------------------------------------
   Tokens are lifted from design/JCREDO-DESIGN-SYSTEM.md so the marketing
   surface and the product read as one company. Where a value here differs from
   the product's, it is because a marketing page has different jobs: larger
   display sizes, a navy ground the console never uses full-bleed, and warmer
   paper than --jc-bg.

   The rule from the design system that still binds here: money is mono and
   tabular, currency code adjacent, and UNKNOWN is slate with a clock — never
   amber, never a warning triangle.
   ========================================================================== */

:root {
  /* Ground */
  --ink:        #0b1531;  /* --jc-navy-900 */
  --ink-2:      #101c40;  /* raised navy panel */
  --ink-3:      #18264f;  /* hairline on navy */
  --paper:      #f6f4f0;  /* warm off-white */
  --paper-2:    #ffffff;
  --paper-edge: #e4e0d8;

  /* Brand */
  --cobalt:      #1f56dd;  /* --jc-primary */
  --cobalt-lift: #4b7dff;
  --cobalt-deep: #1544b4;
  --cobalt-soft: #e8eeff;

  /* Text */
  --on-ink:        #ffffff;
  --on-ink-muted:  #aebbd8;
  --on-ink-subtle: #7d8cb0;
  --on-paper:        #0b1531;
  --on-paper-muted:  #4a5468;
  --on-paper-subtle: #5f6878;  /* --jc-neutral-500, AA on paper */

  /* Status — from the product, unchanged */
  --success:  #146c34;
  --warning:  #b45309;
  --danger:   #b42318;
  --slate:    #64748b;   /* --jc-indeterminate: UNKNOWN only */
  --slate-on-ink: #94a3b8;
  /* Status on the ink panels. The product's own dark-theme status values;
     slate stays reserved for UNKNOWN. */
  --success-on-ink: #4ade80;
  --warning-on-ink: #fbbf24;
  --danger-on-ink:  #ff8f85;
  --info-on-ink:    #8fb3ff;

  /* Rails — identity only, never status */
  --mtn:    #f5c516;
  --airtel: #e8262d;

  /* Type */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  /* Geometry */
  --r-panel: 28px;
  --r-card:  16px;
  --r-chip:  999px;
  --gutter:  clamp(16px, 4vw, 56px);
  --maxw:    1280px;

  /* Motion */
  --fast: 140ms;
  --base: 220ms;
  --slow: 420ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* ── Glass ──────────────────────────────────────────────────────────────
     Glass is a relationship, not a colour: a translucent fill, a blur of what
     is behind it, a bright hairline on the lit edge and a soft one elsewhere.
     Without something behind it to refract, it is just a grey box — which is
     what `.aurora` is for.                                                  */
  --glass-blur: 22px;

  /* On the navy ground */
  --glass-ink:        rgba(255, 255, 255, .055);
  --glass-ink-lift:   rgba(255, 255, 255, .10);
  --glass-ink-edge:   rgba(255, 255, 255, .13);
  --glass-ink-edge-lift: rgba(129, 165, 255, .55);
  --glass-ink-top:    rgba(255, 255, 255, .16);

  /* On the paper ground */
  --glass-paper:      rgba(255, 255, 255, .58);
  --glass-paper-lift: rgba(255, 255, 255, .82);
  --glass-paper-edge: rgba(255, 255, 255, .9);
  --glass-paper-ring: rgba(11, 21, 49, .07);

  --glass-drop:      0 24px 60px -30px rgba(7, 18, 48, .7);
  --glass-drop-lift: 0 34px 70px -26px rgba(7, 18, 48, .78);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--on-paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.028em;
  text-wrap: balance;
}

p { margin: 0; }

/* Italic next to roman needs the gap back that the slant eats. */
em { font-style: italic; padding-right: .08em; }

:focus-visible {
  outline: 3px solid var(--cobalt-lift);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── The page before you scroll ────────────────────────────────────────────
   The first screen is a white panel on a near-white ground, and until the
   first navy panel arrives there is nothing for the floating header to float
   over. This layer gives the top of the document depth: two cobalt glows
   where the header sits, and a fine grid that fades out before the hero does.
   It is scoped to the top of the page rather than the body so the gutters
   further down stay quiet.                                                  */
.page-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 1020px;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
}
.page-glow::before,
.page-glow::after {
  content: '';
  position: absolute;
  inset: 0;
}
.page-glow::before {
  background:
    radial-gradient(860px 460px at 16% -140px, rgba(31, 86, 221, .26), transparent 66%),
    radial-gradient(760px 420px at 88% -110px, rgba(75, 125, 255, .22), transparent 68%),
    linear-gradient(180deg, rgba(221, 229, 250, .85), transparent 62%);
}
.page-glow::after {
  background-image:
    linear-gradient(rgba(11, 21, 49, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 49, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 42%, transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 42%, transparent 76%);
}

/* Everything real sits above that layer. */
.header, main, .footer { position: relative; z-index: 1; }
.header { z-index: 100; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--cobalt); color: #fff; padding: 12px 20px;
  border-radius: var(--r-chip); font-weight: 700; font-size: 14px;
  transition: top var(--fast) var(--ease);
}
.skip:focus { top: 16px; }

/* ─── Layout primitives ──────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* A panel is the page's organising unit: a large rounded block inset from the
   page edge, alternating ground. Borrowed from the reference theme. */
.panel {
  position: relative;
  margin: clamp(10px, 1.4vw, 18px);
  border-radius: var(--r-panel);
  overflow: clip;
  isolation: isolate;
}
.panel--ink   { background: var(--ink); color: var(--on-ink); }
.panel--paper { background: var(--paper-2); color: var(--on-paper); }

/* Content sits above the ambient light. */
.panel > .wrap { position: relative; z-index: 1; }

/* ── Aurora ────────────────────────────────────────────────────────────────
   Soft out-of-focus colour behind the glass. Glass with nothing behind it
   reads as flat grey, so every panel carrying glass gets two of these. They
   drift slowly, which is what makes a blurred surface look like a surface
   rather than a texture.                                                    */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .6;
  will-change: transform;
}
/* On paper the aurora only has to give the glass something to pick up. Any
   more and it reads as a stain on a white page rather than light behind it. */
.panel--paper .aurora i { filter: blur(96px); opacity: .28; }

@media (prefers-reduced-motion: no-preference) {
  .aurora i { animation: drift 26s var(--ease) infinite alternate; }
  .aurora i:nth-child(2) { animation-duration: 34s; animation-delay: -8s; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(5%, -7%, 0) scale(1.14); }
}

/* ── Glass surfaces ────────────────────────────────────────────────────────
   `.glass` is the surface. `.pane` is what it does under the pointer: lifts,
   brightens, lights its edge, and lets a specular sheen cross it once. The
   two are separate because some glass is structural and should not react.   */

.glass {
  background: var(--glass-ink);
  border: 1px solid var(--glass-ink-edge);
  box-shadow: inset 0 1px 0 var(--glass-ink-top), var(--glass-drop);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
}

.panel--paper .glass,
.glass--paper {
  background: var(--glass-paper);
  border-color: var(--glass-paper-edge);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 0 0 1px var(--glass-paper-ring),
    0 22px 50px -32px rgba(11, 21, 49, .45);
}

/* A surface that answers the pointer. */
.pane {
  position: relative;
  overflow: clip;
  transition:
    transform var(--base) var(--ease-out),
    background var(--base) var(--ease),
    border-color var(--base) var(--ease),
    box-shadow var(--base) var(--ease);
}
.pane:hover,
.pane:focus-within {
  transform: translateY(-6px);
  background: var(--glass-ink-lift);
  border-color: var(--glass-ink-edge-lift);
  box-shadow: inset 0 1px 0 var(--glass-ink-top), var(--glass-drop-lift);
}
.panel--paper .pane:hover,
.panel--paper .pane:focus-within {
  background: var(--glass-paper-lift);
  border-color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 0 0 1px rgba(31, 86, 221, .22),
    0 30px 60px -28px rgba(11, 21, 49, .5);
}

/* The sheen. One diagonal highlight, parked off the left edge, crossing on
   hover. It is decorative, so it never intercepts the pointer. */
.pane::after {
  content: '';
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(104deg,
    transparent 38%,
    rgba(255, 255, 255, .17) 48%,
    rgba(255, 255, 255, .05) 56%,
    transparent 64%);
  transform: translateX(-120%);
  pointer-events: none;
  opacity: 0;
}
.panel--paper .pane::after {
  background: linear-gradient(104deg,
    transparent 38%,
    rgba(255, 255, 255, .85) 48%,
    rgba(255, 255, 255, .25) 56%,
    transparent 64%);
}
@media (prefers-reduced-motion: no-preference) {
  .pane:hover::after,
  .pane:focus-within::after {
    opacity: 1;
    transform: translateX(120%);
    transition: transform 820ms var(--ease-out), opacity 120ms linear;
  }
}

/* ── Tilt ──────────────────────────────────────────────────────────────────
   JavaScript writes --rx/--ry from the pointer's position over the element.
   The transform is declared here so the element still lifts without JS, and
   so reduced-motion can drop the rotation while keeping the lift.           */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-tilt] {
    transform:
      perspective(1100px)
      rotateX(var(--rx, 0deg))
      rotateY(var(--ry, 0deg))
      translateY(var(--ty, 0px));
    transition: transform 320ms var(--ease-out);
  }
  .js [data-tilt].is-tilting { transition: transform 90ms linear; }
  .js .pane[data-tilt]:hover { transform:
      perspective(1100px)
      rotateX(var(--rx, 0deg))
      rotateY(var(--ry, 0deg))
      translateY(-6px); }
}

.section-pad { padding-block: clamp(64px, 8vw, 128px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: currentColor;
  flex: none;
}
.panel--ink .eyebrow { color: var(--cobalt-lift); }

.h-display { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.036em; }
.h-section { font-size: clamp(32px, 4.4vw, 54px); }
.h-card    { font-size: clamp(20px, 2vw, 25px); letter-spacing: -.02em; line-height: 1.2; }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--on-paper-muted);
  max-width: 62ch;
}
.panel--ink .lede { color: var(--on-ink-muted); }

.measure { max-width: 64ch; }

/* ─── Money and data, in the product's own voice ─────────────────────────── */

.money, .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.ccy { font-size: .68em; opacity: .72; margin-right: .36em; font-weight: 500; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--r-chip);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--fast) var(--ease),
              color var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              transform var(--fast) var(--ease),
              box-shadow var(--base) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(31, 86, 221, .55);
}
.btn--primary:hover {
  background: var(--cobalt-lift);
  box-shadow: 0 12px 30px -8px rgba(31, 86, 221, .7);
}

.btn--ghost {
  border-color: rgba(11, 21, 49, .22);
  color: var(--on-paper);
}
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }

.panel--ink .btn--ghost,
.on-ink .btn--ghost { border-color: rgba(255, 255, 255, .26); color: #fff; }
.panel--ink .btn--ghost:hover,
.on-ink .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--cobalt);
  min-height: 44px;
}
.textlink .arr { transition: transform var(--base) var(--ease-out); }
.textlink:hover .arr { transform: translateX(5px); }
.panel--ink .textlink { color: var(--cobalt-lift); }

/* ─── Header ─────────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px clamp(10px, 1.4vw, 18px) 0;
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 11px 11px 11px 22px;
  border-radius: var(--r-chip);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(11, 21, 49, .05);
  backdrop-filter: saturate(170%) blur(20px);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  transition: box-shadow var(--base) var(--ease), background var(--base) var(--ease);
}
.header.is-stuck .header__bar {
  background: rgba(255, 255, 255, .74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 0 0 1px rgba(11, 21, 49, .06),
    0 14px 40px -18px rgba(11, 21, 49, .34);
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
/* The tile's corner radius lives in the SVG, not here — a CSS radius on top of
   it would clip the gradient's corners against the drawn ones. */
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word {
  /* All caps: the tight tracking that suits lowercase closes caps up too much. */
  font-size: 20px; font-weight: 800; letter-spacing: -.005em;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 15px;
  border-radius: var(--r-chip);
  font-size: 15px;
  font-weight: 600;
  color: var(--on-paper-muted);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.nav a:hover { color: var(--on-paper); background: rgba(11, 21, 49, .06); }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--paper-edge);
  border-radius: var(--r-chip); cursor: pointer;
}
.burger span {
  display: block; width: 19px; height: 2px; background: var(--on-paper);
  position: relative; transition: transform var(--base) var(--ease), opacity var(--fast);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--on-paper);
  transition: transform var(--base) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobilenav {
  display: none;
  flex-direction: column;
  gap: 2px;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 10px auto 0;
  padding: 14px;
  border-radius: 22px;
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  box-shadow: 0 20px 50px -20px rgba(11, 21, 49, .35);
}
.mobilenav.is-open { display: flex; }
.mobilenav a {
  padding: 14px 16px; border-radius: 12px;
  font-size: 17px; font-weight: 600;
}
.mobilenav a:hover { background: var(--cobalt-soft); color: var(--cobalt); }
.mobilenav .btn { margin-top: 8px; width: 100%; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero { padding-top: clamp(16px, 2vw, 26px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0 clamp(10px, 1.4vw, 18px);
}

.hero__left {
  /* Not flat white: the panel carries a cool wash toward its lower right, so
     it reads as a surface catching the same light as the cobalt block beside
     it rather than as a hole in the page. */
  background: linear-gradient(152deg, #ffffff 0%, #fafbff 44%, #eaf0ff 100%);
  border-radius: var(--r-panel);
  padding: clamp(36px, 4.6vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: clip;
}
/* Two soft lights in the panel: one behind the headline, one low and right
   where it meets the cobalt block. */
.hero__left::after {
  content: '';
  position: absolute;
  right: -14%; top: -18%;
  width: 66%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(31, 86, 221, .13), transparent 66%);
  pointer-events: none;
}
.hero__left::before {
  content: '';
  position: absolute;
  left: -16%; bottom: -24%;
  width: 54%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(75, 125, 255, .11), transparent 68%);
  pointer-events: none;
}
.hero__left > * { position: relative; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  padding: 7px 15px 7px 9px;
  border-radius: var(--r-chip);
  background: var(--cobalt-soft);
  color: var(--cobalt-deep);
  font-size: 13px; font-weight: 700;
  margin-bottom: 26px;
}
.hero__tag b {
  background: var(--cobalt); color: #fff;
  padding: 3px 9px; border-radius: var(--r-chip);
  font-size: 12px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  font-family: var(--mono);
}

.hero h1 .accent { color: var(--cobalt); }

.hero__lede { margin-top: 22px; max-width: 48ch; font-size: clamp(16px, 1.3vw, 18px); }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid var(--paper-edge);
}
.stat { display: flex; align-items: center; gap: 14px; }
.stat__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--cobalt);
  color: var(--cobalt);
  display: grid; place-items: center;
}
.stat__label {
  display: block;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-paper-subtle);
  margin-bottom: 3px;
}
.stat__value {
  display: block;
  font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
}

.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  margin-top: 30px;
}
.hero__note { font-size: 13px; color: var(--on-paper-subtle); }

/* Hero right: the cobalt block carrying real product screenshots. */
.hero__right {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--cobalt-lift), transparent 58%),
    var(--cobalt);
  border-radius: var(--r-panel);
  padding: clamp(28px, 3.4vw, 52px) clamp(28px, 3.4vw, 52px) 0;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  min-height: 520px;
}
.hero__right::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}

.shot {
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 2px 6px rgba(7, 18, 48, .12),
    0 26px 60px -18px rgba(7, 18, 48, .55);
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, .5);
  /* A screenshot is glass too: it catches the same sheen as a panel when the
     pointer crosses it, which is what makes a flat PNG feel like a surface. */
  position: relative;
  transition: transform var(--base) var(--ease-out), box-shadow var(--base) var(--ease);
}
.shot img { width: 100%; height: auto; display: block; }
.shot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(104deg,
    transparent 40%, rgba(255, 255, 255, .5) 49%,
    rgba(255, 255, 255, .14) 56%, transparent 64%);
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .shot:hover { box-shadow: 0 2px 6px rgba(7,18,48,.14), 0 40px 80px -24px rgba(7,18,48,.62); }
  .shot:hover::after {
    opacity: 1; transform: translateX(130%);
    transition: transform 900ms var(--ease-out), opacity 120ms linear;
  }
}

/* The console bleeds off the right edge of its block: the picture is a window
   onto a real product, not a framed thumbnail of one. */
.hero__shots {
  position: relative;
  width: 100%;
  /* The composition rises out of the bottom edge: both devices are cut by the
     panel, which reads as a window onto something larger than the frame. */
  margin-bottom: -52px;
}
.hero__shot-main { width: 138%; }

.hero__shot-phone {
  position: absolute;
  right: 6%; bottom: -72px;
  width: 158px;
  border-radius: 22px;
  border: 5px solid #0b1531;
  box-shadow: 0 30px 60px -16px rgba(7, 18, 48, .72);
  background: #0b1531;
  overflow: clip;
}
.hero__shot-phone img { border-radius: 16px; }

/* ─── Trust strip ────────────────────────────────────────────────────────── */

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(10px, 1.4vw, 18px);
  margin-inline: clamp(10px, 1.4vw, 18px);
}
.trust__item { padding: 24px 26px; border-radius: var(--r-card); }
.trust__k {
  font-family: var(--mono); font-size: 12px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-paper-subtle); margin-bottom: 9px;
}
.trust__v { font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.35; }
.trust__v em { font-style: normal; color: var(--cobalt); }

/* ─── Five truths: the signature device ──────────────────────────────────── */

.truths__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.lifecycles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.lc {
  border-radius: var(--r-card);
  padding: 22px 20px 24px;
  display: flex; flex-direction: column; gap: 14px;
}

.lc__n {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--on-ink-subtle);
}
.lc__name {
  font-size: 18px; font-weight: 800; letter-spacing: -.02em;
}
.lc__desc { font-size: 14px; line-height: 1.5; color: var(--on-ink-muted); }

/* Each lifecycle carries its own shape and glyph, never colour alone —
   design-system rule 2. */
.lc__chip {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .05em;
  padding: 5px 11px;
  border: 1px solid currentColor;
}
.lc__chip svg { width: 13px; height: 13px; flex: none; }
.lc__chip.is-pill    { border-radius: var(--r-chip); color: var(--success-on-ink); }
.lc__chip.is-square  { border-radius: 4px;  color: var(--info-on-ink); }
.lc__chip.is-notch   { border-radius: 4px 12px 4px 12px; color: var(--danger-on-ink); }
.lc__chip.is-arrow   { border-radius: 4px;  color: rgba(255,255,255,.78); }
.lc__chip.is-clock   { border-radius: 10px; color: var(--slate-on-ink); }

.lc__bar {
  height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, .1); overflow: clip;
}
.lc__bar i {
  display: block; height: 100%; border-radius: 2px;
  background: var(--cobalt-lift);
  /* JS sets --w when the strip scrolls into view; the bar fills to it. */
  width: var(--w, 0%);
  transition: width 900ms var(--ease-out);
}
.lc--flight .lc__bar i {
  background: repeating-linear-gradient(115deg,
    var(--cobalt-lift) 0 9px, rgba(75, 125, 255, .38) 9px 18px);
  background-size: 200% 100%;
  animation: stripe 1.1s linear infinite;
}
@keyframes stripe { to { background-position: -36px 0; } }

.truths__note {
  margin-top: clamp(32px, 4vw, 52px);
  padding: 26px 30px;
  border-radius: var(--r-card);
  border: 1px solid var(--ink-3);
  background: rgba(100, 116, 139, .1);
  display: flex; gap: 18px; align-items: flex-start;
}
.truths__note .glyph {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(148, 163, 184, .16);
  color: var(--slate-on-ink);
}

/* ─── Numbered capability rows ───────────────────────────────────────────── */

.cap {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.22fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(44px, 5.5vw, 78px);
  border-top: 1px solid var(--paper-edge);
}
.cap:first-of-type { border-top: 0; padding-top: 0; }
/* Flipping the row must swap the TRACK WIDTHS too, or the picture lands in the
   narrow column and stops being readable. */
.cap--flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, .88fr); }
.cap--flip .cap__media { order: -1; }

.cap__n {
  font-family: var(--mono);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 300;
  color: var(--cobalt);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.cap__body { margin-top: 16px; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.checks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; line-height: 1.45;
}
.checks li svg { flex: none; margin-top: 3px; color: var(--cobalt); }
.cap__cta { margin-top: 30px; }

.cap__media { position: relative; }
.cap__media .shot { box-shadow: 0 2px 6px rgba(7,18,48,.1), 0 30px 64px -26px rgba(7,18,48,.45); }

.cap__caption {
  margin-top: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--on-paper-subtle);
  display: flex; align-items: center; gap: 8px;
}
.cap__caption::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cobalt); flex: none;
}

/* ─── Unknown-state feature ──────────────────────────────────────────────── */

.unknown__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.notice { border-radius: var(--r-card); overflow: clip; }
.notice__top {
  padding: 18px 24px;
  display: flex; align-items: center; gap: 12px;
  background:
    repeating-linear-gradient(135deg,
      rgba(148, 163, 184, .13) 0 8px, transparent 8px 16px),
    rgba(148, 163, 184, .07);
  border-bottom: 1px solid var(--ink-3);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate-on-ink);
}
.notice__body { padding: 24px; display: grid; gap: 16px; }
.notice__body h4 { font-size: 20px; }
.notice__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px dashed var(--ink-3);
  font-size: 14px;
}
.notice__row span { color: var(--on-ink-muted); }
.notice__absent {
  margin-top: 4px; padding: 14px 16px;
  border-radius: 10px;
  background: rgba(11, 21, 49, .5);
  border: 1px dashed var(--ink-3);
  font-size: 13.5px; color: var(--on-ink-muted);
  line-height: 1.5;
}

/* ─── Rails ──────────────────────────────────────────────────────────────── */

.rails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rail {
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.rail__dot { width: 12px; height: 12px; border-radius: 50%; }
.rail__head { display: flex; align-items: center; gap: 10px; }
.rail__name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.rail__state {
  margin-left: auto;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-paper-subtle);
}
.rail p { font-size: 15px; color: var(--on-paper-muted); line-height: 1.5; }

/* ─── Developers ─────────────────────────────────────────────────────────── */

.dev__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.code {
  border-radius: var(--r-card);
  overflow: clip;
  /* Darker than the stock glass: code wants contrast more than translucency. */
  background: rgba(6, 12, 32, .72);
}
.code__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .04);
}
.code__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.code__file {
  margin-left: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--on-ink-subtle);
}
.code__copy {
  margin-left: auto; background: none; border: 1px solid var(--ink-3);
  color: var(--on-ink-muted); border-radius: var(--r-chip);
  padding: 6px 13px; font-size: 12px; font-family: var(--mono);
  cursor: pointer; transition: all var(--fast) var(--ease);
}
.code__copy:hover { border-color: var(--cobalt-lift); color: #fff; }

.code pre {
  margin: 0; padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--mono); font-size: 13px; line-height: 1.75;
  color: #d6ddf2;
  tab-size: 2;
}
.tok-key { color: #8fb3ff; }
.tok-str { color: #7ee0a8; }
.tok-num { color: #ffd166; }
.tok-com { color: #6b7a9e; font-style: italic; }
.tok-pun { color: #7d8cb0; }

.dev__points { display: grid; gap: 20px; margin-top: 30px; }
.dev__point { display: flex; gap: 14px; }
.dev__point .n {
  font-family: var(--mono); font-size: 12px; color: var(--cobalt-lift);
  padding-top: 3px; flex: none;
}
.dev__point h4 { font-size: 17px; margin-bottom: 4px; }
.dev__point p { font-size: 15px; color: var(--on-ink-muted); line-height: 1.5; }

/* ─── Controls grid ──────────────────────────────────────────────────────── */

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.ctl { border-radius: var(--r-card); padding: 28px; }
.ctl__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cobalt-soft); color: var(--cobalt);
  display: grid; place-items: center; margin-bottom: 18px;
}
.ctl h3 { font-size: 18px; margin-bottom: 9px; letter-spacing: -.02em; }
.ctl p { font-size: 15px; color: var(--on-paper-muted); line-height: 1.52; }

/* ─── Solutions ────────────────────────────────────────────────────────────
   Named by the job the customer came to do, not by the part of the platform
   that does it. Every card here maps to a screen that exists.               */

.sol {
  border-radius: var(--r-card);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column;
}
.sol__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(75, 125, 255, .16);
  border: 1px solid rgba(129, 165, 255, .28);
  color: #a9c3ff;
  display: grid; place-items: center; margin-bottom: 18px;
}
.panel--paper .sol__icon {
  background: var(--cobalt-soft); border-color: rgba(31, 86, 221, .18); color: var(--cobalt);
}
.sol h3 { font-size: 18.5px; letter-spacing: -.02em; margin-bottom: 9px; }
.sol p { font-size: 15px; line-height: 1.52; color: var(--on-ink-muted); }
.panel--paper .sol p { color: var(--on-paper-muted); }
.sol__for {
  margin-top: auto; padding-top: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-ink-subtle);
  line-height: 1.6;
}
.panel--paper .sol__for { color: var(--on-paper-subtle); }

/* A real product built on the platform, shaped so it does not read as one
   more feature card. */
.builtwith {
  margin-top: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-card);
  padding: clamp(26px, 3vw, 38px);
}
.builtwith__k {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cobalt-lift); margin-bottom: 12px;
}
.builtwith h3 { font-size: clamp(20px, 2.1vw, 26px); letter-spacing: -.022em; margin-bottom: 10px; }
.builtwith p { color: var(--on-ink-muted); font-size: 16px; line-height: 1.55; max-width: 66ch; }
.panel--paper .builtwith__k { color: var(--cobalt); }
.panel--paper .builtwith p { color: var(--on-paper-muted); }

/* ─── Reach ───────────────────────────────────────────────────────────────── */

.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.reach__item { padding: 24px 26px; border-radius: var(--r-card); }
.reach__k {
  font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px;
}
.reach__item p { font-size: 15px; line-height: 1.5; color: var(--on-ink-muted); }
.panel--paper .reach__item p { color: var(--on-paper-muted); }

/* ─── Industries, as a marquee ─────────────────────────────────────────────
   The reference theme runs its partner logos past on a Swiper. There are no
   partner logos to run, so the sectors go past instead: two rows travelling
   opposite ways, which reads as motion without asking to be read.          */

.marquee {
  position: relative;
  display: grid; gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  overflow: clip;
  /* Fade the ends so the loop never shows its seam at the panel edge. */
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
/* The space between chips is a margin, not a flex gap. With `gap`, the track's
   width is sum(items) + (2n-1)*gap, so half of it lands half a gap short of
   where the duplicate run begins and the loop jumps by 6px every pass. */
.marquee__row { display: flex; width: max-content; }
.marquee__row > * { flex: none; margin-right: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .marquee__row { animation: slide-left 46s linear infinite; }
  .marquee__row--back { animation-direction: reverse; animation-duration: 58s; }
  .marquee:hover .marquee__row { animation-play-state: paused; }
}
/* The track holds the chips twice; travelling exactly half its width and
   restarting is seamless. */
@keyframes slide-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.sector {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-chip);
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: background var(--base) var(--ease), border-color var(--base) var(--ease),
              transform var(--base) var(--ease-out);
}
.sector:hover {
  border-color: var(--glass-ink-edge-lift);
  background: var(--glass-ink-lift);
  transform: translateY(-3px);
}
.sector svg { color: var(--cobalt-lift); flex: none; }

/* ─── People ───────────────────────────────────────────────────────────────
   Stock photography, used illustratively. The Pexels licence forbids implying
   that a person in a photo endorses a product, and there are no customers to
   quote yet, so these cards carry a role and a situation in the third person
   and never a testimonial. See tools/fetch-photos.py.                       */

.bandphoto {
  position: relative;
  border-radius: var(--r-card);
  overflow: clip;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  /* Shorter than the source so there is room for the parallax to travel. */
  height: clamp(220px, 32vw, 380px);
}
.bandphoto img {
  width: 100%; height: 124%;
  object-fit: cover; object-position: center 42%;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.bandphoto::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(11, 21, 49, .92) 0%, rgba(11, 21, 49, .66) 42%, rgba(11, 21, 49, .12) 100%);
}
.bandphoto__cap {
  position: absolute; inset: auto auto 0 0;
  z-index: 1;
  max-width: 44ch;
  padding: clamp(22px, 3vw, 38px);
}
.bandphoto__cap p { font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.bandphoto__cap span {
  display: block; margin-top: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-ink-subtle);
}

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.person {
  border-radius: var(--r-card);
  overflow: clip;
  display: flex; flex-direction: column;
}
.person__pic { position: relative; aspect-ratio: 16 / 11; overflow: clip; }
.person__pic img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  transition: transform 700ms var(--ease-out);
}
.person:hover .person__pic img { transform: scale(1.06); }
.person__pic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 21, 49, .55) 100%);
}
.person__body { padding: 20px 22px 24px; display: grid; gap: 9px; }
.person__role {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cobalt-lift);
}
.person__body p { font-size: 15.5px; line-height: 1.5; color: var(--on-ink-muted); }

.people__note {
  margin-top: 22px;
  font-size: 13.5px; color: var(--on-ink-subtle); line-height: 1.55;
  max-width: 76ch;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 56px);
}
.faq__group-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-paper-subtle);
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--paper-edge);
}
details.qa { border-bottom: 1px solid var(--paper-edge); }
details.qa summary {
  list-style: none; cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 17px; font-weight: 700; letter-spacing: -.015em;
  position: relative;
  min-height: 44px;
  display: flex; align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--base) var(--ease);
}
details.qa[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
details.qa .qa__a {
  padding: 0 44px 22px 0;
  font-size: 15.5px; line-height: 1.6; color: var(--on-paper-muted);
}
details.qa[open] .qa__a { animation: fade-up var(--base) var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(-5px); } }

/* ─── Get started / form ─────────────────────────────────────────────────── */

.start__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
}
.form { display: grid; gap: 14px; }
.field { position: relative; display: grid; gap: 7px; }
.field label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-ink-subtle);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--glass-ink-edge);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font: inherit; font-size: 16px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover {
  background: rgba(255, 255, 255, .08);
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5e6d92; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cobalt-lift);
  box-shadow: 0 0 0 3px rgba(75, 125, 255, .26);
}
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #ff8f85; }
.field__err {
  font-size: 13px; color: #ff9d94; min-height: 0;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__foot { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.form__small { font-size: 13px; color: var(--on-ink-subtle); line-height: 1.5; }

.form__done {
  display: none;
  padding: 28px;
  border-radius: var(--r-card);
  border: 1px solid rgba(110, 231, 160, .4);
  background: rgba(20, 108, 52, .18);
}
.form__done.is-shown { display: block; animation: fade-up var(--slow) var(--ease-out); }
.form__done h3 { font-size: 21px; margin-bottom: 10px; }
.form__done p { color: var(--on-ink-muted); font-size: 15.5px; line-height: 1.55; }

.start__points { display: grid; gap: 22px; margin-top: 34px; }
.start__point { display: flex; gap: 14px; align-items: flex-start; }
.start__point .num {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  border: 1px solid var(--cobalt-lift); color: var(--cobalt-lift);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
}
.start__point h4 { font-size: 16.5px; margin-bottom: 3px; }
.start__point p { font-size: 15px; color: var(--on-ink-muted); line-height: 1.5; }

/* ─── Contact ──────────────────────────────────────────────────────────────
   Four ways to reach a person, an address on a map, and the socials. The
   channels are links rather than text, because a phone number you have to
   copy out is a phone number nobody calls from a phone.                     */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 2.6vw, 34px);
  align-items: start;
}

.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.channel {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px;
  border-radius: var(--r-card);
  min-height: 44px;
}
.channel__icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--glass-ink-edge);
  color: #fff;
}
.channel__k {
  display: block;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-ink-subtle); margin-bottom: 5px;
}
.channel__v { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.012em; }
.channel__note { display: block; margin-top: 4px; font-size: 13px; color: var(--on-ink-muted); }

/* Each channel keeps its own service colour on the icon, which is how people
   recognise them at a glance. */
.channel--whatsapp .channel__icon { background: rgba(37, 211, 102, .16); border-color: rgba(37, 211, 102, .4); color: #4ae08a; }
.channel--telegram .channel__icon { background: rgba(42, 171, 238, .16); border-color: rgba(42, 171, 238, .4); color: #5bc0f8; }

.officecard { margin-top: 14px; padding: 22px; border-radius: var(--r-card); }
.officecard dl { margin: 0; display: grid; gap: 14px; }
.officecard dt {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-ink-subtle); margin-bottom: 4px;
}
.officecard dd { margin: 0; font-size: 15.5px; line-height: 1.5; }

.map {
  position: relative;
  border-radius: var(--r-card);
  overflow: clip;
  min-height: clamp(340px, 46vw, 520px);
  background: var(--ink-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The map is a third-party frame and can be blocked or slow. The link under
   it is not a fallback bolted on — it is how most people on a phone want to
   open a map anyway. */
/* Top right: Google's own card sits top left and its attribution runs along
   the bottom, which the embed terms require stay visible. */
.map__open {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; min-height: 44px;
  border-radius: var(--r-chip);
  background: rgba(11, 21, 49, .82);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; font-size: 14px; font-weight: 700;
}
.map__open:hover { background: var(--cobalt); border-color: var(--cobalt-lift); }

.socials {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--ink-3);
}
.socials__k {
  font-family: var(--mono); font-size: 12px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-ink-subtle); margin-right: 6px;
}
.social {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease),
              transform var(--base) var(--ease-out);
}
.social:hover { transform: translateY(-3px); border-color: var(--glass-ink-edge-lift); background: var(--glass-ink-lift); }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--ink-3); color: var(--on-ink-muted);
  transition: all var(--fast) var(--ease);
}
.footer__social a:hover { color: #fff; border-color: var(--cobalt-lift); background: rgba(75,125,255,.14); }

/* ─── CTA band ───────────────────────────────────────────────────────────── */

.band {
  background:
    radial-gradient(90% 140% at 12% 0%, var(--cobalt-lift), transparent 60%),
    var(--cobalt);
  color: #fff;
  border-radius: var(--r-panel);
  margin: clamp(10px, 1.4vw, 18px);
  padding: clamp(44px, 6vw, 86px) clamp(28px, 5vw, 76px);
  position: relative;
  overflow: clip;
}
.band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(80% 100% at 80% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(80% 100% at 80% 50%, #000, transparent);
}
.band__inner { position: relative; display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: space-between; }
.band h2 { font-size: clamp(30px, 4vw, 48px); max-width: 17ch; }
.band p { margin-top: 14px; color: rgba(255,255,255,.84); max-width: 46ch; font-size: 17px; }
.band .btn--primary { background: #fff; color: var(--cobalt-deep); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.band .btn--primary:hover { background: #eef3ff; }
.band .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.band .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.footer { background: var(--ink); color: var(--on-ink); margin-top: clamp(10px, 1.4vw, 18px); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer__brand .brand__word { color: #fff; }
.footer__tag { margin-top: 18px; color: var(--on-ink-muted); font-size: 15.5px; max-width: 34ch; line-height: 1.55; }
.footer__col h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-ink-subtle); margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: 15px; color: var(--on-ink-muted); transition: color var(--fast) var(--ease); }
.footer__col a:hover { color: #fff; }

.footer__bot {
  border-top: 1px solid var(--ink-3);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--on-ink-subtle);
}
.footer__legal { max-width: 74ch; line-height: 1.55; }

/* ─── Reveal on scroll — from a visible resting state ──────────────────────
   The travel matches the reference theme's own reveal, which moves 7vh rather
   than the usual 20px; at that distance the movement is legible instead of
   being a twitch. Elements rest VISIBLE and are only hidden once .js is on the
   root and motion is not reduced, so a page with JavaScript off, or a reader
   who asked for less movement, still gets everything on first paint.        */

.rv { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js .rv {
    opacity: 0;
    transform: translate3d(0, 7vh, 0);
    filter: blur(6px);
    transition:
      opacity 820ms var(--ease-out),
      transform 820ms var(--ease-out),
      filter 820ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js .rv.is-in { opacity: 1; transform: none; filter: none; }

  /* The hero does not wait to be scrolled to — it plays on load. */
  .js .hero__left > *,
  .js .hero__shots > * {
    opacity: 0;
    animation: rise-in 900ms var(--ease-out) forwards;
    animation-delay: var(--d, 0ms);
  }
}
@keyframes rise-in {
  from { opacity: 0; transform: translate3d(0, 4vh, 0); filter: blur(7px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { min-height: 440px; }
  .hero__shot-phone { right: 8px; bottom: -48px; width: 150px; }
  .truths__head { grid-template-columns: 1fr; align-items: start; }
  .lifecycles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap, .unknown__grid, .dev__grid, .start__grid, .contact__grid { grid-template-columns: 1fr; }
  .cap--flip .cap__media { order: 0; }
  .grid-4, .grid-3, .rails, .people, .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header__cta .btn--ghost { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header__cta { margin-left: 0; }
  .faq__cols { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --r-panel: 20px; }
  .lifecycles, .grid-4, .grid-3, .grid-2, .rails, .trust, .people, .reach,
  .channels { grid-template-columns: 1fr; }
  /* Over a narrow map the button covers what it is a button for. */
  .map { min-height: 300px; }
  .map__open { right: 10px; top: 10px; padding: 9px 13px; font-size: 13px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__shot-phone { display: none; }
  .hero__stats { gap: 18px 26px; }
  .band__inner { gap: 26px; }
  .btn { width: 100%; }
  .hero__actions .btn, .band .btn { width: auto; }
}

/* ── Where glass cannot be glass ───────────────────────────────────────────
   Without backdrop-filter the fills are near-transparent and the text sits
   straight on the panel, which on the navy ground is legible but flat and on
   paper is invisible. Give those browsers an opaque surface instead.        */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: #14224a; border-color: rgba(255, 255, 255, .14); }
  .panel--paper .glass, .glass--paper { background: #fff; border-color: var(--paper-edge); }
  .header__bar { background: #fff; }
  .aurora { display: none; }
}

/* Phones do the blur on every scrolled frame and lose more in frame rate than
   they gain in finish, so below the breakpoint the surfaces go solid. */
@media (max-width: 620px) {
  .glass {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, .07);
  }
  .panel--paper .glass { background: #fff; border-color: var(--paper-edge); }
  .pane::after, .shot::after { display: none; }
}

@media print {
  .header, .band, .burger { display: none; }
  .panel--ink, .footer { background: #fff; color: #000; }
}
