/* Self-hosted so this site makes zero third-party requests — which is the
   only way the "no trackers" claim on the security page is literally true.
   Inter and Instrument Serif are both under the SIL Open Font License 1.1.
   Inter is a variable font: one file covers every weight we use. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Graviti — design tokens
   Dark is the brand, not a preference. The palette is a gravity
   well: near-black void, a warm stellar core, a violet halo.
   ============================================================ */

:root {
  --void: #07080c;
  --void-2: #0a0c13;
  --surface: #101320;
  --surface-2: #161a2b;
  --surface-3: #1d2236;

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --ink: #f5f6fa;
  --ink-2: #c6cbd9;
  --muted: #949bad;

  --gold: #f2b544;
  --gold-soft: #ffd98a;
  --gold-deep: #e08a2b;
  --violet: #8b7cff;
  --teal: #5eead4;

  --accent: var(--gold);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --gutter: clamp(1rem, 4vw, 2rem);
  --wrap: 1180px;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   reset
   ============================================================ */

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

* {
  margin: 0;
}

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

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

::selection {
  background: var(--gold);
  color: #0a0b10;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #0a0b10;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}

.skip:focus {
  left: 0;
}

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

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in srgb, var(--void) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-head.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--void) 88%, transparent);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.125rem;
  margin-right: auto;
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink);
  transition: transform 0.6s var(--ease);
}

.brand:hover .logo-mark {
  transform: rotate(28deg);
}

.brand-word {
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link[aria-current] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.5rem var(--gutter) 1.25rem;
  border-top: 1px solid var(--line);
  gap: 0.25rem;
}

.mobile-nav .nav-link {
  padding: 0.85rem 0.5rem;
  font-size: 1.0625rem;
}

@media (max-width: 800px) {
  /* Scoped to .site-head so these beat the `.btn { display: inline-flex }`
     rule further down the file — equal specificity would lose on source order
     and leave the CTA overflowing the header on phones. */
  .site-head .nav,
  .site-head .nav-cta {
    display: none;
  }

  .site-head .nav-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }
}

/* ============================================================
   buttons & links
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 550;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s,
    box-shadow 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn .ico {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #17120a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 28px -12px rgba(242, 181, 68, 0.75);
}

.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 40px -14px rgba(242, 181, 68, 0.9);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.0625rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.link-arrow .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--gold);
  border-bottom-color: color-mix(in srgb, var(--gold) 45%, transparent);
}

.link-arrow:hover .ico {
  transform: translateX(4px);
}

.link-btn {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(3rem, 8vh, 5rem);
  isolation: isolate;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Darkens the centre column the copy sits in, and fades the bottom edge into
     the next section — but deliberately leaves the right-hand side alone, so
     the star keeps its brightness instead of being vignetted to mud. */
  background:
    radial-gradient(52% 46% at 50% 44%, rgba(7, 8, 12, 0.88), rgba(7, 8, 12, 0) 72%),
    linear-gradient(180deg, var(--void) 0%, transparent 18%),
    linear-gradient(180deg, transparent 62%, var(--void) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.eyebrow .ico {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.9rem, 9.5vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin-bottom: 1.5rem;
}

.hero-line {
  display: block;
}

.hero-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  background: linear-gradient(105deg, var(--gold-soft) 8%, var(--gold) 45%, var(--violet) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.lede {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: clamp(3rem, 8vh, 5rem) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 720px;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--ink), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
  text-wrap: balance;
}

@media (max-width: 620px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
    max-width: 420px;
  }

  .hero-stats li {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }

  .stat-value {
    font-size: 1.5rem;
    flex: none;
    width: 4.25rem;
  }
}

/* ============================================================
   marquee
   ============================================================ */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--void-2);
  padding: 0.9rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
}

.marquee-item,
.marquee-dot {
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-inline: 1.25rem;
  color: var(--ink-2);
}

.marquee-dot {
  color: var(--gold);
  padding-inline: 0;
  font-size: 0.6rem;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   sections
   ============================================================ */

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-tight {
  padding-block: clamp(3rem, 7vw, 4.5rem);
}

.section-alt {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(139, 124, 255, 0.07), transparent 70%),
    var(--void-2);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head-center {
  justify-content: center;
  text-align: center;
}

.section-head-center .section-lede {
  margin-inline: auto;
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.section-title.small {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.section-lede {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.0625rem;
}

.section-head .eyebrow {
  margin-bottom: 0.9rem;
}

.section-foot {
  margin-top: 2.75rem;
  text-align: center;
}

/* The work-with-us band when it stands alone, without a catalogue above it. */
.works-band {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 760px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   app cards
   ============================================================ */

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 30vw, 330px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.app-card {
  --app-accent: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface), var(--void-2));
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(
    70% 55% at 50% -10%,
    color-mix(in srgb, var(--app-accent) 26%, transparent),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--app-accent) 40%, transparent);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: none;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.8);
}

