/* ==========================================================================
   ais — landing
   Typography: Hanken Grotesk · Brand: #0B0B0F / #2F5BFF / #FFFFFF
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800;900&family=Onest:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #0B0B0F;
  --ink-2: #2E3242;
  --muted: #6B7183;
  --line: #ECEEF3;
  --bg: #FFFFFF;
  --surface: #F6F8FC;
  --blue: #2F5BFF;
  --blue-600: #2447D6;
  --blue-50: #EEF2FF;
  --green: #19C37D;

  --tint-lavender: #F3F0FF;
  --tint-cyan: #E8F7FA;
  --tint-mint: #EBF7EF;
  --tint-sky: #EEF2FF;
  --tint-peach: #FFF3EC;
  --tint-butter: #FFF8E5;

  --dark: #0B0B0F;
  --dark-card: #15171F;
  --dark-line: #23262F;

  --font: 'Hanken Grotesk', 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select { font: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--r-pill);
  font-size: 0.975rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease;
}

.btn:active { transform: scale(0.98); }
.btn-sm { height: 42px; padding: 0 1.25rem; font-size: 0.9rem; }
.btn-lg { height: 56px; padding: 0 1.9rem; font-size: 1.025rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 91, 255, 0.25);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(47, 91, 255, 0.32); }

.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: #EDF0F6; }

.btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(10, 20, 80, 0.25); }
.btn-white:hover { transform: translateY(-2px); }

.play-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(11, 11, 15, 0.05);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img { height: 30px; width: auto; }

.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.header-actions { display: flex; justify-content: flex-end; }

/* ais hello lockup — original logo shape, coloured with a mask */
.hello-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  line-height: 1;
  white-space: nowrap;
}
.ais-mark {
  display: inline-block;
  width: 1.27em;
  height: 0.73em;
  background: var(--blue);
  -webkit-mask: url('../assets/brand/ais-logo-black.svg') left bottom / contain no-repeat;
  mask: url('../assets/brand/ais-logo-black.svg') left bottom / contain no-repeat;
}
.hello-word {
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hello-pill {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 1.15rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(11, 11, 15, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hello-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47, 91, 255, 0.3); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(47, 91, 255, 0.10), rgba(47, 91, 255, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 3rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 1.75rem;
  transition: border-color 0.2s ease;
}
.pill-badge:hover { border-color: #D7DCE8; }
.pill-badge-tag {
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero .display { margin-bottom: 1.5rem; }
.hero .lead { max-width: 500px; margin-bottom: 2.25rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.25rem; }

.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--tint-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319C37D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.hero-visual img { width: 100%; max-width: 680px; margin-left: auto; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 7rem 0; }
.section-soft { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-head .lead { margin-top: 1rem; }
.section-head-left { text-align: left; margin: 0; }

/* --------------------------------------------------------------------------
   Apps
   -------------------------------------------------------------------------- */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  transition: transform 0.4s var(--ease);
}
.app-card:hover { transform: translateY(-4px); }

.app-visual {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.25rem;
}
.app-visual img { width: 100%; height: 100%; object-fit: contain; }

.app-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.app-name {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--blue);
  margin: 0.25rem 0 0.5rem;
}
.app-name b { color: var(--ink); font-weight: 800; }

.app-body p { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 1.5rem; }

.platforms { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--muted);
}
.platform.is-live { color: var(--ink); }
.platform.is-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.18);
}

.lead-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 3.5rem auto 0;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 32px rgba(23, 27, 44, 0.06);
}
.lead-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 1.1rem;
  font-size: 1rem;
  color: var(--ink);
}
.lead-form input::placeholder { color: #A0A6B6; }
.lead-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  border-radius: var(--r-xl);
  padding: 2rem 2rem 2.25rem;
  transition: transform 0.4s var(--ease);
}
.feature:hover { transform: translateY(-4px); }

.feature-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.feature:hover .feature-visual img { transform: scale(1.04); }

.feature h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.feature p { color: var(--ink-2); opacity: 0.8; }

.tint-lavender { background: var(--tint-lavender); }
.tint-cyan { background: var(--tint-cyan); }
.tint-mint { background: var(--tint-mint); }
.tint-sky { background: var(--tint-sky); }
.tint-peach { background: var(--tint-peach); }
.tint-butter { background: var(--tint-butter); }

