/* ============================================================
   topdoer — foundation
   ============================================================ */

/* Brand typeface: Neue Haas Grotesk (licensed — add the web-font files here).
   Until the licensed files are present, the stack falls back to Helvetica Neue,
   which is the closest free match (NHG is the basis of Helvetica).

   @font-face {
     font-family: "Neue Haas Grotesk Display";
     src: url("fonts/NeueHaasGroteskDisplay.woff2") format("woff2");
     font-weight: 400 700; font-display: swap;
   }
   @font-face {
     font-family: "Neue Haas Grotesk Text";
     src: url("fonts/NeueHaasGroteskText.woff2") format("woff2");
     font-weight: 400 600; font-display: swap;
   }
*/

:root {
  --bg: #ffffff;
  --paper: #f6f3ee;
  --ink: #14161c;
  --ink-soft: #5b564e;
  --ink-mute: #9a9388;
  --line: #ece6da;
  --brand-blue: #2f6bff;
  --navy: #1e2a6b;

  --font: "Neue Haas Grotesk Text", "Neue Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Neue Haas Grotesk Display", "Neue Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1280px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ececec; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.link {
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.link:hover { color: var(--ink-soft); border-color: var(--ink-soft); }
.link--light { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.link--light:hover { color: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.8); }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__logo img { height: 32px; width: auto; }
.nav__menu {
  display: flex;
  justify-content: center;
  gap: 34px;
}
.nav__menu a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s ease;
}
.nav__menu a:hover { color: var(--ink-soft); }
.nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.nav__signin { font-size: 15.5px; font-weight: 500; }
.nav__signin:hover { color: var(--ink-soft); }

/* ---- Hero ---- */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 32px 160px;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.hero__sub {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-soft);
  margin: 28px auto 0;
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
}

/* ---- Showcase (two media tiles) ---- */
.showcase {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
.showcase__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 560px;
}
.card--demo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background:
    radial-gradient(38% 50% at 18% 28%, rgba(122, 84, 216, 0.95) 0%, rgba(122, 84, 216, 0) 60%),
    radial-gradient(46% 58% at 82% 72%, rgba(47, 107, 255, 0.9) 0%, rgba(47, 107, 255, 0) 58%),
    radial-gradient(60% 70% at 65% 18%, rgba(184, 166, 232, 0.8) 0%, rgba(184, 166, 232, 0) 55%),
    radial-gradient(70% 80% at 30% 85%, rgba(30, 42, 107, 0.9) 0%, rgba(30, 42, 107, 0) 60%),
    linear-gradient(135deg, #7b54d8 0%, #3a2a78 55%, #1e2a6b 100%);
}
.card--demo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)' opacity='0.9'/%3E%3C/svg%3E");
}
.demo {
  position: relative;
  z-index: 1;
  width: min(560px, 88%);
  min-height: 320px;
  background: rgba(18, 20, 26, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 26px 28px;
}
.demo__row { display: flex; gap: 14px; align-items: flex-start; }
.demo__avatar {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
}
.demo__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.5;
}
.demo__text strong { color: #fff; font-weight: 600; }
.demo__caret {
  display: inline-block;
  width: 9px; height: 18px;
  margin-left: 2px;
  vertical-align: -3px;
  background: #fff;
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Trusted by ---- */
.trust {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 32px 24px;
  text-align: center;
}
.trust__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 44px;
}
.trust__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}
.trust__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.trust__logo-img {
  height: 40px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.82;
}

/* ---- Pillars ---- */
.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px 110px;
}
.pillars__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 72px;
  color: var(--ink);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.pillar__icon {
  display: block;
  width: 88px;
  height: 88px;
  color: var(--ink);
  margin-bottom: 36px;
}
.pillar__icon svg { width: 100%; height: 100%; }
.pillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.pillar__desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 26px;
  max-width: 38ch;
}
.more {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .18s ease, color .18s ease;
}
.more:hover { gap: 12px; color: var(--ink-soft); }

