/* Main Style file for landing page */

:root {
  --bg-base: #ebf3fc;
  --bg-surface: rgba(255, 255, 255, 0.82);
  --bg-solid: #ffffff;
  --obsidian: #08080c;
  --obsidian-2: #0e1525;
  --ice-white: #fafcff;
  --text-primary: #08080c;
  --text-secondary: #526077;
  --accent: #0062eb;
  --accent-bright: #0058d6;
  --accent-text: #0058d6;
  --accent-soft: #dcecfd;
  --accent-glow: rgba(0, 112, 255, 0.22);
  --eye: #3ba4ff;
  --border: rgba(0, 90, 200, 0.1);
  --border-strong: rgba(0, 90, 200, 0.18);
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --shadow-card:
    0 18px 44px rgba(15, 52, 105, 0.07), 0 2px 8px rgba(0, 112, 255, 0.04);
  --shadow-card-hover:
    0 24px 56px rgba(0, 112, 255, 0.16), 0 6px 18px rgba(15, 52, 105, 0.07);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 250ms;
  --duration-slow: 400ms;
  --duration-reveal: 700ms;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

body {
  font-family: var(--font);
  color: var(--text-primary);
  background-color: var(--bg-base);
  background-image:
    radial-gradient(
      50% 40% at 15% 20%,
      rgba(135, 196, 255, 0.35) 0%,
      transparent 70%
    ),
    radial-gradient(
      45% 45% at 85% 65%,
      rgba(120, 186, 255, 0.3) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, #e4eef9 0%, #f4f9ff 40%, #e8f2fc 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.build-band :focus-visible,
.tm-card :focus-visible {
  outline-color: #ffffff;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/*  Buttons  */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition:
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--ice-white);
  box-shadow: 0 6px 20px rgba(0, 112, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 112, 255, 0.36);
  background: var(--accent-bright);
}

.btn-ghost {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent-text);
  color: var(--accent-text);
}

/*  Header  */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(235, 243, 252, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--duration-slow) var(--ease),
    background var(--duration-slow) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(244, 249, 255, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand {
  gap: 10px;
}

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

.brand .brand-by {
  width: 92px;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
}

.brand-product {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast) var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-primary);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--ice-white);
  padding: 8px 18px;
  border-radius: 980px;
  box-shadow: 0 4px 14px rgba(0, 112, 255, 0.24);
  transition:
    background var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition:
    transform var(--duration-fast) var(--ease),
    top var(--duration-fast) var(--ease);
}

