@font-face {
  font-family: "Hubballi";
  src: url("/brand/fonts/hubballi-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050508;
  --bg-2: #0b0b11;
  --ink: #f5f3ef;
  --ink-2: rgba(245, 243, 239, 0.7);
  --ink-3: rgba(245, 243, 239, 0.46);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --pane: rgba(255, 255, 255, 0.06);
  --pane-2: rgba(255, 255, 255, 0.02);
  --smoke: rgba(8, 8, 12, 0.42);
  --glow-strength: 0.62;
  --brand: linear-gradient(90deg, #ff9a3c, #ff5a7a 50%, #a855f7);
  --sans: "Hubballi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
  --gutter: 32px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f5f1;
    --bg-2: #efece6;
    --ink: #121216;
    --ink-2: rgba(18, 18, 22, 0.7);
    --ink-3: rgba(18, 18, 22, 0.48);
    --line: rgba(18, 18, 22, 0.08);
    --line-2: rgba(18, 18, 22, 0.16);
    --pane: rgba(255, 255, 255, 0.42);
    --pane-2: rgba(255, 255, 255, 0.18);
    --smoke: rgba(255, 255, 255, 0.46);
    --glow-strength: 0.34;
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #f7f5f1;
  --bg-2: #efece6;
  --ink: #121216;
  --ink-2: rgba(18, 18, 22, 0.7);
  --ink-3: rgba(18, 18, 22, 0.48);
  --line: rgba(18, 18, 22, 0.08);
  --line-2: rgba(18, 18, 22, 0.16);
  --pane: rgba(255, 255, 255, 0.42);
  --pane-2: rgba(255, 255, 255, 0.18);
  --smoke: rgba(255, 255, 255, 0.46);
  --glow-strength: 0.34;
  color-scheme: light;
}

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

html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

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

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #ff5a7a;
  outline-offset: 3px;
  border-radius: 8px;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 -1px 0 var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
}

.brand-word {
  width: auto;
  height: 18px;
}

.brand-word-light {
  display: none;
}

:root[data-theme="light"] .brand-word-dark {
  display: none;
}

:root[data-theme="light"] .brand-word-light {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .brand-word-dark {
    display: none;
  }

  :root:not([data-theme="dark"]) .brand-word-light {
    display: block;
  }
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-2);
}

.nav-links a {
  transition: color 160ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease, background 180ms ease;
}

.button-large {
  height: 52px;
  padding: 0 26px;
  font-size: 17px;
}

.button-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 40px -12px rgba(255, 90, 122, 0.55);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--line-2), 0 16px 50px -12px rgba(255, 90, 122, 0.75);
}

.button-ghost {
  background: var(--pane-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.button-ghost:hover {
  background: var(--pane);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 18px;
  white-space: nowrap;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(255, 90, 122, 0.8);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  margin-bottom: 22px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

p {
  margin: 0;
  color: var(--ink-2);
  text-wrap: pretty;
}

.shape {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ratio);
}

.shape::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--glow) 80%, transparent), transparent 72%),
    radial-gradient(closest-side at 70% 65%, color-mix(in srgb, var(--glow-2) 60%, transparent), transparent 70%);
  filter: blur(48px);
  opacity: var(--glow-strength);
  pointer-events: none;
}

.shape picture,
.shape img {
  width: 100%;
  height: 100%;
}

.shape img {
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

.float {
  animation: drift var(--dur, 14s) ease-in-out infinite;
}

.float.slow {
  --dur: 19s;
}

.float.late {
  animation-delay: -6s;
}

@keyframes drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -14px; rotate: -1.6deg; }
}

.hero {
  position: relative;
  padding: 28px 0 120px;
  isolation: isolate;
}

.hero-halo {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 0;
  width: min(1400px, 120vw);
  height: 640px;
  translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(168, 85, 247, 0.32), rgba(255, 90, 122, 0.12) 45%, transparent 72%);
  filter: blur(30px);
  opacity: calc(var(--glow-strength) * 1.4);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(1560px, calc(100% - var(--gutter) * 2), calc(58svh * 1.9));
  aspect-ratio: 1.9;
  margin: 0 auto;
}

.hero-stage .shape {
  position: absolute;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-left {
  left: 0;
  top: 18%;
  width: 42%;
  z-index: 1;
}

.hero-centre {
  left: 28%;
  top: 0;
  width: 44%;
  z-index: 3;
  --dur: 16s;
}

.hero-right {
  right: 0;
  top: 26%;
  width: 40%;
  z-index: 2;
  animation-delay: -9s;
}

.hero-copy {
  text-align: center;
  margin-top: 0;
}

.hero-copy h1 {
  max-width: 13ch;
  margin: 0 auto;
}

.lede {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.fineprint {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 14px;
}

.feature {
  position: relative;
  padding: 140px 0;
  isolation: isolate;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 72px;
}

.copy p,
.pane > p {
  font-size: 18px;
}

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

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.art-spectral {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 0 70px;
}

.art-spectral .shape {
  width: min(760px, 100%);
}

.prism img {
  filter: url(#prism) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

.spectrum-line {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: min(420px, 80%);
  height: 2px;
  translate: -50% 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #7b2ff7 12%, #2f7bff 30%, #2fe0a0 48%, #f0e23a 64%, #ff7a2f 80%, transparent);
  filter: blur(0.4px);
  box-shadow: 0 0 24px rgba(240, 226, 58, 0.35);
  opacity: 0.9;
}

.glass-stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: 640px;
}

.art-glass {
  grid-column: 1 / span 7;
  grid-row: 1;
  z-index: 0;
}

.art-glass .shape {
  width: min(860px, 100%);
}

.pane {
  grid-column: 6 / span 7;
  grid-row: 1;
  z-index: 1;
  padding: 52px 52px 48px;
  border-radius: 32px;
  background: linear-gradient(140deg, var(--pane), var(--pane-2)), var(--smoke);
  backdrop-filter: blur(34px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px var(--line-2), 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}

.centre-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.centre-copy p {
  font-size: 18px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1360px;
  margin: 40px auto 60px;
}

.sheen {
  --mask: none;
}

.sheen picture {
  position: relative;
  display: block;
}

.sheen picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.0) 58%) 0 0 / 260% 100% no-repeat;
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
  mix-blend-mode: soft-light;
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.late picture::after {
  animation-delay: -3.5s;
}

@keyframes sweep {
  0% { background-position: 120% 0; }
  60%, 100% { background-position: -40% 0; }
}

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

.card {
  padding: 26px 24px 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--pane), var(--pane-2));
  box-shadow: inset 0 0 0 1px var(--line);
}

