/* PaySight marketing site — paysight.ca */

:root {
  --black: #000;
  --ink: #07080d;
  --ink-2: #0d0f18;
  --navy: #0c153d;
  --blue: #233dff;
  --blue-deep: #233fb8;
  --blue-soft: #5468ff;
  --pink: #f878cd;
  --yellow: #f8c954;
  --acid: #e5e900;
  --coral: #fe696e;
  --teal: #018fa6;
  --teal-bright: #19b6cf;
  --paper: #f4f6fc;
  --grey: #eff3f4;
  --white: #fff;

  --text: #0b0d17;
  --text-muted: #4a5068;
  --text-on-dark: #f3f5ff;
  --muted-on-dark: #a9afc8;
  --line: #dfe3ef;
  --line-dark: rgba(255, 255, 255, .1);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--acid);
  color: var(--black);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-light :focus-visible,
.section-paper :focus-visible { outline-color: var(--blue); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--white);
  text-wrap: balance;
}

.h2 {
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.h2-sm { font-size: clamp(2rem, 3.6vw, 3rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
}
.kicker-on-dark { color: var(--acid); }
.hero .kicker::before { display: none; }
.kicker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(229, 233, 0, .18);
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted-on-dark);
}

.section-lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.section-dark .section-lead { color: var(--muted-on-dark); }

/* ---------- Buttons ---------- */

