:root {
  --background: #070b12;
  --background-2: #0a0f18;
  --surface: #0d131e;
  --surface-2: #111927;
  --surface-soft: rgba(17, 25, 39, 0.78);
  --foreground: #f8fbff;
  --muted: #a9b5c8;
  --muted-2: #6f7d92;
  --accent: #1283ff;
  --accent-2: #52b6ff;
  --accent-soft: rgba(18, 131, 255, 0.14);
  --border: rgba(170, 190, 220, 0.18);
  --border-strong: rgba(170, 190, 220, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: 1160px;
  --shell-wide: 1320px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Aptos Display", "Aptos", "Segoe UI Variable Display", "Segoe UI", var(--font-main);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--foreground);
  background:
    radial-gradient(circle at 50% -10%, rgba(18, 131, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #070b12 0%, #090e17 55%, #070b12 100%);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-shell {
  width: min(100% - 48px, var(--shell));
  margin-inline: auto;
}

.site-shell.narrow {
  width: min(100% - 48px, 900px);
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 100;
  width: 100%;
  pointer-events: none;
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), 900px);
  min-height: 62px;
  margin-inline: auto;
  padding: 10px 16px 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.78);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

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

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
  content: "";
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.is-active {
  color: var(--foreground);
}

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

.mobile-demo-link {
  display: none;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
}

.demo-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.demo-link,
.btn-primary-kelly {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(18, 131, 255, 0.18);
}

.btn-ghost {
  color: var(--foreground);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.demo-link:hover,
.demo-link:focus,
.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--foreground);
}

.hero-home {
  position: relative;
  display: grid;
  min-height: 720px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-top: -80px;
  padding: 150px 0 110px;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -2;
  object-fit: cover;
  background: var(--background);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 35%, rgba(18, 131, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, rgba(7, 11, 18, 0.58) 0%, rgba(7, 11, 18, 0.68) 42%, #070b12 100%);
}

.hero-inner {
  max-width: 850px;
  text-align: center;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-inner h1,
.section-title,
.subpage-hero h1 {
  margin-top: 22px;
  color: rgba(248, 251, 255, 0.94);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.85vw, 3.8rem);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -0.026em;
}

.hero-inner h1 {
  font-size: clamp(2.38rem, 5vw, 3.75rem);
}

.hero-inner p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(248, 251, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.video-control {
  position: absolute;
  right: max(24px, calc((100vw - var(--shell-wide)) / 2 + 24px));
  bottom: 36px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--foreground);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.pause-icon {
  position: relative;
  width: 16px;
  height: 20px;
}

.pause-icon::before,
.pause-icon::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.pause-icon::before {
  left: 1px;
}

.pause-icon::after {
  right: 1px;
}

.video-control.is-paused .pause-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid currentColor;
}

.video-control.is-paused .pause-icon::before,
.video-control.is-paused .pause-icon::after {
  display: none;
}

.section {
  padding-block: clamp(96px, 13vw, 180px);
  border-top: 1px solid rgba(170, 190, 220, 0.13);
  background: var(--background-2);
}

.section:nth-of-type(even) {
  background: #080d15;
}

.section-title {
  max-width: 900px;
  font-size: clamp(1.9rem, 3.9vw, 3.28rem);
}

.section-lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.section-lead.centered {
  margin-inline: auto;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-section {
  padding-top: clamp(110px, 14vw, 170px);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: rgba(17, 25, 39, 0.66);
}

.capability-strip article {
  min-height: 148px;
  padding: 30px 28px;
  border-right: 1px solid var(--border);
}

.capability-strip article:last-child {
  border-right: 0;
}

.capability-strip span,
.trust-tab > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--accent-2);
  border-radius: 12px;
  background: var(--accent-soft);
}

.capability-strip svg,
.trust-tab svg {
  width: 18px;
  height: 18px;
}

