/* ==========================================================================
   Cadenome Technologies Inc. — corporate site
   Design direction: "Deck". Tokens match the Figma design system page.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #102A4C;
  --navy-d: #0B1F3B;
  --navy-x: #071528;
  --deep: #16355F;
  --blue: #2E7CF6;
  --blue-s: #E9F1FE;
  --green: #3FB56A;
  --green-s: #E8F6EC;
  --ink: #0E2138;
  --body: #44586F;
  --mute: #8093A8;
  --paper: #FFFFFF;
  --paper-2: #F5F8FC;
  --line: #E2E8F0;
  --line-2: #CBD6E2;
  --mint: #8FE0A8;
  --ink-2: #20456F;
  --grn-d: #1F6B3B;
  --amber: #C98A2E;
  --amber-s: #FBF2DF;

  --arc: linear-gradient(90deg, #3FB56A 0%, #2E7CF6 60%, #102A4C 100%);
  --arc-v: linear-gradient(180deg, #3FB56A 0%, #2E7CF6 60%, #102A4C 100%);
  --navy-grad: linear-gradient(145deg, var(--deep) 0%, var(--navy-d) 55%, var(--navy-x) 100%);

  --shell: 1320px;
  --gut: clamp(20px, 4vw, 60px);

  --r-btn: 10px;
  --r-card: 18px;
  --r-panel: 28px;
  --r-pill: 999px;

  --sh: 0 8px 24px rgba(16, 42, 76, .06);
  --sh-2: 0 24px 42px rgba(16, 42, 76, .14);
  --sh-panel: 0 40px 90px rgba(16, 42, 76, .22);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", system-ui, sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.03em;
  font-weight: 600
}

h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14
}

h3 {
  font-size: clamp(22px, 2vw, 25px);
  line-height: 1.28;
  letter-spacing: -.02em
}

p {
  margin: 0 0 20px
}

p:last-child {
  margin-bottom: 0
}

.shell {
  width: min(var(--shell), 100% - var(--gut)*2);
  margin-inline: auto
}

.sec {
  padding: 99px 0
}

.sec--alt {
  background: var(--paper-2);
  border-block: 1px solid var(--line)
}

.sec--tight {
  padding: 72px 0
}

/* generic responsive two-column section (text + figure), collapses at 1040px —
   prefer this over a one-off inline grid style so it stays responsive */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center
}

/* fixed-width media column variant (e.g. the closing-invitation panel) */
.split--panel {
  grid-template-columns: 1fr 483px;
  gap: 72px
}

/* tighter gap between columns — same 1fr/1fr ratio, just reclaims a bit of width for both
   (still responsive — the 1040px breakpoint's .split{gap:40px} still applies underneath it) */
.split--tight {
  gap: 40px
}

.split__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14)
}

.lede {
  font-size: 19px
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow--mint {
  color: var(--mint)
}

.eyebrow--mute {
  color: var(--mute)
}

.accent {
  color: var(--blue)
}

.accent-grad {
  background: linear-gradient(90deg, #9BE8B4, #7FBBFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.route {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--blue);
}

.skip {
  position: absolute;
  left: -9999px
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px
}

/* fixed brand rule at the very top of the viewport */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--arc);
  z-index: 60
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background .22s var(--ease), border-color .22s var(--ease),
    box-shadow .22s var(--ease), transform .22s var(--ease);
}

/* standalone arrow glyph — .btn/.card__link add hover-width transitions on top of this */
.arr {
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative
}

.arr::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg)
}

.btn .arr {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: width .22s var(--ease)
}

.btn .arr::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.btn:hover .arr {
  width: 24px
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(46, 124, 246, .22)
}

.btn--primary:hover {
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(16, 42, 76, .22);
  transform: translateY(-2px)
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-2)
}

.btn--ghost:hover {
  border-color: var(--navy);
  transform: translateY(-2px)
}

.btn--white {
  background: #fff;
  color: var(--navy)
}

.btn--white:hover {
  background: var(--green);
  color: #fff
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.pill--status {
  background: var(--green-s);
  border: 1px solid rgba(63, 181, 106, .25);
  color: var(--grn-d)
}

.pill--dark {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none
}

.dot--blue {
  background: var(--blue)
}

.dot--pulse {
  animation: pulse 2.4s var(--ease) infinite
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(63, 181, 106, .5)
  }

  50% {
    box-shadow: 0 0 0 7px rgba(63, 181, 106, 0)
  }
}