.card p {
  font-size: 15px;
  line-height: 1.55;
}

.proof {
  position: relative;
  padding: 150px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent);
}

.proof h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.proof-lede {
  max-width: 660px;
  margin: 0 auto;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 72px 0 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.stats > div {
  padding: 38px 24px;
  text-align: left;
}

.stats > div + div {
  box-shadow: inset 1px 0 0 var(--line);
}

.stats dt {
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats dd {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}

.workflow-body {
  position: relative;
  display: flow-root;
  margin-top: 40px;
}

.workflow-art {
  position: absolute;
  inset: 0 0 70px;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}

.workflow-art .shape {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(320px, 40vw, 580px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 34px 30px 36px;
  border-radius: 26px;
  background: linear-gradient(150deg, var(--pane), var(--pane-2)), var(--smoke);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px var(--line-2);
}

.step-n {
  display: block;
  margin-bottom: 26px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.step p {
  font-size: 15.5px;
}

.closing {
  position: relative;
  padding: 120px 0 150px;
  text-align: center;
  isolation: isolate;
}

.bouquet {
  position: relative;
  width: min(1560px, calc(100% - var(--gutter) * 2));
  height: clamp(380px, 52vw, 780px);
  margin: 0 auto;
}

.bouquet .shape {
  position: absolute;
}

.b1 { left: 32%; top: 0; width: 34%; z-index: 3; }
.b2 { left: 8%; top: 20%; width: 30%; z-index: 2; }
.b3 { left: 60%; top: 14%; width: 28%; z-index: 2; }
.b4 { left: 0; top: 48%; width: 22%; z-index: 1; }
.b5 { right: 0; top: 44%; width: 24%; z-index: 1; }

.closing-copy h2 {
  margin: -40px auto 0;
}

.foot {
  padding: 40px 0 56px;
  box-shadow: inset 0 1px 0 var(--line);
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  color: var(--ink-3);
  font-size: 14px;
}

.foot-in img {
  opacity: 0.7;
}

.foot-in a:first-of-type {
  margin-left: auto;
}

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

.built-with {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 1px 10px 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, box-shadow 160ms ease;
}

.foot-in .built-with:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
  color: var(--ink);
}

@media (max-width: 760px) {
  .foot-in a:first-of-type {
    margin-left: 0;
  }

  .foot-in span {
    flex: 1 1 calc(100% - 40px);
  }
}

.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 900ms ease, translate 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 960px) {
  :root {
    --gutter: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .glass-stage {
    display: block;
    min-height: 0;
  }

  .art-glass .shape {
    width: 100%;
    margin: 0 0 -160px;
  }

  .art-spectral .shape {
    width: 100%;
  }

  .pane {
    position: relative;
    padding: 36px 28px;
  }

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

  .stats > div:nth-child(3) {
    box-shadow: inset 0 1px 0 var(--line);
  }

  .stats > div:nth-child(4) {
    box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 70vw;
  }

  .feature {
    padding: 100px 0;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .nav-in {
    height: 60px;
    gap: 12px;
  }

  .brand-word {
    height: 16px;
  }

  .nav-cta {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    padding: 24px 0 90px;
  }

  .hero-stage {
    width: calc(100% - var(--gutter) * 2);
    aspect-ratio: 1.12;
  }

  .hero-left { left: 0; top: 20%; width: 46%; }
  .hero-centre { left: 24%; width: 52%; }
  .hero-right { right: 0; top: 30%; width: 44%; }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .button-large {
    height: 48px;
    padding: 0 22px;
    font-size: 16px;
  }

  .pair {
    gap: 16px;
    margin: 48px auto 56px;
  }

  .grid-4,
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats > div + div,
  .stats > div:nth-child(3),
  .stats > div:nth-child(4) {
    box-shadow: inset 0 1px 0 var(--line);
  }

  .pane {
    padding: 30px 22px;
    border-radius: 26px;
  }

  .bouquet {
    height: 104vw;
  }

  .b1 { left: 20%; top: 0; width: 60%; }
  .b2 { left: 0; top: 38%; width: 48%; }
  .b3 { left: auto; right: 0; top: 34%; width: 46%; }

  .b4,
  .b5 {
    display: none;
  }

  .foot-in {
    flex-wrap: wrap;
  }
}

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

  .float,
  .sheen picture::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .hero-stage .shape {
    transition: none;
  }
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 360px) {
  .eyebrow-more {
    display: none;
  }

  .brand {
    gap: 8px;
  }

  .brand-word {
    height: 14px;
  }

  .nav-cta {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 300px) {
  .brand-word {
    display: none;
  }
}