.menu-toggle span:first-child {
  top: 15px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.hero {
  padding: 72px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.hero-sub {
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-headline {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hero-lede {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 44px;
  max-width: 540px;
}

.hero-facts div {
  border-top: 1px solid var(--border-strong);
  padding-top: 12px;
}

.hero-facts dt {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-facts dd {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Robot head */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bot-head {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1.45 / 1;
  padding: 22px;
  border-radius: 44px;
  background: linear-gradient(160deg, #ffffff 0%, #eef4fb 55%, #dde7f3 100%);
  box-shadow:
    inset 0 2px 0 #fff,
    inset 0 -6px 14px rgba(15, 52, 105, 0.08),
    0 30px 60px rgba(15, 52, 105, 0.16),
    0 0 0 1px rgba(0, 90, 200, 0.08);
  animation: float 6s ease-in-out infinite;
}

.bot-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #121b2e 0%, #070a12 70%);
  box-shadow:
    inset 0 0 0 3px #0b0f19,
    inset 0 10px 30px rgba(0, 0, 0, 0.6);
}

.bot-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 38%
  );
}

.bot-ear {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 38%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #f4f8fd, #d5e0ee);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(15, 52, 105, 0.12);
}

.bot-ear::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.bot-ear--l {
  left: -14px;
}

.bot-ear--r {
  right: -14px;
}

.bot-cam {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #0b0f19;
  box-shadow: 0 0 0 2px #c9d6e6;
}

.bot-neck {
  width: 70px;
  height: 22px;
  margin-top: -2px;
  background: linear-gradient(180deg, #1a2234, #0b0f19);
  border-radius: 0 0 10px 10px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

.bot-face {
  width: 100%;
  height: 100%;
  display: block;
}

.bot-face .eye-ring,
.bot-face .eye-line,
.bot-face .mouth {
  fill: none;
  stroke: var(--eye);
  stroke-width: 8;
  stroke-linecap: round;
}

.bot-face .mouth--dots circle {
  fill: var(--eye);
  stroke: none;
}

.bot-face .eyes {
  transform: translate(var(--lx, 0px), var(--ly, 0px));
  transition: transform 220ms var(--ease);
}

.bot-face .eye-blink {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5s infinite;
}

.bot-face .eye--r .eye-blink {
  animation-delay: 0.02s;
}

.bot-face .eye-ring,
.bot-face .eye-line,
.bot-face .mouth {
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.08);
  }
}

.bot-face .eye-line,
.bot-face .mouth {
  opacity: 0;
}

.bot-face[data-mood="happy"] .mouth--smile {
  opacity: 1;
}

.bot-face[data-mood="curious"] .eye--r .eye-ring {
  transform: scale(1.22);
}

.bot-face[data-mood="curious"] .eye--l .eye-ring {
  transform: scale(0.86);
}

.bot-face[data-mood="curious"] .mouth--o {
  opacity: 1;
}

.bot-face[data-mood="thinking"] .eyes {
  transform: translate(14px, -12px);
}

.bot-face[data-mood="thinking"] .eye-ring {
  transform: scale(0.8);
}

.bot-face[data-mood="thinking"] .mouth--dots {
  opacity: 1;
}

.bot-face[data-mood="thinking"] .mouth--dots circle {
  animation: dot 1.2s infinite ease-in-out;
}

.bot-face[data-mood="thinking"] .mouth--dots circle:nth-child(2) {
  animation-delay: 0.15s;
}

.bot-face[data-mood="thinking"] .mouth--dots circle:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dot {
  0%,
  60%,
  100% {
    opacity: 0.25;
  }

  30% {
    opacity: 1;
  }
}

.bot-face[data-mood="sleepy"] .eye-ring {
  opacity: 0;
  transform: scale(0.6);
}

.bot-face[data-mood="sleepy"] .eye-line {
  opacity: 1;
}

.bot-face[data-mood="sleepy"] .eye-blink {
  animation: none;
}

.bot-face[data-mood="sleepy"] .mouth--flat {
  opacity: 1;
}

.bot-face[data-mood="sleepy"] .eyes {
  transform: translate(0, 6px);
}

.mood-panel {
  margin-top: 28px;
  width: min(100%, 440px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.mood-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.mood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 980px;
  background: var(--bg-solid);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition:
    background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.chip:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent-text);
  color: var(--ice-white);
}

.mood-hint {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.section {
  padding: 104px 0;
}

.section--tint {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.card-base,
.problem-card,
.mode-card,
.feature,
.road-item,
.convo {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card {
  padding: 28px 24px;
  transition:
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

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

.num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent-text);
}

.problem-card h3 {
  font-size: 1.125rem;
  margin: 18px 0 8px;
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Modes */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mode-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mode-media {
  height: 220px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(80% 90% at 50% 20%, #dcecfd 0%, #eef5fd 70%);
  border-bottom: 1px solid var(--border);
}

.mode-media img {
  height: 180px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(15, 52, 105, 0.18);
}

.mode-media--shot {
  height: auto;
  aspect-ratio: 16 / 10;
  background: #070a12;
}

.mode-media--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.mode-body {
  padding: 28px;
}

.mode-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 980px;
}

.mode-body h3 {
  font-size: 1.375rem;
  margin: 14px 0 16px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 10px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%230070FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/14px no-repeat;
}

.game-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.game-chips span,
.industries span {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 980px;
  background: var(--bg-solid);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px 24px;
  transition:
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

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

.feature svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.0625rem;
  margin: 16px 0 6px;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Greeting flow */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
  counter-reset: none;
}

.flow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.4;
}

.flow-step {
  position: relative;
  text-align: center;
  padding: 0 4px;
}

.flow-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-solid);
  border: 2px solid var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-base);
}

.flow-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.convo {
  margin: 56px auto 0;
  max-width: 760px;
  padding: 28px;
}

.convo-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.convo-head .eyebrow {
  margin-bottom: 4px;
}

.convo-head h3 {
  font-size: 1.25rem;
}

.convo-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 78%;
  padding: 11px 16px;
  border-radius: 18px;
  font-size: 0.9375rem;
}

.bubble--bot {
  align-self: flex-start;
  background: var(--obsidian-2);
  color: var(--ice-white);
  border-bottom-left-radius: 6px;
}

.bubble--you {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ice-white);
  border-bottom-right-radius: 6px;
}

.convo-shot {
  align-self: center;
  width: min(100%, 520px);
  margin: 6px 0;
}

.convo-shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 52, 105, 0.2);
}