/* ---------- Header / navigation ---------- */
.site-head {
  position: fixed;
  inset: 3px 0 auto 0;
  z-index: 50;
  padding: 11px 0
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--shell), 100% - var(--gut)*2);
  margin-inline: auto;
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 76, .06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  position: relative;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0 14px auto 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--arc)
}

.site-head.is-scrolled .nav {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 40px rgba(16, 42, 76, .10)
}

.nav__logo img {
  height: 36px;
  width: auto
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--blue);
  background: rgba(46, 124, 246, .08)
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600
}

.nav__link .chev {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease)
}

.nav__link[aria-expanded="true"] .chev {
  transform: rotate(225deg) translate(-3px, -3px)
}

.nav__cta {
  padding: 11px 18px;
  font-size: 15px
}

/* mega panel */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding: 40px 48px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(16, 42, 76, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}

.mega::before {
  content: "";
  position: absolute;
  inset: 0 20px auto 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--arc)
}

.mega[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.mega__intro h3 {
  font-size: 22px;
  margin: 14px 0 18px
}

.mega__rule {
  width: 56px;
  height: 2px;
  background: var(--arc);
  margin-bottom: 18px
}

.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink)
}

.mega__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.mega__cards--three {
  grid-template-columns: repeat(3, 1fr)
}

.mega__card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.mega__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: rgba(46, 124, 246, .35)
}

.mega__card figure {
  margin: 0;
  position: relative;
  aspect-ratio: 392/138;
  overflow: hidden
}

.mega__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

.mega__card:hover img {
  transform: scale(1.05)
}

.mega__card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 59, .55))
}

.mega__card--logo figure {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px
}

.mega__card--logo figure::after {
  display: none
}

.mega__card--logo img {
  width: auto;
  height: 70%;
  object-fit: contain
}

.mega__card__body {
  padding: 18px 20px;
  display: grid;
  gap: 6px
}

.mega__card__kind {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute)
}

.mega__card h4 {
  font-family: "Sora", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.02em
}

.mega__card p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0
}

.nav__burger {
  display: none
}

/* ---------- Hero shared furniture ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 174px 0 63px
}

.hero .pill--status {
  margin: -10px 0 24px
}

/* dark variant — a full-bleed navy hero for a detail page opener */
.hero--dark {
  background: var(--navy-grad)
}

.hero--dark h1 {
  color: #fff
}

.hero--dark p {
  color: rgba(255, 255, 255, .72)
}

.hero__crumb {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin: 0 0 18px
}

.hero__crumb span {
  color: #7FBBFF
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 64px;
  align-items: start
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none
}

.orb--a {
  width: 520px;
  height: 520px;
  right: -60px;
  top: 40px;
  background: radial-gradient(circle, rgba(46, 124, 246, .40), transparent 70%)
}

.orb--b {
  width: 420px;
  height: 420px;
  left: 45%;
  top: 390px;
  background: radial-gradient(circle, rgba(63, 181, 106, .28), transparent 70%)
}

.dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 42, 76, .10) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 40%, #000 20%, transparent 80%)
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px
}

/* floating figure */
.figure {
  position: relative;
  align-self: center
}

.figure__glow {
  position: absolute;
  inset: 14% -3% auto -3%;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 124, 246, .24), rgba(63, 181, 106, .12) 48%, transparent 74%);
  filter: blur(22px)
}

.float {
  animation: float 9s var(--ease) infinite
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(224, 231, 239, .9);
  box-shadow: 0 14px 36px rgba(15, 36, 56, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.chip strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -.01em
}

.chip span {
  display: block;
  font-size: 12.5px;
  color: var(--mute)
}

.chip--a {
  left: -53px;
  top: 35px
}

.chip--b {
  right: -26px;
  top: 230px
}

/* stacked-photo hero media (alternative to .figure — two framed shots instead of one) */
.stack-media {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.stack-media__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-2)
}

.stack-media__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block
}

.stack-media__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #fff;
  box-shadow: var(--sh)
}

/* overlapping product-card hero visual (About page) — deliberately its own component
   rather than reusing .mega__card, since the mobile nav-only override at 820px strips
   .mega__card imagery/description for the dropdown list and would break this visual too */
.stack-cards {
  position: relative;
  height: 460px
}

.stack-cards__card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2)
}

.stack-cards__card--back {
  width: 340px;
  left: 260px;
  top: -8.5px;
  z-index: 1
}

.stack-cards__card--front {
  width: 340px;
  left: 0;
  top: 120px;
  z-index: 2
}

