/* SiteBot landing — v.04.
   Vanilla clone of https://sv-landing-pg.vercel.app/ (Svelte 5 startup template).
   Rebuilt from the live DOM/computed styles: shadcn zinc tokens, Inter,
   fade-in / fade-up / shimmer keyframes, floating nav, grid-pattern tiles. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter.woff2") format("woff2");
}

/* The OpenCode live editor wraps text nodes in contenteditable spans, which
   the UA stylesheet renders with `white-space: pre-wrap` — every source
   newline and indent becomes a real line. Only present while editing. */
[data-le-id] {
  white-space: normal;
}

/* Mobile browsers paint a blue overlay on tap. Kill it globally; keyboard
   focus is unaffected (that's :focus-visible, a separate ring). */
* {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --primary: 240 5.9% 10%;
  --primary-foreground: 0 0% 98%;
  --secondary: 240 4.8% 95.9%;
  --secondary-foreground: 240 5.9% 10%;
  --accent: 240 4.8% 95.9%;
  --ring: 240 10% 3.9%;
  --zinc-50: 0 0% 98%;
  /* Radius scale (brand kit) */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius: 8px; /* base alias */
  --font-sans:
    "InterVariable", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --font-mono:
    "Source Code Pro Variable", "Source Code Pro", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;
  /* Elevation (brand kit computed values) */
  --shadow-sm:
    0 1px 0 0 rgb(255 255 255 / 0.25) inset, 0 4px 6px -1px rgb(9 9 11 / 0.3),
    0 2px 4px -2px rgb(9 9 11 / 0.3);
  --shadow-md:
    0 1px 0 0 rgb(0 0 0 / 0.05) inset, 0 0 0 1px rgb(255 255 255),
    0 10px 15px -3px rgb(9 9 11 / 0.15), 0 4px 6px -4px rgb(9 9 11 / 0.15);
  --shadow-lg:
    0 1px 2px 0 rgb(9 9 11 / 0.1), 0 10px 15px -3px rgb(9 9 11 / 0.1),
    0 4px 6px -4px rgb(9 9 11 / 0.1);
}