.app-icon svg {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.app-icon-xl {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

.app-icon-plus {
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  background: transparent;
  box-shadow: none;
}

.app-name {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.app-tag {
  color: var(--app-accent);
  font-size: 0.9375rem;
  font-weight: 500;
}

.app-sum {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.app-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.app-go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: background 0.3s, transform 0.3s var(--ease), color 0.3s, border-color 0.3s;
}

.app-card:hover .app-go {
  background: var(--app-accent);
  border-color: var(--app-accent);
  color: #12100a;
  transform: translateX(3px);
}

/* A full-width band rather than a card: with an odd number of apps it would
   otherwise be stranded alone on a row with two empty cells beside it. */
.app-card-ghost {
  grid-column: 1 / -1;
  background: transparent;
  border-style: dashed;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
}

.app-card-ghost .app-icon-plus {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.ghost-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ghost-body .app-name {
  font-size: 1.125rem;
}

.ghost-body .app-sum {
  max-width: 62ch;
}

.ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

@media (max-width: 720px) {
  .app-card-ghost {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ghost-cta {
    margin-left: 0;
  }
}

/* The lead card: at two apps a flat grid looks empty, so the first
   featured app gets double width and more room to breathe. */
.app-card-lead {
  grid-column: span 2;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.app-card-lead .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.app-card-lead .app-name {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.app-card-lead .app-tag {
  font-size: 1.125rem;
}

.app-card-lead .app-sum {
  font-size: 1.0625rem;
  max-width: 52ch;
}

@media (max-width: 900px) {
  .app-card-lead {
    grid-column: span 1;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  white-space: nowrap;
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill-live {
  color: #6ee7a8;
  border-color: rgba(110, 231, 168, 0.32);
  background: rgba(110, 231, 168, 0.08);
}

.pill-beta {
  color: var(--teal);
  border-color: rgba(94, 234, 212, 0.32);
  background: rgba(94, 234, 212, 0.08);
}

.pill-dev {
  color: var(--gold-soft);
  border-color: rgba(242, 181, 68, 0.32);
  background: rgba(242, 181, 68, 0.08);
}

.pill-sunset {
  color: var(--muted);
}

.pill-quiet {
  color: var(--muted);
  border-color: var(--line);
}

.pill-quiet::before {
  display: none;
}

/* ============================================================
   principles / core / features / steps
   ============================================================ */

.principle-grid,
.core-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.principle {
  padding: 1.75rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), transparent 60%);
  transition: border-color 0.3s, background 0.3s;
}

.principle:hover {
  border-color: var(--line-2);
}

.principle-n {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.principle h3,
.core-item h3,
.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.principle p,
.core-item p,
.feature p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.core-item,
.feature {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
  position: relative;
}

.core-dot,
.feature-dot {
  position: absolute;
  left: -4.5px;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent);
}

.feature-dot {
  background: var(--app-accent, var(--gold));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--app-accent, var(--gold)) 18%, transparent);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  align-items: start;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-n {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
}

.step-body h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: 0.7rem;
}

.step-body p {
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width: 620px) {
  .step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ============================================================
   page heads, crumbs, docs
   ============================================================ */

.page-head {
  padding-block: clamp(4rem, 12vh, 7rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 100% at 50% 0%, rgba(242, 181, 68, 0.08), transparent 65%);
}

.page-title {
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  letter-spacing: -0.045em;
  margin-bottom: 1.25rem;
}

.page-lede {
  color: var(--ink-2);
  max-width: 62ch;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
}

.notfound {
  border-bottom: 0;
  min-height: 70svh;
  display: flex;
  align-items: center;
}

.crumbs {
  padding-block: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  transition: color 0.2s;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs span[aria-current] {
  color: var(--ink-2);
}

.crumbs .wrap > * + * {
  margin-left: 0.4rem;
}

.doc {
  padding-block: clamp(2.5rem, 6vw, 4rem) var(--section-y);
}

.doc-wrap {
  max-width: 760px;
}

.doc-head {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.doc-date {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.doc-standfirst {
  margin-top: 1.25rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.6;
}

.doc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* A normal container that happens to hold a narrow measure, so the copy lines
   up with the section heads and grids above it rather than floating in the
   middle of the page. Document pages use .doc-wrap, which stays centred. */
.prose-wrap > .prose,
.prose-wrap > .prose-lead {
  max-width: 760px;
}

.prose-lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.65;
}

.prose-lead + .prose-lead {
  margin-top: 1.5rem;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent);
}

.prose a:hover {
  text-decoration-color: var(--gold);
}

.prose code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 5px;
}

.tick-list,
.link-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.tick-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}

.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.link-list .ico {
  width: 15px;
  height: 15px;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.link-list a:hover .ico {
  transform: translateX(4px);
}

/* tables */

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--void-2);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 480px;
}

.data-table th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.data-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.55;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table strong {
  color: var(--ink);
  font-weight: 550;
}

/* ============================================================
   app detail
   ============================================================ */

.app-hero {
  --app-accent: var(--gold);
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
    70% 90% at 15% 0%,
    color-mix(in srgb, var(--app-accent) 12%, transparent),
    transparent 62%
  );
}

.app-hero-main {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.75rem;
}

.app-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.app-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.045em;
  margin-bottom: 0.5rem;
}

.app-hero-tag {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--app-accent);
  font-family: var(--serif);
  font-style: italic;
}

.app-hero-sum {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
}

.app-hero-cta {
  margin-top: 2rem;
}

.app-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.app-meta-grid dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.app-meta-grid dd {
  margin: 0;
  font-weight: 550;
  font-size: 0.9375rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.25rem;
}

.shot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.data-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface), var(--void-2));
}

