/* Vettora, scroll story: violet-blue light on near-black, everything arriving as you scroll. */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-500.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --bg: #060509;
  --panel: #0c0b12;
  --ink: #f4f3ff;
  --soft: #b3afcf;
  --faint: #706c8c;
  --line: rgba(170, 160, 255, 0.13);
  --line2: rgba(170, 160, 255, 0.24);
  --violet: #6b4cff;
  --violet2: #8b74ff;
  --blue: #3a6bff;
  --glow: #7c5cff;
  --font:
    "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    sans-serif;
  --serif:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--violet2);
  outline-offset: 3px;
  border-radius: 8px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.025em;
}
i.it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #8e89ad;
}

/* Light behind everything: a violet-blue haze at the edges, like a lit room around a screen */
.haze {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      70% 45% at 50% -8%,
      rgba(107, 76, 255, 0.42),
      transparent 70%
    ),
    radial-gradient(
      60% 40% at 50% 108%,
      rgba(58, 107, 255, 0.38),
      transparent 70%
    ),
    radial-gradient(
      30% 60% at -6% 50%,
      rgba(90, 60, 255, 0.28),
      transparent 70%
    ),
    radial-gradient(
      30% 60% at 106% 50%,
      rgba(60, 90, 255, 0.26),
      transparent 70%
    ),
    var(--bg);
}

