@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/marketing-assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/marketing-assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

/* ---------------------------------------------------------------
   SkyBridge — Horizon
   A bright, friendly SaaS marketing site: white canvas, bold ink
   headlines, pill buttons, pastel cards, and real product shots.
   --------------------------------------------------------------- */

:root {
  color-scheme: light;

  --blue: #0066ff;
  --blue-deep: #0049c7;
  --blue-soft: #eaf1ff;
  --cyan: #00b8d9;
  --cyan-soft: #e2f7fb;
  --mint: #17b877;
  --mint-soft: #e3f8ee;
  --sun: #ff9f3c;
  --sun-soft: #fff3e2;
  --lilac: #7c5cff;
  --lilac-soft: #efecff;

  --ink: #0b2434;
  --ink-2: #22455a;
  --muted: #5b7484;
  --line: rgba(11, 36, 52, 0.1);
  --white: #ffffff;
  --paper: #f7fafc;
  --navy: #071b30;
  --navy-2: #0c2b4a;

  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;

  --wrap: min(1180px, calc(100% - 48px));
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 36, 52, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 36, 52, 0.1);
  --shadow-lg: 0 30px 80px rgba(7, 40, 80, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible {
  top: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 17px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 102, 255, 0.32);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 73, 199, 0.36);
}

.btn-outline {
  background: #fff;
  border-color: rgba(11, 36, 52, 0.18);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 16px;
}

.btn-ghost:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.btn-light {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 12px 30px rgba(2, 20, 46, 0.28);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2, 20, 46, 0.34);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   Top bar
   --------------------------------------------------------------- */

/* The travelling light is a conic gradient whose start angle animates. That
   only works on a registered custom property — an unregistered one is a string
   and jumps rather than interpolates. Browsers without @property hold it at
   0deg, which still renders a still highlight on the ring. */
@property --nav-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes nav-glow-travel {
  to {
    --nav-glow-angle: 360deg;
  }
}

/* The bar itself paints nothing — it just floats the pill, so the page scrolls
   visibly underneath the glass. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  padding-block: 12px;
  transition: padding-block 0.25s var(--ease);
}

.topbar.is-scrolled {
  padding-block: 8px;
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 30px -20px rgba(11, 36, 52, 0.45);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.topbar.is-scrolled .topbar-inner {
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 44px -24px rgba(11, 36, 52, 0.5);
}

/* Both rings fill the border box then mask out the content box, leaving a
   hairline perimeter. A real border cannot carry a gradient that follows the
   curve, which is the whole point. */
.topbar-inner::before,
.topbar-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* The resting edge. */
.topbar-inner::before {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9),
    rgba(11, 36, 52, 0.12)
  );
}

/* The light. Kept on its own layer so the drop-shadow blooms around the bright
   arc alone — on the full ring it would halo the whole pill. A conic sweep
   covers ground unevenly on a shape this wide, whipping around the short ends
   and smearing along the long edges, so the arc is kept tight. */
.topbar-inner::after {
  background: conic-gradient(
    from var(--nav-glow-angle),
    rgba(0, 184, 217, 0) 0deg,
    rgba(0, 184, 217, 0) 46deg,
    rgba(0, 184, 217, 0.3) 72deg,
    rgba(126, 226, 243, 0.85) 86deg,
    #ffffff 90deg,
    rgba(126, 226, 243, 0.7) 94deg,
    rgba(0, 184, 217, 0) 104deg,
    rgba(0, 184, 217, 0) 360deg
  );
  filter: drop-shadow(0 0 6px rgba(0, 184, 217, 0.75));
  animation: nav-glow-travel 6s linear infinite;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-type {
  display: grid;
  line-height: 1.1;
}

.brand-type strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-type small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav > a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav > a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-soft);
  cursor: pointer;
}

.nav-toggle span {
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(7, 27, 48, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

body.nav-open .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

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

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 0;
  overflow: hidden;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.blob-a {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -140px;
  background: var(--blue-soft);
}

.blob-b {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -160px;
  background: var(--cyan-soft);
}

.blob-c {
  width: 360px;
  height: 360px;
  top: 380px;
  right: 12%;
  background: var(--sun-soft);
}

.hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
  max-width: 880px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 102, 255, 0.22);
  background: rgba(234, 241, 255, 0.7);
  color: var(--blue-deep);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(23, 184, 119, 0.18);
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  max-width: 17ch;
}