.data-panel-head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.ico-lg {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--gold);
}

.never h3 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.never-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 0.85rem;
}

.never-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.never-list .ico {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.15rem;
  color: #6ee7a8;
}

.data-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

/* ============================================================
   catalogue filters
   ============================================================ */

.filters {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.search-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.search {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
}

.search::placeholder {
  color: var(--muted);
}

.search:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.chip.is-on {
  color: #17120a;
  background: var(--gold);
  border-color: var(--gold);
}

.result-count {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 4rem 0;
}

.app-card[hidden] {
  display: none;
}

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

.support-card {
  display: flex;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface), var(--void-2));
  margin-bottom: 3rem;
}

.support-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.support-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--void-2);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-weight: 550;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  transition: color 0.2s;
}

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

.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-body {
  padding: 0 1.35rem 1.35rem;
}

.faq-body p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   transparency band
   ============================================================ */

.transparency {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--void-2);
}

.transparency div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.transparency dt {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.transparency dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================================
   cta band
   ============================================================ */

.cta-band {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 50% 100%, rgba(242, 181, 68, 0.14), transparent 68%),
    var(--void-2);
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.cta-sub {
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2.25rem;
  font-size: 1.0625rem;
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  background: var(--void);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) 2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: 3rem;
}

.foot-brand .brand {
  margin-bottom: 1.1rem;
}

.foot-line {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34ch;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.foot-mail {
  color: var(--gold);
  font-size: 0.9375rem;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  padding-bottom: 2px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.foot-col h2 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.foot-col a {
  color: var(--ink-2);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--gold);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.foot-note {
  margin-left: auto;
}

.foot-trader {
  flex-basis: 100%;
}

@media (max-width: 760px) {
  .foot-top {
    grid-template-columns: 1fr;
  }

  .foot-note {
    margin-left: 0;
  }
}

/* ============================================================
   scroll reveal + motion preferences
   ============================================================ */

/* The hero animates with a plain CSS animation rather than the observer
   below. It is the largest contentful paint on the site, so it must never be
   gated on a script loading: if site.js fails, the headline still renders. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise {
  animation: rise 0.85s var(--ease) both;
}

.rise:nth-child(2) {
  animation-delay: 0.07s;
}

.rise:nth-child(3) {
  animation-delay: 0.14s;
}

.rise:nth-child(4) {
  animation-delay: 0.21s;
}

.rise:nth-child(5) {
  animation-delay: 0.28s;
}

/* Below-the-fold reveals. `has-reveal` is added by site.js itself, so nothing
   is ever hidden unless the script that un-hides it is already running. */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.has-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

.has-reveal .reveal:nth-child(2) {
  transition-delay: 0.05s;
}

.has-reveal .reveal:nth-child(3) {
  transition-delay: 0.1s;
}

.has-reveal .reveal:nth-child(4) {
  transition-delay: 0.15s;
}

.has-reveal .reveal:nth-child(5) {
  transition-delay: 0.2s;
}

.has-reveal .reveal:nth-child(6) {
  transition-delay: 0.25s;
}

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

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

  .marquee-track {
    animation: none;
    transform: none;
  }

  .has-reveal .reveal,
  .rise {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn:hover,
  .app-card:hover {
    transform: none;
  }
}

@media print {
  .site-head,
  .site-foot,
  .hero-canvas,
  .marquee,
  .cta-band {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* Home: one continuous journey from upcoming apps to trust and contact. */
.page-home #apps,
.page-home #standard {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.page-home #standard .section-head {
  margin-bottom: 2rem;
}

.page-home #standard .principle {
  padding: 1.25rem 1.5rem;
}

.page-home #standard .principle h3 {
  margin-bottom: 0;
}

.page-home #standard .section-foot {
  margin-top: 1.75rem;
}

.page-home #contact {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 0;
}

.page-home #contact .cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 3rem;
  text-align: left;
}

.page-home #contact .cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-home #contact .cta-sub {
  grid-column: 1;
  margin-bottom: 0;
}

.page-home #contact .btn {
  grid-column: 2;
  grid-row: 1 / 3;
}

@media (max-width: 760px) {
  .page-home #apps .section-head-center,
  .page-home #standard .section-head-center {
    align-items: center;
    text-align: center;
  }

  .page-home #standard .principle-grid {
    gap: 0.75rem;
  }

  .page-home #standard .principle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
  }

  .page-home #standard .principle-n {
    margin: 0;
    flex: none;
  }

  .page-home #contact .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .page-home #contact .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 1.75rem;
  }

  .page-home .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-home .foot-top {
    gap: 2rem;
    padding-bottom: 2rem;
  }
}