.capability-strip h3 {
  margin-top: 32px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.market-section .section-title {
  max-width: 760px;
}

.market-section .card-grid {
  margin-top: 64px;
}

.feature-card,
.platform-card,
.model-card,
.contact-card,
.founder-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(17, 25, 39, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card {
  min-height: 270px;
  padding: 44px 40px;
}

.card-index {
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: 48px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.feature-card p,
.platform-card p,
.model-card p,
.contact-card span,
.contact-card em {
  color: var(--muted);
  line-height: 1.65;
}

.feature-card p {
  margin-top: 18px;
}

.platform-section .card-grid {
  margin-top: 64px;
}

.platform-showcase {
  display: grid;
  gap: 32px;
  margin-top: 64px;
}

.platform-card {
  padding: clamp(28px, 4vw, 44px);
}

.platform-showcase .platform-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 4.5vw, 54px);
}

.platform-card-copy {
  min-width: 0;
}

.platform-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.platform-card > p {
  margin-top: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip-row span {
  padding: 6px 12px;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.35);
  font-size: 0.86rem;
  font-weight: 700;
}

.platform-product-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: #050910;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.collaboration-section .section-title {
  max-width: 860px;
}

.model-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: rgba(17, 25, 39, 0.62);
}

.model-card {
  min-height: 220px;
  padding: 34px 32px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.model-card:last-child {
  border-right: 0;
}

.model-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 32px;
}

.model-progress span {
  height: 4px;
  border-radius: 999px;
  background: rgba(170, 190, 220, 0.12);
}

.model-card:nth-child(1) .model-progress span:first-child,
.model-card:nth-child(2) .model-progress span:nth-child(-n + 2),
.model-card:nth-child(3) .model-progress span {
  background: var(--accent-2);
}

.model-card > span {
  color: var(--muted);
}

.model-card h3 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.model-card p {
  margin-top: 18px;
}

.model-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent-2);
  font-size: 0.95rem;
  font-weight: 600;
}

.model-cta:hover,
.model-cta:focus {
  color: var(--foreground);
}

.trust-section .section-title {
  max-width: 860px;
}

.trust-carousel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  margin-top: 56px;
}

.trust-tabs {
  display: grid;
  gap: 18px;
  padding-left: 32px;
  border-left: 1px solid rgba(170, 190, 220, 0.16);
}

.trust-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  min-height: 0;
  padding: 18px 20px;
  color: var(--foreground);
  text-align: left;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.trust-tab::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -34px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
  content: "";
}

.trust-tab.is-active,
.trust-tab:hover,
.trust-tab:focus {
  border-color: var(--border-strong);
  background: rgba(17, 25, 39, 0.62);
}

.trust-tab.is-active::before {
  background: var(--accent-2);
}

.trust-tab > span {
  grid-row: span 2;
}

