/* ============================================================================
   Patsquire — static site styles (Hostinger PHP plan, no Node)
   Ported from the Next.js/Tailwind build to plain CSS.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --bg: #000000;
  --bg-soft: #07070b;
  --fg: #fafafa;
  --muted: #b5b5b5;
  --muted-2: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.1);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --gradient-brand: linear-gradient(
    123deg,
    #6344f5 0%,
    #7621b0 28%,
    #be4c00 62%,
    #f97316 78%,
    #38bdf8 100%
  );
}

/* ---- Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

::selection {
  background: rgba(255, 255, 255, 0.3);
}

/* Sleek/invisible scrollbar */
.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  padding: 0.7rem 1.5rem;
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}
.btn-pill {
  border-radius: 9999px;
  padding: 0.6rem 1.2rem;
  background: #ffffff;
  color: #000000;
  font-size: 0.9rem;
}
.btn-pill:hover {
  background: rgba(255, 255, 255, 0.9);
}
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(12px);
  transition: background 0.25s ease;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem;
}
.header-bar {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  max-width: 80rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0 1.25rem;
  backdrop-filter: blur(16px);
  transition: all 0.5s ease;
}
.header-bar[data-scrolled="true"] {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 40px -12px rgba(0, 0, 0, 0.6);
}
.brand-logo {
  display: flex;
  align-items: center;
}
.brand-logo img {
  height: 1.25rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-desktop a {
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}
.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer.open {
  visibility: visible;
  opacity: 1;
}
.mobile-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(20rem, 85vw);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  padding: 1.5rem 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0);
}
.mobile-drawer__title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0 0.75rem 0.5rem;
}
.mobile-drawer nav {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-drawer nav a {
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}
.mobile-drawer nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.mobile-drawer__footer {
  margin-top: auto;
}
.mobile-drawer__footer .btn-primary {
  width: 100%;
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100svh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  text-align: center;
}
.hero__grid,
.hero__grid-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.6) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero__grid {
  opacity: 0.05;
  animation: grid-drift 6s linear infinite;
}
.hero__grid-reveal {
  opacity: 0.4;
  animation: grid-drift 6s linear infinite;
  -webkit-mask-image: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    black,
    transparent
  );
  mask-image: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    black,
    transparent
  );
}
@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px 40px;
  }
}
.hero__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__glow span {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
}
.glow-orange {
  right: -20%;
  top: -20%;
  height: 40%;
  width: 40%;
  background: rgba(234, 88, 12, 0.2);
}
.glow-primary {
  right: 10%;
  top: -10%;
  height: 20%;
  width: 20%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(100px) !important;
}
.glow-blue {
  bottom: -20%;
  left: -10%;
  height: 40%;
  width: 40%;
  background: rgba(37, 99, 235, 0.2);
}
.hero__content {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  max-width: 48rem;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title .italic {
  font-style: italic;
}
.hero__subtitle {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.75;
  letter-spacing: 0.005em;
  color: var(--muted);
  text-wrap: balance;
}
.hero__cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero__cta .btn-primary {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* Shared reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   ABOUT
   ========================================================================== */
.about {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-soft);
  padding: 6rem 1.25rem;
}
.ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.ambient span {
  position: absolute;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  filter: blur(120px);
}
.ambient .a-orange {
  left: -5rem;
  top: 25%;
  background: rgba(249, 115, 22, 0.2);
}
.ambient .a-sky {
  left: 33%;
  top: 0;
  background: rgba(14, 165, 233, 0.2);
}
.ambient .a-violet {
  right: 25%;
  bottom: 0;
  background: rgba(139, 92, 246, 0.2);
}
.about__inner {
  position: relative;
  margin: 0 auto;
  display: grid;
  width: 100%;
  max-width: 72rem;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}
.about__heading {
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 6vw, 92px);
  white-space: nowrap;
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about__copy {
  max-width: 560px;
  font-weight: 500;
  line-height: 1.7;
  color: #d7e2ea;
  font-size: clamp(1rem, 2vw, 1.4rem);
}
.about__copy .word {
  display: inline-block;
  color: rgba(215, 226, 234, 0.16);
  transform: translateY(6px);
  transition: color 0.6s ease, transform 0.6s ease, text-shadow 0.6s ease;
}
.about__copy.in .word {
  color: #ffffff;
  transform: translateY(0);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

/* ============================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  padding: 6rem 0 2.5rem;
}
.marquee__rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.marquee__row {
  display: flex;
  gap: 0.75rem;
  width: max-content;
}
.marquee__row--1 {
  animation: marquee-left 40s linear infinite;
}
.marquee__row--2 {
  animation: marquee-right 40s linear infinite;
}
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}
@keyframes marquee-right {
  from {
    transform: translateX(-33.333%);
  }
  to {
    transform: translateX(0);
  }
}
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 120px;
  width: 200px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 22px;
  padding: 1rem;
}
@media (min-width: 640px) {
  .tile {
    height: 140px;
    width: 250px;
  }
}
@media (min-width: 768px) {
  .tile {
    height: 160px;
    width: 290px;
  }
}
.tile__glass {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(40px);
}
.tile__glow {
  position: absolute;
  inset: -3rem;
  opacity: 0.7;
  filter: blur(40px);
}
.tile__img {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 50% 30%;
  background-size: auto 56%;
  opacity: 0.88;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
.tile__sheen {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.05) 22%,
    transparent 45%
  );
}
.tile__edge {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
}
.tile__sweep {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 22px;
  opacity: 0.6;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    rgba(255, 255, 255, 0.05) 56%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  animation: marquee-sheen 6s ease-in-out infinite;
}
@keyframes marquee-sheen {
  0% {
    background-position: 200% 0;
  }
  60%,
  100% {
    background-position: -120% 0;
  }
}
.tile__label {
  position: relative;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}
@media (min-width: 640px) {
  .tile__label {
    font-size: 1.125rem;
  }
}
@media (min-width: 768px) {
  .tile__label {
    font-size: 1.25rem;
  }
}

/* ============================================================================
   CAPABILITIES / TOOLS
   ========================================================================== */
.tools {
  position: relative;
  z-index: 10;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: #fff;
  color: #0c0c0c;
  padding: 5rem 1.25rem;
}
@media (min-width: 640px) {
  .tools {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding: 6rem 2rem;
  }
}
@media (min-width: 768px) {
  .tools {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding: 7rem 2.5rem;
  }
}
.tools__inner {
  margin: 0 auto;
  display: grid;
  max-width: 72rem;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .tools__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.tool-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2.5rem 0;
}
.tool-block:first-child {
  border-top: none;
}
@media (min-width: 1024px) {
  .tool-block {
    min-height: 100vh;
  }
}
.tool-block__body {
  transition: opacity 0.5s ease;
}
@media (min-width: 1024px) {
  .tool-block__body {
    opacity: 0.3;
  }
  .tool-block.active .tool-block__body {
    opacity: 1;
  }
}
.tool-no {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1;
  font-size: clamp(3rem, 9vw, 120px);
}
.tool-name {
  margin-top: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(1.25rem, 2.6vw, 2.4rem);
}
.tool-desc {
  margin-top: 1rem;
  max-width: 36rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.6;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}
.tools__sticky {
  display: none;
}
@media (min-width: 1024px) {
  .tools__sticky {
    display: block;
  }
  .tools__sticky-inner {
    position: sticky;
    top: 7rem;
    height: 80vh;
  }
}
/* mobile bento under each block */
.bento-mobile {
  margin-top: 1.5rem;
  height: 60vh;
}
@media (min-width: 1024px) {
  .bento-mobile {
    display: none;
  }
}

.bento {
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.3fr 1fr 1fr;
  gap: 0.75rem;
  transition: opacity 0.4s ease;
}
.bento__hero {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.5rem;
  color: #fff;
}
.bento__hero-text {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.bento__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}
.bento__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 26px 26px;
}
.bento__cat {
  position: relative;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}
.bento__product {
  position: relative;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.bento__spec {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(155deg, #ffffff 0%, #eef2f7 100%);
  padding: 1.25rem 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 30px -14px rgba(18, 28, 48, 0.28);
}
/* frosted diagonal sheen, like the marquee tiles */
.bento__spec::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.28) 20%,
    transparent 46%
  );
}
.bento__spec-label {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(20, 28, 44, 0.45);
}
.bento__spec-value {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: #0d1424;
  text-wrap: balance;
}

