/* ==========================================================================
   Tevon Arc Inc — Design System
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #05060b;
  --bg-elev: #0a0d16;
  --surface: #0e1220;
  --surface-2: #141a2c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eaedf7;
  --text-dim: #a2abc4;
  --text-mute: #6c7691;

  /* Brand */
  --accent: #5b7cfa;
  --accent-soft: #8aa2ff;
  --accent-2: #22d3ee;
  --accent-3: #a855f7;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-warm: linear-gradient(120deg, var(--accent-3) 0%, var(--accent) 100%);

  /* Layout */
  --container: 1160px;
  --pad: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --nav-h: 72px;
}

/* --------------------------------------------------------------- Reset --- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Long unbroken tokens (URLs, order IDs, email addresses) must wrap rather
     than widen their column past the viewport. */
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: #fff;
}

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

ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ Layout ----- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.alt-bg {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 6, 11, 0.92);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand__mark .arc {
  stroke: url(#brandGrad);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links li {
  margin: 0;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav__link[aria-current="page"] {
  color: #fff;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.nav__toggle span::before {
  top: -6px;
}
.nav__toggle span::after {
  top: 6px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 24px -8px rgba(91, 124, 250, 0.7);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 10px 32px -8px rgba(91, 124, 250, 0.95);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn__arrow {
  transition: transform 0.25s var(--ease);
}

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

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

.hero {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.hero__glow--a {
  width: 620px;
  height: 620px;
  top: -260px;
  left: -140px;
  background: radial-gradient(circle, rgba(91, 124, 250, 0.42), transparent 68%);
}

.hero__glow--b {
  width: 540px;
  height: 540px;
  top: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.26), transparent 68%);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__sub {
  font-size: 1.13rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-mute);
}

.hero__trust-item svg {
  color: var(--accent-2);
  flex-shrink: 0;
}

/* Chat demo widget */

.demo {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(91, 124, 250, 0.08);
  overflow: hidden;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.demo__dots {
  display: flex;
  gap: 6px;
}

.demo__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: block;
}

.demo__dots i:first-child {
  background: rgba(255, 95, 86, 0.6);
}
.demo__dots i:nth-child(2) {
  background: rgba(255, 189, 46, 0.6);
}
.demo__dots i:nth-child(3) {
  background: rgba(39, 201, 63, 0.6);
}

.demo__title {
  font-size: 0.8rem;
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.demo__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #4ade80;
}

.demo__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.demo__body {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
}

.msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  /* Visible by default; the animation merely fades them in. Using `both`
     fill means the from-state applies during the delay, but if animations
     never run the base state is still fully visible. */
  animation: msgIn 0.5s var(--ease) both;
}

.msg--user {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg--bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.msg__meta {
  display: block;
  font-size: 0.7rem;
  opacity: 0.62;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

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

.msg:nth-child(1) {
  animation-delay: 0.15s;
}
.msg:nth-child(2) {
  animation-delay: 0.5s;
}
.msg:nth-child(3) {
  animation-delay: 0.85s;
}
.msg:nth-child(4) {
  animation-delay: 1.2s;
}

.demo__typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  animation: msgIn 0.4s var(--ease) 1.6s both;
}

.demo__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  display: block;
  animation: blink 1.3s infinite;
}

.demo__typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.demo__typing i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* -------------------------------------------------------------- Grid ----- */

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

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

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* -------------------------------------------------------------- Card ----- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 124, 250, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(91, 124, 250, 0.36);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(91, 124, 250, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(91, 124, 250, 0.26);
  color: var(--accent-2);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.card__list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
  margin-bottom: 7px;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 1.6px solid var(--accent-2);
  border-bottom: 1.6px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* Numbered steps */

.step {
  position: relative;
  padding-top: 8px;
}

.step__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  display: block;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
}

/* ------------------------------------------------------------- Stats ----- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__value {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.86rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------- CTA ----- */

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px) var(--pad);
  text-align: center;
  background: linear-gradient(135deg, rgba(91, 124, 250, 0.14), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(91, 124, 250, 0.28);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 124, 250, 0.34), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 30px;
}

.cta-band__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- Page ----- */

.page-head {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-head__glow {
  position: absolute;
  width: 620px;
  height: 420px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 124, 250, 0.26), transparent 68%);
  filter: blur(90px);
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  max-width: 860px;
  margin-bottom: 16px;
}

.page-head p {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 1.08rem;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-mute);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ------------------------------------------------------ Prose / content -- */

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 1.7rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 32px;
  font-size: 1.18rem;
}

.prose p,
.prose li {
  color: var(--text-dim);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* Two column content */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.feature-list__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.13);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.feature-list h4 {
  font-size: 1rem;
  margin: 0 0 5px;
  font-family: inherit;
  font-weight: 600;
}

.feature-list p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-dim);
}

/* ------------------------------------------------------------- Table ----- */

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ---------------------------------------------------- Overflow guards ---- */

/* Grid and flex items default to `min-width: auto`, so an item containing wide
   intrinsic content (a 520px table, a long unbroken string) expands its track
   and pushes the whole page wider than the viewport. Because `body` sets
   `overflow-x: hidden`, that content then becomes unreachable rather than
   scrollable. Zeroing the automatic minimum keeps columns at their track size
   and lets `.table-wrap` scroll internally instead. */
.hero__inner > *,
.split > *,
.contact-grid > *,
.grid > *,
.stats > *,
.footer__top > *,
.nav__inner > * {
  min-width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 520px;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: var(--text-dim);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* -------------------------------------------------------------- Form ----- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.field .req {
  color: var(--accent-2);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-mute);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.18);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7691' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field select option {
  background: var(--surface);
  color: var(--text);
}

.form__note {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin: 18px 0 0;
  line-height: 1.6;
}

.form__status {
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.32);
  color: #86efac;
}

.form__status--err {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.32);
  color: #fca5a5;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.contact-card a {
  font-weight: 500;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-elev);
  margin-top: auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  color: var(--text-mute);
  font-size: 0.9rem;
  max-width: 300px;
  margin: 16px 0 0;
}

.footer__col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 18px;
  font-family: inherit;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 11px;
}

.footer__col a {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-mute);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.86rem;
  color: var(--text-mute);
}

/* ------------------------------------------------------------- Misc ------ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.pill--accent {
  border-color: rgba(91, 124, 250, 0.4);
  background: rgba(91, 124, 250, 0.1);
  color: var(--accent-soft);
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .msg,
  .demo__typing {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__sub {
    max-width: 100%;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: rgba(6, 8, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav__cta .btn {
    display: none;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 18px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 12px 20px;
  }

  .msg {
    max-width: 92%;
  }
}
