/* ==========================================================================
   Vixion Sync — site styles
   Palette: deep green ink, warm paper, lime accent.
   ========================================================================== */

:root {
  --ink: #0a1e16;
  --ink-2: #0f2a20;
  --ink-3: #173b2d;
  --paper: #f5f2e9;
  --paper-2: #ece7d8;
  --card: #fbf9f3;
  --white: #ffffff;

  --green: #0f5c3f;
  --leaf: #1fae6b;
  --lime: #d6f35b;
  --lime-soft: #eef7c8;

  --text: #14261e;
  --muted: #55655d;
  --muted-dark: #a9b8af;
  --line: rgba(10, 30, 22, 0.13);
  --line-dark: rgba(245, 242, 233, 0.14);

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Noto Naskh Arabic", serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

[id] {
  scroll-margin-top: 88px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

[lang="ur"] {
  font-family: var(--font-urdu);
  line-height: 2.1;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.98);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
}

.btn--lime:hover {
  background: #e3fa7c;
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-3);
}

.btn--ghost {
  border-color: rgba(245, 242, 233, 0.3);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.94rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 30, 22, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.mark-a {
  fill: var(--lime);
}

.mark-b {
  fill: var(--leaf);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.brand__name span {
  font-weight: 400;
  opacity: 0.8;
  margin-left: 0.22em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav__menu a:not(.btn) {
  color: var(--muted-dark);
  transition: color 0.2s;
}

.nav__menu a:not(.btn):hover {
  color: var(--paper);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.25s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
  background: var(--ink);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23D6F35B' stroke-opacity='.11'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 174, 107, 0.28), transparent 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted-dark);
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(214, 243, 91, 0.18);
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw + 0.7rem, 4.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero__title > span {
  display: block;
}

.rotator {
  position: relative;
  display: block;
  height: 1.16em;
  overflow: hidden;
  color: var(--lime);
}

.rotator__word {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.12;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(105%);
  transition: transform 0.65s var(--ease), opacity 0.4s;
}

.rotator__word.is-active {
  opacity: 1;
  transform: none;
}

.rotator__word.is-leaving {
  opacity: 0;
  transform: translateY(-105%);
}

.hero__lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(1.05rem, 0.5vw + 0.98rem, 1.22rem);
  color: var(--muted-dark);
}

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

.hero__urdu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.hero__urdu [lang="ur"] {
  flex: none;
  font-size: 1.5rem;
  white-space: nowrap;
  color: var(--lime);
}

.hero__urdu-en {
  font-size: 0.92rem;
  color: var(--muted-dark);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--muted-dark);
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__points svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Demo widget ---------- */

.demo {
  min-width: 0;
}

.demo__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.demo__tab {
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--muted-dark);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.demo__tab:hover {
  border-color: rgba(245, 242, 233, 0.4);
  color: var(--paper);
}

.demo__tab[aria-selected="true"] {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.demo__window {
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.demo__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.demo__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
}

.demo__avatar svg {
  width: 22px;
  height: 22px;
}

.demo__meta {
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.demo__tool {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
}

.demo__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.demo__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

.demo__badge {
  flex: none;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo__chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 336px;
  padding: 18px;
  overflow-y: auto;
  scrollbar-width: none;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(10, 30, 22, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
}

.demo__chat::-webkit-scrollbar {
  display: none;
}

.msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.js .msg {
  animation: msg-in 0.35s var(--ease) both;
}

.msg--them {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  background: var(--white);
}

.msg--ai {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--green);
  color: var(--paper);
}

.msg--typing {
  display: inline-flex;
  gap: 5px;
  padding: 14px 16px;
}

.msg--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 242, 233, 0.75);
  animation: dot 1s infinite ease-in-out;
}

.msg--typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.msg--typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.demo__result {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
}

.demo__result > * {
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.js .demo__result:not(.is-shown) > * {
  opacity: 0;
  transform: translateY(6px);
}

.demo__result svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green);
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo__note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted-dark);
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

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

.marquee__group {
  display: flex;
  flex: none;
}

.marquee__group li {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-left: 36px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee__group li::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--leaf);
  transform: rotate(45deg);
}

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

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(72px, 9vw, 124px);
}

.section--tint {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section--dark .eyebrow {
  color: var(--lime);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw + 0.8rem, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.head__lead {
  max-width: 36em;
  margin-top: 18px;
  font-size: 1.12rem;
  color: var(--muted);
}

.section--dark .head__lead {
  color: var(--muted-dark);
}

/* ---------- Steps ---------- */

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

.step {
  position: relative;
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.step__num {
  display: block;
  margin-bottom: 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green);
}

.step p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--muted);
}

.step--key {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.step--key .step__num {
  color: var(--lime);
  -webkit-text-stroke: 0;
}

.step--key p {
  color: var(--muted-dark);
}

.step__tag {
  position: absolute;
  top: 26px;
  right: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Industries ---------- */

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

.ind {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.ind:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 92, 63, 0.4);
  box-shadow: 0 22px 44px -28px rgba(10, 30, 22, 0.45);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--lime);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ind ul {
  margin-top: 12px;
}

.ind li {
  position: relative;
  margin-top: 6px;
  padding-left: 18px;
  font-size: 0.97rem;
  color: var(--muted);
}

.ind li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--leaf);
}

