/* Verinance landing page. Colours are the brand primitives of packages/design-tokens. */
:root {
  --midnight: #061728;
  --deep-navy: #022138;
  --fin-blue: #023852;
  --ocean-teal: #026c66;
  --deep-teal: #039a85;
  --emerald: #10c79b;
  --ink: #07111d;
  --ink800: #23303d;
  --slate600: #5c6875;
  --slate400: #98a2ad;
  --slate200: #dce2e7;
  --slate100: #eef2f5;
  --cloud: #f7f9fa;
  --canvas: #f0f6fa;
  --action: #0751d5;
  --action-end: #007b76;
  --ok-fg: #0e7a4a;
  --ok-bg: #e6f5ec;
  --warn-fg: #8a5300;
  --warn-bg: #fdf3e0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(7, 17, 29, 0.06), 0 12px 32px -12px rgba(2, 33, 56, 0.18);
  --font:
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--action);
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--deep-navy);
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus {
  left: 16px;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(760px, 100% - 32px);
}
.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(110deg, var(--action), var(--action-end));
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 8px 20px -8px rgba(7, 81, 213, 0.55);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(7, 81, 213, 0.6);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.92rem;
}
.btn-block {
  width: 100%;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--slate200);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand img {
  width: 150px;
}
.nav nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav nav a {
  color: var(--ink800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav nav a:hover {
  color: var(--action);
}
.lang {
  color: var(--ink800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 12px;
  border: 1px solid var(--slate200);
  border-radius: 999px;
  white-space: nowrap;
}
.lang:hover {
  color: var(--action);
  border-color: var(--action);
}

/* Hero: Intelligence Gradient under a Midnight scrim, as the design tokens require for text */
.hero {
  color: #fff;
  background:
    linear-gradient(160deg, rgba(6, 23, 40, 0.55) 0%, rgba(6, 23, 40, 0.74) 100%),
    linear-gradient(135deg, #022138 0%, #023852 30%, #039a85 65%, #10c79b 100%);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 20px;
}
.hero h1 span {
  color: #b9f5e4;
}
.lead {
  font-size: 1.14rem;
  color: var(--slate200);
  max-width: 36em;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 22px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 199, 155, 0.25);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate200);
}
.hero-points li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 800;
  margin-right: 8px;
}

/* Product preview */
.mock {
  margin: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-size: 0.86rem;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--slate100);
  border-bottom: 1px solid var(--slate200);
}
.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate400);
}
.mock-bar b {
  margin-left: 10px;
  color: var(--ink800);
}
.mock-body {
  padding: 16px;
}
.mock-doc {
  border: 1px solid var(--slate200);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: var(--cloud);
}
.mock-k {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate600);
}
.mock-v {
  margin: 0 0 8px;
  font-weight: 700;
  font-family: var(--mono);
}
.mock-doc dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin: 0;
}
.mock-doc dt {
  font-size: 0.72rem;
  color: var(--slate600);
}
.mock-doc dd {
  margin: 0;
  font-weight: 600;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  white-space: nowrap;
}
.mock-lines {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}
.mock-lines th {
  text-align: left;
  font-size: 0.72rem;
  color: var(--slate600);
  border-bottom: 1px solid var(--slate400);
  padding: 6px;
}
.mock-lines th.num {
  text-align: right;
}
.mock-lines td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--slate200);
}
.mock-lines td:first-child {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--fin-blue);
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.checks span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.checks .ok {
  color: var(--ok-fg);
  background: var(--ok-bg);
}
.checks .ok::before {
  content: '✓ ';
}
.checks .warn {
  color: var(--warn-fg);
  background: var(--warn-bg);
}
.checks .warn::before {
  content: '! ';
}
.mock-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.src {
  font-size: 0.74rem;
  color: var(--ocean-teal);
  font-weight: 600;
}
.approve {
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(110deg, var(--action), var(--action-end));
}
.mock figcaption {
  font-size: 0.72rem;
  color: var(--slate600);
  padding: 8px 16px 12px;
  border-top: 1px solid var(--slate100);
}