.stack-cards__card figure {
  margin: 0;
  position: relative;
  aspect-ratio: 392/138;
  overflow: hidden
}

.stack-cards__card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.stack-cards__card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 59, .55))
}

.stack-cards__body {
  padding: 18px 20px;
  display: grid;
  gap: 6px
}

.stack-cards__kind {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute)
}

.stack-cards__card h4 {
  font-family: "Sora", sans-serif;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.02em
}

.stack-cards__card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--body)
}

.stack-cards__chip {
  left: 356px;
  top: 342px;
  right: auto;
  bottom: auto;
  z-index: 3;
  max-width: 230px
}

/* ---------- Team member card (team.html) ---------- */
.team-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh)
}

.team-card+.team-card {
  margin-top: 24px
}

.team-card__media {
  position: relative;
  overflow: hidden;
  background: var(--navy-grad);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px
}

.team-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 102%, rgba(255, 255, 255, .16), transparent 46%),
    repeating-radial-gradient(circle at 12% 102%, transparent 0 20px, rgba(255, 255, 255, .07) 20px 21px, transparent 21px 41px);
  pointer-events: none
}

.team-card__badge {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em
}

.team-card__id {
  position: relative;
  z-index: 1
}

.team-card__id .eyebrow {
  color: rgba(255, 255, 255, .55)
}

.team-card__id h3 {
  color: #fff;
  font-size: 22px;
  margin: 8px 0 4px
}

.team-card__id p {
  color: rgba(255, 255, 255, .65);
  font-size: 14.5px;
  margin: 0
}

.team-card__body {
  padding: 44px 48px
}

.team-card__rule {
  width: 40px;
  height: 2px;
  margin-bottom: 22px
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px
}

.team-card__tags .pill {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500
}

/* ---------- Pillar row ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 84px
}

.pillar {
  position: relative;
  padding: 24px 22px 8px 22px
}

.pillar:first-child {
  padding-left: 0
}

.pillar:not(:last-child) {
  border-right: 1px solid var(--line)
}

.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--pillar-accent, var(--arc));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease)
}

.pillar:first-child::before {
  left: 0
}

.is-visible .pillar::before {
  transform: scaleX(1)
}

.pillar h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 10px 0 6px
}

.pillar p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0
}

.pillar__n {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--blue)
}

/* dark variant, for a .pillars row inside a navy-grad band */
.pillars--dark {
  border-top-color: rgba(255, 255, 255, .14)
}

.pillars--dark .pillar:not(:last-child) {
  border-right-color: rgba(255, 255, 255, .14)
}

.pillars--dark .pillar h3 {
  color: #fff
}

.pillars--dark .pillar p,
.pillars--dark .pillar .arr {
  color: rgba(255, 255, 255, .7)
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

/* 5-column variant (e.g. combination-intelligence-workbench.html's five-card
   breakdown) — a class modifier rather than an inline grid-template-columns,
   so the 1040px breakpoint's .cards{grid-template-columns:1fr} rule can still
   win (an inline override on the element would always beat it, breakpoint or
   not — see the .split--tight note in CLAUDE.md for the same gotcha). */
.cards--five {
  grid-template-columns: repeat(5, 1fr)
}

.cards--three {
  grid-template-columns: repeat(3, 1fr)
}

.cards--four {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  position: relative;
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--arc);
  z-index: 2
}

.card--blue::before {
  background: var(--blue)
}

.card--green::before {
  background: var(--green)
}

.card--navy::before {
  background: var(--navy)
}

.card--amber::before {
  background: var(--amber)
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
  border-color: rgba(16, 42, 76, .35)
}

.card figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 648/220
}

.card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.card:hover figure img {
  transform: scale(1.04)
}

.card__body {
  padding: 32px
}

.card__kind {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--blue-s);
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase
}

.card h3 {
  margin: 16px 0 8px
}

.card__tag {
  color: var(--blue);
  font-weight: 600;
  font-size: 17.5px;
  margin: 0 0 14px
}

.card p {
  font-size: 17px
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  transition: color .25s var(--ease)
}

.card:hover .card__link {
  color: var(--blue)
}

.card__link .arr {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: width .25s var(--ease)
}

.card__link .arr::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg)
}

.card:hover .card__link .arr {
  width: 26px
}

