/* Custom layer for motion, the logo mark, and decorative visuals. */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #ffffff;
  color: #111827;
}

::selection {
  background: #dbeafe;
  color: #111827;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #163f5a;
  outline-offset: 4px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
}

.content-rail {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-item {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  min-width: 210px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 22, 40, 0.96);
  box-shadow: 0 16px 40px rgba(3, 10, 24, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-menu a {
  display: block;
  border-radius: 10px;
  padding: 9px 12px;
  color: #e7f2f8;
  font-size: 13px;
  font-weight: 600;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

#sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgba(6, 16, 30, 0.48);
}

#sidebar-backdrop.is-open {
  display: block;
}

#mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  height: 100dvh;
  margin: 0;
  padding: 18px 18px 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.16);
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

#mobile-nav.is-open {
  transform: translateX(0);
}

@media (max-width: 767px) {
  #mobile-nav {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    box-shadow: none;
  }

  #sidebar-backdrop,
  #sidebar-backdrop.is-open {
    display: none;
  }
}

.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid #dce9ef;
}

.side-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 12px;
  -webkit-overflow-scrolling: touch;
}

.side-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 10px;
  margin-bottom: 4px;
  border-radius: 10px;
  border-bottom: 0;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.side-links a:hover {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.side-links a svg,
.side-links a i[data-lucide] {
  width: 18px;
  height: 18px;
  flex: none;
  stroke-width: 1.8;
  color: #6b7280;
}

.side-links a:last-child {
  border-bottom: 0;
}

.side-cta {
  flex: none;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 18%);
}

.side-get-started {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(10, 26, 44, 0.22);
}

.side-get-started:hover {
  opacity: 0.94;
}

.side-group {
  margin-bottom: 4px;
}

.side-toggle {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #374151;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.side-toggle:hover {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.side-toggle-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.side-toggle-main svg,
.side-toggle-main i[data-lucide] {
  width: 18px;
  height: 18px;
  flex: none;
  stroke-width: 1.8;
  color: #6b7280;
}

.side-toggle-caret {
  width: 16px;
  height: 16px;
  flex: none;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.side-toggle[aria-expanded="true"] .side-toggle-caret {
  transform: rotate(180deg);
  color: #2563eb;
}

.side-sub {
  display: none;
  padding: 2px 0 8px 8px;
  gap: 2px;
}

.side-sub.is-open {
  display: grid;
}

.side-sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px 0 34px;
  border-radius: 10px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.side-sub a:hover {
  background: #fff;
  color: #111827;
}

.side-sub a svg,
.side-sub a i[data-lucide] {
  width: 16px;
  height: 16px;
  flex: none;
  stroke-width: 1.8;
  color: #9ca3af;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 700px) {
  .content-rail { width: min(1180px, calc(100% - 48px)); }
  .brand-logo { width: 38px; height: 38px; }
}

@media (min-width: 1100px) {
  .content-rail { width: min(1180px, calc(100% - 64px)); }

  #mobile-nav,
  #mobile-nav.is-open,
  #sidebar-backdrop,
  #sidebar-backdrop.is-open {
    display: none !important;
  }
}

.platform-grid {
  grid-auto-rows: auto;
}

@media (min-width: 700px) {
  .platform-grid {
    grid-auto-rows: 350px;
  }
}

@media (min-width: 1100px) {
  .platform-grid {
    grid-auto-rows: 365px;
  }
}

.models-bento {
  background: #ffffff;
  color: #111827;
  padding: 72px 0 80px;
  overflow: hidden;
}

.models-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(100px, auto);
  grid-auto-flow: dense;
  gap: 14px;
  align-items: stretch;
}

.models-intro {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 8px 8px 10px 0;
  text-align: left;
}

.models-intro h2 {
  margin: 0;
  max-width: 11ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #111827;
}

.models-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 1px solid #d1d5db;
  padding-bottom: 4px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.models-all-link:hover {
  color: #111827;
  border-color: #111827;
}

.models-all-link svg,
.models-all-link i[data-lucide] {
  width: 15px;
  height: 15px;
}

.model-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 0;
  border-radius: 22px;
  padding: 22px 20px 20px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(8, 15, 28, 0.28) 0%, rgba(8, 15, 28, 0.62) 100%);
}

.model-card::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  right: -45%;
  bottom: -50%;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 65%);
}

