:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --pink: #e11d74;
  --cyan: #0891b2;
  --yellow: #ca8a04;
  --purple: #7c3aed;
  --orange: #ea580c;
  --lime: #65a30d;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.08);
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.noise--light {
  opacity: 0.022;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.top-bar--saas {
  display: grid;
  grid-template-areas:
    "logo aside"
    "nav nav";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem 1rem;
  row-gap: 0.75rem;
}

.top-bar--saas .logo {
  grid-area: logo;
  justify-self: start;
}

.top-bar--saas .nav--saas {
  grid-area: nav;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}

.top-bar--saas .top-bar__aside {
  grid-area: aside;
  justify-self: end;
}

.top-bar__cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar__aside {
  min-width: 0;
  max-width: 17rem;
}

.top-bar__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  margin: 0;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #64748b;
  text-align: right;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.top-bar__meta-line {
  display: block;
}

.top-bar__meta-line:first-child {
  font-style: italic;
  color: #64748b;
}

.top-bar__meta-line:last-child {
  font-weight: 600;
  font-style: normal;
  color: #475569;
  letter-spacing: 0.01em;
}

@media (min-width: 1025px) {
  .top-bar--saas {
    grid-template-areas: "logo nav aside";
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 0;
    column-gap: clamp(1rem, 2.5vw, 2rem);
  }

  .top-bar--saas .nav--saas {
    justify-content: center;
    justify-self: center;
    width: auto;
    max-width: 40rem;
  }

  .top-bar__aside {
    max-width: 15.5rem;
  }
}

.logo {
  font-family: "Bungee", cursive;
  font-size: 1.35rem;
  text-decoration: none;
  background: linear-gradient(135deg, #ca8a04, #e11d74, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.logo--saas {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a, #334155);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.85rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 8px;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.nav--saas {
  justify-content: center;
  flex: 1;
  gap: 0.5rem 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}

.nav a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .top-bar--saas .nav--saas {
    justify-content: flex-start;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
  }

  .top-bar__aside {
    max-width: min(17rem, 72vw);
  }

  .top-bar__meta {
    font-size: 0.68rem;
    padding: 0.35rem 0.55rem;
  }

  .top-bar__cta {
    margin-left: auto;
  }
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -30%, rgba(37, 99, 235, 0.18), transparent),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(124, 58, 237, 0.12), transparent),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(8, 145, 178, 0.1), transparent),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero--saas {
  align-items: center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.hero__blob--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: #6366f1;
  top: 5%;
  left: -8%;
  animation-delay: 0s;
}

.hero__blob--2 {
  width: min(360px, 60vw);
  height: min(360px, 60vw);
  background: #ec4899;
  bottom: 15%;
  right: -8%;
  animation-delay: -3s;
}

.hero__blob--3 {
  width: min(280px, 45vw);
  height: min(280px, 45vw);
  background: #22d3ee;
  top: 35%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -25px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 15px) scale(0.98);
  }
}

.hero__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
  background: #e0e7ff;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;
}

.hero__badge--saas {
  font-family: "Inter", system-ui, sans-serif;
}

.hero__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-inline: auto;
  color: var(--text);
}