/* ---------- Feature cards (big split product showcase) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh);
  overflow: hidden
}

.feature+.feature {
  margin-top: 24px
}

.feature--reverse .feature__media {
  order: -1
}

.feature__body {
  padding: 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center
}

.feature__body h3 {
  font-size: 28px;
  margin: 14px 0 6px
}

.feature__by {
  font-size: 14.5px;
  color: var(--mute);
  margin: 0 0 18px
}

.feature__tag {
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 14px
}

.feature__body .note {
  margin: 16px 0 24px
}

.feature__media {
  position: relative;
  min-height: 280px
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.feature__route {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sh);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--blue)
}

/* ---------- Flow / connector diagram ---------- */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0
}

.flow__node {
  flex: 1 1 240px;
  max-width: 320px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  text-align: left
}

.flow__n {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px
}

.flow__node strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4
}

.flow__sub {
  display: block;
  font-size: 13px;
  color: var(--mute);
  margin-top: 4px
}

.flow__line {
  flex: 0 1 64px;
  min-width: 32px;
  height: 2px;
  background: var(--line-2);
  position: relative
}

.flow__line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--blue-s)
}

.flow__pill {
  flex: 0 0 auto;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--blue-s);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap
}

/* ---------- Timeline (vertical numbered step list, e.g. a content pipeline) ---------- */
.timeline {
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  padding: 4px 28px
}

.timeline__step {
  position: relative;
  padding: 22px 0 22px 26px
}

.timeline__step:first-child {
  padding-top: 26px
}

.timeline__step:last-child {
  padding-bottom: 26px
}

.timeline__step::before,
.timeline__step::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 2px;
  background: var(--line);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease)
}

.timeline__step::before {
  top: 0;
  height: 34px
}

.timeline__step::after {
  top: 34px;
  bottom: 0
}

.timeline__step:first-child::before {
  content: none
}

.timeline__step:last-child::after {
  content: none
}

.timeline.is-visible .timeline__step::before,
.timeline.is-visible .timeline__step::after {
  transform: scaleY(1)
}

.timeline.is-visible .timeline__step:nth-child(1)::after {
  transition-delay: .1s
}

.timeline.is-visible .timeline__step:nth-child(2)::before {
  transition-delay: .35s
}

.timeline.is-visible .timeline__step:nth-child(2)::after {
  transition-delay: .5s
}

.timeline.is-visible .timeline__step:nth-child(3)::before {
  transition-delay: .75s
}

.timeline.is-visible .timeline__step:nth-child(3)::after {
  transition-delay: .9s
}

.timeline.is-visible .timeline__step:nth-child(4)::before {
  transition-delay: 1.15s
}

.timeline__dot {
  position: absolute;
  left: -7px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line-2);
  background: var(--blue);
  opacity: 0;
  transform: scale(.3);
  transition: opacity .4s var(--ease), transform .4s var(--ease)
}

.timeline.is-visible .timeline__step:nth-child(1) .timeline__dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: .05s
}

.timeline.is-visible .timeline__step:nth-child(2) .timeline__dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: .4s
}

.timeline.is-visible .timeline__step:nth-child(3) .timeline__dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: .8s
}

.timeline.is-visible .timeline__step:nth-child(4) .timeline__dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1.2s
}

.timeline__n {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mute);
  margin-bottom: 4px
}

.timeline__step strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px
}

.timeline__desc {
  display: block;
  font-size: 14px;
  color: var(--mute)
}

/* ---------- Request flow (vertical connected step boxes, for a dark hero) ---------- */
.request-flow {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card);
  padding: 28px
}

.request-flow__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 14px
}

.request-flow__step {
  background: rgba(255, 255, 255, .07);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px
}

.request-flow__step--final {
  background: rgba(63, 181, 106, .18);
  border: 1px solid rgba(63, 181, 106, .35)
}

.request-flow__n {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #7FBBFF;
  margin-right: 8px
}

.request-flow__connector {
  width: 2px;
  height: 18px;
  background: rgba(255, 255, 255, .2);
  margin: 6px auto
}

/* light variant — same connected-box idea, for use on a white/paper-2 background instead of a dark hero */
.request-flow--light {
  background: none;
  border: 0;
  padding: 0
}

.request-flow--light .request-flow__step {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--ink)
}

.request-flow--light .request-flow__connector {
  background: var(--line-2)
}

/* boundary / note blocks */
.note {
  border-radius: 10px;
  padding: 15px 17px;
  font-size: 16px;
  line-height: 1.55
}

.note--blue {
  background: var(--blue-s);
  border-left: 3px solid var(--blue);
  color: var(--ink-2)
}

.note--dark {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 24px 26px;
  background: var(--navy-grad);
  color: #fff
}

.note--dark::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--arc-v)
}