.marker {
  position: relative;
  display: inline-block;
  color: var(--blue);
  white-space: nowrap;
}

.scribble {
  position: absolute;
  left: -2%;
  bottom: -0.28em;
  width: 104%;
  height: 0.3em;
  color: var(--sun);
}

.hero-lede {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.hero-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-ticks li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 11.5px;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  margin-top: clamp(44px, 6vw, 68px);
  max-width: 1020px;
}

.hero-shot {
  margin: 0;
  padding: clamp(10px, 1.6vw, 16px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #dbe9ff 0%, #eaf6fb 55%, #fdf1de 100%);
  box-shadow: var(--shadow-lg);
}

.hero-shot img {
  border-radius: calc(var(--r-lg) - 10px);
  border: 1px solid rgba(11, 36, 52, 0.08);
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 36, 52, 0.06);
  animation: chip-float 5.5s ease-in-out infinite;
}

.chip strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.chip small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.chip-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 15px;
}

.chip-ico-mint {
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 18px;
}

.chip-ico-blue {
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12.5px;
}

.chip-ico-sun {
  background: var(--sun-soft);
  color: var(--sun);
  font-size: 20px;
}

.chip-a {
  top: 8%;
  left: max(-72px, -6vw);
  animation-delay: 0s;
}

.chip-b {
  top: 42%;
  right: max(-84px, -7vw);
  animation-delay: 1.6s;
}