/* --------------------------------------------------------------------------
   ais hello
   -------------------------------------------------------------------------- */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.hello {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem 0 7rem;
}
.hello-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hello-aura span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
  animation: drift 16s ease-in-out infinite alternate;
}
.hello-aura span:nth-child(1) { width: 560px; height: 560px; left: 8%; top: -6%; background: #2F5BFF; }
.hello-aura span:nth-child(2) { width: 500px; height: 500px; right: 6%; top: 4%; background: #7B4DFF; animation-delay: -6s; }
.hello-aura span:nth-child(3) { width: 440px; height: 440px; left: 38%; top: 30%; background: #4BD3FF; opacity: 0.25; animation-delay: -11s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}
.hello::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 45%, #fff 85%);
  pointer-events: none;
}

.hello-head { text-align: center; margin-bottom: 3rem; }
.hello-title {
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hello-title .hello-mark { justify-content: center; }
.hello-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  color: var(--ink-2);
}

/* prompt */
.ask { max-width: 760px; margin: 0 auto; }
.prompt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 76px;
  padding: 0 0.6rem 0 1.5rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px -20px rgba(47, 91, 255, 0.35), 0 2px 8px rgba(23, 27, 44, 0.06);
}
.prompt::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--spin), #2F5BFF, #7B4DFF, #4BD3FF, #19C37D, #2F5BFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 6s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { --spin: 360deg; } }
.prompt-spark { display: flex; flex-shrink: 0; }
.prompt-text {
  flex: 1;
  min-width: 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: var(--blue);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.prompt-send {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.answer {
  min-height: 3.6em;
  margin-top: 1.75rem;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.answer b {
  font-weight: 800;
  background: linear-gradient(90deg, #2F5BFF, #7B4DFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.answer.is-hidden { opacity: 0; transform: translateY(8px); }

/* capabilities */
.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 4.5rem;
}
.cap {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.cap:hover { transform: translateY(-4px); border-color: #D9E0FF; box-shadow: 0 24px 48px -20px rgba(47, 91, 255, 0.25); }
.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #2F5BFF, #7B4DFF);
  box-shadow: 0 10px 22px -8px rgba(47, 91, 255, 0.6);
}
.cap h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.cap p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.25rem; }
.cap-app {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .hello-aura span, .prompt::before, .caret { animation: none; }
}

@media (max-width: 1024px) {
  .caps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hello { padding: 5rem 0 4.5rem; }
  .hello-aura span { filter: blur(60px); }
  .hello-aura span:nth-child(1) { width: 300px; height: 300px; }
  .hello-aura span:nth-child(2) { width: 280px; height: 280px; }
  .hello-aura span:nth-child(3) { width: 240px; height: 240px; }
  .prompt { height: auto; min-height: 64px; padding: 0.5rem 0.5rem 0.5rem 1.1rem; border-radius: 28px; gap: 0.6rem; }
  .prompt-text { white-space: normal; font-size: 1rem; line-height: 1.35; }
  .prompt-send { width: 46px; height: 46px; }
  .answer { min-height: 4.4em; }
  .caps { grid-template-columns: 1fr; margin-top: 3rem; }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats-band { padding: 5rem 0 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 2.75rem 1.5rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat span { color: var(--muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   Integrations
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
}

.split-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual img { position: relative; width: 100%; max-width: 520px; }
.orbit {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 91, 255, 0.35);
  background: radial-gradient(closest-side, rgba(47, 91, 255, 0.06), rgba(47, 91, 255, 0));
}

.split .lead { margin: 1rem 0 2.25rem; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 520px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border-radius: 20px;
  transition: background-color 0.25s ease;
}
.tile:hover { background: var(--blue-50); }
.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(23, 27, 44, 0.06);
}
.tile strong { font-size: 1rem; font-weight: 800; }
.tile span:last-child { font-size: 0.875rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Trust
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.trust h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.35rem; }
.trust p { font-size: 0.95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 2.25rem 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.step-num {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 2.5rem;
}
.step h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.step p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--line);
}
.quote blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; }
.quote figcaption strong { display: block; font-size: 0.95rem; }
.quote figcaption small { font-size: 0.825rem; color: var(--muted); }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta-section { padding: 0 0 7rem; }
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--r-xl);
  padding: 6rem 2rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.2), transparent 45%),
    radial-gradient(circle at 5% 100%, rgba(123, 77, 255, 0.5), transparent 50%),
    linear-gradient(135deg, #3A63FF 0%, #2447D6 100%);
}
.cta-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 760px;
  margin: 0 auto 1rem;
}
.cta-text { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); margin-bottom: 2.25rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 280px; color: var(--muted); font-size: 0.95rem; }
.footer h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer li a, .footer li span { font-size: 0.95rem; color: var(--muted); transition: color 0.2s ease; }
.footer li a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 11, 15, 0.5);
  backdrop-filter: blur(6px);
}
.modal-backdrop.active { display: flex; }
.modal-window {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(11, 11, 15, 0.25);
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.4rem;
  line-height: 1;
}
.modal-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.5rem; padding-right: 2rem; }
.modal-desc { color: var(--muted); margin-bottom: 1.75rem; }
.modal-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-size: 0.875rem; font-weight: 700; }
.field input, .field select {
  height: 50px;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field input:focus, .field select:focus { border-color: var(--blue); background: #fff; }

/* Modul tanlovi — "chip"lar.
   Nega checkbox emas, chip: beshta modulni ro'yxat qilib qo'ysak,
   forma cho'zilib ketadi va mijoz tashlab ketadi. Chip bitta qatorga
   sig'adi va bosish oson (telefonda ham). */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip span {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.chip input:checked + span {
  border-color: var(--blue);
  background: rgba(47, 91, 255, 0.1);
  color: var(--blue);
}
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip:hover span { border-color: var(--blue); }

/* Ikki qisqa maydon yonma-yon: filiallar va kassa joylari. */
.field-row { display: flex; gap: 0.75rem; }
.field-row .field { flex: 1; min-width: 0; }
.field-row .flex-2 { flex: 1.5; }
.field-row .flex-1 { flex: 0.9; }

@media (max-width: 440px) {
  .field-row { flex-direction: column; gap: 0.75rem; }
}

/* Stepper: filiallar soni */
.stepper-wrap {
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 3px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.stepper-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.12);
  background: #fff;
}
.stepper-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.stepper-btn:hover {
  background: var(--blue);
  color: #fff;
}
.stepper-btn:active {
  transform: scale(0.92);
}
.stepper-input {
  flex: 1;
  min-width: 0;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  padding: 0 !important;
  box-shadow: none !important;
}
.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.stepper-input[type=number] {
  -moz-appearance: textfield;
}

#lead-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
  height: 52px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -6px rgba(47, 91, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#lead-submit:hover {
  box-shadow: 0 14px 28px -6px rgba(47, 91, 255, 0.55);
  transform: translateY(-1px);
}
#lead-submit:active {
  transform: translateY(0);
}

/* Ixtiyoriy maydon belgisi: majburiysidan ajralib tursin, aks holda
   mijoz hammasini to'ldirishi shart deb o'ylaydi va formadan chiqib
   ketadi. */
.field-optional {
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted, #667085);
  margin-left: 0.35rem;
}

/* Xato bo'lgan katak — qizil ramka va och fon.
   Faqat matn bilan cheklanmaymiz: mijoz ro'yxatdagi qaysi katakni
   tuzatishni darhol ko'rishi kerak. */
.field input.is-invalid,
.field select.is-invalid {
  border-color: #DC2626;
  background: #FEF2F2;
}
.chips.is-invalid {
  outline: 2px solid #DC2626;
  outline-offset: 6px;
  border-radius: 12px;
}

/* Xato matni — forma **ichida**, tugma ustida: mijoz uni ko'rmasdan
   qayta bosmasligi uchun. */
.modal-error {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b3261e;
  font-size: 0.875rem;
  line-height: 1.35;
}
.modal-error[hidden] { display: none; }

/* Yuborilayotgan paytda tugma bosilmaydi — ikki marta bosish ikkita
   ariza yaratmasligi kerak (serverda dedupe bor, lekin UI ham aytishi
   kerak). */
#lead-submit:disabled { opacity: 0.65; cursor: progress; }

.modal-success-state { display: none; text-align: center; padding: 1.5rem 0 0.5rem; }
.modal-success-state.active { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--tint-mint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-success-state h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.35rem; }
.modal-success-state p { color: var(--muted); }

.video-box {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: linear-gradient(135deg, #171B2C, #2A3048);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
}
.video-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */
.reveal-on-scroll { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-loaded .reveal-on-scroll:not(.is-revealed) { opacity: 0; transform: translateY(24px); }
.stagger-1 { transition-delay: 0.04s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll, .js-loaded .reveal-on-scroll:not(.is-revealed) { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section { padding: 5.5rem 0; }
  .hero { padding: 2.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; }
  .hero-visual img { margin: 0 auto; max-width: 560px; }
  .apps-grid, .hello-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { height: 64px; }
  .header-cta { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .hello-pill { justify-self: end; }
  .header-actions { display: none; }
  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .hero-actions .btn { width: 100%; }
  .app-card { padding: 1.75rem 1.5rem; border-radius: var(--r-lg); }
  .app-visual { height: 240px; margin-bottom: 1.5rem; }
  .app-name { font-size: 1.85rem; }
  .lead-form { flex-direction: column; border-radius: 24px; padding: 0.5rem; }
  .lead-form input { height: 48px; }
  .feature-grid, .trust-grid { grid-template-columns: 1fr; }
  .feature-visual { height: 180px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 2rem 1rem; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .bubble-list { min-width: 0; }
  .cta { padding: 3.5rem 1.5rem; border-radius: var(--r-lg); }
  .cta-section { padding-bottom: 4.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .modal-window { padding: 2rem 1.5rem; }
}


/* ==========================================================================
   Header + hero — minimal
   ========================================================================== */
.header { border-bottom-color: rgba(11, 11, 15, 0.04); }

.hello-pill {
  position: relative;
  height: 40px;
  padding: 0 1.05rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.1rem;
  box-shadow: 0 8px 22px -10px rgba(47, 91, 255, 0.45);
}
.hello-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--spin), #2F5BFF, #7B4DFF, #4BD3FF, #19C37D, #2F5BFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 6s linear infinite;
  pointer-events: none;
}
.hello-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(47, 91, 255, 0.55); }

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.hc-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease;
}
.hc-phone svg { color: var(--blue); }
.hc-phone:hover { color: var(--blue); }
.hc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease);
}
.hc-icon:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.hero { padding: 6rem 0 2rem; }
.hero::before {
  top: -25%;
  right: auto;
  left: 50%;
  width: 1100px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 91, 255, 0.10), rgba(47, 91, 255, 0));
}
.hero-center {
  position: relative;
  text-align: center;
  max-width: 900px;
}
.hero-center .pill-badge { margin-bottom: 2rem; }
.hero-center .display {
  font-size: clamp(2.8rem, 6.8vw, 5.75rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero-center .lead {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}
.hero-center .hero-actions { justify-content: center; margin-bottom: 0; }
.hero-shot { position: relative; }
.hero-shot img { width: 100%; max-width: 920px; margin: 3.5rem auto 0; }

.soon {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-pill);
  background: #FFF3E0;
  color: #C26A00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) { .hello-pill::before { animation: none; } }

@media (max-width: 900px) {
  .hc-phone span { display: none; }
  .hc-phone {
    width: 40px;
    height: 40px;
    margin-right: 0;
    border-radius: 50%;
    background: var(--surface);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 0.75rem; }
  .hello-pill { justify-self: center; font-size: 1rem; padding: 0 0.85rem; height: 36px; }
  .header-contact { gap: 0.35rem; }
  .hc-icon, .hc-phone { width: 36px; height: 36px; }
  .hc-icon:last-child { display: none; }
  .hero { padding: 3.5rem 0 1rem; }
  .hero-center .pill-badge { font-size: 0.8rem; margin-bottom: 1.5rem; }
  .hero-shot img { margin-top: 2.5rem; }
}


/* ==========================================================================
   Brand mark (blue) + split hero
   ========================================================================== */
.brand { display: inline-flex; align-items: center; }
.brand-mark {
  display: block;
  width: 53px;
  height: 30px;
  background: var(--blue);
  -webkit-mask: url('../assets/brand/ais-logo-black.svg') center / contain no-repeat;
  mask: url('../assets/brand/ais-logo-black.svg') center / contain no-repeat;
}

.hero { padding: 5rem 0 5.5rem; }
.hero::before {
  top: -20%;
  left: auto;
  right: -15%;
  width: 900px;
  height: 900px;
  transform: none;
  background: radial-gradient(closest-side, rgba(47, 91, 255, 0.12), rgba(123, 77, 255, 0.05) 55%, rgba(47, 91, 255, 0));
}
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 560px;
}
.hero-split .pill-badge { margin-bottom: 1.75rem; }
.hero-split .display {
  font-size: clamp(2.6rem, 4.3vw, 3.9rem);
  line-height: 1.04;
  margin-bottom: 1.5rem;
}
.hero-split .lead {
  max-width: 460px;
  margin-bottom: 2.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
}
.hero-split .hero-actions { margin-bottom: 0; }
.hero-art { position: relative; }
.hero-art img {
  width: 112%;
  max-width: none;
  margin-left: -2%;
  filter: drop-shadow(0 40px 60px rgba(23, 27, 44, 0.10));
}

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.5rem; min-height: 0; text-align: center; }
  .hero-split .lead { margin-left: auto; margin-right: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-art img { width: 100%; max-width: 680px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .hero { padding: 3rem 0 3.5rem; }
  .brand-mark { width: 46px; height: 26px; }
  .hero-split .pill-badge { font-size: 0.8rem; }
}

.footer-mark { margin-bottom: 1rem; }


/* ais hello capabilities: 3 x 2 */
.caps { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .caps { grid-template-columns: 1fr; } }

/* Language switch */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  margin-right: 0.35rem;
  border-radius: var(--r-pill);
  background: var(--surface);
}
.lang-switch button {
  height: 32px;
  padding: 0 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lang-switch button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(23, 27, 44, 0.12); }