.note--dark p {
  color: rgba(255, 255, 255, .88);
  font-size: 17.5px;
  margin: 8px 0 0
}

.note--green {
  background: var(--green-s);
  border-left: 3px solid var(--green);
  color: var(--ink)
}

.note--green .eyebrow {
  color: var(--grn-d)
}

.note--warn {
  background: var(--amber-s);
  border-left: 3px solid var(--amber);
  color: #6B4E14
}

.note--warn h4 {
  color: #8A5A12;
  font-size: 17px;
  margin: 0 0 8px
}

.note--warn p {
  margin: 0
}

.note ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px
}

.note ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px
}

.note--green ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green)
}

.note--blue ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue)
}

/* two-column variant: a number+heading label column beside a longer writeup —
   e.g. a numbered "what this does" breakdown. Set border-left-color inline per row. */
.note--row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--paper-2);
  border-left: 3px solid var(--line-2);
  padding: 32px 36px
}

.note--row h3 {
  margin: 8px 0 0;
  font-size: 19px
}

.note--row p {
  font-size: 15.5px;
  margin: 0 0 12px
}

.note--row p:last-child {
  margin-bottom: 0;
  color: var(--mute)
}

/* ---------- Navy panels ---------- */
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-panel);
  padding: 84px;
  background: var(--navy-grad);
  color: #fff;
  box-shadow: var(--sh-panel);
  border: 1px solid rgba(255, 255, 255, .08);
}

.panel h2,
.panel h3 {
  color: #fff
}

/* compact variant for a section-opening banner (e.g. one per "wizard") */
.panel--head {
  padding: 40px 44px
}

.panel--head p:first-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 10px
}

.panel--head h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 10px
}

.panel--head p:last-child {
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  margin: 0
}

.panel p {
  color: rgba(255, 255, 255, .8)
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none
}

.aurora--a {
  width: 640px;
  height: 640px;
  left: -160px;
  top: -190px;
  background: radial-gradient(circle, rgba(46, 124, 246, .42), transparent 70%)
}

.aurora--b {
  width: 520px;
  height: 520px;
  right: -100px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(63, 181, 106, .32), transparent 70%)
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.field {
  display: grid;
  gap: 8px
}

.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 8px
}

.field .req {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue)
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
  min-height: 132px;
  resize: vertical
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(46, 124, 246, .55);
  background: #fff
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 124, 246, .12);
  outline: none
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green-s);
  color: var(--grn-d);
  font-weight: 600;
  font-size: 14.5px
}

.form-status[data-show="true"] {
  display: inline-flex
}

/* ---------- Footer ---------- */
.site-foot {
  position: relative;
  overflow: hidden;
  background: var(--navy-d);
  color: #fff;
  padding: 90px 0 34px
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--arc)
}

.site-foot::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -170px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 124, 246, .28), transparent 70%);
  filter: blur(30px);
  pointer-events: none
}

.foot__grid {
  display: grid;
  grid-template-columns: 500px repeat(3, 1fr);
  gap: 56px;
  position: relative;
  z-index: 1
}

.foot__brand img {
  height: 42px;
  background: #fff;
  padding: 11px 15px;
  border-radius: 10px
}

.foot__brand p {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 18px 0 20px;
  max-width: 330px
}

.foot__col h4 {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin: 0 0 12px
}

.foot__col a {
  display: block;
  padding: 6px 0;
  font-size: 16.5px;
  color: rgba(255, 255, 255, .78);
  transition: color .2s var(--ease)
}

.foot__col a:hover {
  color: #fff
}

.foot__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 16px;
  font-weight: 600
}

.foot__cta:hover {
  background: rgba(255, 255, 255, .16)
}

.foot__base {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  position: relative;
  z-index: 1
}

.foot__base p {
  font-size: 15px;
  color: rgba(255, 255, 255, .52);
  line-height: 1.66;
  max-width: 960px;
  margin: 0
}

.foot__base small {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .42);
  white-space: nowrap
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .85s var(--ease), transform .85s var(--ease)
}

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

/* ---------- Responsive ---------- */
@media (max-width:1199px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .hero {
    padding-top: 150px
  }

  .figure {
    max-width: 660px
  }

  .stack-media {
    max-width: 660px;
    margin-inline: auto;
    flex-direction: row
  }

  .stack-media__item {
    flex: 1
  }

  .stack-cards {
    max-width: 540px;
    margin-inline: auto;
    height: 400px
  }

  .stack-cards__card--back {
    width: 300px;
    left: 230px;
    top: -2.5px
  }

  .stack-cards__card--front {
    width: 300px;
    top: 100px
  }

  .stack-cards__chip {
    left: 316px;
    top: 332px
  }

  .request-flow {
    max-width: 480px
  }

  .panel {
    padding: 56px
  }
}