.hero__title--saas {
  max-width: 22ch;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  background: linear-gradient(105deg, #2563eb, #7c3aed, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  position: relative;
  z-index: 1;
  margin: 1.35rem auto 0.5rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
  max-width: 36ch;
}

.hero__sub {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero__footnote {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Hero “chaos” layer: mesh, extra blob, values chips, team hype */
.hero--chaos {
  padding-inline: clamp(1.5rem, 9vw, 5.5rem);
  background:
    radial-gradient(ellipse 80% 50% at 18% 8%, rgba(236, 72, 153, 0.16), transparent),
    radial-gradient(ellipse 72% 48% at 85% 18%, rgba(99, 102, 241, 0.22), transparent),
    radial-gradient(ellipse 55% 38% at 50% 95%, rgba(34, 211, 238, 0.12), transparent),
    radial-gradient(ellipse 90% 60% at 50% -30%, rgba(37, 99, 235, 0.18), transparent),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero--chaos .hero__inner {
  max-width: min(52rem, 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.09) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.65;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 32%, #000 18%, transparent 72%);
}

.hero__blob--4 {
  width: min(260px, 42vw);
  height: min(260px, 42vw);
  background: #f472b6;
  bottom: -6%;
  left: 12%;
  animation-delay: -2s;
  opacity: 0.3;
}

.hero__badge--chaos {
  background: linear-gradient(135deg, #eef2ff 0%, #fce7f3 100%);
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 10px 28px rgba(99, 102, 241, 0.14);
  animation: hero-badge-hue 5s ease-in-out infinite;
}

@keyframes hero-badge-hue {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(10deg);
  }
}

.hero__title--chaos {
  max-width: 24ch;
}

.hero__line--glow {
  animation: hero-accent-glow 5s ease-in-out infinite;
}

@keyframes hero-accent-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 34px rgba(219, 39, 119, 0.42));
  }
}

.hero__team-hype {
  position: relative;
  z-index: 1;
  margin: 1.65rem auto 0;
  max-width: 36rem;
  font-family: "Outfit", "Inter", system-ui, sans-serif;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #312e81;
}

.hero__team-hype__spark {
  display: inline-block;
  color: #6366f1;
  font-size: 0.9em;
  vertical-align: middle;
  animation: hero-spark 2.4s ease-in-out infinite;
}

.hero__team-hype__spark:last-child {
  animation-delay: -1.1s;
}

@keyframes hero-spark {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.12) rotate(12deg);
  }
}

.hero__values {
  position: relative;
  z-index: 1;
  margin: 1.85rem auto 0;
  padding: 1.2rem 1.2rem 1.45rem;
  max-width: 46rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px -22px rgba(79, 70, 229, 0.28);
}

.hero__values-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4f46e5;
}

.hero__values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__value-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.72rem 0.82rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero__value-chip:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: 0 14px 28px rgba(99, 102, 241, 0.14);
}