.trust-tab strong {
  align-self: end;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.trust-tab small {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.trust-visual {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: rgba(17, 25, 39, 0.62);
}

.trust-visual img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.trust-visual img.is-switching {
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.985);
}

.story-section {
  display: grid;
  min-height: 520px;
  place-items: center;
}

.story-panel {
  max-width: 760px;
  margin-inline: auto;
}

.story-quote {
  margin: 0;
}

.story-panel p {
  color: var(--muted);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.story-quote p {
  font-size: clamp(1.45rem, 2.9vw, 2.08rem);
  font-style: italic;
}

.story-quote + p,
.story-panel p + p {
  margin-top: 36px;
}

.story-quote figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: right;
}

.story-panel strong {
  color: var(--foreground);
}

.contact-grid {
  display: grid;
  max-width: 860px;
  justify-items: center;
  gap: 38px;
  text-align: center;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 24px;
}

.contact-card strong {
  font-size: 1rem;
}

.contact-card em {
  color: var(--accent-2);
  font-style: normal;
  word-break: break-word;
}

.contact-section .section-title {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(2rem, 4.05vw, 3.38rem);
}

.contact-section .section-lead {
  margin-inline: auto;
}

.platform-gallery-section {
  padding-top: clamp(138px, 13.8vw, 175px);
}

.platform-carousel {
  display: grid;
  gap: 20px;
  margin-top: clamp(20px, 3.6vw, 40px);
}

.platform-carousel-stage {
  position: relative;
  overflow: hidden;
  width: min(100vw, 1250px);
  margin-inline: calc(50% - min(50vw, 625px));
  padding: clamp(8px, 1.4vw, 18px) 0;
  border-radius: 0;
  background: transparent;
}

.platform-carousel-track {
  position: relative;
  width: 100%;
  height: clamp(220px, 32vw, 440px);
}

.platform-carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(56vw, 770px);
  max-width: calc(100vw - 52px);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(0.74);
  transition: left 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.platform-carousel-slide:hover,
.platform-carousel-slide:focus {
  opacity: 0.72;
}

.platform-carousel-slide.is-prev,
.platform-carousel-slide.is-next {
  opacity: 0.34;
  pointer-events: auto;
  filter: blur(0.4px);
  transform: translate(-50%, -50%) scale(0.82);
}

.platform-carousel-slide.is-prev {
  left: 12%;
}

.platform-carousel-slide.is-next {
  left: 88%;
}

.platform-carousel-slide.is-active {
  z-index: 1;
  left: 50%;
  opacity: 1;
  pointer-events: auto;
  filter: none;
  transform: translate(-50%, -50%) scale(0.93);
}

.platform-carousel-slide.is-hidden-right {
  left: 112%;
}

.platform-carousel-slide img {
  width: 100%;
  max-height: min(56vh, 565px);
  object-fit: contain;
  border: 0;
  border-radius: 24px;
  background: #050910;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.platform-carousel-copy {
  max-width: 780px;
}

.platform-carousel-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.08;
}

.platform-carousel-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
}

.subpage-hero {
  padding: 150px 0 70px;
  background: var(--background);
}

.subpage-hero .center {
  text-align: left;
}

.subpage-hero h1 {
  max-width: 840px;
  font-size: clamp(2rem, 4.05vw, 3.3rem);
}

.subpage-hero .section-lead {
  max-width: 980px;
}

.founders-section {
  padding-top: 64px;
}

.founder-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.founder-card {
  position: relative;
  min-height: 220px;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.founder-card:hover,
.founder-card:focus-visible {
  border-color: rgba(18, 131, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(18, 131, 255, 0.18), 0 18px 50px rgba(18, 131, 255, 0.08);
  transform: translateY(-2px);
}

.founder-card-body {
  display: flex;
  min-height: 220px;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 26px;
}

.founder-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.12;
}

.founder-card p {
  margin-top: 8px;
  color: var(--muted);
}

.founder-card-more {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--foreground);
  font-size: 0.86rem;
  font-weight: 500;
}

.founder-card:hover .founder-card-more,
.founder-card:focus-visible .founder-card-more {
  color: var(--accent-2);
}

.founder-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(100% - 48px, 560px);
  max-height: calc(100vh - 48px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

.founder-modal::backdrop {
  background: rgba(3, 5, 9, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.founder-modal-inner {
  max-height: calc(100vh - 76px);
  overflow: auto;
  padding: clamp(30px, 5vw, 40px);
  color: var(--foreground);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: #0b111c;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--muted);
  font-size: 0;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--foreground);
}

.modal-close span {
  font-size: 1.45rem;
}

.founder-modal h2 {
  max-width: calc(100% - 48px);
  margin-top: 0;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.founder-role {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}

.founder-modal a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--accent-2);
  font-weight: 600;
  word-break: break-word;
}

.founder-modal p:last-child {
  margin-top: 26px;
  color: rgba(248, 251, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.about-kelly {
  padding-top: 80px;
}

.two-col,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.about-grid h1 {
  margin-top: 20px;
  color: rgba(248, 251, 255, 0.94);
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.9vw, 3.32rem);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -0.026em;
}

.rich-copy {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.rich-copy.large {
  font-size: 1.18rem;
}

.about-history-section {
  padding-block: clamp(90px, 11vw, 140px);
}

.about-history-quote {
  margin-top: 28px;
}

.about-history-quote p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-style: italic;
  line-height: 1.75;
}

.about-history-quote p + p {
  margin-top: 22px;
}

.about-history-quote figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-align: right;
}

.kelly-figure {
  margin: 0;
}

.kelly-figure img {
  width: min(100%, 416px);
  margin-left: auto;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  object-fit: cover;
}

.platform-card.mini p {
  margin-top: 8px;
  color: var(--muted);
}

.platform-card.mini {
  min-height: 220px;
}

.platform-card.mini h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.05rem);
}