/* ---- Animated mock visuals inside each bento hero ---------------------- */
.bento__cat,
.bento__product {
  z-index: 3; /* sit above the viz layer */
}
.viz {
  position: relative;
  z-index: 1;
  pointer-events: none;
  color: #fff;
}
@keyframes viz-grow {
  to {
    transform: scaleX(1);
  }
}
@keyframes viz-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* SEP — essentiality bars */
.viz--bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.viz__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: viz-fade 0.5s ease forwards;
  animation-delay: var(--d);
}
.viz__bar-k {
  width: 4.5rem;
  font-size: 0.7rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}
.viz__bar-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.viz__bar-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 999px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  animation: viz-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d);
}
.viz__bar-v {
  width: 2.2rem;
  text-align: right;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

/* Drafter — claim lines + caret */
.viz--doc {
  width: 8.5rem;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}
.viz__doc-h {
  height: 8px;
  width: 55%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}
.viz__line {
  height: 5px;
  width: var(--w);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  animation: viz-grow 0.6s ease forwards;
  animation-delay: var(--d);
}
.viz__caret {
  width: 2px;
  height: 12px;
  background: #fff;
  animation: viz-blink 1s step-end infinite;
}
@keyframes viz-blink {
  50% {
    opacity: 0;
  }
}

/* Analyser — novelty gauge ring */
.viz--gauge {
  width: 5.5rem;
  height: 5.5rem;
  margin-left: auto;
}
.viz--gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.viz__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 6;
}
.viz__ring-fg {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  animation: viz-ring 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes viz-ring {
  to {
    stroke-dashoffset: 28;
  }
}
.viz__gauge-v {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.viz__gauge-k {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 45%);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

/* Defendant — litigation radar */
.viz--radar {
  width: 6rem;
  height: 6rem;
  margin-left: auto;
}
.viz--radar svg {
  width: 100%;
  height: 100%;
}
.viz--radar circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
}
.viz--radar line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}
.viz__sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 90deg);
  animation: viz-spin 2.4s linear infinite;
}
@keyframes viz-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.viz__blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%) scale(0);
  animation: viz-blip 2.4s ease-out infinite;
  animation-delay: var(--d);
}
@keyframes viz-blip {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  15% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
}