.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: .92rem; }
.btn-lg { --pad-y: 16px; --pad-x: 26px; font-size: 1.02rem; }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 30px -8px rgba(35, 61, 255, .7); }
.btn-primary:hover { background: #1630f0; box-shadow: 0 10px 36px -6px rgba(35, 61, 255, .85); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-ghost { color: var(--text-on-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--acid); color: var(--black); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--blue); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row-center { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.site-header.is-scrolled::before { background: rgba(0, 0, 0, .94); }
.header-inner { position: relative; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; padding: 6px 0; }
.brand img { width: 158px; height: auto; }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted-on-dark);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 12px; margin: auto; }
.nav-toggle-bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: #050609;
    border-bottom: 1px solid var(--line-dark);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s, transform .2s var(--ease), visibility 0s;
  }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 14px 4px; font-size: 1.15rem; color: var(--text-on-dark); border-radius: 8px; border-bottom: 1px solid var(--line-dark); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-actions .btn { --pad-y: 14px; font-size: 1rem; }
  .nav-actions .btn-ghost { border-color: var(--line-dark); }
}
.no-js .nav-toggle { display: none; }
.no-js .nav-menu { position: static; visibility: visible; opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding-top: clamp(48px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 70% 78%, rgba(35, 61, 255, .55), transparent 70%),
    radial-gradient(30% 30% at 12% 30%, rgba(35, 61, 255, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero .display { max-width: 12ch; }
.h1-sub {
  display: block;
  margin-top: .45em;
  font-size: .42em;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--muted-on-dark);
}
.hl {
  position: relative;
  white-space: nowrap;
  color: var(--white);
  background: linear-gradient(transparent 62%, var(--blue) 62%, var(--blue) 92%, transparent 92%);
  padding-inline: .04em;
}
.hero-side { display: grid; gap: 28px; padding-bottom: 8px; }
.tagline {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.hero-visual-wrap { margin-top: clamp(48px, 7vw, 88px); }
.hero-visual {
  position: relative;
  padding-bottom: clamp(48px, 10vw, 150px);
}

/* Browser mockup */
.browser {
  position: relative;
  border-radius: 16px;
  background: #0b0d16;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 120px -30px rgba(35, 61, 255, .6), 0 0 0 1px rgba(35, 61, 255, .15), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
  margin-right: clamp(0px, 12vw, 190px);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #10131f;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2f45; }
.dots i:first-child { background: var(--coral); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: #3ccf7b; }
.url {
  flex: 1;
  max-width: 340px;
  margin-inline: auto;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted-on-dark);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app { display: flex; min-height: 380px; background: var(--paper); color: var(--text); }
.app-side {
  flex: none;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  background: var(--navy);
}
.app-mark { width: 26px; height: 26px; margin-bottom: 12px; }
.side-item {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: #8494d4;
}
.side-item .ico { width: 18px; height: 18px; }
.side-item.is-active { background: var(--blue); color: var(--white); }

.app-main { flex: 1; min-width: 0; padding: 20px 22px 24px; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.app-title { display: block; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.app-sub { display: block; font-size: .78rem; color: var(--text-muted); }
.app-btn {
  flex: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
}

.board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lane {
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  background: #e9ecf6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lane-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  color: #2b3045;
  white-space: nowrap;
  overflow: hidden;
  padding: 2px 2px 4px;
}
.lane-head i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.lane-head b {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--text-muted);
}
.card {
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 9px;
  background: var(--white);
  border-left: 3px solid var(--c);
  box-shadow: 0 1px 2px rgba(12, 21, 61, .08), 0 4px 14px -6px rgba(12, 21, 61, .14);
  font-size: .72rem;
  min-width: 0;
}
.card > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-no { font-family: var(--mono); font-size: .66rem; color: var(--blue-deep); font-weight: 600; }
.card-cust { font-weight: 700; color: var(--text); font-size: .78rem; }
.card-meta { color: var(--text-muted); }
.card-tag {
  justify-self: start;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff4d6;
  color: #7a5600;
  font-size: .62rem;
  font-weight: 700;
}
.tag-teal { background: #d8f3f7; color: #015e6d; }
.tag-coral { background: #ffe1e2; color: #a3141b; }
.tag-acid { background: #f7f8b8; color: #4b4c00; }
.card.is-moving {
  transform: rotate(-2.5deg) translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(12, 21, 61, .4), 0 0 0 2px var(--blue);
  animation: drag 6s var(--ease) infinite;
}
@keyframes drag {
  0%, 30% { transform: rotate(0) translate(0, 0); }
  45%, 70% { transform: rotate(-2.5deg) translate(6px, -4px); }
  85%, 100% { transform: rotate(0) translate(0, 0); }
}

/* Phone mockup */
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(220px, 21vw, 280px);
  padding: 10px;
  border-radius: 38px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 6px rgba(35, 61, 255, .25);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.phone-notch { position: absolute; top: 16px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 12px; background: #000; z-index: 1; }
.phone-screen {
  position: relative;
  border-radius: 29px;
  background: var(--white);
  color: var(--text);
  padding: 44px 18px 20px;
  overflow: hidden;
}
.phone-logo { width: 92px; height: auto; margin-bottom: 16px; }
.phone-label { font-family: var(--mono); font-size: .68rem; color: var(--text-muted); }
.phone-status { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; margin: 2px 0 16px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(35, 61, 255, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(35, 61, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 61, 255, 0); } }

.timeline { position: relative; display: grid; gap: 11px; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: #e3e6f0; }
.timeline li { position: relative; font-size: .76rem; line-height: 1.3; color: #8a90a6; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -22px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #cfd4e4;
}
.timeline b { display: block; font-weight: 700; }
.timeline span { display: block; font-size: .68rem; color: var(--text-muted); }
.timeline .done { color: var(--text); }
.timeline .done::before { background: var(--teal); border-color: var(--teal); }
.timeline .now { color: var(--blue); }
.timeline .now::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35, 61, 255, .2); }
.phone-note {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--black);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Stage strip ---------- */

.strip {
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  border-block: 1px solid rgba(255, 255, 255, .1);
}
.strip-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  font-weight: 800;
  font-stretch: 115%;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.strip-track i { font-style: normal; color: var(--acid); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(80px, 11vw, 148px); }
.section-light { background: var(--white); color: var(--text); }
.section-paper { background: var(--paper); color: var(--text); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark .h2 { color: var(--white); }

.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-center { margin-inline: auto; text-align: center; }
@media (min-width: 1101px) {
  .section-head-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 80px;
    align-items: end;
  }
  .section-head-split .kicker { grid-column: 1 / -1; justify-self: start; }
  .section-head-split .section-lead { margin-top: 0; padding-bottom: 8px; }
}
.section-head-center .kicker { justify-content: center; }

/* Problem */
.pains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--text);
}
.pain {
  position: relative;
  padding: 28px 28px 8px 0;
}
.pain + .pain { padding-left: 28px; border-left: 1px solid var(--line); }
.pain-no {
  display: block;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--blue-deep);
  margin-bottom: 36px;
}
.pain-ico { width: 34px; height: 34px; color: var(--text); margin-bottom: 18px; }
.pain h3 { font-size: 1.22rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 10px; }
.pain p { color: var(--text-muted); font-size: 1rem; }

.pivot {
  margin-top: clamp(56px, 7vw, 96px);
  max-width: 24ch;
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.pivot span {
  background: linear-gradient(transparent 70%, rgba(229, 233, 0, .75) 70%, rgba(229, 233, 0, .75) 94%, transparent 94%);
}

/* How it works */
.stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: s;
}
.stage {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c);
}
.stage::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 28%, transparent), transparent);
  opacity: .7;
  pointer-events: none;
}
.stage:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateY(-3px); }
.stage-step {
  display: inline-grid;
  place-items: center;
  min-width: 42px; height: 30px;
  padding-inline: 10px;
  border-radius: 999px;
  background: var(--c);
  color: var(--black);
  font-family: var(--mono);
  font-weight: 600;
  font-size: .8rem;
  margin-bottom: 22px;
}
.stage h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; color: var(--white); line-height: 1.15; }
.stage-who {
  margin: 6px 0 14px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c);
}
.stage p:last-child { color: var(--muted-on-dark); font-size: .98rem; }