.platform-core-section .card-grid {
  margin-top: clamp(44px, 7vw, 76px);
}

.partner-cta {
  width: fit-content;
  min-width: 220px;
}

.site-footer {
  padding: 72px 0 28px;
  border-top: 1px solid rgba(170, 190, 220, 0.13);
  background: #070b12;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 52px;
}

.footer-brand img {
  width: 139px;
}

.footer-proof {
  max-width: 390px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 1rem;
}

.site-footer a:not(.brand-logo) {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--foreground);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(170, 190, 220, 0.13);
  color: var(--muted-2);
  font-size: 0.82rem;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(18, 131, 255, 0.42);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-strip article:nth-child(2n) {
    border-right: 0;
  }

  .capability-strip article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
  }

  .card-grid.three,
  .founder-card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-carousel-grid,
  .contact-grid,
  .two-col,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .kelly-figure img {
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .site-shell,
  .site-shell.narrow {
    width: min(100% - 34px, var(--shell));
  }

  .site-header {
    top: 12px;
  }

  .nav-shell {
    display: flex;
    width: min(calc(100% - 24px), 900px);
    min-height: 58px;
    padding: 8px 10px 8px 14px;
  }

  .brand-logo img {
    width: 86px;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    inset: calc(100% + 10px) 12px auto auto;
    z-index: 120;
    display: grid;
    width: min(280px, calc(100vw - 24px));
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(7, 11, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 13px 10px;
  }

  .main-nav .mobile-demo-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 10px;
    color: #fff;
    border-radius: 999px;
    background: var(--accent);
    font-weight: 800;
  }

  .main-nav .mobile-demo-link::after {
    display: none;
  }

  .hero-home {
    min-height: 720px;
    padding: 140px 0 88px;
  }

  .hero-inner h1,
  .section-title,
  .subpage-hero h1 {
    letter-spacing: -0.025em;
  }

  .card-grid.three,
  .model-panel,
  .contact-card-grid,
  .founder-card-grid,
  .platform-showcase .platform-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .model-panel {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .model-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(17, 25, 39, 0.62);
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .capability-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .capability-strip article:last-child {
    border-bottom: 0;
  }

  .founder-modal {
    width: min(100% - 28px, 560px);
  }

  .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-inner h1 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .section-title {
    font-size: clamp(1.85rem, 8.4vw, 2.65rem);
  }

  .subpage-hero h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.8rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section {
    padding-block: 86px;
  }

  .feature-card,
  .platform-card,
  .model-card,
  .founder-card-body {
    padding: 24px;
  }

  .capability-strip article {
    min-height: 112px;
    padding: 24px;
  }

  .trust-tab {
    min-height: auto;
    padding: 22px;
  }

  .platform-showcase {
    gap: 22px;
  }

  .platform-product-image {
    max-height: 480px;
  }

  .platform-carousel-slide {
    width: 76vw;
  }

  .story-panel p {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .contact-section .section-title {
    font-size: clamp(2rem, 9.8vw, 2.9rem);
  }

  .video-control {
    right: 18px;
    bottom: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