.dark {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --card: 240 10% 3.9%;
  --card-foreground: 0 0% 98%;
  --border: 240 3.7% 15.9%;
  --input: 240 3.7% 15.9%;
  --primary: 0 0% 98%;
  --primary-foreground: 240 5.9% 10%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --accent: 240 3.7% 15.9%;
  --ring: 240 4.9% 83.9%;
  --zinc-50: 240 10% 3.9%;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.dark body,
body.dark {
  background: hsl(var(--background));
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: hsl(var(--primary) / 0.9);
  color: hsl(var(--primary-foreground));
}

/* ── Layout helpers ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.max-5xl {
  max-width: 64rem;
}
.max-6xl {
  max-width: 72rem;
}
.max-7xl {
  max-width: 80rem;
}
.max-2xl {
  max-width: 42rem;
}

/* ── Animations ─────────────────────────────────────────────────────── */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes shimmer {
  0%,
  90%,
  to {
    background-position: calc(-100% - var(--shimmer-width, 100px)) 0;
  }
  30%,
  60% {
    background-position: calc(100% + var(--shimmer-width, 100px)) 0;
  }
}
.animate-fade-in {
  opacity: 0;
  animation: 0.8s fade-in var(--d, 0s) ease forwards;
}
.animate-fade-up {
  opacity: 0;
  animation: 0.8s fade-up var(--d, 0s) ease forwards;
}
.d-75 {
  --d: 75ms;
}
.d-100 {
  --d: 0.1s;
}
.d-200 {
  --d: 0.2s;
}
.d-250 {
  --d: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  .animate-fade-up {
    opacity: 1;
    animation: none;
  }
  .shimmer-text {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transition:
    filter 0.2s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}
.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.btn-primary {
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  background: radial-gradient(
    at 52% -52%,
    hsl(var(--primary) / 0.7),
    hsl(var(--primary) / 0.95)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 4px 6px -1px rgb(9 9 11 / 0.3);
  text-shadow: 0 1px 0 hsl(var(--primary));
}
.btn-primary:hover {
  filter: brightness(1.25);
}
.btn-primary:active {
  filter: brightness(0.95);
}
.btn-secondary {
  color: hsl(var(--secondary-foreground));
  background: hsl(var(--secondary));
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.btn-secondary:hover {
  background: hsl(var(--secondary) / 0.8);
}
.btn-lg {
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
}
.btn-cta {
  height: 2.5rem;
  padding: 0 2rem;
  border-radius: var(--radius-md);
}
.btn-outline {
  border-color: rgb(212 212 216);
  background: linear-gradient(
    to top,
    hsl(var(--muted)),
    hsl(var(--background))
  );
  box-shadow: 0 1px 2px 0 rgb(9 9 11 / 0.1);
}
.btn-outline:hover {
  background: linear-gradient(to top, hsl(var(--muted)), hsl(var(--muted)));
}

/* primary button ring wrapper */
.btn-ring {
  padding: 2px;
  border: 1px solid hsl(var(--foreground) / 0.1);
  background: hsl(var(--foreground) / 0.1);
  border-radius: var(--radius-lg);
  display: inline-flex;
}

/* ── Header / nav ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  width: 100%;
  padding-inline: 0.5rem;
}
.nav-inner {
  max-width: 72rem;
  margin: 0.5rem auto 0;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}
.site-header.scrolled .nav-inner,
.site-header.menu-open .nav-inner {
  background: hsl(var(--background) / 0.75);
  border-color: hsl(var(--border));
  box-shadow: 0 8px 24px -12px rgb(9 9 11 / 0.25);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}
/* The dropdown is its own opaque surface: the pill's translucent background
   let the page show through the open menu. */
.menu-open .nav-mobile {
  background: hsl(var(--background));
}
.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo svg {
  width: 1.5rem;
  height: 1.5rem;
}
.nav-links {
  position: absolute;
  inset: 0;
  margin: auto;
  display: none;
  width: fit-content;
  height: fit-content;
}
.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}
.nav-links a {
  color: hsl(var(--muted-foreground));
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: hsl(var(--accent-foreground, var(--foreground)));
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-link-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease;
}
.nav-link-btn:hover {
  background: hsl(var(--muted));
}
.menu-btn {
  display: inline-grid;
  place-items: center;
  padding: 0.5rem;
  margin-right: -0.5rem;
  border-radius: var(--radius-md);
}
.menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}
.menu-btn .i-close {
  display: none;
}
.menu-open .menu-btn .i-menu {
  display: none;
}
.menu-open .menu-btn .i-close {
  display: block;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid hsl(var(--border));
}
.menu-open .nav-mobile {
  display: flex;
}
.nav-mobile a {
  padding: 0.5rem 0.5rem;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  border-radius: var(--radius-md);
}
.nav-mobile a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}
.nav-mobile .btn {
  margin-top: 0.25rem;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 6rem 0 0;
  text-align: center;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 9rem;
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    125% 125% at 50% 100%,
    transparent 0%,
    hsl(var(--background)) 75%
  );
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40rem;
  height: 80rem;
  z-index: -1;
  transform: translateY(-45%) rotate(-45deg);
  border-radius: 9999px;
  background: radial-gradient(
    68.54% 68.72% at 55.02% 31.46%,
    hsla(0, 0%, 85%, 0.14) 0,
    hsla(0, 0%, 55%, 0.04) 50%,
    hsla(0, 0%, 45%, 0) 80%
  );
  pointer-events: none;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin: 0 auto;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: hsl(var(--muted));
  box-shadow: 0 4px 6px -1px rgb(9 9 11 / 0.05);
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 auto;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0c0a09;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 999px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cv-flag {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  flex: none;
}
.shimmer-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  background-image: linear-gradient(
    to right,
    transparent,
    hsl(0 0% 0% / 0.9) 50%,
    transparent
  );
  background-size: var(--shimmer-width, 100px) 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 8s infinite;
}
.badge .arrow {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: hsl(var(--background));
  transition: background-color 0.3s ease;
}
.badge:hover .arrow {
  background: hsl(var(--muted));
}
.badge .arrow svg {
  width: 0.75rem;
  height: 0.75rem;
}
.hero h1 {
  margin: 1.5rem auto 0;
  max-width: 22ch;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
  background-image: linear-gradient(
    to bottom,
    hsl(0 0% 3.9%) 20%,
    hsl(0 0% 32%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dark .hero h1 {
  background-image: linear-gradient(
    to bottom,
    hsl(0 0% 100%) 20%,
    hsl(0 0% 40%)
  );
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 72px;
    line-height: 72px;
  }
}
.hero .sub {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: hsl(var(--muted-foreground));
  text-wrap: pretty;
}
.hero .actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero .frame {
  position: relative;
  margin: 5rem auto 0;
  max-width: 72rem;
  padding-inline: 0.5rem;
}
.hero .frame-inner {
  position: relative;
  margin: 0 auto;
  max-width: 72rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  background: hsl(var(--background));
  box-shadow: var(--shadow-lg);
}
.hero .frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border: 1px solid hsl(var(--border) / 0.25);
  border-radius: var(--radius-2xl);
}
/* ── Logos ──────────────────────────────────────────────────────────── */
.logos {
  padding: 4rem 0 8rem;
}
/* --- Marquee (logo carousel) — cloned from src/sobre-nos --- */
.logos .supported-block {
  margin: 0 auto;
  max-width: 64rem;
  position: relative;
}
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 0.4rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.info-btn:hover,
.info-btn[aria-expanded="true"] {
  color: #0070f3;
  border-color: #0070f3;
  background: rgba(0, 112, 243, 0.06);
}
.info-popover {
  position: absolute;
  top: 3rem;
  left: 50%;
  z-index: 10;
  max-width: min(22rem, calc(100% - 2rem));
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.12) 0 8px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}
.info-popover[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
@media (min-width: 768px) {
  .info-popover {
    max-width: 24rem;
  }
}
.marquee-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  text-align: center;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.25rem 2.5rem 0.25rem 0;
}
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.5rem;
  height: 3.25rem;
  flex-shrink: 0;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
}
.marquee-item img {
  max-width: 78%;
  max-height: 62%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.marquee-item:hover img {
  opacity: 1;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
  }
}