/* ---- Product banner (Orvi) ---- */
.prod {
  max-width: 1500px;
  margin: 0 auto 96px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(80% 120% at 18% 8%, rgba(63, 107, 255, 0.85) 0%, rgba(63, 107, 255, 0) 52%),
    radial-gradient(90% 110% at 92% 96%, rgba(30, 42, 107, 0.95) 0%, rgba(30, 42, 107, 0) 60%),
    linear-gradient(135deg, #16204e 0%, #0b1020 68%, #07080f 100%);
}
.prod::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.9'/%3E%3C/svg%3E");
}
.prod__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  min-height: 680px;
  align-items: stretch;
}
.prod__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  padding: 44px 40px 56px;
}
.prod__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.prod__logo img { display: block; }
.prod__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 20px;
  max-width: 14ch;
}
.prod__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 32px;
  max-width: 42ch;
}
.prod__panel {
  position: relative;
  align-self: end;
  overflow: hidden;
}
.prod__panel img {
  display: block;
  width: 122%;
  max-width: none;
  margin-top: 72px;
  border-radius: 14px 0 0 0;
  box-shadow: -24px -24px 70px rgba(0, 0, 0, 0.45);
}

/* ---- Industries carousel ---- */
.industries {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 32px 96px;
}
.industries__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.industries__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.industries__nav { display: flex; gap: 10px; }
.iarrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.iarrow:hover { background: var(--paper); border-color: var(--ink-mute); }
.industries__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.industries__track::-webkit-scrollbar { display: none; }
.ind {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 27vw, 380px);
  aspect-ratio: 1 / 1.04;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--paper);
}
.ind img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ind:hover img { transform: scale(1.04); }
.ind::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  z-index: 1;
}
.ind__label {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.industries__bar {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 30px;
  overflow: hidden;
}
.industries__bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0.35);
  background: linear-gradient(90deg, #e8633f, #2f6bff);
  border-radius: 2px;
  transition: transform .15s ease;
}

/* ---- Developer resources (Onda) ---- */
.devres {
  max-width: 1500px;
  margin: 0 auto 96px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(90% 90% at 8% 6%, rgba(99, 91, 234, 0.9) 0%, rgba(99, 91, 234, 0) 55%),
    linear-gradient(140deg, #4338ca 0%, #2f2f8a 55%, #161636 100%);
}
.devres::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}
.devres__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  min-height: 640px;
  align-items: stretch;
}
.devres__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  padding: 44px 40px 56px;
}
.devres__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.devres__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 18px;
  max-width: 16ch;
}
.devres__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 30px;
  max-width: 44ch;
}
.devres__cta { display: flex; align-items: center; gap: 24px; }
.devres__panel {
  position: relative;
  align-self: start;
  overflow: hidden;
}
.devres__panel img {
  display: block;
  width: 116%;
  max-width: none;
  margin-top: 64px;
  border-radius: 14px 0 0 14px;
  box-shadow: -24px 24px 70px rgba(0, 0, 0, 0.4);
}

