:root {
  --ink: #0d1024;
  --ink-soft: #5c6178;
  --paper: #ffffff;
  --paper-soft: #f6f7fb;
  --line: #e7e8f2;
  --brand: #6d5efc;
  --brand-2: #22d3ee;
  --brand-dark: #5340f2;
  --radius: 16px;
  --wrap: 1140px;
  --shadow-sm: 0 1px 2px rgba(13, 16, 36, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 16, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(93, 78, 255, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--brand); text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-sub {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(109, 94, 252, 0.35);
}

.brand-mark.small { width: 26px; height: 26px; font-size: 0.85rem; margin-right: 8px; box-shadow: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--ink); }

.btn-nav {
  background: var(--ink);
  color: white !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hero */

.hero {
  position: relative;
  padding: 108px 0 96px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(420px 320px at 15% 20%, rgba(109, 94, 252, 0.22), transparent 70%),
    radial-gradient(380px 300px at 85% 10%, rgba(34, 211, 238, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

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

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: rgba(109, 94, 252, 0.1);
  border: 1px solid rgba(109, 94, 252, 0.18);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }

.lede { font-size: 1.12rem; max-width: 46ch; }

.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: white !important;
  box-shadow: 0 10px 24px rgba(109, 94, 252, 0.32);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(109, 94, 252, 0.4); }

.btn-secondary {
  color: var(--ink) !important;
  border-color: var(--line);
  background: var(--paper);
}

.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-strip svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 380px;
}

.float-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.card-main {
  inset: 6% 4% 6% 4%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dots { display: flex; gap: 6px; margin-bottom: 6px; }
.dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}
.dots span:first-child { background: #ff8f8f; }
.dots span:nth-child(2) { background: #ffd27a; }
.dots span:nth-child(3) { background: #8fe1a8; }

.mock-line {
  height: 11px;
  border-radius: 6px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.mock-line.w-70 { width: 70%; }
.mock-line.w-40 { width: 40%; }
.mock-line.w-60 { width: 60%; }
.mock-line.tiny { height: 8px; margin-top: 4px; }

.mock-block {
  flex: 1;
  min-height: 110px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.14), rgba(34, 211, 238, 0.14));
  border: 1px solid var(--line);
}

.mock-row { display: flex; gap: 10px; }
.mock-chip {
  flex: 1;
  height: 34px;
  border-radius: 9px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.card-badge {
  width: 168px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-badge.card-badge-2 {
  top: auto;
  bottom: 4%;
  right: -2%;
  left: auto;
}

.card-badge:not(.card-badge-2) {
  top: -4%;
  left: -6%;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon.alt { background: linear-gradient(135deg, #ff8fb3, #ffb37a); }

/* Sections */

section { padding: 84px 0; }

.services { background: var(--paper-soft); }

.section-lede { max-width: 60ch; font-size: 1.05rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(109, 94, 252, 0.3);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(109, 94, 252, 0.1);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-badge svg { width: 22px; height: 22px; }

.card h3 { font-size: 1.08rem; }
.card p { margin: 0; font-size: 0.95rem; }

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Why */

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

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.why-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-list strong { display: block; margin-bottom: 3px; }
.why-list span { font-size: 0.92rem; color: var(--ink-soft); }

/* About */

.about { background: var(--paper-soft); }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.legal-block { font-size: 0.95rem; }

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact span { color: var(--ink-soft); font-size: 0.95rem; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.contact-form button { align-self: flex-start; cursor: pointer; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
}

.footer-grid p { margin: 0; }

/* Responsive */

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-nav) { display: none; }
  section { padding: 64px 0; }
}