.hero__value-emoji {
  font-size: 1.3rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.hero__value-copy {
  font-size: 0.84rem;
  line-height: 1.42;
  color: #1e293b;
}

.hero__value-copy strong {
  font-weight: 700;
  color: #0f172a;
}

.hero__value-chip--1 {
  border-color: rgba(239, 68, 68, 0.28);
  background: linear-gradient(155deg, #fff1f2 0%, #ffffff 100%);
}

.hero__value-chip--2 {
  border-color: rgba(234, 179, 8, 0.32);
  background: linear-gradient(155deg, #fffbeb 0%, #ffffff 100%);
}

.hero__value-chip--3 {
  border-color: rgba(59, 130, 246, 0.32);
  background: linear-gradient(155deg, #eff6ff 0%, #ffffff 100%);
}

.hero__value-chip--4 {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(155deg, #faf5ff 0%, #ffffff 100%);
}

.hero__values-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
  border-bottom: 2px solid rgba(79, 70, 229, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero__values-more:hover {
  color: #7c3aed;
  border-bottom-color: rgba(124, 58, 237, 0.55);
}

@media (max-width: 520px) {
  .hero__values-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge--chaos,
  .hero__line--glow,
  .hero__team-hype__spark {
    animation: none !important;
  }

  .hero__blob {
    animation: none !important;
  }

  .hero__value-chip {
    transition: none;
  }

  .hero__value-chip:hover {
    transform: none;
  }
}

.sv-stack {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  scroll-margin-top: 5rem;
}

.sv-trust {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.sv-trust__label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sv-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 1.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.sv-logo--nasa {
  font-family: "Inter", system-ui, sans-serif;
  color: #0f172a;
  background: linear-gradient(180deg, #fff, #f1f5f9);
}

.sv-logo--google {
  font-family: "Inter", system-ui, sans-serif;
  color: #4285f4;
  background: #fff;
}

.sv-logo--mom {
  font-family: "Syne", sans-serif;
  color: #be185d;
  background: linear-gradient(135deg, #fce7f3, #fff);
  border-color: #fbcfe8;
}

.sv-traction {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 1rem 0 0;
}

.sv-traction__card {
  padding: 1.35rem 1.25rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sv-traction__card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .sv-traction__card--wide {
    grid-column: span 1;
  }
}

.sv-traction__k {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sv-traction__v {
  margin: 0.35rem 0 0;
  font-family: "Syne", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.sv-traction__v--sm {
  font-size: 1.35rem;
  line-height: 1.25;
}

.sv-traction__hint {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.sv-dashboard {
  width: 100%;
  margin: 1rem 0 0;
  padding: 1.5rem 1.25rem 1.75rem;
  scroll-margin-top: 5rem;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  color: #e2e8f0;
  text-align: left;
}

.sv-dashboard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sv-dashboard__title {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
}

.sv-dashboard__pill {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.sv-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.sv-stat {
  padding: 1.1rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-stat--wide {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .sv-stat--wide {
    grid-column: span 1;
  }

  .sv-dashboard__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sv-stat__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sv-stat__name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sv-stat__delta {
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  color: #64748b;
}

.sv-stat__delta--up {
  color: #4ade80;
}

.sv-stat__delta--down {
  color: #fb923c;
}

.sv-stat__delta--inf {
  color: #a78bfa;
}

.sv-stat__num {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f8fafc;
}

.sv-stat__infinity {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.sv-stat__bar {
  margin-top: 0.65rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sv-stat__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.sv-stat__fill--max {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.sv-stat__fill--low {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.sv-stat__joke {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.vision__note {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--saas-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn--saas-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn--saas-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn--saas-ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.btn--text {
  color: var(--muted);
  background: transparent;
  padding: 0.5rem 0.65rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn--text:hover {
  color: var(--text);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #e11d74, #ea580c);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(225, 29, 116, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.btn--ghost:hover {
  border-color: #cbd5e1;
}

.btn--full {
  width: 100%;
  margin-top: 1rem;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}

.section--saas {
  background: var(--surface);
}

.section--saas-alt {
  background: var(--surface-2);
}

.section__head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--team {
  background: var(--surface);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card--pink {
  background: linear-gradient(160deg, rgba(225, 29, 116, 0.08), #fff);
  border-color: rgba(225, 29, 116, 0.2);
}

.card--cyan {
  background: linear-gradient(160deg, rgba(8, 145, 178, 0.08), #fff);
  border-color: rgba(8, 145, 178, 0.2);
}

.card--gold {
  background: linear-gradient(160deg, rgba(202, 138, 4, 0.1), #fff);
  border-color: rgba(202, 138, 4, 0.25);
}

.card--featured {
  grid-column: 1 / -1;
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .card--featured {
    grid-column: auto;
  }
}

.card--ai.card--featured,
.card--team-emotions.card--featured,
.card--ahmet.card--featured {
  max-width: min(960px, 100%);
  width: 100%;
  grid-column: 1 / -1;
}

.card--team-emotions .card__ai-video {
  border-color: rgba(225, 29, 116, 0.45);
}

.card--ahmet .card__ai-video {
  border-color: rgba(8, 145, 178, 0.5);
}

.card--team-emotions .card__ai-titles h3,
.card--ahmet .card__ai-titles h3 {
  margin: 0;
}

.card__ai-layout {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}

@media (min-width: 768px) {
  .card__ai-layout {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
    gap: 1.5rem;
  }

  /* Video on the left, copy on the right (opposite of Team emotions / AI) */
  .card__ai-layout--reverse {
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  }
}

.card__ai-intro {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card__ai-intro .card__emoji {
  margin-bottom: 0;
  flex-shrink: 0;
}

.card--ai .card__ai-titles h3 {
  margin: 0 0 0.35rem;
}

.card--ai .card__ai-titles .card__role {
  margin: 0;
}

.card__ai-present {
  margin: 0;
}

.card__ai-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 2px solid rgba(202, 138, 4, 0.45);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  background: #0f172a;
}

.card__ai-present-cap {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #94a3b8;
}

.card__ribbon {
  position: absolute;
  top: 1rem;
  right: -2.5rem;
  padding: 0.35rem 3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f172a;
  background: #bef264;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card__emoji {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.card h3 {
  margin: 0 0 1rem;
  font-family: "Bungee", cursive;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.card__role {
  margin: -0.5rem 0 1rem;
  font-weight: 700;
  color: #b45309;
}

.card__blurb {
  margin: 0;
  color: var(--muted);
}

.card__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.card__list li {
  margin-bottom: 0.5rem;
}

.card__list li::marker {
  color: #e11d74;
}

.card--cyan .card__list li::marker {
  color: #0891b2;
}

.card--gold .card__list li::marker {
  color: #ca8a04;
}

.spoiler {
  cursor: help;
  border-bottom: 1px dashed #0891b2;
}

.section--projects-riot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 10% 20%, rgba(236, 72, 153, 0.2), transparent 45%),
    radial-gradient(ellipse 80% 60% at 90% 60%, rgba(34, 211, 238, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(250, 204, 21, 0.15), transparent 55%),
    linear-gradient(165deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
  color: #f8fafc;
}

.section--projects-riot .section__head h2 {
  font-family: "Bungee", cursive;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #f472b6, #a78bfa, #22d3ee, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__head--riot p {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1.05rem;
}

.projects-riot {
  display: grid;
  gap: 1.75rem;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: clamp(0.25rem, 1vw, 0.5rem);
}

.project-riot {
  position: relative;
  padding: 1.5rem 1.5rem 1.65rem;
  border-radius: 18px;
  border: 4px solid;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  color: #0f172a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 4px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-riot:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 6px 0 rgba(0, 0, 0, 0.12);
}

.project-riot:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.project-riot:nth-child(even) {
  transform: rotate(0.7deg);
}

.project-riot:nth-child(odd):hover {
  transform: translateY(-4px) rotate(-0.4deg) scale(1.01);
}

.project-riot:nth-child(even):hover {
  transform: translateY(-4px) rotate(0.35deg) scale(1.01);
}

.project-riot--lovediary {
  border-color: #ec4899;
  background: linear-gradient(145deg, #fce7f3 0%, #fbcfe8 30%, #fdf2f8 70%, #fff 100%);
}

.project-riot--fresh {
  border-color: #06b6d4;
  background: linear-gradient(145deg, #ecfeff 0%, #cffafe 35%, #f0fdfa 100%);
}

.project-riot--capy {
  border-color: #f97316;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 40%, #fef3c7 100%);
}

.project-riot--survive {
  border-color: #65a30d;
  background: linear-gradient(145deg, #ecfccb 0%, #d9f99d 25%, #f7fee7 100%);
}

.project-riot--plants {
  border-color: #22c55e;
  background: linear-gradient(145deg, #dcfce7 0%, #bbf7d0 35%, #f0fdf4 100%);
}

.project-riot__head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.75rem;
  margin-bottom: 1rem;
  align-items: start;
}

.project-riot__emoji {
  grid-row: 1 / -1;
  font-size: 2.25rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.project-riot__title {
  grid-column: 2;
  margin: 0;
  font-family: "Bungee", cursive;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.project-riot__hook {
  grid-column: 2;
  margin: 0.35rem 0 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #be185d;
}

.project-riot--fresh .project-riot__hook {
  color: #0e7490;
}

.project-riot--capy .project-riot__hook {
  color: #c2410c;
}

.project-riot--survive .project-riot__hook {
  color: #3f6212;
}

.project-riot--plants .project-riot__hook {
  color: #15803d;
}

.project-riot p {
  margin: 0 0 0.85rem;
  color: #1e293b;
}

.project-riot p:last-child {
  margin-bottom: 0;
}

.project-riot q {
  display: inline;
  font-style: italic;
  font-weight: 700;
  color: #b45309;
}

.project-riot__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  list-style: none;
  border-radius: 12px;
  background: rgba(236, 72, 153, 0.15);
  border: 2px dashed #db2777;
}

.project-riot__tags li {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9d174d;
}

.project-riot__tags strong {
  font-family: "Bungee", cursive;
  font-size: 0.95rem;
  font-weight: 400;
  color: #be123c;
}

.project-riot__warn {
  margin-top: 0.5rem !important;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.2);
  border-left: 4px solid #0891b2;
  font-weight: 700;
  color: #0c4a6e !important;
}

.project-riot__status {
  font-weight: 700;
  color: #365314 !important;
  padding: 0.5rem 0.75rem;
  background: rgba(101, 163, 13, 0.2);
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .project-riot,
  .project-riot:hover,
  .project-riot:nth-child(odd),
  .project-riot:nth-child(even) {
    transform: none;
  }

  .project-riot:hover {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.35) inset,
      0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

.section--values {
  background: var(--surface);
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
}

.values li {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 4px solid #ea580c;
  animation: wiggle 6s ease-in-out infinite;
}

.values li:nth-child(2) {
  border-left-color: #0891b2;
  animation-delay: -1.5s;
}

.values li:nth-child(3) {
  border-left-color: #e11d74;
  animation-delay: -3s;
}

.values li:nth-child(4) {
  border-left-color: #65a30d;
  animation-delay: -4.5s;
}

.values span {
  color: #b45309;
}

@keyframes wiggle {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.section--vision {
  position: relative;
  scroll-margin-top: 5rem;
  padding-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 50%, rgba(125, 211, 252, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(253, 224, 71, 0.12), transparent 45%),
    linear-gradient(180deg, #f0f9ff 0%, #ecfeff 35%, #f8fafc 100%);
}

.vision-shell {
  position: relative;
  z-index: 1;
  max-width: min(980px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 1.85rem);
}

.vision-shell__bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.46;
  pointer-events: none;
  z-index: 0;
}

.vision-shell__bloom--a {
  width: min(320px, 58vw);
  height: min(320px, 58vw);
  top: -7%;
  left: -11%;
  background: #38bdf8;
  animation: vision-bloom-drift 18s ease-in-out infinite;
}

.vision-shell__bloom--b {
  width: min(270px, 50vw);
  height: min(270px, 50vw);
  bottom: -5%;
  right: -7%;
  background: #a78bfa;
  animation: vision-bloom-drift 22s ease-in-out infinite reverse;
}

.vision-shell__bloom--c {
  width: min(220px, 42vw);
  height: min(220px, 42vw);
  top: 41%;
  right: 4%;
  background: #fde047;
  opacity: 0.32;
  animation: vision-bloom-drift 14s ease-in-out infinite;
}

@keyframes vision-bloom-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -22px) scale(1.06);
  }
}

.vision-shell__bird {
  position: absolute;
  z-index: 2;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  opacity: 0.42;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.12));
  pointer-events: none;
  animation: vision-bird 7s ease-in-out infinite;
}

.vision-shell__bird--1 {
  top: 6%;
  right: 8%;
  animation-delay: 0s;
}

.vision-shell__bird--2 {
  top: 38%;
  left: 4%;
  animation-delay: -2.2s;
  font-size: clamp(0.88rem, 2.1vw, 1.15rem);
}

.vision-shell__bird--3 {
  bottom: 12%;
  right: 18%;
  animation-delay: -4s;
  font-size: clamp(0.82rem, 1.9vw, 1.05rem);
}

@keyframes vision-bird {
  0%,
  100% {
    transform: translate(0, 0) rotate(-6deg);
  }
  50% {
    transform: translate(-12px, 8px) rotate(6deg);
  }
}

.vision-feature {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.35rem, 3.5vw, 2rem);
  align-items: center;
}

@media (min-width: 900px) {
  .vision-feature {
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
    align-items: start;
  }
}

.vision-feature__figure {
  margin: 0;
  max-width: min(400px, 90vw);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .vision-feature__figure {
    max-width: 400px;
    margin-inline: 0;
  }
}

.vision-feature__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 18px 40px rgba(8, 145, 178, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transform: translateZ(0);
  animation: vision-frame-float 10s ease-in-out infinite;
}

@keyframes vision-frame-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(0.3deg);
  }
}

.vision-feature__img {
  display: block;
  width: 100%;
  height: auto;
}

.vision-feature__sheen {
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 58%
  );
  animation: vision-sheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes vision-sheen {
  0%,
  100% {
    transform: translateX(-12%) rotate(8deg);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%) rotate(8deg);
    opacity: 0.55;
  }
}

.vision-feature__caption {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  font-style: italic;
  font-family: "Fraunces", Georgia, serif;
  color: #64748b;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.company__vision {
  position: relative;
  max-width: 38rem;
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 2.8vw, 1.65rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.32);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, #faf8f4 38%, #f0f9ff 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-blend-mode: normal;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 16px 42px rgba(15, 23, 42, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  overflow: hidden;
}

.company__vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #a78bfa, #fbbf24, #38bdf8);
  background-size: 200% 100%;
  animation: vision-border-shimmer 8s linear infinite;
}

@keyframes vision-border-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.company__vision::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 64px rgba(56, 189, 248, 0.055);
}

.company__vision__kicker {
  margin: 0 0 0.45rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0e7490;
}

.company__vision h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.28rem, 2.85vw, 1.62rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
  background: linear-gradient(120deg, #0c4a6e 0%, #2563eb 42%, #7c3aed 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 24px rgba(37, 99, 235, 0.1);
}

.company__vision__lede {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
  color: #475569;
  letter-spacing: 0;
}

.company__vision__body {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
  color: #475569;
}

.company__vision__aside {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  color: #5b21b6;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(14, 165, 233, 0.05));
  border-left: 3px solid #a78bfa;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.company__vision__closing {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(8, 145, 178, 0.35);
  font-size: 0.98rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.58;
  color: #334155;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: no-preference) {
  .section--vision.vision--in-view .company__vision__kicker,
  .section--vision.vision--in-view .company__vision h3,
  .section--vision.vision--in-view .company__vision p:not(.company__vision__kicker) {
    animation: vision-line-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .section--vision.vision--in-view .company__vision__kicker {
    animation-delay: 0.05s;
  }

  .section--vision.vision--in-view .company__vision h3 {
    animation-delay: 0.12s;
  }

  .section--vision.vision--in-view .company__vision p:not(.company__vision__kicker):nth-of-type(2) {
    animation-delay: 0.2s;
  }

  .section--vision.vision--in-view .company__vision p:not(.company__vision__kicker):nth-of-type(3) {
    animation-delay: 0.28s;
  }

  .section--vision.vision--in-view .company__vision p:not(.company__vision__kicker):nth-of-type(4) {
    animation-delay: 0.36s;
  }

  .section--vision.vision--in-view .company__vision p:not(.company__vision__kicker):nth-of-type(5) {
    animation-delay: 0.44s;
  }

  .section--vision.vision--in-view .company__vision p:not(.company__vision__kicker):nth-of-type(6) {
    animation-delay: 0.52s;
  }
}

@keyframes vision-line-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vision-shell__bloom,
  .vision-shell__bird,
  .vision-feature__frame,
  .vision-feature__sheen,
  .company__vision::before {
    animation: none !important;
  }

  .vision-feature__img {
    transform: none !important;
  }
}

/* One continuous band: Vision → dark footer (bridge + slate + ink) */
.site-endcap {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 110% 85% at 50% -8%, rgba(99, 102, 241, 0.2), transparent 46%),
    radial-gradient(ellipse 85% 65% at 100% 22%, rgba(236, 72, 153, 0.09), transparent 52%),
    linear-gradient(
      180deg,
      #eef2f7 0%,
      #cbd5e1 9%,
      #94a3b8 20%,
      #64748b 34%,
      #475569 46%,
      #334155 58%,
      #1e293b 72%,
      #0f172a 86%,
      #020617 100%
    );
}

.section--careers {
  padding-inline: 0;
  background: transparent;
  border-top: none;
}

/* Tight top under Vision; extra air after job carousel (careers → contacts → footer) */
.site-endcap #careers.section--careers {
  padding-top: clamp(0.35rem, 1.25vw, 0.85rem);
  padding-bottom: clamp(3.75rem, 9vw, 7rem);
  padding-left: 0;
  padding-right: 0;
}

/* Head sits on the light top of the gradient — light gray text disappears; use dark ink */
.site-endcap .section--careers .section__head h2 {
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-endcap .section--careers .section__head p {
  margin-top: 0.35rem;
  color: #1e293b;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.45;
}

/* .site-endcap .section--careers .section__head {
  margin-bottom: 1.1rem;
} */

.section--careers .section__head {
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.site-endcap .job {
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(15, 23, 42, 0.06) inset;
}

.jobs-slider {
  display: block;
}

/* Edge-to-edge track (break out of section padding) */
.jobs-slider--fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.jobs-slider__viewport {
  width: 100%;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scroll-padding-inline: clamp(1.5rem, 6vw, 4rem);
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  outline: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jobs-slider__viewport::-webkit-scrollbar {
  display: none;
}

.jobs-slider__viewport:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brand);
}

.jobs-list--horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
  margin: 0;
  padding: 0.5rem clamp(1.5rem, 6vw, 4rem) 0.25rem;
  max-width: none;
  width: max-content;
}

.job {
  flex: 0 0 min(640px, calc(100vw - clamp(3rem, 12vw, 8rem)));
  max-width: min(640px, calc(100vw - clamp(3rem, 12vw, 8rem)));
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.925rem;
  line-height: 1.45;
}

.job__title {
  margin: 0 0 0.85rem;
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0891b2;
}

.job__block {
  margin-bottom: 0.95rem;
}

.job__block:last-of-type,
.job__block.job__block--quiz {
  margin-bottom: 0;
}

.job__block h4 {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e11d74;
}

.job__block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.job__block li {
  margin-bottom: 0.28rem;
}

.job__block li:last-child {
  margin-bottom: 0;
}

.job__block--quiz {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #cbd5e1;
}

.quiz {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.quiz li {
  margin-bottom: 0.4rem;
}

.quiz li:last-child {
  margin-bottom: 0;
}

.section--careers .job .btn--full {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-size: 0.88rem;
}

/* Card overlaps footer strip; section is transparent — gradient comes from .site-endcap */
.contacts {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.25rem, 5vw, 3.5rem);
  scroll-margin-top: 5.5rem;
  border-top: none;
  background: transparent;
}

.contacts__inner {
  max-width: min(640px, 100%);
  margin: 0 auto;
  margin-bottom: clamp(-1.5rem, -2.5vw, -2.25rem);
  padding: 0.15rem 0 0.35rem;
}

.contacts__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  font-family: "Syne", "Outfit", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(105deg, #93c5fd, #c4b5fd 40%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
}

.contacts__heading-mark {
  display: inline-block;
  font-size: 0.85em;
  animation: contacts-bolt 2.4s ease-in-out infinite;
}

.contacts__heading-mark:last-child {
  animation-delay: -1.1s;
}

@keyframes contacts-bolt {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.12);
  }
}

.contacts__frame {
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(125deg, #6366f1, #c026d3 38%, #f97316 72%, #22d3ee);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 60px rgba(99, 102, 241, 0.2);
}

.contacts__card {
  position: relative;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 19px;
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 52%, #020617 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: rotate(-0.65deg);
  overflow: hidden;
}

.contacts__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(148, 163, 184, 0.12) 1px, transparent 0);
  background-size: 14px 14px;
  pointer-events: none;
  opacity: 0.65;
  border-radius: inherit;
}

.contacts__lead,
.contacts__outro,
.contacts__person {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contacts__lead {
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.contacts__people {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1rem;
}

.contacts__person strong {
  color: #f8fafc;
}

.contacts__ig {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.2rem 0.55rem 0.22rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(220, 39, 113, 0.35);
  vertical-align: middle;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts__ig:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(220, 39, 113, 0.45);
}

.contacts__outro {
  font-style: italic;
  color: #94a3b8;
  padding-top: 0.25rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(4.5rem, 10vw, 6rem) 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(236, 72, 153, 0.07), transparent),
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(99, 102, 241, 0.06), transparent),
    var(--surface);
}

.footer--saas {
  position: relative;
  color: #cbd5e1;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: transparent;
  /* Short bar — spacing lives in #careers / .contacts, not empty footer padding */
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: 1.35rem;
}

.footer--saas::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
  pointer-events: none;
}

.footer--saas .footer__tiny {
  color: #94a3b8;
  opacity: 1;
}

.footer__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.footer p {
  margin: 0.35rem 0;
}

.footer__tiny {
  font-size: 0.8rem;
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .contacts__heading-mark {
    animation: none;
  }

  .contacts__card {
    transform: none;
  }

  .contacts__ig:hover {
    transform: none;
  }
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #4f46e5, #db2777);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 200;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__live {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  .jobs-slider__viewport {
    scroll-behavior: auto;
  }
}