.ind--you {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  grid-column: span 2;
  border-color: transparent;
  background: var(--green);
  color: var(--paper);
}

.ind--you:hover {
  border-color: transparent;
}

.ind--you h3 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.1rem);
  letter-spacing: -0.025em;
}

.ind--you p {
  max-width: 30em;
  margin-top: 10px;
  color: rgba(245, 242, 233, 0.82);
}

/* ---------- Capabilities ---------- */

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

.cap {
  grid-column: span 6;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.cap--7 {
  grid-column: span 7;
}

.cap--5 {
  grid-column: span 5;
}

.cap .icon {
  background: var(--ink-3);
}

.cap p {
  max-width: 34em;
  margin-top: 10px;
  color: var(--muted-dark);
}

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

.chip {
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

.chip[lang="ur"] {
  padding-block: 0;
  font-size: 1rem;
  line-height: 2.1;
}

.cap--accent {
  border-color: transparent;
  background: var(--lime);
  color: var(--ink);
}

.cap--accent .icon {
  background: var(--ink);
}

.cap--accent p {
  color: rgba(10, 30, 22, 0.78);
}

/* ---------- Promise band ---------- */

.promise {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 108px);
  background: var(--lime);
  color: var(--ink);
}

.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%230A1E16' stroke-opacity='.1'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  pointer-events: none;
}

.promise__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.promise h2 {
  font-size: clamp(2.2rem, 4.6vw + 0.8rem, 4.4rem);
  line-height: 0.98;
}

.promise p {
  max-width: 32em;
  margin-top: 20px;
  font-size: 1.14rem;
  color: rgba(10, 30, 22, 0.8);
}

.promise .btn {
  margin-top: 30px;
}

.promise__urdu {
  text-align: right;
}

.promise__urdu [lang="ur"] {
  display: block;
  font-size: clamp(1.8rem, 2.4vw + 0.6rem, 3rem);
  line-height: 2.2;
  white-space: nowrap;
  color: var(--green);
}

.promise__urdu small {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 30, 22, 0.7);
}

/* ---------- Support ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split .head {
  margin-bottom: 0;
}

.support-list {
  display: grid;
  gap: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.support-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  background: var(--card);
}

.support-list .icon {
  margin: 0;
}

.support-list p {
  margin-top: 4px;
  font-size: 0.98rem;
  color: var(--muted);
}

/* ---------- Custom work ---------- */

.custom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1.5px dashed rgba(10, 30, 22, 0.3);
  border-radius: 28px;
}

.custom p {
  max-width: 36em;
  margin-top: 16px;
  color: var(--muted);
}

.custom .btn {
  margin-top: 28px;
}

.custom__list {
  display: grid;
  gap: 10px;
}

.custom__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.custom__list li span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--lime);
}

.faq details p {
  max-width: 40em;
  padding: 0 48px 24px 0;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -45%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 174, 107, 0.22), transparent 62%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.next {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  counter-reset: next;
}

.next li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--muted-dark);
  counter-increment: next;
}

.next li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lime);
}

.next strong {
  display: block;
  color: var(--paper);
  font-weight: 600;
}

.reach {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.reach a {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.reach a:hover {
  color: var(--lime);
}

.reach a span {
  min-width: 78px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3.4vw, 36px);
  border-radius: 26px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.8);
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field label small {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(10, 30, 22, 0.22);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%230A1E16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b978f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 174, 107, 0.2);
}

.form__foot {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.form__note {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.form__status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
}

.form__status:empty {
  display: none;
}

.form__status[data-kind="ok"] {
  background: var(--lime-soft);
  color: var(--green);
}

.form__status[data-kind="warn"] {
  background: #fdeedd;
  color: #8a4a12;
}

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-dark);
  background: #071610;
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 64px;
}

.footer .brand {
  color: var(--paper);
}

.footer__tag {
  max-width: 22em;
  margin-top: 14px;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 72px;
}

.footer__cols h3 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer__cols li + li {
  margin-top: 8px;
}

.footer__cols a:hover {
  color: var(--lime);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
}

[hidden] {
  display: none !important;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero__grid,
  .split,
  .contact__grid,
  .custom,
  .promise__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo {
    max-width: 560px;
  }

  .steps,
  .ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap,
  .cap--7,
  .cap--5 {
    grid-column: span 6;
  }

  .promise__urdu {
    text-align: left;
  }
}

@media (max-width: 1020px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--line-dark);
    background: var(--ink);
    font-size: 1.05rem;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--paper);
  }

  .nav__menu .btn {
    margin-top: 20px;
    padding: 15px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .steps,
  .ind-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ind--you {
    grid-column: auto;
  }

  .cap,
  .cap--7,
  .cap--5 {
    grid-column: 1 / -1;
    padding: 24px;
  }

  .step__num {
    margin-bottom: 20px;
    font-size: 3rem;
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__cta .btn {
    flex: 1 1 auto;
  }

  .demo__chat {
    height: 360px;
  }

  .support-list li {
    padding: 20px;
  }

  .faq details p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .marquee__group[aria-hidden="true"] {
    display: none;
  }

  .marquee__group {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