@media (max-width: 640px) {
  .lang-switch { margin-right: 0.15rem; }
  .lang-switch button { height: 30px; padding: 0 0.5rem; }
}

/* Russian: Onest runs wider */
:lang(ru) .hero-split .display { font-size: clamp(2.4rem, 3.7vw, 3.4rem); }

/* Language switch — aligned with header icons, at the far right */
.lang-switch {
  position: relative;
  align-items: center;
  height: 40px;
  padding: 4px;
  margin: 0 0 0 0.85rem;
}
.lang-switch::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.lang-switch button { height: 32px; min-width: 38px; padding: 0 0.55rem; }
@media (max-width: 640px) {
  .lang-switch { height: 36px; padding: 3px; margin-left: 0.25rem; }
  .lang-switch::before { display: none; }
  .lang-switch button { height: 30px; min-width: 32px; padding: 0 0.4rem; }
}
@media (max-width: 640px) {
  .hc-icon[aria-label="Instagram"] { display: none; }
}


/* ==========================================================================
   Product interface (hero + apps) — HTML UI, no mockups
   ========================================================================== */
.ui-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px -24px rgba(23, 27, 44, 0.22), 0 0 0 1px rgba(23, 27, 44, 0.06);
  text-align: left;
}
.ui-top { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.ui-logo {
  display: block;
  width: 30px;
  height: 17px;
  background: var(--blue);
  -webkit-mask: url('../assets/brand/ais-logo-black.svg') center / contain no-repeat;
  mask: url('../assets/brand/ais-logo-black.svg') center / contain no-repeat;
}
.ui-app { font-size: 0.85rem; font-weight: 800; color: var(--ink); }
.ui-chip {
  margin-left: auto;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.ui-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #11905C;
}
.ui-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* hero collage */
.ui-stage { position: relative; height: 500px; }
.ui-stage::before {
  content: '';
  position: absolute;
  inset: 8% 4% 4% 10%;
  border-radius: 40px;
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(47, 91, 255, 0.18), transparent 70%),
    radial-gradient(50% 50% at 30% 80%, rgba(123, 77, 255, 0.14), transparent 70%);
  filter: blur(20px);
}
.ui-dash { position: absolute; top: 0; right: 0; width: 86%; padding: 1.4rem; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.ui-kpi { padding: 0.8rem 0.85rem; border-radius: 14px; background: var(--surface); }
.ui-kpi span { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.ui-kpi strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.1rem 0; }
.ui-kpi em, .up { font-style: normal; font-size: 0.7rem; font-weight: 800; color: #11905C; }
.ui-chart { padding: 0.9rem 0.9rem 0.6rem; border-radius: 14px; border: 1px solid var(--line); }
.ui-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.ui-chart-head b { font-size: 0.85rem; font-weight: 800; }
.ui-legend { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 600; color: var(--muted); }
.ui-legend::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.ui-chart-svg { display: block; width: 100%; height: 130px; }
.ui-days { display: flex; justify-content: space-between; margin-top: 0.35rem; font-size: 0.68rem; font-weight: 600; color: var(--muted); }

.ui-receipt { position: absolute; left: 0; bottom: 0; width: 250px; padding: 1.2rem; animation: floatY 7s ease-in-out infinite; }
.ui-lines { display: flex; flex-direction: column; gap: 0.55rem; padding-bottom: 0.8rem; border-bottom: 1px dashed #DDE2EC; }
.ui-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem; font-size: 0.82rem; }
.ui-lines span { font-weight: 700; }
.ui-lines em { font-style: normal; color: var(--muted); }
.ui-lines b { font-weight: 700; min-width: 52px; text-align: right; }
.ui-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0.8rem 0; }
.ui-total span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.ui-total b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.ui-pay {
  height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(47, 91, 255, 0.55);
}

.ui-toast {
  position: absolute;
  right: 6%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(23, 27, 44, 0.28), 0 0 0 1px rgba(23, 27, 44, 0.05);
  animation: floatY 7s ease-in-out infinite;
  animation-delay: -3s;
}
.ui-ok {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-toast b { display: block; font-size: 0.85rem; font-weight: 800; }
.ui-toast small { font-size: 0.75rem; color: var(--muted); }

/* apps: pos screen */
.app-visual { height: 360px; }
.ui-phone { width: 300px; padding: 1.1rem; }
.ui-search {
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.8rem;
  color: #A0A6B6;
  margin-bottom: 0.8rem;
}
.ui-items { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.9rem; }
.ui-items li { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem; border-radius: 14px; border: 1px solid var(--line); }
.ui-thumb {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.ui-name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ui-name b { font-size: 0.85rem; font-weight: 800; }
.ui-name small { font-size: 0.72rem; color: var(--muted); }
.ui-step { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 800; }
.ui-step i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--surface);
  font-style: normal;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-step i.is-add { background: var(--blue); color: #fff; }
.ui-checkout { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.2rem; }
.ui-checkout small { display: block; font-size: 0.72rem; color: var(--muted); }
.ui-checkout b { font-size: 1.05rem; font-weight: 800; }
.ui-pay-sm { padding: 0 1.2rem; height: 40px; }

/* apps: business board */
.ui-board { width: 100%; max-width: 380px; padding: 1.2rem; }
.ui-sub { font-size: 0.75rem; font-weight: 700; color: var(--muted); margin: 0.2rem 0 0.6rem; }
.ui-bars { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.1rem; }
.ui-bars li { display: grid; grid-template-columns: 78px 1fr 52px; align-items: center; gap: 0.6rem; font-size: 0.8rem; }
.ui-bars span { font-weight: 700; }
.ui-bars i { display: block; height: 10px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #2F5BFF, #7B4DFF); }
.ui-bars li:nth-child(2) i { opacity: 0.7; }
.ui-bars li:nth-child(3) i { opacity: 0.45; }
.ui-bars b { text-align: right; font-weight: 800; }
.ui-top-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ui-top-list li { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.ui-top-list li span:nth-child(2) { font-weight: 700; }
.ui-top-list b { margin-left: auto; font-weight: 700; color: var(--ink-2); }
.ui-rank {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* header: compact language menu */
.hc-phone span { display: none; }
.hc-phone {
  width: 40px;
  height: 40px;
  margin-right: 0;
  border-radius: 50%;
  background: var(--surface);
  justify-content: center;
}
.header-contact { gap: 0.5rem; }
.lang { position: relative; margin-left: 0.25rem; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.lang-btn:hover { border-color: #D3D9E6; }
.lang-chev { color: var(--muted); transition: transform 0.2s ease; }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 0.35rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px -12px rgba(23, 27, 44, 0.25), 0 0 0 1px rgba(23, 27, 44, 0.06);
  z-index: 120;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}
.lang-menu button:hover { background: var(--surface); }
.lang-menu button.is-active { color: var(--blue); font-weight: 800; }

@media (prefers-reduced-motion: reduce) { .ui-receipt, .ui-toast { animation: none; } }

@media (max-width: 1024px) {
  .ui-stage { height: 480px; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .ui-stage { height: auto; display: flex; flex-direction: column; }
  .ui-dash { position: relative; width: 100%; padding: 1rem; }
  .ui-kpi { padding: 0.6rem; }
  .ui-kpi strong { font-size: 0.95rem; }
  .ui-kpi span { font-size: 0.65rem; }
  .ui-receipt { position: relative; width: 82%; margin: -2.5rem 0 0 auto; animation: none; }
  .ui-toast { display: none; }
  .app-visual { height: auto; }
  .ui-phone { width: 100%; max-width: 320px; }
  .lang-btn { height: 36px; padding: 0 0.6rem; gap: 0.3rem; }
  .lang-btn > svg:first-child { display: none; }
  .hc-phone, .hc-icon { width: 36px; height: 36px; }
}

.ui-thumb { font-size: 0.95rem; font-weight: 800; }

/* Brand tagline — quiet, premium */
.brand { gap: 0.9rem; }
.brand-tagline {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.brand-tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: #DCE0E8;
}
@media (max-width: 900px) { .brand-tagline { display: none; } }

/* Hero sits closer to the navbar */
.hero { padding: 2.5rem 0 4.5rem; }
.hero-split { min-height: 0; }
@media (max-width: 640px) { .hero { padding: 1.75rem 0 3rem; } }


/* ==========================================================================
   Hero product window (premium, dense, perspective)
   ========================================================================== */
.hero { overflow: hidden; }
.hero-split { grid-template-columns: 0.85fr 1.15fr; }
.hero-art { position: relative; perspective: 2200px; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: 10% -10% 0 10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(47, 91, 255, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.aw {
  position: relative;
  width: 820px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 60px 120px -40px rgba(23, 27, 44, 0.35), 0 0 0 1px rgba(23, 27, 44, 0.08);
  overflow: hidden;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transform-origin: left center;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 72%, transparent 100%);
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
}
.aw-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #F7F8FB;
  border-bottom: 1px solid #ECEEF3;
}
.aw-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #E1E4EB; }
.aw-title { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; font-weight: 700; color: var(--muted); }
.aw-title .ui-logo { width: 22px; height: 13px; }
.aw-body { display: grid; grid-template-columns: 168px 1fr; }

.aw-side { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 10px; border-right: 1px solid #ECEEF3; background: #FBFCFE; }
.aw-nav { display: flex; flex-direction: column; gap: 2px; }
.aw-nav li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-weight: 600; color: #5B6175; }
.aw-nav li svg { color: #9AA1B2; }
.aw-nav li.is-active { background: #EEF2FF; color: var(--blue); }
.aw-nav li.is-active svg { color: var(--blue); }
.aw-hello {
  margin-top: 18px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E3E8FF;
  font-size: 14px;
  box-shadow: 0 4px 12px -6px rgba(47, 91, 255, 0.4);
}

.aw-main { padding: 16px 18px 18px; min-width: 0; }
.aw-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.aw-head b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-right: auto; }
.aw-pill { padding: 5px 10px; border-radius: 999px; border: 1px solid #ECEEF3; font-weight: 600; color: #5B6175; }
.aw-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.aw-kpi { padding: 11px 12px; border-radius: 10px; border: 1px solid #ECEEF3; }
.aw-kpi span { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.aw-kpi strong { display: block; margin: 4px 0 2px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.aw-kpi em { font-style: normal; font-size: 11px; font-weight: 700; }
.aw-kpi em.up { color: #11905C; }
.aw-kpi em.down { color: #E5482A; }
.aw-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.aw-panel { padding: 12px; border-radius: 10px; border: 1px solid #ECEEF3; min-width: 0; }
.aw-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.aw-panel-head b { font-size: 12.5px; font-weight: 800; }
.aw-leg { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.aw-leg i { width: 10px; height: 2px; border-radius: 2px; }
.aw-leg i.l1 { background: var(--blue); }
.aw-leg i.l2 { background: #C9D0DE; margin-left: 6px; }
.aw-svg { display: block; width: 100%; height: 150px; }
.aw-days { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.aw-rows { display: flex; flex-direction: column; }
.aw-rows li { display: grid; grid-template-columns: 44px 1fr auto 56px; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid #F0F2F6; }
.aw-rows li:last-child { border-bottom: 0; }
.aw-id { color: var(--muted); font-weight: 600; }
.aw-rows li > span:nth-child(2) { font-weight: 700; }
.aw-pay { padding: 2px 7px; border-radius: 6px; background: var(--surface); color: #5B6175; font-size: 10.5px; font-weight: 700; }
.aw-rows b { text-align: right; font-weight: 800; }

/* ==========================================================================
   Apps — typographic premium cards (no imagery)
   ========================================================================== */
.app-card { padding: 2.5rem 2.75rem; }
.app-body { display: flex; flex-direction: column; height: 100%; }
.app-name { font-size: clamp(2.4rem, 4vw, 3.25rem); margin: 0.35rem 0 0.75rem; }
.app-body > p { font-size: 1.15rem; margin-bottom: 1.75rem; }
.app-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid #E6E9F0;
  border-bottom: 1px solid #E6E9F0;
}
.app-feats li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }
.app-feats svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.platforms { margin-top: auto; }

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-art { perspective: none; overflow: hidden; border-radius: 16px; }
  .aw { width: 100%; transform: none; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) {
  .aw-body { grid-template-columns: 1fr; }
  .aw-side { display: none; }
  .aw-kpis { grid-template-columns: 1fr 1fr; }
  .aw-grid { grid-template-columns: 1fr; }
  .aw-main { padding: 12px; }
  .app-card { padding: 1.75rem 1.5rem; }
  .app-feats { grid-template-columns: 1fr; }
}

/* keep text column intact; window bleeds right */
.hero-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.hero-art { min-width: 0; }
@media (max-width: 1024px) { .hero-split { grid-template-columns: minmax(0, 1fr); } }

/* Apps: original logo lockup */
.app-name { color: var(--ink); }
.app-name .hello-word { font-weight: 800; letter-spacing: -0.035em; }

/* Hero text: more room and air */
.hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.hero-split .pill-badge { margin-bottom: 2rem; }
.hero-split .display { line-height: 1.08; margin-bottom: 1.6rem; letter-spacing: -0.04em; }
.hero-split .lead { max-width: 520px; line-height: 1.65; margin-bottom: 2.75rem; }
@media (max-width: 1024px) { .hero-split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }

.hero-split .lead { max-width: 440px; }

/* Hero beta CTA */
.btn-beta { gap: 0.7rem; padding-left: 0.6rem; }
.beta-tag {
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Hide the page scrollbar (scrolling still works) */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* ais hello capabilities — premium, quiet */
.cap {
  padding: 1.9rem 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ECEEF3;
  box-shadow: 0 1px 2px rgba(23, 27, 44, 0.03);
}
.cap:hover { border-color: #DCE2F5; box-shadow: 0 24px 48px -24px rgba(23, 27, 44, 0.18); }
.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 1.6rem;
  background: #F5F7FB;
  border: 1px solid #E8EBF2;
  color: var(--ink-2);
  box-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cap-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.cap:hover .cap-icon { background: var(--blue-50); border-color: #D9E1FF; color: var(--blue); }
.cap h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.cap p { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.5rem; }
.cap-app {
  margin-top: auto;
  align-self: stretch;
  padding-top: 1.1rem;
  border-top: 1px solid #F0F2F6;
  font-size: 1rem;
  color: var(--ink);
}
.cap-app .hello-word { font-weight: 800; }

/* ais hello version badge */
.hello-title .hello-mark { position: relative; }
.hello-ver {
  position: absolute;
  top: -0.05em;
  right: -0.62em;
  transform: translateX(100%);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid #D9E1FF;
  box-shadow: 0 6px 16px -8px rgba(47, 91, 255, 0.45);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--blue);
}
@media (max-width: 640px) { .hello-ver { right: -0.4em; padding: 0.22rem 0.5rem; } }