.chip-c {
  bottom: 9%;
  left: max(-56px, -4vw);
  animation-delay: 3.1s;
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------------------------------------------------------------
   Marquee
   --------------------------------------------------------------- */

.marquee {
  padding: clamp(40px, 6vw, 64px) 0 clamp(26px, 4vw, 40px);
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 34s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-row {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 7px;
  list-style: none;
}

.marquee-row li {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}

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

/* ---------------------------------------------------------------
   Stats
   --------------------------------------------------------------- */

.stats {
  padding: clamp(30px, 5vw, 56px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 26px 26px 28px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

.stat:nth-child(2) strong {
  color: var(--mint);
}

.stat:nth-child(3) strong {
  color: var(--sun);
}

.stat:nth-child(4) strong {
  color: var(--lilac);
}

.stat span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------
   Sections & headers
   --------------------------------------------------------------- */

.section {
  padding: clamp(64px, 9vw, 120px) 0 0;
}

.section-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
}

.section-lede {
  max-width: 58ch;
  color: var(--muted);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-blue {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.eyebrow-mint {
  background: var(--mint-soft);
  color: #0d8a58;
}

.eyebrow-sun {
  background: var(--sun-soft);
  color: #c96f10;
}

.eyebrow-lilac {
  background: var(--lilac-soft);
  color: var(--lilac);
}

.eyebrow-cyan {
  background: var(--cyan-soft);
  color: #0089a3;
}

.eyebrow-glow {
  background: rgba(255, 255, 255, 0.12);
  color: #9cd8ff;
}

/* ---------------------------------------------------------------
   Tick lists
   --------------------------------------------------------------- */

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.45;
}

.ticks li::before {
  content: "✓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 12.5px;
  font-weight: 800;
}

.ticks-light li {
  color: #d7e8f6;
}

.ticks-light li::before {
  background: rgba(23, 184, 119, 0.22);
  color: #52e0a5;
}

/* ---------------------------------------------------------------
   Platform tabs
   --------------------------------------------------------------- */

.platform-shell {
  display: grid;
  gap: 26px;
}

.ptabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ptab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.ptab:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.ptab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pstage {
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 48px);
}

.ppanel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  align-items: center;
  gap: clamp(26px, 4vw, 52px);
}

.ppanel[hidden] {
  display: none;
}

.ppanel.is-entering {
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ppanel-copy h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 14px;
}

.ppanel-copy > p {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 22px;
}

.ppanel-shot {
  margin: 0;
  padding: clamp(8px, 1.4vw, 14px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.ppanel-shot img {
  border-radius: calc(var(--r-md) - 7px);
  border: 1px solid rgba(11, 36, 52, 0.08);
}

.frame-blue {
  background: linear-gradient(135deg, #d6e6ff, #eef4ff);
}

.frame-mint {
  background: linear-gradient(135deg, #ccf2e1, #ecfbf4);
}

.frame-sun {
  background: linear-gradient(135deg, #ffe6c4, #fff6ea);
}

.frame-cyan {
  background: linear-gradient(135deg, #c9f0f8, #ebfafd);
}

.frame-lilac {
  background: linear-gradient(135deg, #e0d9ff, #f3f0ff);
}

/* ---------------------------------------------------------------
   Feature bento
   --------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  grid-column: span 1;
  padding: 28px 26px 30px;
  border-radius: var(--r-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-wide {
  grid-column: span 2;
}

.card-full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.card-full .card-ico {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.card-full p {
  max-width: 72ch;
}

.card-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}

.card p {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.card-blue {
  background: var(--blue-soft);
}

.card-mint {
  background: var(--mint-soft);
}

.card-sun {
  background: var(--sun-soft);
}

.card-cyan {
  background: var(--cyan-soft);
}

.card-lilac {
  background: var(--lilac-soft);
}

/* ---------------------------------------------------------------
   Offline band
   --------------------------------------------------------------- */

.offline {
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(64px, 8vw, 110px) 0;
  background:
    radial-gradient(720px 420px at 84% 12%, rgba(0, 184, 217, 0.16), transparent 70%),
    radial-gradient(640px 420px at 8% 88%, rgba(0, 102, 255, 0.2), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #eaf4fb;
}

.offline-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.offline-copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.offline-copy h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
}

.offline-copy > p {
  color: #b9d2e4;
  font-weight: 500;
  max-width: 52ch;
}

/* offline diagram */

.offline-diagram {
  display: grid;
  justify-items: center;
  gap: 0;
}

.node {
  position: relative;
  width: min(340px, 100%);
  padding: 22px 24px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(156, 216, 255, 0.22);
  backdrop-filter: blur(4px);
}

.node strong {
  display: block;
  font-size: 17px;
  color: #fff;
  margin-top: 10px;
}

.node small {
  color: #9db8cc;
  font-weight: 600;
  font-size: 13px;
}

.node-badge {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 10px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.4);
}

.node-badge-sun {
  background: var(--sun);
  box-shadow: 0 8px 22px rgba(255, 159, 60, 0.35);
  font-size: 20px;
}

.node-rows {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.node-rows i {
  height: 9px;
  border-radius: 6px;
  background: rgba(156, 216, 255, 0.16);
}

.node-rows i:nth-child(1) {
  width: 82%;
}

.node-rows i:nth-child(2) {
  width: 64%;
}

.node-rows i:nth-child(3) {
  width: 73%;
}

.node-status {
  position: absolute;
  right: 16px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 184, 119, 0.16);
  color: #52e0a5;
  font-size: 11.5px;
  font-weight: 800;
}

.node-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52e0a5;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(82, 224, 165, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(82, 224, 165, 0);
  }
}

.sync-line {
  position: relative;
  display: grid;
  place-items: center;
  height: 84px;
}

.sync-line::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    rgba(156, 216, 255, 0.55) 0 6px,
    transparent 6px 13px
  );
}

.sync-pulse {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 184, 217, 0.9);
  animation: sync-travel 2.6s var(--ease) infinite;
}

@keyframes sync-travel {
  0% {
    top: 4%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    top: 88%;
    opacity: 0;
  }
}

.sync-label {
  position: relative;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--navy);
  border: 1px solid rgba(156, 216, 255, 0.3);
  color: #9cd8ff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------
   Roles
   --------------------------------------------------------------- */

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.role {
  padding: 32px 28px 34px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.role:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.role-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 26px;
}

.role-ico-blue {
  background: var(--blue-soft);
}

.role-ico-mint {
  background: var(--mint-soft);
}

.role-ico-sun {
  background: var(--sun-soft);
}

.role h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.role > p {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 18px;
}

/* ---------------------------------------------------------------
   How it works
   --------------------------------------------------------------- */

.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}

.step {
  padding: 30px 26px 32px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.3);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.step-arrow {
  align-self: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
}

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */

.faq-list {
  max-width: 780px;
  display: grid;
  gap: 12px;
}

.qa {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.qa[open] {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: var(--shadow-sm);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16.5px;
  list-style: none;
  user-select: none;
}

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

.qa-ico {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.qa-ico::before,
.qa-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.25s var(--ease);
}

.qa-ico::after {
  transform: rotate(90deg);
}

.qa[open] .qa-ico::after {
  transform: rotate(0deg);
}

.qa p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-weight: 500;
  max-width: 62ch;
}

/* ---------------------------------------------------------------
   Closing CTA
   --------------------------------------------------------------- */

.closing {
  position: relative;
  margin-top: clamp(72px, 10vw, 130px);
  padding: clamp(72px, 9vw, 120px) 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #0091d9 100%);
  color: #fff;
  text-align: center;
}

.closing-blobs i {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.closing-blobs i:nth-child(1) {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -120px;
  background: #7fd4ff;
}

.closing-blobs i:nth-child(2) {
  width: 380px;
  height: 380px;
  bottom: -160px;
  right: -100px;
  background: #ffd9a3;
}

.closing-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 820px;
}

.closing h2 {
  color: #fff;
  font-size: clamp(1.95rem, 4.6vw, 3.1rem);
}

.closing-inner > p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 54ch;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.closing-note {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */

.footer {
  background: var(--navy);
  color: #c3d6e5;
  padding: clamp(52px, 7vw, 80px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer .brand-type strong {
  color: #fff;
}

.footer .brand-type small {
  color: #8aa6bc;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: #9db8cc;
  max-width: 34ch;
}

.footer-col {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a:not(.btn) {
  color: #b9cfe0;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-col a:not(.btn):hover {
  color: #fff;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(156, 216, 255, 0.14);
  font-size: 13.5px;
  font-weight: 600;
  color: #8aa6bc;
}

/* ---------------------------------------------------------------
   Reveal animations
   --------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1060px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  /* backdrop-filter would make the pill the containing block for the
     fixed-position drawer, collapsing it to the pill's height. The ring is
     masked rather than filtered, so the travelling light survives. */
  .topbar-inner {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(320px, 84vw);
    padding: 88px 22px 28px;
    background: #fff;
    box-shadow: -30px 0 70px rgba(7, 27, 48, 0.18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s 0.3s;
  }

  body.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s var(--ease), visibility 0s 0s;
  }

  .nav > a {
    padding: 13px 16px;
    font-size: 17px;
  }

  .nav-cta {
    margin: 14px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-cta .btn {
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 80;
  }

  .ppanel {
    grid-template-columns: 1fr;
  }

  .ppanel-copy {
    order: 2;
  }

  .ppanel-shot {
    order: 1;
  }

  .offline-grid {
    grid-template-columns: 1fr;
  }

  .roles-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .how-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .step-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(1180px, calc(100% - 34px));
  }

  .hero-ticks {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .chip {
    position: static;
    margin-top: 12px;
    animation: none;
    width: fit-content;
  }

  .hero-stage {
    display: grid;
    justify-items: center;
  }

  .hero-shot {
    width: 100%;
  }

  .stats-grid,
  .bento {
    grid-template-columns: 1fr;
  }

  .card-wide {
    grid-column: span 1;
  }

  .ptabs {
    gap: 8px;
  }

  .ptab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-base {
    justify-content: center;
    text-align: center;
  }
}

/* ---------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------- */

@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .marquee-row[aria-hidden="true"] {
    display: none;
  }
}

/* ----------------------------------------------------- security document -- */

.doc-hero {
  padding-bottom: 0;
}

.doc-updated {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.doc-callout {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  background: var(--cyan-soft);
}

.doc-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.doc-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Sticky offset clears the floating pill rather than sitting under it. */
.doc-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-toc h4 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-toc a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.doc-toc a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.doc-sections {
  display: grid;
  gap: 34px;
}

.doc-section {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.doc-section h3 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.doc-section h4 {
  margin: 22px 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.doc-section p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.doc-section li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.doc-section strong {
  color: var(--ink);
}

.doc-section a {
  color: var(--blue);
  font-weight: 600;
}

.doc-cta {
  background: var(--paper);
}

.doc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 960px) {
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .doc-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .doc-toc h4 {
    width: 100%;
    margin-bottom: 4px;
  }

  .doc-toc a {
    border: 1px solid var(--line);
  }

  .doc-section {
    padding: 22px 20px;
  }
}