.how-foot {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, .22);
  color: var(--text-on-dark);
  font-size: 1rem;
}
.how-foot .ico { width: 22px; height: 22px; color: var(--coral); margin-top: 2px; }

/* Features bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid #e6e9f4;
  overflow: hidden;
  min-width: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(12, 21, 61, .35); }
.tile h3 { font-size: 1.3rem; font-weight: 780; letter-spacing: -.02em; line-height: 1.2; margin: 20px 0 10px; }
.tile p { color: var(--text-muted); font-size: 1rem; }
.tile-ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--c, var(--blue));
  color: var(--black);
}
.tile-ico svg { width: 24px; height: 24px; }
.tile-ico-light { background: rgba(255, 255, 255, .14); color: var(--white); }

.tile-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.tile-ink { background: var(--black); border-color: #000; color: var(--white); }
.tile-ink p { color: var(--muted-on-dark); }
.tile-blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tile-blue p { color: #e3e7ff; }
.tile-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tile-navy p { color: #c3caea; }
.tile-pod { background: var(--grey); }

.mock-quote {
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 60px -24px rgba(35, 61, 255, .55);
  transform: rotate(1.5deg);
  font-size: .86rem;
}
.mq-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px solid var(--text); font-weight: 800; font-size: 1.05rem; }
.mq-no { font-family: var(--mono); font-size: .74rem; color: var(--blue-deep); font-weight: 600; }
.mq-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: #2b3045; }
.mq-row span:last-child { font-family: var(--mono); font-size: .78rem; color: var(--text-muted); }
.mq-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mq-pill { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--text); font-size: .74rem; font-weight: 700; }
.mq-pill-blue { background: var(--blue); border-color: var(--blue); color: var(--white); }

.mini-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
  padding-top: 26px;
}
.mini-board span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 92px;
  padding: 6px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
}
.mini-board i { height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .92); }
.mini-board i.hot { background: var(--acid); transform: rotate(-6deg) translateX(3px); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .4); }

.mock-pod { display: grid; gap: 14px; }
.pod-sig {
  position: relative;
  padding: 18px 20px 30px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}
.sig { width: 100%; height: auto; }
.sig path { stroke-dasharray: 520; stroke-dashoffset: 520; }
.is-visible .sig path { animation: sign 2.4s .3s var(--ease) forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.pod-line {
  position: absolute;
  left: 20px; right: 20px; bottom: 12px;
  padding-top: 6px;
  border-top: 1px dashed #b8bfd6;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pod-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pod-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
}
.pod-chips .ico { color: var(--acid); width: 16px; height: 16px; }

.role-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.role-chips li {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--c);
  color: var(--white);
  font-weight: 650;
  font-size: .86rem;
  background: color-mix(in srgb, var(--c) 14%, transparent);
}

/* Roles */
.section-roles { background: var(--black); position: relative; overflow: hidden; }
.section-roles::before {
  content: "";
  position: absolute;
  left: -20%; bottom: -40%;
  width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(35, 61, 255, .35), transparent);
  pointer-events: none;
}
.roles-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.roles-layout .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.roles { display: grid; gap: 12px; }
.role {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-dark);
  transition: background-color .3s, border-color .3s;
}
.role:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.role-ico {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--c);
  color: var(--black);
}
.role-ico svg { width: 26px; height: 26px; }
.role h3 { font-size: 1.22rem; font-weight: 750; letter-spacing: -.015em; color: var(--white); margin-bottom: 6px; }
.role p { color: var(--muted-on-dark); font-size: 1rem; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-item {
  padding: 32px 28px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #e3e7f3;
}
.trust-ico { width: 32px; height: 32px; color: var(--blue); margin-bottom: 20px; }
.trust-item h3 { font-size: 1.22rem; font-weight: 750; letter-spacing: -.015em; margin-bottom: 8px; }
.trust-item p { color: var(--text-muted); font-size: 1rem; }

/* Roadmap */
.section-roadmap { padding-block: clamp(72px, 9vw, 120px); }
.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.roadmap-layout .section-head { margin-bottom: 0; }
.roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--text); }
.roadmap li { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); }
.roadmap li:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.roadmap h3 { font-size: 1.12rem; font-weight: 750; letter-spacing: -.01em; margin: 12px 0 4px; }
.roadmap p { color: var(--text-muted); font-size: .98rem; }
.soon {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px dashed var(--blue-deep);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.soon-later { border-color: #8a5a00; color: #6e4700; }

/* Final CTA */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding-block: clamp(88px, 12vw, 160px);
}
.final-rings {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-radial-gradient(circle at 50% 120%, transparent 0 58px, rgba(255, 255, 255, .07) 58px 60px),
    radial-gradient(60% 60% at 50% 0%, rgba(255, 255, 255, .18), transparent 70%);
}
.final-inner { max-width: 860px; }
.final-mark { width: 64px; height: 64px; margin: 0 auto 28px; }
.display-final { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: none; }
.final-lead { margin: 24px auto 36px; max-width: 54ch; font-size: 1.15rem; color: #eef0ff; }
.final-small { margin-top: 28px; font-size: .95rem; color: #e3e7ff; }
.final-small a { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.final-small a:hover { color: var(--acid); }
.final :focus-visible { outline-color: var(--acid); }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-on-dark); padding-top: 72px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { width: 180px; height: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .98rem; line-height: 1.7; }
.footer-brand span { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--acid); }
.footer-nav { display: flex; gap: clamp(40px, 8vw, 96px); }
.footer-h {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7f86a3;
  margin-bottom: 14px;
}
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { color: var(--text-on-dark); text-decoration: none; font-size: .98rem; }
.footer-nav a:hover { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
  font-size: .85rem;
  color: #8a90aa;
}

/* ---------- Reveal motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lane-hide-md { display: none; }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain:nth-child(3) { padding-left: 0; border-left: 0; }
  .pain:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .hero .display { max-width: 15ch; }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lane-hide-sm { display: none; }
  .browser { margin-right: 0; }
  .phone { position: relative; right: auto; bottom: auto; margin: -120px 0 0 auto; }
  .hero-visual { padding-bottom: 56px; }
  .tile-wide { grid-template-columns: 1fr; gap: 28px; }
  .roles-layout { grid-template-columns: 1fr; }
  .roles-layout .section-head { position: static; }
  .trust { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; }
  .nav-menu { top: 64px; max-height: calc(100vh - 64px); }
  .brand img { width: 136px; }
  .cta-row .btn { flex: 1 1 100%; }
  .app-side { display: none; }
  .app-main { padding: 14px 12px 16px; }
  .app-sub { display: none; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .board .lane:nth-child(3) { display: none; }
  .phone { width: 210px; margin-top: -90px; margin-right: -4px; }
  .pains { grid-template-columns: 1fr; }
  .pain, .pain + .pain { padding: 24px 0 20px; border-left: 0; }
  .pain + .pain { border-top: 1px solid var(--line); }
  .pain-no { margin-bottom: 16px; }
  .stages { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { padding: 26px 22px; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap li, .roadmap li:nth-child(even) { padding: 20px 0 22px; border-left: 0; }
  .role { padding: 20px; gap: 16px; }
  .role-ico { width: 44px; height: 44px; border-radius: 13px; }
  .how-foot { padding: 18px; }
  .footer-nav { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
  .sig path { stroke-dashoffset: 0; }
  .card.is-moving { animation: none; }
}

/* ---------- 404 ---------- */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; background: var(--black); }
.nf { flex: 1; display: flex; align-items: center; padding-block: 64px 96px; }
.nf-inner { display: grid; gap: 28px; justify-items: start; }
.nf .display { max-width: 14ch; }
.nf .lead { max-width: 48ch; }
.nf-small { color: var(--muted-on-dark); font-size: .98rem; }
.nf-small a { color: var(--white); font-weight: 650; text-underline-offset: 3px; }
.nf-small a:hover { color: var(--acid); }

/* Accent colours as classes (inline style attributes are blocked by the CSP) */
.c-acid { --c: var(--acid); }
.c-blue { --c: var(--blue); }
.c-blue-soft { --c: var(--blue-soft); }
.c-coral { --c: var(--coral); }
.c-pink { --c: var(--pink); }
.c-teal { --c: var(--teal); }
.c-yellow { --c: var(--yellow); }