/* ---- Testimonial (angled) ---- */
.tq {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 32px 96px;
}
.tq__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.tq__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.tq__nav { display: flex; gap: 10px; }
.tq__stage {
  position: relative;
  min-height: 540px;
}
.tq__img {
  position: absolute;
  inset: 0 0 0 38%;
  border-radius: 16px;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.tq__img img { width: 100%; height: 100%; object-fit: cover; }
.tq__card {
  position: relative;
  z-index: 2;
  width: 56%;
  min-height: 540px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px 48px;
  display: none;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.tq__card.is-active { display: flex; }
.tq__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 36px;
}
.tq__quote {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 46ch;
}
.tq__author {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 auto;
}
.tq__card .more { margin-top: 28px; }

/* ---- Latest news ---- */
.news {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 32px 110px;
}
.news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.news__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ncard { display: flex; flex-direction: column; }
.ncard__media {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 18px;
}
.nm__txt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #fff;
}
.nm__x { opacity: 0.6; margin: 0 4px; }
.nm__logo { display: inline-block; height: 22px; width: auto; vertical-align: middle; }
.nm__logo--dd { height: 40px; }
.ico-ne { display: inline-block; vertical-align: -1px; margin-left: 4px; }
.nm--a { background: linear-gradient(135deg, #2f6bff 0%, #14161c 100%); }
.nm--b { background: linear-gradient(120deg, #3f6bff 0%, #6a4bd0 50%, #2f8a5e 100%); }
.nm--c { background: linear-gradient(135deg, #1e2a6b 0%, #4338ca 100%); }
.ncard__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.ncard__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 20px;
}
.ncard .more { margin-top: auto; }

/* ---- Final CTA band ---- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 120% at 12% 30%, rgba(47, 138, 94, 0.55) 0%, rgba(47, 138, 94, 0) 55%),
    radial-gradient(70% 130% at 88% 70%, rgba(196, 90, 151, 0.55) 0%, rgba(196, 90, 151, 0) 60%),
    radial-gradient(80% 140% at 50% 50%, rgba(138, 95, 192, 0.7) 0%, rgba(138, 95, 192, 0) 60%),
    linear-gradient(120deg, #8a5fc0 0%, #a98bd6 45%, #c79fb0 70%, #8a5fc0 100%);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)' opacity='0.9'/%3E%3C/svg%3E");
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 130px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

/* ---- Footer ---- */
.foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 32px 36px;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.foot__tag {
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 34ch;
}
.foot__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin: 0 0 16px;
}
.foot__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot__col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
  transition: color .15s ease;
}
.foot__col a:hover { color: #fff; }
.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}
.foot__copy { margin: 0; font-size: 13.5px; }
.foot__legal, .foot__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}
.foot__legal a, .foot__social a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  transition: color .15s ease;
}
.foot__legal a:hover, .foot__social a:hover { color: #fff; }

/* ---- Models ---- */
.models {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.models__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink);
  margin: 0 0 64px;
}
.models__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.models__demo {
  position: relative;
  background:
    radial-gradient(120% 120% at 50% 50%, #efece4 0%, #f6f3ee 100%);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.models__demo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed #cfc7b6;
  border-radius: 50%;
  pointer-events: none;
}
.mchat {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(20, 22, 28, 0.06);
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mchat__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; flex: none;
}
.mchat__seal {
  width: 34px; height: 34px; flex: none;
  border-radius: 8px;
  background: #eaf0ff;
  display: grid; place-items: center;
}
.mchat__body { flex: 1; min-width: 0; }
.mchat__body p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.mchat__body p:last-of-type { margin-bottom: 0; }
.mchat--ai .mchat__body p strong { font-weight: 600; }
.mfile {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.mfile__ic {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600; color: var(--ink-soft);
}
.mfile__meta { display: flex; flex-direction: column; gap: 1px; }
.mfile__meta strong { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.mfile__meta small { font-size: 11.5px; color: var(--ink-mute); }
.mgen {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}
.mchat__tools { display: block; text-align: right; color: var(--ink-mute); font-size: 16px; margin-top: 12px; }

.models__list { display: flex; flex-direction: column; }
.model {
  border-bottom: 1px solid var(--line);
}
.model:first-child {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #e8633f, #2f6bff) 1;
  border-bottom: 1px solid var(--line);
}
.model summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
}
.model summary::-webkit-details-marker { display: none; }
.model__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.model__content { padding: 0 0 26px; }
.model__desc { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 20px; max-width: 48ch; }
.model__feats { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.model__feats li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 48ch;
}
.model__feats li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  font-size: 10px;
  display: grid;
  place-items: center;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__menu { display: none; }
  .hero { padding: 96px 24px 110px; }
  .showcase__grid { grid-template-columns: 1fr; }
  .card { min-height: 380px; }
  .trust__logos { gap: 22px 32px; justify-content: center; }
  .pillars__grid { grid-template-columns: 1fr; gap: 52px; }
  .pillars__title { margin-bottom: 52px; }
  .prod__inner { grid-template-columns: 1fr; min-height: 0; }
  .prod__left { padding: 36px 28px; gap: 40px; }
  .prod__panel img { width: 100%; margin-top: 0; border-radius: 12px 0 0 0; }
  .ind { width: 76vw; }
  .devres__inner { grid-template-columns: 1fr; min-height: 0; }
  .devres__left { padding: 36px 28px; gap: 28px; }
  .devres__panel img { width: 100%; margin-top: 0; border-radius: 12px 0 0 0; }
  .tq__stage { min-height: 0; }
  .tq__img { position: relative; inset: auto; clip-path: none; aspect-ratio: 16/10; margin-top: 20px; }
  .tq__card { position: relative; width: 100%; min-height: 0; clip-path: none; }
  .news__grid { grid-template-columns: 1fr; }
  .models__grid { grid-template-columns: 1fr; gap: 40px; }
  .models__title { margin-bottom: 44px; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__bottom { justify-content: flex-start; gap: 18px 28px; }
}
@media (max-width: 480px) {
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__cta { flex-direction: column; gap: 18px; }
  .nav__signin { display: none; }
}