/* ── Section header ─────────────────────────────────────────────────── */
.section {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}
.section-tight {
  padding: 4rem 0 2rem;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
.sec-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.sec-head h2 {
  max-width: 20rem;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
@media (min-width: 640px) {
  .sec-head h2 {
    max-width: none;
  }
}
.sec-head p {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* ── Problem ────────────────────────────────────────────────────────── */
.problem-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.problem-grid .icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}
.problem-grid .icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.problem-grid h3 {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.problem-grid p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}

/* ── Features ───────────────────────────────────────────────────────── */
.features-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: hsl(var(--muted) / 0.6);
  min-height: 25rem;
}
.feature-card.wide {
  grid-column: span 2;
  min-height: 0;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.feature-card p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 34rem;
}
.feature-card img {
  display: block;
  width: 100%;
  max-height: 16rem;
  margin-top: 1rem;
  margin-bottom: -8rem;
  user-select: none;
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}
.feature-card:hover img {
  transform: translateY(-10px);
}
.feature-card.wide img {
  max-height: 20rem;
  margin-bottom: -10rem;
}

/* ── Built to cover your needs ──────────────────────────────────────── */
.built {
  background: hsl(var(--zinc-50));
  padding: 8rem 0;
}
.built .sec-head p {
  font-size: 1rem;
}
.built-card {
  margin: 4rem auto 0;
  max-width: 64rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  background: hsl(var(--card));
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.built-cell {
  padding: 2.5rem 2rem;
  text-align: center;
}
.built-cell + .built-cell {
  border-left: 1px solid hsl(var(--border));
}
.built-tile {
  position: relative;
  width: 9rem;
  height: 9rem;
  margin: 0 auto;
  --tile-border: hsl(0 0% 39% / 0.1);
}
.built-tile .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--tile-border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--tile-border) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #fff, transparent);
  mask-image: linear-gradient(to bottom, #fff, transparent);
}
.built-tile .fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(transparent, hsl(var(--card)) 75%);
}
.built-tile .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  border-left: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.built-tile .icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.built-cell:hover .built-tile {
  --tile-border: hsl(0 0% 39% / 0.2);
}
.built-cell h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
}
.built-cell p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* ── Testimonials ───────────────────────────────────────────────────── */
.tst-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.tst-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tst-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  background: hsl(var(--card));
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgb(9 9 11 / 0.05);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.tst-card:hover {
  background: hsl(var(--secondary));
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}
.tst-card .top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}
.tst-card h3 {
  font-size: 1rem;
  font-weight: 500;
}
.tst-card .role {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: hsl(var(--muted-foreground));
}
.tst-card blockquote {
  margin: 0.75rem 0 0;
}
.tst-card blockquote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.8);
}