.convo-shot figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.bubble--note {
  align-self: center;
  max-width: 100%;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px dashed var(--border-strong);
}

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.road-item {
  padding: 24px 20px;
  position: relative;
}

.road-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.road-item:nth-child(n + 3) .road-tag {
  color: var(--text-secondary);
}

.road-item h3 {
  font-size: 1.0625rem;
  margin: 10px 0 6px;
}

.road-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.vision-quote {
  margin-top: 40px;
  padding: 44px 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, #e3effd 0%, #eef5fe 60%, #f6faff 100%);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.vision-quote blockquote p {
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 860px;
}

.vision-quote figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.vision-quote .industries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vision-quote .industries span {
  background: rgba(255, 255, 255, 0.8);
}

.quote-by {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Active card */
.tm-card:is(:hover, :focus-within) {
  flex-basis: 288px;
  height: 390px;
  --ry: 0deg;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow:
    0 34px 76px rgba(0, 112, 255, 0.3),
    0 0 0 1.5px rgba(0, 112, 255, 0.5);
}

.tm-card:is(:hover, :focus-within)::after {
  background: linear-gradient(
    180deg,
    rgba(7, 11, 22, 0.05) 0%,
    rgba(7, 11, 22, 0.55) 45%,
    rgba(7, 11, 22, 0.95) 100%
  );
}

@media (max-width: 1180px) {
  .tm-card:is(:hover, :focus-within) {
    flex-basis: 260px;
    height: 370px;
  }
}

/* Footer */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-reveal) var(--ease),
    transform var(--duration-reveal) var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bot-head,
  .bot-neck,
  .bot-face .eye-blink,
  .bot-face .mouth--dots circle {
    animation: none !important;
  }
}

/*  Responsive  */

@media (max-width: 1024px), (hover: none) {
  .tm-card,
  .tm-card:is(:hover, :focus-within) {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: start;
    height: auto;
    padding: 16px;
    transform: none;
    opacity: 1 !important;
    cursor: default;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 18px;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }

  .flow::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(244, 249, 255, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    box-shadow: 0 18px 30px rgba(15, 52, 105, 0.08);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity var(--duration-fast) var(--ease),
      transform var(--duration-fast) var(--ease),
      visibility var(--duration-fast);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding: 40px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-facts {
    margin-inline: auto;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 72px 0;
  }

  .brand .brand-by,
  .brand-divider {
    display: none;
  }

  .brand .brand-word {
    width: 108px;
  }

  .nav-cta {
    display: none;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .problem-grid,
  .feature-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
  }

  .bot-head {
    border-radius: 32px;
    padding: 16px;
  }

  .bot-screen {
    border-radius: 20px;
  }

  .bot-ear {
    width: 16px;
  }

  .bot-ear--l {
    left: -10px;
  }

  .bot-ear--r {
    right: -10px;
  }

  .convo {
    padding: 20px;
  }

  .bubble {
    max-width: 90%;
  }

  .vision-quote {
    padding: 32px 24px;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (forced-colors: active) {
  .btn,
  .nav-cta,
  .chip,
  .tm-role,
  .mode-tag {
    border: 1px solid ButtonText;
  }

  .chip.is-active {
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }

  .bot-face .eye-ring,
  .bot-face .eye-line,
  .bot-face .mouth {
    stroke: CanvasText;
  }
}
.team-section .section-head { margin-bottom: 40px; }
.team-cards {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  min-height: 400px; perspective: 900px;
}
.tm-card {
  position: relative; flex: 0 0 172px; height: 290px;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  background: #0B1220; border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 22px 48px rgba(10, 28, 62, 0.22);
  transform: rotateY(var(--ry, 0deg));
  transition:
    flex-basis 0.7s var(--ease), height 0.7s var(--ease), transform 0.7s var(--ease),
    box-shadow 0.6s var(--ease), border-color 0.5s ease, opacity 0.5s ease;
}
.tm-card:nth-child(1) { --ry: 14deg; }
.tm-card:nth-child(2) { --ry: 7deg; }
.tm-card:nth-child(4) { --ry: -7deg; }
.tm-card:nth-child(5) { --ry: -14deg; }
.tm-card:focus { outline: none; }
.tm-card:focus-visible { border-color: var(--accent-text); }
.tm-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 11, 22, 0.55) 72%, rgba(7, 11, 22, 0.92) 100%);
  transition: background 0.5s ease;
}
.tm-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.9s var(--ease);
}
.tm-body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #FFFFFF; }
.tm-body h3 {
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.tm-role {
  display: inline-block; margin-top: 6px;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #FFFFFF; background: rgba(0, 112, 255, 0.85); padding: 4px 10px; border-radius: 980px;
}
.tm-info {
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px);
  transition: max-height 0.7s var(--ease), opacity 0.5s ease, transform 0.7s var(--ease);
}
.tm-info p { margin: 12px 0; font-size: 0.8125rem; line-height: 1.5; color: rgba(235, 243, 255, 0.9); }
.tm-social { display: flex; gap: 7px; }
.tm-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.12); color: #FFFFFF;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}
.tm-social a:hover { background: var(--accent); border-color: var(--accent-text); transform: translateY(-2px); }
.tm-social svg { width: 13px; height: 13px; display: block; }