/* Sections */
.section {
  padding: 96px 0;
}
.section.alt {
  background: var(--canvas);
}
.band {
  padding: 80px 0;
  background: var(--cloud);
  border-bottom: 1px solid var(--slate200);
}
.kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-teal);
  margin-bottom: 10px;
}
.kicker.light {
  color: #b9f5e4;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.card,
.feat {
  background: #fff;
  border: 1px solid var(--slate200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p,
.feat p {
  color: var(--ink800);
  margin: 0;
}
.feat h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat h3::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--deep-teal), var(--emerald));
  flex: none;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: none;
}
.steps li {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--slate200);
  background: linear-gradient(145deg, #fff, #f7fcff);
}
.steps .n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(110deg, var(--action), var(--action-end));
  margin-bottom: 14px;
}
.steps p {
  color: var(--ink800);
  margin: 0;
  font-size: 0.97rem;
}

/* Pilot */
.pilot {
  color: #fff;
  background:
    linear-gradient(160deg, rgba(6, 23, 40, 0.7) 0%, rgba(6, 23, 40, 0.86) 100%),
    linear-gradient(135deg, #022138 0%, #023852 40%, #039a85 100%);
}
.pilot h2 {
  color: #fff;
}
.pilot p {
  color: var(--slate200);
}
.pilot-in {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 800;
  margin-right: 10px;
}
.pilot-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
}
.pilot-card p {
  color: var(--ink800);
}
.fine {
  font-size: 0.84rem;
  color: var(--slate600);
  margin-top: 14px;
}

/* FAQ */
details {
  border: 1px solid var(--slate200);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #fff;
}
details[open] {
  box-shadow: var(--shadow);
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ocean-teal);
}
details[open] summary::after {
  content: '–';
}
details p {
  margin: 12px 0 0;
  color: var(--ink800);
}

/* Footer */
.foot {
  background: var(--midnight);
  color: var(--slate200);
  padding: 48px 0;
}
.foot-in {
  display: grid;
  gap: 10px;
}
.foot img {
  width: 150px;
  margin-bottom: 8px;
}
.foot p {
  margin: 0;
}
.foot .fine {
  color: var(--slate400);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-in,
  .pilot-in {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .nav nav {
    display: none;
  }
  .nav .lang {
    margin-left: auto;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .section {
    padding: 64px 0;
  }
  .steps,
  .grid2 {
    grid-template-columns: 1fr;
  }
  .mock-doc dl {
    grid-template-columns: 1fr;
  }
  .brand img {
    width: 124px;
  }
  .nav-in {
    gap: 10px;
  }
  .nav .lang {
    padding: 5px 10px;
    font-size: 0.85rem;
  }
  .nav .btn-sm {
    padding: 7px 12px;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: center;
  }
  .mock {
    font-size: 0.78rem;
  }
  .mock-body {
    padding: 12px;
  }
  .mock-lines th,
  .mock-lines td {
    padding: 6px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
.logo-404 {
  width: 200px;
  margin: 0 auto 32px;
}

/* Right-to-left (Arabic). Scoped to [dir='rtl'] so the French rendering is untouched. */
[dir='rtl'] body {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Tahoma,
    'Noto Sans Arabic',
    'Noto Naskh Arabic',
    Arial,
    sans-serif;
  line-height: 1.8;
}
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3 {
  line-height: 1.4;
  letter-spacing: 0;
}
[dir='rtl'] .kicker,
[dir='rtl'] .mock-k {
  letter-spacing: 0;
}
[dir='rtl'] .skip {
  left: auto;
  right: -999px;
}
[dir='rtl'] .skip:focus {
  left: auto;
  right: 16px;
}
[dir='rtl'] .nav nav {
  margin-left: 0;
  margin-right: auto;
}
[dir='rtl'] .hero-points li::before {
  margin-right: 0;
  margin-left: 8px;
}
[dir='rtl'] .ticks li::before {
  margin-right: 0;
  margin-left: 10px;
}
[dir='rtl'] .mock-bar b {
  margin-left: 0;
  margin-right: 10px;
}
[dir='rtl'] .mock-lines th,
[dir='rtl'] .mock-lines td:first-child {
  text-align: right;
}
[dir='rtl'] .mock-doc dd.num {
  text-align: left;
}
@media (max-width: 980px) {
  [dir='rtl'] .nav .lang {
    margin-left: 0;
    margin-right: auto;
  }
}