/* ── Pricing (heading only in the source) ───────────────────────────── */
.pricing h2 {
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.pricing p {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-list {
  margin: 3rem auto 0;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  background: hsl(var(--card));
  overflow: hidden;
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.15s ease;
}
.faq-q:hover {
  text-decoration: underline;
}
.faq-q svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
  padding: 0 1rem;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
  min-height: 0;
}
.faq-a p {
  padding: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}

/* ── Final CTA ──────────────────────────────────────────────────────── */
.cta {
  padding: 1.5rem 1rem;
}
.cta-card {
  margin: 0 auto;
  max-width: 64rem;
  padding: 3rem 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  overflow: hidden;
  text-align: center;
}
.cta-card h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.cta-card p {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}
.cta-card .actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Floating "Buy Now" pill ────────────────────────────────────────── */
.buy-pill {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
}
.buy-pill a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary));
  background: radial-gradient(
    at 52% -52%,
    hsl(var(--primary) / 0.7),
    hsl(var(--primary) / 0.95)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 4px 6px -1px rgb(9 9 11 / 0.3);
  transition: filter 0.2s ease;
}
.buy-pill a:hover {
  filter: brightness(1.25);
}
.buy-pill svg {
  width: 1rem;
  height: 1rem;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .nav-links {
    display: block;
  }
  .menu-btn {
    display: none;
  }
  .nav-inner {
    padding: 0 3rem;
  }
  .nav-row {
    padding: 1rem 0;
  }
}

@media (min-width: 640px) {
  .cta-card {
    padding: 5rem 1.5rem;
  }
  .tst-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tst-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .feature-card.wide {
    grid-column: auto;
    min-height: 0;
  }
  .feature-card img {
    max-height: 14rem;
    margin-bottom: -6rem;
  }
  .built-card {
    grid-template-columns: 1fr;
  }
  .built-cell + .built-cell {
    border-left: 0;
    border-top: 1px solid hsl(var(--border));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .tst-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  html:not(.light) {
    color-scheme: dark;
  }
}

/* ── Integrations: "coming soon" cover ─────────────────────────────── */
#integrations .card {
  position: relative;
}
#integrations .soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    radial-gradient(
      120% 120% at 15% 0%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(150deg, #d9d9de 0%, #e9e9ec 45%, #f7f7f8 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.28),
    0 0 10px rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

/* ── Live-edit: keep effects while text is wrapped for editing ─────── */
.__le-on .badge,
.__le-on .actions a.btn {
  pointer-events: none;
}
.__le-on .badge [data-le-id],
.__le-on .actions a.btn [data-le-id] {
  pointer-events: auto;
  cursor: text;
}
.__le-on .shimmer-text > [data-le-id] {
  background-image: inherit !important;
  background-size: inherit;
  background-repeat: no-repeat;
  animation: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── Footer (blocks-js: Footer AI Solutions) ─────────────────────────── */
@font-face {
  font-family: "Geist Pixel";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/geist-pixel-400.woff2") format("woff2");
}

.footer {
  --footer-foreground: #0a0a0a;
  --footer-primary: #171717;
  --footer-muted: #737373;
  --footer-slate-900: #0f172a;
  --footer-badge: #f6f7f8;
  padding-block-start: 4rem;
  color: var(--footer-foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
.footer h2,
.footer h3,
.footer p,
.footer ul {
  margin: 0;
  padding: 0;
}
.footer ul {
  list-style: none;
}
.footer img {
  display: block;
  max-width: 100%;
  height: auto;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:focus-visible {
  outline: 2px solid var(--footer-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer__container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 2rem;
}
@media (min-width: 640px) {
  .footer__container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .footer__container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .footer__container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .footer__container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .footer__container {
    max-width: 1536px;
  }
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-block: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.5rem;
}
.footer__brand-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.5rem;
  background: var(--footer-badge);
  border-radius: 0.75rem;
  flex: none;
}
.footer__brand-name {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--footer-slate-900);
  line-height: 1.4286;
  white-space: nowrap;
}
.footer__nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.footer__col {
  min-width: 120px;
}
.footer__col-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4286;
}
.footer__links {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.4286;
}
.footer__links > li + li {
  margin-top: 0.75rem;
}
.footer__links a {
  transition: color 150ms ease;
}
.footer__links li:hover a {
  color: var(--footer-primary);
}
.footer__panorama {
  width: 100%;
}
.footer__panorama img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
}
@media (min-width: 640px) {
  .footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .footer {
    padding-block-start: 6rem;
  }
  .footer__top {
    flex-direction: row;
  }
  .footer__nav {
    display: flex;
    width: auto;
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .footer {
    padding-block-start: 8rem;
  }
  .footer__top {
    padding-block: 2rem;
  }
  .footer__nav {
    gap: 4rem;
  }
}
@media (max-width: 335px) {
  .footer__col {
    min-width: 0;
  }
}