.model-card > * {
  position: relative;
  z-index: 1;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.model-card h3 {
  margin: auto 0 0;
  padding-top: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.model-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.model-detail-card .model-mark {
  border: 0;
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.12);
}

.model-mark--master { background: linear-gradient(135deg, #2aa8d4, #4fd1e8); color: #06231f; }
.model-mark--research { background: linear-gradient(135deg, #e11d72, #f472b6); }
.model-mark--agent { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.model-mark--code { background: linear-gradient(135deg, #ef4444, #fb7185); }
.model-mark--image { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.model-mark--video { background: linear-gradient(135deg, #f97316, #fdba74); color: #2a0f06; }
.model-mark--audio { background: linear-gradient(135deg, #10b981, #6ee7b7); color: #04261b; }
.model-mark--opt { background: linear-gradient(135deg, #65a30d, #a3e635); color: #1a2e05; }
.model-mark--reasoning { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.model-mark--deep { background: linear-gradient(135deg, #9333ea, #c084fc); }
.model-mark--rag { background: linear-gradient(135deg, #0ea5e9, #7dd3fc); color: #042430; }
.model-mark--file { background: linear-gradient(135deg, #f43f5e, #fda4af); }
.model-mark--creative { background: linear-gradient(135deg, #f59e0b, #fcd34d); color: #2a1b00; }

.model-tone--cyan,
.model-tone--pink,
.model-tone--violet,
.model-tone--coral,
.model-tone--indigo,
.model-tone--orange,
.model-tone--teal,
.model-tone--blue,
.model-tone--plum,
.model-tone--mint,
.model-tone--sky,
.model-tone--rose,
.model-tone--amber,
.model-tone--lime,
.model-tone--fuchsia,
.model-tone--azure,
.model-tone--berry,
.model-tone--emerald {
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.model-tone--cyan { background-image: url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=900&q=80"); }
.model-tone--pink { background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=900&q=80"); }
.model-tone--violet { background-image: url("https://images.unsplash.com/photo-1485827404703-89b55fcc595e?auto=format&fit=crop&w=900&q=80"); }
.model-tone--coral { background-image: url("https://images.unsplash.com/photo-1515879218367-8466d910aaa4?auto=format&fit=crop&w=900&q=80"); }
.model-tone--indigo { background-image: url("https://images.unsplash.com/photo-1541701494587-cb58502866ab?auto=format&fit=crop&w=900&q=80"); }
.model-tone--orange { background-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=80"); }
.model-tone--teal { background-image: url("https://images.unsplash.com/photo-1639322537504-6427a16b0a28?auto=format&fit=crop&w=900&q=80"); }
.model-tone--blue { background-image: url("https://images.unsplash.com/photo-1509228468518-180dd4864904?auto=format&fit=crop&w=900&q=80"); }
.model-tone--plum { background-image: url("https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?auto=format&fit=crop&w=900&q=80"); }
.model-tone--mint { background-image: url("https://images.unsplash.com/photo-1470225620780-dba8ba36b745?auto=format&fit=crop&w=900&q=80"); }
.model-tone--sky { background-image: url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=900&q=80"); }
.model-tone--rose { background-image: url("https://images.unsplash.com/photo-1586281380349-632531db7ed4?auto=format&fit=crop&w=900&q=80"); }
.model-tone--amber { background-image: url("https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&w=900&q=80"); }
.model-tone--lime { background-image: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=900&q=80"); }
.model-tone--fuchsia { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=80"); }
.model-tone--azure { background-image: url("https://images.unsplash.com/photo-1507925921958-8a62f3d1a50d?auto=format&fit=crop&w=900&q=80"); }
.model-tone--berry { background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=900&q=80"); }
.model-tone--emerald { background-image: url("https://images.unsplash.com/photo-1532094349884-543bc11b234d?auto=format&fit=crop&w=900&q=80"); }

.model-tone--cyan::before { background: linear-gradient(165deg, rgba(8, 47, 73, 0.45), rgba(8, 47, 73, 0.72)); }
.model-tone--pink::before { background: linear-gradient(165deg, rgba(76, 5, 25, 0.42), rgba(76, 5, 25, 0.7)); }
.model-tone--violet::before { background: linear-gradient(165deg, rgba(46, 16, 101, 0.45), rgba(46, 16, 101, 0.72)); }
.model-tone--coral::before { background: linear-gradient(165deg, rgba(69, 10, 10, 0.45), rgba(69, 10, 10, 0.72)); }
.model-tone--indigo::before { background: linear-gradient(165deg, rgba(30, 27, 75, 0.4), rgba(30, 27, 75, 0.7)); }
.model-tone--orange::before { background: linear-gradient(165deg, rgba(67, 20, 7, 0.45), rgba(67, 20, 7, 0.72)); }
.model-tone--teal::before { background: linear-gradient(165deg, rgba(4, 47, 46, 0.42), rgba(4, 47, 46, 0.7)); }
.model-tone--blue::before { background: linear-gradient(165deg, rgba(23, 37, 84, 0.45), rgba(23, 37, 84, 0.72)); }
.model-tone--plum::before { background: linear-gradient(165deg, rgba(59, 7, 100, 0.45), rgba(59, 7, 100, 0.72)); }
.model-tone--mint::before { background: linear-gradient(165deg, rgba(6, 46, 32, 0.45), rgba(6, 46, 32, 0.72)); }
.model-tone--sky::before { background: linear-gradient(165deg, rgba(12, 74, 110, 0.45), rgba(12, 74, 110, 0.72)); }
.model-tone--rose::before { background: linear-gradient(165deg, rgba(76, 5, 25, 0.42), rgba(76, 5, 25, 0.7)); }
.model-tone--amber::before { background: linear-gradient(165deg, rgba(7, 15, 28, 0.35), rgba(120, 53, 15, 0.62)); color: #fff; }
.model-tone--lime::before { background: linear-gradient(165deg, rgba(26, 46, 5, 0.45), rgba(26, 46, 5, 0.72)); }
.model-tone--fuchsia::before { background: linear-gradient(165deg, rgba(74, 4, 78, 0.42), rgba(74, 4, 78, 0.7)); }
.model-tone--azure::before { background: linear-gradient(165deg, rgba(12, 74, 110, 0.42), rgba(12, 74, 110, 0.7)); }
.model-tone--berry::before { background: linear-gradient(165deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.72)); }
.model-tone--emerald::before { background: linear-gradient(165deg, rgba(6, 46, 32, 0.42), rgba(6, 46, 32, 0.7)); }

.model-card--sm {
  grid-column: span 1;
  grid-row: span 2;
  min-height: 180px;
}

.model-card--md {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 200px;
}

.model-card--wide {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 220px;
}

.model-card--tall {
  grid-column: span 1;
  grid-row: span 2;
  min-height: 280px;
}

.model-card--chip {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 100px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 18px;
}

.model-card--chip .model-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 11px;
}

.model-chip-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.model-card--feature {
  justify-content: flex-end;
}

.model-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}

.model-kicker svg {
  width: 14px;
  height: 14px;
}

.model-card--feature h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 1099px) {
  .models-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(96px, auto);
    grid-auto-flow: dense;
    gap: 12px;
  }

  .models-intro,
  .model-card--wide,
  .model-card--feature.model-card--wide {
    grid-column: span 2;
  }

  .models-intro {
    grid-row: span 1;
    padding: 0 0 6px;
  }

  .model-card--md {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 180px;
  }

  .model-card--sm {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 150px;
  }

  .model-card--chip {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 104px;
  }

  .model-card--tall {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 280px;
  }
}

@media (max-width: 699px) {
  .models-bento {
    padding: 56px 0 64px;
  }

  .models-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(72px, auto);
    grid-auto-flow: dense;
    gap: 10px;
  }

  .models-intro {
    grid-column: span 2;
    grid-row: span 1;
    padding: 0 0 4px;
    justify-content: flex-start;
  }

  .models-intro h2 {
    max-width: none;
    font-size: clamp(36px, 11vw, 48px);
  }

  .model-card--wide,
  .model-card--md {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 132px;
  }

  .model-card--sm {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 120px;
  }

  .model-card--chip {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 84px;
    padding: 14px;
  }

  .model-card--tall {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 220px;
  }

  .model-card--feature.model-card--wide {
    grid-column: span 2;
    min-height: 168px;
  }

  .model-card h3 {
    font-size: 16px;
  }

  .model-chip-name {
    font-size: 13.5px;
  }
}

.template-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.template-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding: 8px 4vw 12px;
  will-change: transform;
}

.template-card {
  position: relative;
  flex: none;
  width: min(560px, calc(100vw - 56px));
  aspect-ratio: 1 / 1;
  height: auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.template-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .template-viewport {
    overflow-x: auto;
    mask-image: none;
  }
}

.hero-sky {
  background-image:
    linear-gradient(180deg, rgba(5, 11, 28, 0.25) 0%, rgba(10, 26, 54, 0.35) 46%, rgba(58, 90, 116, 0.55) 100%),
    url("https://images.hostinger.com/d67716db-790e-4579-9647-1bc348debb5e.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  animation: rise 0.7s ease-out both;
}

.hero-orbit {
  position: absolute;
  bottom: -270px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

/* ── Split hero (reference-style layout, TrioAI colors) ── */
.hero-split {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: 0;
  padding: 112px 0 96px;
  color: #e8f3f8;
  background: #050b12;
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  width: 100%;
  height: 72px;
  line-height: 0;
  pointer-events: none;
}

.hero-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-split-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 12%, rgba(46, 168, 190, 0.26), transparent 62%),
    radial-gradient(ellipse 55% 40% at 90% 70%, rgba(34, 120, 150, 0.18), transparent 58%),
    #050b12;
  pointer-events: none;
}

.hero-split-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(180, 210, 222, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
  opacity: 0.5;
}

.hero-split-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise 0.7s ease-out both;
}

.hero-title-box {
  margin: 0;
  position: relative;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 18px 16px;
  border: 1px solid rgba(170, 210, 224, 0.28);
  border-radius: 18px;
  background: rgba(8, 18, 28, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.45rem, 6.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}

.hero-desc {
  position: relative;
  z-index: 2;
  margin: 4px 0 0;
  max-width: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(198, 220, 232, 0.86);
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn-primary {
  color: #042029;
  background: linear-gradient(105deg, #8fe3cf 0%, #5ec8e8 55%, #4eb0e0 100%);
  box-shadow: 0 0 22px rgba(94, 200, 232, 0.3), 0 8px 18px rgba(8, 30, 44, 0.3);
}

.hero-btn-secondary {
  color: #e7f3f8;
  border: 1px solid rgba(180, 210, 222, 0.28);
  background: rgba(14, 28, 40, 0.72);
}

.hero-stores {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 6px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 46px;
  padding: 7px 8px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.store-logo {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  min-width: 0;
}

.store-btn-text small {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.store-btn-text strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.store-btn--disabled {
  opacity: 0.4;
  filter: grayscale(1);
  cursor: not-allowed;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  min-width: 0;
  animation: rise 0.85s ease-out 0.08s both;
}

.hero-media {
  position: relative;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(170, 210, 224, 0.22);
  background: #f3f5f7;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #f3f5f7;
}

.hero-media--carousel {
  display: grid;
  aspect-ratio: 1 / 1;
  background: #f3f5f7;
}

.hero-media--carousel img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.hero-media--carousel img.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media--carousel img {
    transition: none;
  }
}

@media (min-width: 700px) {
  .hero-split {
    padding: 140px 0 100px;
  }

  .hero-curve {
    height: 84px;
  }

  .hero-split-inner {
    width: min(1240px, calc(100% - 48px));
    gap: 28px;
  }

  .hero-stage {
    gap: 24px;
  }

  .hero-title-box {
    width: 100%;
    max-width: 100%;
    padding: 24px 26px;
    border-radius: 26px;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  }

  .hero-visual {
    width: 100%;
  }

  .hero-desc {
    margin-top: 6px;
    max-width: 52ch;
    font-size: 16px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
  }

  .hero-btn {
    width: auto;
    min-width: 160px;
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
    gap: 8px;
  }

  .hero-stores {
    max-width: 520px;
    gap: 12px;
    margin-top: 8px;
  }

  .store-btn {
    min-height: 52px;
    border-radius: 12px;
    padding: 8px 12px;
    gap: 10px;
  }

  .store-logo {
    width: 24px;
    height: 24px;
  }

  .store-btn-text small {
    font-size: 9px;
  }

  .store-btn-text strong {
    font-size: 13px;
  }

  .hero-media {
    border-radius: 22px;
  }
}

@media (min-width: 980px) {
  .hero-split {
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: min(860px, 100dvh);
    padding: 110px 0 110px;
  }

  .hero-curve {
    height: 96px;
  }

  .hero-split-bg {
    background:
      radial-gradient(ellipse 55% 50% at 18% 35%, rgba(46, 168, 190, 0.28), transparent 60%),
      radial-gradient(ellipse 45% 45% at 82% 55%, rgba(34, 120, 150, 0.22), transparent 58%),
      radial-gradient(ellipse 40% 35% at 60% 10%, rgba(120, 200, 220, 0.1), transparent 55%),
      #050b12;
  }

  .hero-split-inner {
    width: min(1240px, calc(100% - 64px));
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
      "stage visual"
      "desc visual"
      "actions visual"
      "stores visual";
    column-gap: 48px;
    row-gap: 24px;
    align-items: center;
  }

  .hero-stage {
    display: contents;
  }

  .hero-title-box {
    grid-area: stage;
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 26px 30px;
    border-radius: 32px;
    font-size: clamp(2.1rem, 3.2vw, 3.2rem);
    justify-self: start;
  }

  .hero-visual {
    grid-area: visual;
    width: 100%;
    margin: 0;
  }

  .hero-desc {
    grid-area: desc;
    margin: 0;
    max-width: 44ch;
    font-size: 15.5px;
  }

  .hero-actions {
    grid-area: actions;
    margin: 0;
    align-self: start;
  }

  .hero-stores {
    grid-area: stores;
    max-width: 460px;
    align-self: start;
  }

  .hero-media {
    border-radius: 28px;
    transform: translateY(8px);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 28px 70px rgba(0, 0, 0, 0.45),
      0 0 60px rgba(46, 168, 190, 0.12);
  }

  .hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-media--carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.feature-visual {
  position: absolute;
  top: 54px;
  right: 18px;
  left: 18px;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.feature-visual img {
  display: block;
  width: min(100%, 280px);
  height: 100%;
  max-height: 210px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  opacity: 0.95;
}

.feature-visual--wide {
  top: 48px;
  right: 28px;
  left: auto;
  width: min(52%, 420px);
  height: 58%;
}

.feature-visual--wide img {
  width: 100%;
  max-height: none;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 699px) {
  .feature-visual {
    top: 58px;
    height: 42%;
  }

  .feature-visual--wide {
    left: 18px;
    right: 18px;
    width: auto;
    height: 48%;
  }
}

.large-visual {
  position: absolute;
  top: 30px;
  right: 75px;
  width: 360px;
  height: 310px;
}

.visual-halo {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.halo-a { width: 245px; height: 245px; }
.halo-b { width: 340px; height: 340px; }

.visual-core {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 55px rgba(40, 127, 168, 0.14), inset 0 1px 3px #fff;
}

.spark-icon {
  font-size: 76px;
  line-height: 1;
  color: #2b7d9e;
  font-family: Georgia, serif;
}

.visual-chip {
  position: absolute;
  border-radius: 30px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.87);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(42, 108, 142, 0.09);
}

.chip-a { left: 3px; top: 65px; }
.chip-b { right: -12px; top: 105px; }
.chip-c { left: 28px; bottom: 35px; }

.mini-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 112px;
  left: 18px;
  right: 18px;
}

.mini-flow span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(38, 61, 74, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 9px 20px rgba(60, 60, 60, 0.04);
}

.mini-flow i {
  width: 26px;
  height: 1px;
  background: #9faeb1;
}

.chat-visual {
  position: absolute;
  top: 105px;
  left: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-end;
}

.chat-bubble {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  font-size: 11px;
  box-shadow: 0 5px 16px rgba(47, 57, 95, 0.05);
}

.chat-bubble.second {
  align-self: flex-start;
  background: #d1d6f2;
}

.chat-star {
  color: #5b70a4;
  font-size: 16px;
  margin-right: 4px;
}

.connections-visual {
  position: absolute;
  top: 97px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.connections-visual span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 22px;
  color: #407568;
  transform: rotate(-9deg);
}

.connections-visual span:nth-child(even) {
  transform: rotate(8deg) translateY(16px);
}

.trust-visual {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  display: grid;
  place-items: center;
}

.trust-ring {
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 26px rgba(255, 255, 255, 0.035),
    0 0 0 55px rgba(255, 255, 255, 0.02);
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  animation: marquee 42s linear infinite;
}

.marquee-reverse {
  animation-direction: reverse;
  animation-duration: 48s;
}

.app-tile {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(2, 6, 18, 0.28);
  flex: none;
}

.app-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
}

.wordmark {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wordmark.dark { color: #111; font-size: 18px; }
.wordmark.sn { font-size: 11px; letter-spacing: -0.06em; font-weight: 700; }

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 1050px) {
  .large-visual {
    right: 0;
  }
}

@media (max-width: 760px) {
  .hero-sky {
    background-position: center bottom;
  }

  .app-tile {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .app-logo {
    width: 34px;
    height: 34px;
  }
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #dce6e8;
  border-bottom: 1px solid #dce6e8;
}

.solution-item {
  position: relative;
  min-height: 230px;
  padding: 25px 0;
  border-bottom: 1px solid #dce6e8;
}

.solution-item:last-child {
  border-bottom: 0;
}

@media (min-width: 700px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-item {
    min-height: 278px;
    padding: 30px 26px 23px;
    border-right: 1px solid #dce6e8;
    border-bottom: 1px solid #dce6e8;
  }

  .solution-item:nth-child(2n) {
    border-right: 0;
  }

  .solution-item:nth-child(-n + 2) {
    border-bottom: 1px solid #dce6e8;
  }

  .solution-item:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (min-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .solution-item,
  .solution-item:nth-child(2n),
  .solution-item:nth-child(n + 3) {
    border-right: 1px solid #dce6e8;
    border-bottom: 0;
  }

  .solution-item:last-child {
    border-right: 0;
  }

  .solution-item:first-child {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .large-visual {
    top: 25px;
    right: -65px;
    transform: scale(0.78);
    transform-origin: top right;
  }
}

.services-section {
  background: #ffffff;
  padding: 80px 0 72px;
}

.services-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  color: #2f6d85;
}

.services-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f9bb8;
  box-shadow: 0 0 0 4px rgba(63, 155, 184, 0.16);
}

.services-head h2 {
  margin: 16px 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #111827;
}

.services-head p {
  margin: 0 auto;
  max-width: 48ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #526676;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  padding: 0 0 18px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 45, 66, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-media {
  width: 100%;
  height: 148px;
  margin-bottom: 14px;
  background-color: #dbe4ea;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 45, 66, 0.12);
  }
}

.service-card--mint { background: linear-gradient(160deg, #e7f5ee 0%, #d7eee2 100%); }
.service-card--sky { background: linear-gradient(160deg, #e5f3fa 0%, #d3ebf5 100%); }
.service-card--lilac { background: linear-gradient(160deg, #ebe9f8 0%, #ddd9f2 100%); }
.service-card--sand { background: linear-gradient(160deg, #f6efe4 0%, #efe3d1 100%); }
.service-card--rose { background: linear-gradient(160deg, #f7e8ea 0%, #f0d6db 100%); }
.service-card--teal { background: linear-gradient(160deg, #dff4f3 0%, #cceceb 100%); }
.service-card--navy {
  background: linear-gradient(160deg, #173448 0%, #102738 100%);
  color: #eef6fb;
  box-shadow: 0 16px 36px rgba(10, 28, 44, 0.22);
}

.service-card.service-card--navy h3 {
  color: #ffffff;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #111827;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .service-card {
    padding: 0 0 18px;
    min-height: 0;
  }

  .service-media {
    height: 160px;
    margin-bottom: 16px;
  }

  .service-card h3 {
    margin-left: 18px;
    margin-right: 18px;
    font-size: 18px;
  }
}

@media (max-width: 699px) {
  .services-section {
    padding: 52px 0 44px;
  }

  .services-head {
    margin-bottom: 24px;
  }

  .services-head h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .services-head p {
    font-size: 14px;
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    padding: 0 0 14px;
    border-radius: 18px;
    min-height: 0;
  }

  .service-media {
    height: 120px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    margin-left: 14px;
    margin-right: 14px;
    font-size: 15px;
  }
}

.howto-section {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(14, 116, 144, 0.07), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 88px 0 80px;
}

.howto-head {
  max-width: 640px;
  margin: 0 0 36px;
}

.howto-kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2563eb;
}

.howto-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #111827;
}

.howto-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #4b5563;
}

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

.howto-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.howto-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.howto-card i {
  width: 22px;
  height: 22px;
  color: #2563eb;
}

.howto-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.howto-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b7280;
}

.howto-cta {
  margin-top: 28px;
}

.howto-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.howto-all:hover {
  color: #2563eb;
}

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

@media (max-width: 560px) {
  .howto-section {
    padding: 64px 0 56px;
  }

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

.credentials-section {
  background: #ffffff;
  padding: 80px 0 72px;
  overflow: hidden;
}

.credentials-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
}

.credentials-head h2 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.credentials-head p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #64748b;
}

.creds-viewport {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  overflow: hidden;
}

.creds-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.cred {
  flex: 1 1 0;
  min-width: 0;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 14px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cred:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }
}

.cred-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  margin: 0 auto 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid #e2e8f0;
  display: block;
}

.cred-img--logo {
  padding: 10px;
}

.cred-img--indiaai {
  padding: 8px;
  background: #f8fafc;
}

.cred strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cred > span {
  font-size: 12px;
  color: #64748b;
  display: block;
  line-height: 1.35;
}

.cred-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
}

.cred-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

@media (max-width: 1099px) {
  .creds-viewport {
    max-width: none;
    padding: 0;
    overflow: hidden;
  }

  .creds-track {
    justify-content: flex-start;
    width: max-content;
    gap: 12px;
    padding: 4px 0 8px;
    will-change: transform;
  }

  .cred {
    flex: none;
    width: min(200px, calc(100vw - 96px));
    max-width: none;
  }

  .cred-img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 699px) {
  .credentials-section {
    padding: 48px 0;
  }

  .credentials-head {
    margin-bottom: 18px;
  }

  .credentials-head h2 {
    font-size: 26px;
  }

  .credentials-head p {
    font-size: 13px;
  }

  .creds-viewport {
    touch-action: pan-y;
  }

  .creds-track {
    gap: 12px;
    padding: 2px 0 6px;
  }

  .cred {
    width: min(220px, calc(100vw - 88px));
    padding: 16px 12px 14px;
    border-radius: 16px;
  }

  .cred-img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .cred strong {
    font-size: 13px;
  }

  .cred > span {
    font-size: 11px;
  }

  .cred-status {
    margin-top: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .cred-status-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(-10px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .hero-inner { transform: translateY(-10px); }
}

/* ── Inner pages (contact, legal, pricing, etc.) ── */
body.subpage {
  background: #ffffff;
}

.site-footer {
  background: #ffffff;
  color: #6b7280;
  padding: 55px 0 23px;
  border-top: 1px solid #e5e7eb;
}

.footer-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 auto 22px;
  padding-top: 4px;
}

@media (min-width: 700px) {
  .footer-addresses {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.footer-address > svg,
.footer-address > i[data-lucide] {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  stroke-width: 1.8;
  color: #2563eb;
}

.footer-address-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.footer-addresses p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #4b5563;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-list a:hover {
  color: #111827;
}

.footer-list a svg,
.footer-list a i[data-lucide] {
  width: 15px;
  height: 15px;
  flex: none;
  stroke-width: 1.8;
  color: #9ca3af;
}

.footer-list a:hover svg,
.footer-list a:hover i[data-lucide] {
  color: #2563eb;
}

.footer-brand-icon {
  width: 16px;
  height: 16px;
  flex: none;
  object-fit: contain;
  display: block;
}

body.subpage .site-header {
  position: absolute;
}

.page-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(127, 196, 232, 0.22), transparent 55%),
    linear-gradient(180deg, #071422 0%, #12324a 55%, #1d4a63 100%);
  color: #eef6fb;
  padding: 140px 0 56px;
}

.page-hero-inner {
  max-width: 760px;
}

.page-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ec9de;
}

.page-hero h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.page-lead {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: #c5dae6;
}

.page-body {
  padding: 48px 0 80px;
}

.prose-page {
  max-width: 760px;
}

.page-body--pricing .prose-page,
.page-body--contact .prose-page,
.page-body--topic .prose-page,
.page-body--about .prose-page {
  max-width: 880px;
}

.topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.4em;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5f8;
  color: #1a6b8c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topic-callout {
  margin: 1.2em 0 1.6em;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid #d7e3e9;
  background: linear-gradient(160deg, #f4fafc 0%, #eef5f8 100%);
}

.topic-callout p {
  margin: 0;
  color: #244556;
}

.topic-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 1.4em;
}

@media (min-width: 700px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.topic-card {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid #d7e3e9;
  border-radius: 16px;
  background: #fff;
}

.topic-card h3 {
  margin: 0 0 0.45em;
  font-size: 1rem;
}

.topic-card p {
  margin: 0;
  font-size: 14px;
}

.topic-dropdowns {
  display: grid;
  gap: 10px;
  margin: 0 0 1.6em;
}

.topic-dropdown {
  border: 1px solid #d7e3e9;
  border-radius: 14px;
  background: #f8fafb;
  overflow: hidden;
}

.topic-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 750;
  color: #111827;
}

.topic-dropdown summary::-webkit-details-marker {
  display: none;
}

.topic-dropdown summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex: none;
  margin-top: -4px;
}

.topic-dropdown[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
  border-color: #2563eb;
}

.topic-dropdown-body {
  padding: 0 16px 16px;
  color: #3d5564;
  font-size: 14.5px;
  line-height: 1.65;
}

.topic-dropdown-body p {
  margin: 0 0 0.75em;
}

.topic-dropdown-body p:last-child {
  margin-bottom: 0;
}

.topic-dropdown-body ul {
  margin: 0.35em 0 0;
}

.topic-related {
  display: grid;
  gap: 10px;
  margin: 1.2em 0 0;
}

@media (min-width: 700px) {
  .topic-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.topic-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d7e3e9;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.topic-related a:hover {
  border-color: #93c5d8;
  transform: translateY(-1px);
  color: #0f4d66;
}

.feature-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card:focus-visible {
  outline: 2px solid #2b7d9e;
  outline-offset: 3px;
}

.compare-block {
  margin-top: 56px;
  padding: 28px 0 0;
  border-top: 1px solid #e5e7eb;
}

.compare-head {
  max-width: 640px;
  margin: 0 auto 22px;
  text-align: center;
}

.compare-head h3 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.compare-head p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.compare-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-pill {
  appearance: none;
  border: 0;
  background: transparent;
  color: #4b5563;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.compare-pill:hover {
  color: #111827;
}

.compare-pill.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.compare-pill:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.compare-panels {
  max-width: 920px;
  margin: 0 auto;
}

.compare-panel[hidden] {
  display: none;
}

.compare-panel.is-active {
  display: block;
  animation: compareIn 0.28s ease;
}

@keyframes compareIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.compare-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 700px) {
  .compare-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.compare-points li {
  margin: 0;
  padding: 16px 16px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
}

.compare-points li span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-points li p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

.compare-points li a {
  color: #1a6b8c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 699px) {
  .compare-block {
    margin-top: 40px;
  }

  .compare-pills {
    width: 100%;
    justify-content: flex-start;
    padding: 4px;
  }

  .compare-pill {
    flex: 1 0 auto;
    padding: 11px 14px;
    font-size: 13px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-panel.is-active {
    animation: none;
  }
}

.prose-page h2,
.prose-page h3 {
  margin: 1.6em 0 0.55em;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.prose-page h2 {
  font-size: 1.45rem;
}

.prose-page h3 {
  font-size: 1.1rem;
}

.prose-page p,
.prose-page li {
  color: #3d5564;
  font-size: 15px;
  line-height: 1.7;
}

.prose-page p {
  margin: 0 0 1em;
}

.prose-page ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

.prose-page li + li {
  margin-top: 0.35em;
}

.prose-page a {
  color: #1a6b8c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-page a:hover {
  color: #0f4d66;
}

.prose-page code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: #e8eef1;
  color: #17384c;
}

.fp-updated,
.prose-page .fp-updated {
  margin-bottom: 1.25em;
  font-size: 13px;
  color: #6a8290;
}

.page-body--legal .prose-page {
  max-width: 820px;
}

.prose-page .legal-notice {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #111827;
  font-size: 14px;
  line-height: 1.65;
}

.info-card {
  margin: 1rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid #d7e3e9;
  border-radius: 16px;
  background: #fff;
}

.about-card-grid {
  display: grid;
  gap: 14px;
  margin-top: 1.5rem;
}

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

.about-card-grid .info-card h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid #dce6e8;
}

.contact-form {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid #d7e3e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(16, 45, 66, 0.06);
}

.contact-form label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #102d42;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cfdce3;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8fbfc;
  color: #102d42;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #2b7d9e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 125, 158, 0.15);
}

.contact-submit {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0a1a2c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.9;
}

.contact-note {
  margin: 4px 0 0 !important;
  font-size: 12px !important;
  color: #6a8290 !important;
}

.careers-form {
  max-width: 560px;
}

.page-hero--pricing .page-hero-inner {
  padding-bottom: 8px;
}

.page-hero--pricing h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-body--pricing .prose-page {
  max-width: 1120px;
}

.pricing-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 800px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.pricing-card.is-featured {
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.45);
}

.pricing-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.pricing-card.is-featured h2 {
  color: #3b82f6;
}

.pricing-tag {
  margin: 0 0 18px;
  min-height: 3.2em;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.pricing-price {
  margin: 0 0 16px;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111827;
}

.pricing-price span {
  margin-left: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0;
}

.pricing-price--spacer {
  visibility: hidden;
  min-height: 2.35rem;
}

.pricing-includes {
  margin: 18px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.pricing-card ul,
.pricing-consult ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.pricing-card li,
.pricing-consult li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
}

.pricing-card li::before,
.pricing-consult li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23bfdbfe'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%232563eb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pricing-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pricing-cta--outline {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827 !important;
}

.pricing-cta--primary {
  border: 1px solid #60a5fa;
  background: #60a5fa;
  color: #fff !important;
}

.pricing-cta--dark {
  border: 1px solid #111827;
  background: #111827;
  color: #fff !important;
}

.pricing-cta--wide {
  max-width: 220px;
}

.pricing-consult {
  margin-top: 28px;
  padding: 28px 26px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  max-width: 560px;
}

.pricing-consult h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.pricing-consult-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.pricing-consult-price {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.pricing-consult-note {
  margin: 12px 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

@media (max-width: 699px) {
  .page-hero {
    padding: 120px 0 40px;
  }

  .page-body {
    padding: 32px 0 56px;
  }
}

/* ── Models catalog page ── */
.page-body--models {
  padding-top: 36px;
}

.models-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.models-jump a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.models-jump a:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.models-catalog {
  display: grid;
  gap: 18px;
}

.model-detail-card {
  scroll-margin-top: 96px;
  padding: 28px 26px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.model-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

.model-detail-head h2 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  line-height: 1.15;
}

.model-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.model-section-title {
  margin: 22px 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.model-prose {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #4b5563;
}

.model-list {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}

.model-list li + li {
  margin-top: 6px;
}

.model-compare {
  margin-top: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #f9fafb;
}

.model-compare-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13.5px;
  color: #6b7280;
}

.model-compare-row:last-child {
  border-bottom: 0;
}

.model-compare-row strong {
  color: #2563eb;
  font-weight: 700;
  text-align: right;
}

.model-accordion {
  display: grid;
  gap: 8px;
}

.model-acc-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  overflow: hidden;
}

.model-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.model-acc-btn svg,
.model-acc-btn i[data-lucide] {
  width: 16px;
  height: 16px;
  flex: none;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.model-acc-btn[aria-expanded="true"] svg,
.model-acc-btn[aria-expanded="true"] i[data-lucide] {
  transform: rotate(180deg);
  color: #2563eb;
}

.model-acc-panel {
  display: none;
  padding: 0 14px 14px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.model-acc-panel.open {
  display: block;
}

@media (max-width: 699px) {
  .model-detail-card {
    padding: 22px 18px;
  }

  .models-jump {
    padding: 12px;
  }
}

/* TwinGP Guides — fixed app shell (page doesn't scroll; panels do) */
html:has(body.guide-page) {
  height: 100%;
  overflow: hidden;
}

body.guide-page,
body.guide-page.subpage {
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  background: #f4f5f7 !important;
  display: flex;
  flex-direction: column;
}

body.guide-page .site-footer {
  display: none !important;
}

body.guide-page.subpage .site-header,
.guide-topbar {
  position: relative !important;
  top: auto !important;
  flex: none;
  z-index: 40;
  width: 100%;
  padding: 12px 16px 0;
  margin: 0;
  background: transparent;
}

.guide-topbar > div {
  margin-inline: auto;
}

.guide-layout {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 16px 16px;
  background: #f4f5f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.guide-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  width: min(1320px, 100%);
  margin-inline: auto;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.guide-sidebar {
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.guide-side-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 16px 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.guide-side-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  text-decoration: none;
}

.guide-side-home img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.guide-side-tagline {
  display: none;
}

.guide-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.guide-search i {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  flex: none;
}

.guide-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: #0f172a;
}

.guide-search input::placeholder {
  color: #94a3b8;
}

.guide-search-results {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #eef2f7;
  background: #f8fafc;
}

.guide-search-hit {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.guide-search-hit:hover {
  background: #eff6ff;
}

.guide-search-hit strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.guide-search-hit span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #64748b;
}

.guide-search-empty {
  padding: 10px;
  font-size: 12px;
  color: #64748b;
}

.guide-side-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  -webkit-overflow-scrolling: touch;
}

.guide-side-group {
  margin: 0 0 14px;
}

.guide-side-label {
  margin: 0 0 6px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}

.guide-side-link {
  display: block;
  padding: 8px 10px;
  margin: 0 0 2px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.guide-side-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.guide-side-link.is-active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #2563eb;
}

.guide-side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  flex: none;
}

.guide-side-cta:hover {
  opacity: 0.92;
}

.guide-article {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.guide-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px 32px 30px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  color: #94a3b8;
}

.guide-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}

.guide-breadcrumb a:hover {
  color: #2563eb;
}

.guide-prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
}

.guide-prose h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: #0f172a;
}

.guide-prose h2 {
  margin: 32px 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #eef2f7;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.guide-prose h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.guide-prose p,
.guide-prose ul,
.guide-prose ol {
  margin: 0 0 14px;
}

.guide-prose ul,
.guide-prose ol {
  padding-left: 1.15rem;
}

.guide-prose li {
  margin: 0 0 8px;
}

.guide-prose ol > li::marker {
  font-weight: 700;
  color: #2563eb;
}

.guide-prose a {
  color: #2563eb;
  font-weight: 650;
  text-decoration: none;
}

.guide-prose a:hover {
  text-decoration: underline;
}

.guide-prose strong {
  color: #0f172a;
}

.guide-prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 24px;
  font-size: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.guide-prose th,
.guide-prose td {
  border-bottom: 1px solid #eef2f7;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.guide-prose tr:last-child td {
  border-bottom: 0;
}

.guide-prose th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.guide-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 8px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.guide-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.guide-brand-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.guide-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 26px;
}

.guide-cta-row a {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-cta-row a:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
}

.guide-cta-row strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.guide-cta-row span {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

.guide-card {
  display: block;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.guide-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.guide-card p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.guide-card-meta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.guide-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.guide-app {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  padding: 5px;
}

.guide-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eef2f7;
}

.guide-pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.guide-pager-link:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.guide-pager-link.next {
  text-align: right;
  justify-self: end;
  width: 100%;
}

.guide-pager-link span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.guide-pager-link strong {
  font-size: 14px;
  color: #0f172a;
}

.guide-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 22px 0 28px;
}

.guide-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.guide-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.guide-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.guide-footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}

.guide-footer-links a:hover {
  color: #2563eb;
}

@media (max-width: 980px) {
  body.guide-page.subpage .site-header,
  .guide-topbar {
    padding: 8px 12px 0;
  }

  .guide-layout {
    padding: 10px 12px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .guide-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .guide-sidebar {
    position: relative;
    z-index: 12;
    height: auto;
    overflow: visible;
    order: -1;
  }

  .guide-article {
    order: 0;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .guide-side-card {
    height: auto;
    overflow: visible;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .guide-article-card {
    height: auto;
    overflow: visible;
  }

  .guide-nav-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
  }

  .guide-nav-toggle-caret {
    width: 16px;
    height: 16px;
    flex: none;
    transition: transform 0.18s ease;
  }

  .guide-side-card.is-nav-open .guide-nav-toggle-caret {
    transform: rotate(180deg);
  }

  .guide-side-card.guide-nav-enhanced .guide-side-nav {
    display: none;
    max-height: min(50vh, 360px);
    margin-top: 0;
    padding: 6px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
  }

  .guide-side-card.guide-nav-enhanced.is-nav-open .guide-side-nav {
    display: block;
  }

  .guide-side-cta {
    display: none;
  }

  .guide-article-card {
    padding: 20px 16px 22px;
    border-radius: 16px;
  }

  .guide-prose h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .guide-prose h2 {
    margin: 22px 0 10px;
    padding: 12px 12px;
    font-size: 16px;
  }

  .guide-prose {
    font-size: 15px;
    line-height: 1.65;
  }

  .guide-cta-row,
  .guide-cards {
    grid-template-columns: 1fr;
  }

  .guide-pager {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guide-pager-link.next {
    text-align: left;
  }
}

@media (min-width: 981px) {
  .guide-nav-toggle {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .guide-layout {
    padding: 10px 10px 24px;
  }

  .guide-breadcrumb {
    font-size: 11px;
    gap: 6px;
  }

  .guide-brand-row {
    width: 100%;
  }

  .guide-apps {
    gap: 8px;
  }

  .guide-app {
    width: 36px;
    height: 36px;
  }
}