/* ---------- Opening: particles become the Vettora logo ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #040307;
  display: grid;
  place-items: center;
  transition:
    opacity 0.9s var(--ease),
    visibility 0.9s;
}
#intro canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#intro .word {
  position: absolute;
  top: calc(50% + var(--below, 140px));
  letter-spacing: 0.42em;
  font-weight: 500;
  font-size: 14px;
  color: #cfc8ff;
  opacity: 0;
  transition: opacity 0.8s;
}
#intro.named .word {
  opacity: 1;
}
#intro.done {
  opacity: 0;
  visibility: hidden;
}
#intro button {
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  background: none;
  border: 1px solid var(--line2);
  color: var(--soft);
  border-radius: 999px;
  padding: 8px 14px;
  font: 500 13px var(--font);
  cursor: pointer;
}
.no-intro #intro {
  display: none;
}

/* ---------- The pill navigation ---------- */
.nav {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 14px;
  background: rgba(20, 18, 30, 0.62);
  border: 1px solid var(--line2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--soft);
  padding: 7px 11px;
  border-radius: 9px;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.nav .home {
  padding: 4px 8px;
}
.nav .home img {
  width: 22px;
  height: 22px;
}

/* ---------- The frame: the site sits in a softly lit screen ---------- */
.frame {
  position: relative;
  margin: 0 auto;
  max-width: 1680px;
}

/* Scroll scenes: tall sections whose inside stays on screen while you scroll through */
.scene {
  position: relative;
}
.stick {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* ---------- 1. Hero ---------- */
#hero {
  height: 250vh;
}
#hero .stick {
  display: grid;
  place-items: center;
}
.hero-bg {
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(
    80% 70% at 50% 0%,
    #5a3cf0 0%,
    #2d1d9c 38%,
    #130d45 66%,
    #08070f 100%
  );
}
.wordmark {
  position: absolute;
  top: 13%;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  font-size: clamp(64px, 13vw, 210px);
  color: #fff;
  will-change: transform, opacity;
}
.wordmark small {
  display: block;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #d8d2ff;
  margin-top: 14px;
}
.orb {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(560px, 70vw);
  aspect-ratio: 1/1.05;
  transform: translate(-50%, -50%);
  border-radius: 48% 52% 46% 54%/55% 48% 52% 45%;
  background:
    repeating-radial-gradient(
      circle at 46% 40%,
      rgba(255, 255, 255, 0) 0 7px,
      rgba(255, 255, 255, 0.07) 8px 9px
    ),
    radial-gradient(
      60% 55% at 35% 30%,
      #b6a6ff,
      #6f55f2 35%,
      #3a26b5 65%,
      #1b1260 100%
    );
  box-shadow:
    inset -30px -40px 80px rgba(10, 6, 40, 0.75),
    inset 20px 20px 60px rgba(220, 210, 255, 0.25),
    0 40px 120px -20px rgba(80, 50, 255, 0.6);
  animation: breathe 9s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes breathe {
  50% {
    border-radius: 53% 47% 52% 48%/48% 54% 46% 52%;
  }
}

/* the phone */
.phone {
  position: absolute;
  width: min(300px, 62vw);
  aspect-ratio: 9/19.2;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(
    145deg,
    #8f86c9,
    #3e3770 40%,
    #1b1835 70%,
    #6d64b0
  );
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  will-change: transform;
}
.phone .scr {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f0d1f, #08070f 55%);
  padding: 44px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}
.phone .notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 14px;
  background: #000;
}
.phone .hi {
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.phone .hi span {
  color: var(--soft);
  font-size: 12px;
  display: block;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.chips {
  display: flex;
  gap: 6px;
}
.chip {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 10.5px;
  white-space: nowrap;
}
.chip.on {
  background: rgba(107, 76, 255, 0.3);
  color: #fff;
  border-color: rgba(139, 116, 255, 0.6);
}
.tile {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 11px;
}
.tile b {
  font-weight: 500;
  font-size: 12px;
}
.tile .big {
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tile .big sup {
  font-size: 14px;
}
.meterbar {
  height: 5px;
  border-radius: 9px;
  background: #1d1a33;
  overflow: hidden;
  margin-top: 8px;
}
.meterbar i {
  display: block;
  height: 100%;
  width: 94%;
  background: linear-gradient(90deg, #5fe3a6, #ffb85c 55%, #ff5f7a);
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bub {
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  line-height: 1.35;
}
.bub.me {
  background: rgba(107, 76, 255, 0.32);
  color: #fff;
  margin-left: 26px;
}
.inputbar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 9px 9px 12px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  color: var(--faint);
}
.inputbar i {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--violet);
  display: grid;
  place-items: center;
}
.inputbar svg {
  width: 12px;
  height: 12px;
}
#hero .phone {
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%) rotate(-24deg);
}
.beta {
  position: absolute;
  right: calc(14px + 2.2%);
  bottom: calc(14px + 4%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 16px;
  border-radius: 14px;
  background: rgba(14, 12, 26, 0.55);
  border: 1px solid var(--line2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: #ddd8ff;
  will-change: opacity;
}
.beta b {
  display: block;
  font-weight: 500;
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font: 500 14px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.3s var(--ease),
    background 0.2s,
    box-shadow 0.3s;
}
.btn-light {
  background: #fff;
  color: #0c0a18;
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(255, 255, 255, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.btn svg {
  width: 15px;
  height: 15px;
}

/* the circles that come together into the mark */
.mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(340px, 70vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mark rect,
.mark polyline {
  fill: none;
  stroke: url(#mkg);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  vector-effect: non-scaling-stroke;
}
.mark .logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: drop-shadow(0 0 24px rgba(124, 92, 255, 0.7));
}

/* ---------- 2. Words that build a sentence ---------- */
#say {
  height: 340vh;
}
#say .stick {
  background: var(--panel);
  border-radius: 26px;
  margin: 0 14px;
  height: calc(100svh - 28px);
  top: 14px;
  border: 1px solid var(--line);
}
.waves {
  position: absolute;
  width: min(560px, 48vw);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.95;
}
.waves.tr {
  right: -8%;
  top: -14%;
}
.waves.bl {
  left: -10%;
  bottom: -18%;
  transform: rotate(180deg);
}
.waves path {
  fill: none;
  stroke-width: 3;
}
.lines {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(34px, 5.6vw, 92px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  will-change: transform;
}
.ln {
  display: flex;
  align-items: center;
  gap: 0.28em;
  white-space: nowrap;
  will-change: transform, opacity;
}
.ln:nth-child(2) {
  margin-left: 1.6em;
}
.ln:nth-child(3) {
  margin-left: 0.4em;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.86em;
  width: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(200, 190, 255, 0.5);
  overflow: hidden;
  vertical-align: middle;
  will-change: width;
}
.pill svg {
  width: 0.5em;
  height: 0.5em;
  flex: none;
  stroke: #e6e1ff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prose {
  position: absolute;
  left: 8%;
  top: 28%;
  max-width: min(560px, 80vw);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.prose span {
  color: #4a4664;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.prose span.lit {
  color: #f1efff;
}

/* ---------- 3. Truth and action, with cards flying past ---------- */
#truth {
  height: 320vh;
}
#truth .stick {
  display: grid;
  place-items: center;
}
.truth-t {
  position: relative;
  z-index: 1;
  text-align: left;
  font-size: clamp(46px, 9vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.truth-t .it {
  display: block;
  padding-left: 1.3em;
  font-size: 0.92em;
}
.truth-t small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--violet2);
  margin-bottom: 22px;
  font-weight: 500;
}
.fly {
  position: absolute;
  z-index: 2;
  width: clamp(170px, 15vw, 220px);
  border-radius: 16px;
  padding: 14px;
  background: rgba(24, 22, 36, 0.92);
  border: 1px solid var(--line2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  font-size: 12.5px;
  color: var(--soft);
  will-change: transform;
}
.fly b {
  display: block;
  color: #fff;
  font-weight: 500;
  font-size: 13.5px;
  margin: 8px 0 4px;
}
.fly .ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
}
.fly .ic svg {
  width: 14px;
  height: 14px;
  stroke: #e6e1ff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fly.round {
  width: auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fly.round .big {
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.02em;
}
.fly.violet {
  width: 54px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #8b74ff, #5a3cf0);
  border: 0;
}
.fly.violet svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}
.fly.vex {
  width: 74px;
  height: 74px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(160deg, #2b2350, #151226);
}

/* ---------- Normal sections ---------- */
.sec {
  padding: clamp(80px, 12vw, 150px) 0;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.kick {
  color: var(--violet2);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.lead {
  color: var(--soft);
  max-width: 620px;
  font-size: 17px;
}

/* tools grid (three columns with little scenes) */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 54px;
}
.tool {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tool:last-child {
  border-right: 0;
}
.tool h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.tool p {
  color: var(--soft);
  font-size: 14.5px;
  margin-top: 8px;
}
.vign {
  height: 190px;
  border-radius: 18px;
  background:
    radial-gradient(
      70% 70% at 50% 40%,
      rgba(107, 76, 255, 0.18),
      transparent 70%
    ),
    rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.vign .eye {
  width: 70%;
}
.vign .eye img {
  width: 100%;
}
.vign .eye .pupil {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.vign .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(160, 140, 255, 0.35);
}
.vign .pillbtn {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  background: #191628;
  border: 1px solid var(--line2);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vign .pillbtn i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--violet);
  display: grid;
  place-items: center;
}
.vign .pillbtn svg {
  width: 11px;
  height: 11px;
}
.mini {
  width: 78%;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1c1660, #0d0b2c);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line2);
}
.mini .gr {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 5px;
  background: rgba(180, 170, 255, 0.3);
}
.mini .man {
  position: absolute;
  bottom: 17px;
  left: 22%;
  width: 12px;
  height: 22px;
  border-radius: 6px 6px 3px 3px;
  background: #fff;
  animation: hop 1.6s var(--ease) infinite;
}
.mini .bl {
  position: absolute;
  bottom: 17px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--violet2);
  animation: slide 3.2s linear infinite;
}
@keyframes hop {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-34px);
  }
}
@keyframes slide {
  from {
    left: 110%;
  }
  to {
    left: -10%;
  }
}

/* stacked panels: each new panel slides up over the last */
#stack {
  position: relative;
}
.panel {
  position: sticky;
  top: calc(70px + env(safe-area-inset-top, 0px));
  height: min(560px, 78vh);
  margin: 0 14px 40px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: radial-gradient(
    90% 120% at 100% 100%,
    #5a3cf0 0%,
    #2b1c99 35%,
    #120c40 65%,
    #0b0918 100%
  );
  box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, 0.9);
}
.panel:nth-child(2) {
  background: radial-gradient(
    90% 120% at 100% 0%,
    #3a6bff 0%,
    #2235b0 35%,
    #0f1550 65%,
    #090a18 100%
  );
}
.panel:nth-child(3) {
  background: radial-gradient(
    90% 120% at 0% 100%,
    #7b4dff 0%,
    #3b1ea8 35%,
    #160c44 65%,
    #0b0918 100%
  );
}
.panel .txt {
  padding: clamp(28px, 5vw, 64px);
}
.panel .txt .kick {
  color: #d7d0ff;
}
.panel h3 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 12px 0 14px;
}
.panel p {
  color: #d6d2f4;
  max-width: 420px;
  font-size: 15.5px;
}
.panel .btn {
  margin-top: 24px;
}
.panel .art {
  position: relative;
  height: 100%;
}
.panel .phone {
  left: 50%;
  top: 58%;
  transform: translate(-50%, -30%) rotate(0deg);
  width: min(270px, 38vw);
}
.dash {
  position: absolute;
  left: 8%;
  right: -4%;
  top: 14%;
  bottom: -6%;
  border-radius: 18px;
  background: #0c0b14;
  border: 1px solid var(--line2);
  padding: 18px;
  font-size: 12px;
  color: var(--soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14px;
}
.dash .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash .st {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 12px;
}
.dash .st b {
  display: block;
  font-size: 24px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.code {
  font:
    12px/1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  padding: 14px;
  border-radius: 12px;
  background: #07060c;
  border: 1px solid var(--line);
  color: #cfc8ff;
  white-space: pre;
  overflow: hidden;
}
.code .k {
  color: #a996ff;
}
.code .s {
  color: #9ff0c9;
}
.code .c {
  color: #5f5a7e;
}

/* the big name with the wave orb */
#name {
  height: 230vh;
}
#name .stick {
  display: grid;
  place-items: center;
}
.wave-orb {
  position: absolute;
  width: min(620px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(
    ellipse at 40% 45%,
    rgba(140, 110, 255, 0) 0 5px,
    rgba(140, 110, 255, 0.55) 6px 7px,
    rgba(140, 110, 255, 0) 8px 11px
  );
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask: radial-gradient(closest-side, #000 55%, transparent 100%);
  filter: drop-shadow(0 0 30px rgba(107, 76, 255, 0.6));
  will-change: transform;
}
.bigname {
  position: relative;
  font-weight: 500;
  letter-spacing: -0.06em;
  font-size: clamp(70px, 15vw, 250px);
  line-height: 0.85;
  text-align: center;
  will-change: transform, opacity;
}
.bigname small {
  display: block;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #d8d2ff;
  margin-bottom: 10px;
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
  align-items: stretch;
}
.plan {
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(
    180deg,
    rgba(28, 24, 48, 0.8),
    rgba(12, 11, 20, 0.9)
  );
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan.hi {
  border-color: rgba(139, 116, 255, 0.6);
  background: radial-gradient(
    120% 70% at 50% 0%,
    rgba(107, 76, 255, 0.45),
    rgba(16, 13, 34, 0.95) 60%
  );
  box-shadow: 0 -20px 70px -30px rgba(107, 76, 255, 0.8);
}
.plan h3 {
  font-size: 20px;
}
.plan .d {
  color: var(--soft);
  font-size: 14px;
  min-height: 42px;
}
.plan .pr {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan .pr b {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan .pr span {
  color: var(--faint);
  font-size: 14px;
}
.plan .btn {
  width: 100%;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--soft);
  font-size: 14.5px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--violet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.plan:first-child li::before {
  background-color: #2b2742;
}
.fine {
  color: var(--faint);
  font-size: 13px;
  margin-top: 26px;
  max-width: 780px;
}

/* developer */
.dev {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.devphoto {
  border-radius: 50%;
  padding: 6px;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #a996ff, #5a3cf0 45%, #3a6bff);
  box-shadow: 0 30px 80px -30px rgba(107, 76, 255, 0.9);
}
.devphoto img {
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.role {
  color: #cfc8ff;
  font-weight: 500;
  margin-bottom: 16px;
}
.dev p {
  color: var(--soft);
  max-width: 62ch;
  margin-bottom: 12px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tags span {
  font-size: 13.5px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
}

/* the last call */
.cta {
  margin: 0 14px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  border: 1px solid var(--line2);
  background: radial-gradient(
    80% 120% at 90% 80%,
    #5a3cf0,
    #2b1c99 35%,
    #120c40 65%,
    #0b0918
  );
}
.cta .txt {
  padding: clamp(28px, 5vw, 64px);
}
.cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.cta p {
  color: #d6d2f4;
  max-width: 420px;
}
.cta .art {
  position: relative;
  height: 100%;
  min-height: 440px;
}
.cta .phone {
  left: 52%;
  top: 54%;
  transform: translate(-50%, -30%) rotate(-22deg);
  width: min(270px, 40vw);
}

/* footer */
footer {
  position: relative;
  margin: 80px 14px 14px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #09080e;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 52px) 0;
}
.ftop {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.mail {
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.flinks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13.5px;
}
.flinks a {
  color: var(--soft);
  text-decoration: none;
}
.flinks a:hover {
  color: #fff;
}
.join {
  max-width: 280px;
  color: var(--soft);
  font-size: 14px;
}
.join b {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 6px;
}
.socials {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  font-size: 14px;
}
.socials a {
  text-decoration: none;
  color: #e9e6ff;
}
.huge {
  position: relative;
  margin: 30px -60px 0;
  padding: 0 60px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.82;
  font-size: clamp(64px, 15vw, 250px);
  color: #fff;
  background: radial-gradient(
    60% 120% at 50% 120%,
    rgba(107, 76, 255, 0.95),
    rgba(58, 107, 255, 0.45) 45%,
    transparent 75%
  );
  padding-bottom: 18px;
}
.huge span {
  background: linear-gradient(180deg, #fff 40%, #cfc4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0 18px;
  color: #c9c2f2;
  font-size: 12.5px;
  position: relative;
  z-index: 1;
  margin-top: -14px;
}
.legal a {
  color: inherit;
  text-decoration: none;
  margin-left: 16px;
}

/* reveal for normal sections */
.js .rv {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .tools {
    grid-template-columns: 1fr;
  }
  .tool {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .panel {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 78vh;
  }
  .panel .art {
    height: 340px;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .cta .art {
    min-height: 360px;
  }
  .dev {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .devphoto {
    max-width: 260px;
    margin: 0 auto;
  }
  .tags {
    justify-content: center;
  }
  .dev p {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 640px) {
  .nav a:not(.home) {
    padding: 7px 6px;
    font-size: 11.5px;
  }
  .nav {
    max-width: calc(100vw - 16px);
  }
  .nav .opt {
    display: none;
  }
  .lines {
    left: 6%;
  }
  .ln:nth-child(2) {
    margin-left: 0.8em;
  }
  .beta {
    left: 24px;
    right: 24px;
    justify-content: space-between;
  }
  .huge {
    margin: 24px -30px 0;
    padding: 0 30px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* The phone shows a real screenshot of the Vettora app's home screen */
.phone .scr.shot {
  padding: 0;
  background: #050505;
}
.phone .scr.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Social buttons (the same icons as Vettora's first website) */
.soc {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}
.soc:hover {
  transform: translateY(-4px) rotate(-4deg);
}
.soc-ig {
  background: linear-gradient(
    45deg,
    #f9b454 0%,
    #f2603c 30%,
    #e1306c 55%,
    #a83fd0 80%,
    #5b5be6 100%
  );
  box-shadow: 0 16px 28px -14px rgba(225, 48, 108, 0.75);
}
.soc-yt {
  background: linear-gradient(150deg, #ff7a7a, #e62e2e 55%, #b81d1d);
  box-shadow: 0 16px 28px -14px rgba(230, 46, 46, 0.75);
}
.soc-in {
  background: linear-gradient(150deg, #5aa9ff, #1f6fd6 55%, #1557b0);
  box-shadow: 0 16px 28px -14px rgba(31, 111, 214, 0.8);
}
.mark-ig {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
}
.mark-ig .ig-lens {
  transform-box: fill-box;
  transform-origin: center;
}
.soc-ig:hover .ig-lens {
  animation: focus 0.9s var(--ease) infinite;
}
.mark-yt {
  display: grid;
  place-items: center;
  width: 30px;
  height: 21px;
  border-radius: 7px;
  background: #fff;
}
.mark-yt i {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #e62e2e;
}
.soc-yt:hover .mark-yt i {
  animation: play 1s var(--ease) infinite;
}
.mark-in {
  position: relative;
  width: 26px;
  height: 24px;
  display: block;
}
.mark-in i {
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.mark-in .dot {
  left: 0;
  top: 0;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}
.mark-in .bar {
  left: 0;
  bottom: 0;
  width: 6.5px;
  height: 15px;
}
.mark-in .n {
  left: 10px;
  bottom: 0;
  width: 16px;
  height: 15px;
  background: none;
  border: 6px solid #fff;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.soc-in:hover .dot {
  transform: translateY(-6px);
}
@keyframes play {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
}
@keyframes focus {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.7);
  }
}
.socials {
  align-items: center;
}
.devsoc {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* The developer's page */
.devmain {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 0 40px;
}
@media (max-width: 900px) {
  .devsoc {
    justify-content: center;
  }
}

/* ---------- Liquid glass navigation ---------- */
.nav {
  gap: 2px;
  padding: 6px;
  border-radius: 20px;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05) 55%,
    rgba(255, 255, 255, 0.08)
  );
  -webkit-backdrop-filter: blur(20px) saturate(190%) brightness(1.08);
  backdrop-filter: blur(20px) saturate(190%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 22px rgba(255, 255, 255, 0.07),
    inset 0 -10px 20px -12px rgba(140, 120, 255, 0.35),
    0 16px 40px -14px rgba(0, 0, 0, 0.75);
}
/* the bright curve of light along the top, like the edge of a glass drop */
.nav::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 1px;
  height: 46%;
  border-radius: 16px 16px 40% 40%/16px 16px 12px 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
  z-index: -1;
}
/* a thin rainbow at the rim, where real glass bends the light */
.nav::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(
    from 210deg,
    rgba(255, 255, 255, 0.7),
    rgba(150, 190, 255, 0.25),
    rgba(190, 140, 255, 0.45),
    rgba(255, 255, 255, 0.15),
    rgba(120, 220, 255, 0.35),
    rgba(255, 255, 255, 0.7)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
}
.nav a {
  position: relative;
  z-index: 1;
  color: #e9e6ff;
  border-radius: 14px;
  transition: color 0.25s;
}
.nav a:hover {
  background: none;
  color: #fff;
}
/* the glass bead that slides to the link under your pointer */
.nav .lens {
  position: absolute;
  z-index: 0;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 6px 16px -6px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.45s cubic-bezier(0.3, 1.4, 0.4, 1),
    width 0.45s cubic-bezier(0.3, 1.4, 0.4, 1),
    opacity 0.25s;
}
.nav.has-lens .lens {
  opacity: 1;
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .nav {
    background: rgba(22, 20, 34, 0.92);
  }
}

/* the motto under the name in the opening */
#intro .motto {
  position: absolute;
  top: calc(50% + var(--below, 140px) + 28px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #a99ee8;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.8s 0.35s,
    transform 0.8s 0.35s;
}
#intro.named .motto {
  opacity: 1;
  transform: none;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ---- Small helpers used in the HTML (instead of inline styles, which the security policy blocks) */
.fill {
  position: absolute;
  inset: 0;
}
.rel {
  position: relative;
}
.ring-sm {
  width: 150px;
  height: 150px;
}
.ring-lg {
  width: 220px;
  height: 220px;
  opacity: 0.6;
}
.bl.late {
  animation-delay: -1.6s;
}
.kick-soft {
  color: #d7d0ff;
}
.kick-sm {
  font-size: 11px;
}
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