@media (max-width:1040px) {
  .pillars {
    grid-template-columns: 1fr 1fr
  }

  .pillar {
    padding-left: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .pillar::before {
    left: 22px
  }

  .cards,
  .cards--five,
  .cards--three,
  .cards--four,
  .mega__cards,
  .form-grid,
  .feature,
  .team-card {
    grid-template-columns: 1fr
  }

  .team-card__media {
    min-height: 220px
  }

  .team-card__body {
    padding: 36px
  }

  .feature--reverse .feature__media {
    order: 0
  }

  .feature__media {
    min-height: 220px
  }

  .feature__body {
    padding: 36px
  }

  .flow {
    flex-direction: column
  }

  .flow__node {
    max-width: none;
    width: 100%
  }

  .flow__line {
    width: 2px;
    height: 32px;
    flex-basis: 32px
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .split .figure,
  .split__media {
    max-width: 480px;
    margin-inline: auto
  }

  .split__stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }
}

@media (max-width:820px) {
  body {
    font-size: 17px
  }

  .stack-media {
    flex-direction: column
  }

  .stack-cards {
    max-width: 470px;
    height: 340px
  }

  .stack-cards__card--back {
    width: 260px;
    left: 200px;
    top: -2.5px
  }

  .stack-cards__card--front {
    width: 260px;
    top: 90px
  }

  .stack-cards__chip {
    left: 276px;
    top: 302px
  }

  .note--row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px
  }

  .nav__menu,
  .nav__cta {
    display: none
  }

  .nav__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer
  }

  .nav__burger span {
    width: 18px;
    height: 1.6px;
    background: var(--ink);
    position: relative;
    transition: background .2s var(--ease) .1s
  }

  .nav__burger span::before,
  .nav__burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 1.6px;
    background: var(--ink);
    transition: top .2s var(--ease) .2s, transform .2s var(--ease)
  }

  .nav__burger span::before {
    top: -6px
  }

  .nav__burger span::after {
    top: 6px
  }

  /* burger morphs into a close (×) icon while the menu is open */
  .nav__burger[aria-expanded="true"] span {
    background: transparent
  }

  .nav__burger[aria-expanded="true"] span::before,
  .nav__burger[aria-expanded="true"] span::after {
    top: 0;
    transition: top .2s var(--ease), transform .2s var(--ease) .1s
  }

  .nav__burger[aria-expanded="true"] span::before {
    transform: rotate(45deg)
  }

  .nav__burger[aria-expanded="true"] span::after {
    transform: rotate(-45deg)
  }

  .site-head.is-open .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
    max-height: calc(100vh - 120px);
    overflow-y: auto
  }

  .nav__menu .nav__link {
    width: 100%;
    justify-content: space-between
  }

  /* compact accordion-style submenu instead of the desktop card grid —
     collapsed panels use display:none so they take up no space until opened */
  .mega {
    display: none;
    position: static;
    grid-template-columns: 1fr;
    width: auto;
    margin: 0 0 2px;
    padding: 2px 6px 8px 13px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border: 0
  }

  .mega[data-open="true"] {
    display: block
  }

  .mega::before {
    display: none
  }

  .mega__intro {
    display: none
  }

  .mega__cards {
    grid-template-columns: 1fr;
    gap: 2px
  }

  .mega__card {
    display: block;
    border-radius: 8px;
    background: none;
    border: 0
  }

  .mega__card figure,
  .mega__card__kind,
  .mega__card p,
  .mega__card .route {
    display: none
  }

  .mega__card__body {
    padding: 9px 10px;
    display: block
  }

  .mega__card:hover {
    background: var(--paper-2);
    transform: none;
    box-shadow: none;
    border-color: transparent
  }

  .mega__card h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--body)
  }

  .sec {
    padding: 72px 0
  }

  .pillars {
    grid-template-columns: 1fr
  }

  .foot__grid {
    grid-template-columns: 1fr
  }

  .foot__base {
    flex-direction: column;
    align-items: flex-start
  }

  .panel {
    padding: 32px 24px
  }

  .split__stats {
    grid-template-columns: 1fr;
    gap: 18px
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion:reduce) {

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

  .reveal {
    opacity: 1;
    transform: none
  }

  .pillar::before {
    transform: scaleX(1)
  }
}