:root {
  --bg: #07070b;
  --bg-2: #0c0c12;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f7;
  --muted: #9b9ba8;
  --accent: #c4b5fd;
  --accent-2: #a78bfa;
  --ink: #0b0b10;
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: -0.011em;
  color-scheme: dark;
}

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

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 8px 12px;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 12% -8%, rgba(124, 92, 191, 0.2), transparent 58%),
    radial-gradient(700px 380px at 92% 0%, rgba(88, 80, 140, 0.12), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px) saturate(1.2);
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img.wordmark {
  height: 24px;
  width: auto;
  mix-blend-mode: screen;
}

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

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn-primary {
  color: var(--ink);
  background: #ece8ff;
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.hero {
  padding: 108px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 13ch;
}

.hero h1 span {
  font-style: italic;
  color: var(--accent);
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 72px 0 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.stat {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-size: 1.85rem;
  font-family: var(--serif);
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section p.intro {
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
  font-size: 0.98rem;
}

.grid-3,
.grid-2,
.grid-4,
.grid-auto {
  display: grid;
  gap: 14px;
}

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

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

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.also {
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 72ch;
  font-size: 0.95rem;
}

.also a {
  color: var(--accent);
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(196, 181, 253, 0.28);
  transform: translateY(-3px);
}

.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.card .num {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.94rem;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 34px;
}

.panel p + p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product p,
.product li,
.phase p {
  color: var(--muted);
}

.product ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  padding: 40px;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.product h2 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.phase {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.phase:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.phase:first-child {
  padding-top: 0;
}

.phase strong {
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-band {
  margin: 12px 0 96px;
  padding: 44px 48px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(167, 139, 250, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-row a {
  color: var(--muted);
}

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

.page-hero {
  padding: 80px 0 28px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 400;
  margin: 0 0 16px;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 18ch;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding-bottom: 96px;
}

.contact-meta {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: border-color 0.2s var(--ease);
}

.contact-item:hover {
  border-color: rgba(196, 181, 253, 0.3);
}

.contact-item img {
  width: 26px;
  height: 26px;
  mix-blend-mode: screen;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 4px;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 500;
}

input,
textarea,
select {
  font: inherit;
  color: var(--text);
  background: #0b0b12;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.7);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
}

.form-status.ok {
  color: #99f6e4;
}

.form-status.err {
  color: #fda4af;
}

.honey {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
}

.reveal:nth-child(2) { animation-delay: 0.05s; }
.reveal:nth-child(3) { animation-delay: 0.1s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .stats,
  .grid-3,
  .grid-4,
  .split,
  .contact-layout,
  .form-row,
  .product,
  .phase {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: rgba(7, 7, 11, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .brand img.wordmark {
    height: 20px;
  }

  .hero {
    padding: 72px 0 40px;
  }
}

.qa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: var(--font);
}

.qa-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 18, 0.92);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.qa-launch:hover {
  border-color: rgba(196, 181, 253, 0.35);
  background: rgba(18, 16, 28, 0.96);
}

.qa-launch-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ece8ff;
  color: var(--ink);
}

.qa.is-open .qa-launch {
  display: none;
}

.qa-backdrop,
.qa-backdrop[hidden] {
  display: none !important;
}

.qa.is-open .qa-backdrop {
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.qa-panel,
.qa-panel[hidden] {
  display: none !important;
}

.qa.is-open .qa-panel {
  display: flex !important;
  width: min(380px, calc(100vw - 32px));
  height: min(540px, calc(100vh - 48px));
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0c0c12;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.qa-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 8px;
  border-bottom: 1px solid var(--line);
}

.qa-head > div {
  min-width: 0;
  flex: 1 1 auto;
  pointer-events: none;
}

.qa-kicker {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.qa-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.qa-close {
  flex: 0 0 auto;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.qa-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(196, 181, 253, 0.45);
}

.qa-note {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.qa-log {
  flex: 1;
  overflow: auto;
  padding: 12px 16px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.qa-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.qa-msg p {
  margin: 0;
}

.qa-msg-bot {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

.qa-msg-user {
  justify-self: end;
  background: #ece8ff;
  color: var(--ink);
}

.qa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.qa-link,
.qa-chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.qa-link:hover,
.qa-chip:hover {
  border-color: rgba(196, 181, 253, 0.45);
  background: rgba(196, 181, 253, 0.08);
}

.qa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
}

.qa-form {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.qa-form input {
  flex: 1;
  min-width: 0;
}

.qa-send {
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  background: #ece8ff;
  color: var(--ink);
  cursor: pointer;
}

.qa-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .qa {
    right: 14px;
    bottom: 14px;
  }

  .qa-launch-label {
    display: none;
  }

  .qa-launch {
    padding: 8px;
  }

  .qa-panel {
    width: min(100vw - 28px, 400px);
    height: min(72vh, 560px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .card,
  .btn,
  .qa-launch,
  .qa-panel {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