/* Spec cells fade up in sequence */
.bento__spec {
  opacity: 0;
  animation: viz-fade 0.5s ease forwards;
  animation-delay: var(--d);
}

@media (prefers-reduced-motion: reduce) {
  .viz *,
  .viz__sweep,
  .bento__spec {
    animation: none !important;
  }
  .viz__bar,
  .bento__spec {
    opacity: 1 !important;
    transform: none !important;
  }
  .viz__bar-track i,
  .viz__line {
    transform: scaleX(1) !important;
  }
  .viz__ring-fg {
    stroke-dashoffset: 28 !important;
  }
  .viz__blip {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding: 4rem 1.25rem 2.5rem;
}
.site-footer .ambient .a-violet {
  left: -4rem;
  bottom: 0;
  top: auto;
  background: rgba(124, 58, 237, 0.2);
  height: 16rem;
  width: 16rem;
}
.site-footer .ambient .a-orange {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: rgba(249, 115, 22, 0.15);
  height: 16rem;
  width: 16rem;
}
.site-footer .ambient .a-sky {
  right: -4rem;
  left: auto;
  bottom: 0;
  top: auto;
  background: rgba(14, 165, 233, 0.2);
  height: 16rem;
  width: 16rem;
}
.footer__panel {
  position: relative;
  margin: 0 auto;
  max-width: 72rem;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 80px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(40px);
}
@media (min-width: 640px) {
  .footer__panel {
    padding: 3rem;
  }
}
.footer__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer__brand img {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.footer__brand .btn-glass {
  margin-top: 1.5rem;
}
.footer__col h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}
.footer__col ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.footer__col a:hover {
  color: #fff;
}
.footer__divider {
  margin-top: 2.5rem;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
}
.footer__bottom {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
  }
}