/* team cards */
.tm-card:is(:hover, :focus-within) {
  flex-basis: 288px; height: 390px; --ry: 0deg;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 34px 76px rgba(0, 112, 255, 0.3), 0 0 0 1.5px rgba(0, 112, 255, 0.5);
}
.tm-card:is(:hover, :focus-within)::after {
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.05) 0%, rgba(7, 11, 22, 0.55) 45%, rgba(7, 11, 22, 0.95) 100%);
}
.tm-card:is(:hover, :focus-within) .tm-photo { transform: scale(1.05); }
.tm-card:is(:hover, :focus-within) .tm-info { max-height: 220px; opacity: 1; transform: none; }
@media (max-width: 1180px) {
  .tm-card { flex-basis: 150px; height: 262px; }
  .tm-card:is(:hover, :focus-within) { flex-basis: 260px; height: 370px; }
}
.team-cards:has(.tm-card:is(:hover, :focus-within)) .tm-card:not(:hover):not(:focus-within) { opacity: 0.45; }
@media (max-width: 1024px), (hover: none) {
  .team-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; min-height: 0; perspective: none; }
  .tm-card, .tm-card:is(:hover, :focus-within) {
    display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start;
    height: auto; padding: 16px; transform: none; opacity: 1 !important; cursor: default;
    background: var(--bg-surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  }
  .tm-card::after { display: none; }
  .tm-photo, .tm-card:is(:hover, :focus-within) .tm-photo { position: static; width: 96px; height: 96px; border-radius: 14px; transform: none; }
  .tm-body { position: static; color: var(--text-primary); }
  .tm-body h3 { text-shadow: none; white-space: normal; }
  .tm-info { max-height: none; opacity: 1; transform: none; }
  .tm-info p { color: var(--text-secondary); margin: 10px 0 12px; }
  .tm-social a { border-color: var(--border-strong); background: var(--bg-solid); color: var(--text-secondary); }
  .tm-social a:hover { color: #FFFFFF; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .brand .brand-by, .brand-divider { display: none; }
  .brand .brand-word { width: 108px; }
  .nav-cta { display: none; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .problem-grid, .feature-grid, .roadmap { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .bot-head { border-radius: 32px; padding: 16px; }
  .bot-screen { border-radius: 20px; }
  .bot-ear { width: 16px; }
  .bot-ear--l { left: -10px; }
  .bot-ear--r { right: -10px; }
  .convo { padding: 20px; }
  .bubble { max-width: 90%; }
  .vision-quote { padding: 32px 24px; }
  .team-cards { grid-template-columns: 1fr; }
}

img.tm-photo[data-focus="upper"] { object-position: center 20%; }