/* ============================================================================
   WAITLIST PAGE (get-started)
   ========================================================================== */
.waitlist {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #000;
  padding: 0.5rem;
}
@media (min-width: 1024px) {
  .waitlist {
    height: 100vh;
    overflow: hidden;
    padding: 1rem;
  }
}
.waitlist__hero {
  position: relative;
  display: none;
  height: 100%;
  width: 52%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 0 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) {
  .waitlist__hero {
    display: flex;
  }
}
.waitlist__hero video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.waitlist__hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.waitlist__hero-content h1 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.waitlist__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.waitlist__hero-copy .strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.waitlist__hero-copy .faint {
  color: rgba(255, 255, 255, 0.55);
}

.waitlist__form-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 2.5rem 1rem;
}
@media (min-width: 640px) {
  .waitlist__form-col {
    padding: 2.5rem 3rem;
  }
}
@media (min-width: 1024px) {
  .waitlist__form-col {
    /* Scroll internally on short desktops so the form never clips its submit
       button — the page itself stays fixed at 100vh. */
    overflow-y: auto;
    padding: 1rem 4rem;
  }
}
.waitlist__form-wrap {
  width: 100%;
  max-width: 36rem;
}
.waitlist__form-head h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.waitlist__form-head p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}
form.waitlist-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}
.glass-input {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.glass-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}
.glass-input.error {
  border-color: rgba(248, 113, 113, 0.6);
}
.field-error {
  font-size: 0.75rem;
  color: #f87171;
  min-height: 0;
}
.phone-row {
  display: flex;
  gap: 0.75rem;
}

/* Custom selects */
.select {
  position: relative;
}
.select--country {
  width: 7rem;
  flex-shrink: 0;
}
.select__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  width: 100%;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  text-align: left;
}
.select--role .select__btn {
  padding: 0 1rem;
}
.select__btn .placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.select__btn .flag {
  width: 20px;
  height: 15px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}
.select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select__chev {
  margin-left: auto;
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select.open .select__chev {
  transform: rotate(180deg);
}
.select__list {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: 15rem;
  overflow-y: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.85);
  padding: 0.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(40px);
  display: none;
}
.select--country .select__list {
  width: 15rem;
}
.select--role .select__list {
  width: 100%;
}
.select.open .select__list {
  display: block;
}
.select__opt {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
}
.select__opt:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.select__opt.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.select__opt .flag {
  width: 20px;
  height: 15px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}
.select__opt .code {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
}

/* Tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.tool-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}
.tool-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.tool-chip.selected {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.tool-chip__box {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}
.tool-chip.selected .tool-chip__box {
  border-color: #fff;
  background: #fff;
  color: #000;
}
.tool-chip__box svg {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
}
.tool-chip.selected .tool-chip__box svg {
  opacity: 1;
}

.fineprint {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.3);
}
.submit-btn {
  height: 3rem;
  width: 100%;
  border-radius: 0.75rem;
  border: none;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.submit-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}
.submit-btn:active {
  transform: scale(0.98);
}
.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.submit-error {
  text-align: center;
  font-size: 0.75rem;
  color: #f87171;
}

/* Success */
.success {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: success-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes success-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.success__confetti {
  pointer-events: none;
  position: absolute;
  top: -11rem;
  left: 50%;
  z-index: 0;
  height: 680px;
  width: 680px;
  transform: translateX(-50%);
}
.success__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.success__badge {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px -8px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  animation: badge-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
@keyframes badge-pop {
  from {
    transform: scale(0) rotate(-12deg);
  }
  to {
    transform: scale(1) rotate(0);
  }
}
.success__badge svg {
  width: 2rem;
  height: 2rem;
  color: #fff;
}
.success__badge svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: tick 0.5s ease-out 0.35s forwards;
}
@keyframes tick {
  to {
    stroke-dashoffset: 0;
  }
}
.success h2 {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.success__copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
.success__copy .strong {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hidden {
  display: none !important;
}
