:root {
  --bg: #05070f;
  --surface: rgba(15, 17, 28, 0.9);
  --surface-strong: rgba(15, 17, 28, 1);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7ecf7;
  --muted: #9aa6c5;
  --accent: #7f5bff;
  --accent-strong: #a88bff;
  --success: #4ade80;
  --danger: #f87171;
  --shadow: 0 18px 44px rgba(5, 7, 15, 0.5);
  --container: min(1160px, 92vw);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, rgba(80, 120, 255, 0.2), transparent 45%),
              radial-gradient(circle at top right, rgba(120, 80, 255, 0.18), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a.eyebrow,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent-strong);
}

.primary-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--text);
}

.site-header .cta {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero {
  padding: 6rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__copy .lead {
  color: #c8d3f0;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero__proof {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero__proof li + li {
  margin-top: 0.35rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.cta-note {
  flex-basis: 100%;
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.3rem;
}

.cta-group .primary,
.cta-group .secondary,
.cta-group .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cta-group .primary {
  background: linear-gradient(135deg, #7f5bff, #4f46e5);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-group .secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.cta-group .link {
  background: transparent;
  color: var(--accent-strong);
  border: none;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  cursor: pointer;
}

.cta-group .primary:hover,
.cta-group .secondary:hover {
  transform: translateY(-2px);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(125, 96, 255, 0.1);
  border: 1px solid rgba(125, 96, 255, 0.35);
  font-size: 0.85rem;
  color: var(--accent-strong);
}

.hero__panel {
  display: block;
}

.chat-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  text-decoration: none;
}

.chat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  color: inherit;
}

.chat-card header {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.chat-bubble.user {
  border-left: 3px solid rgba(127, 91, 255, 0.6);
}

.chat-bubble.ai {
  border-left: 3px solid rgba(76, 201, 240, 0.5);
}

.chat-bubble.ai.warning {
  border-left-color: var(--danger);
  color: #fca5a5;
}

.chat-bubble.ai.warning span {
  font-size: 0.85rem;
  display: block;
  color: var(--muted);
}

.chat-bubble.ai.success {
  border-left-color: var(--success);
  color: var(--success);
}

.pillars {
  padding: 5rem 0 4rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: var(--muted);
  max-width: 600px;
}


.pillars__grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pillar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar h3 {
  margin: 0;
  font-size: 1.3rem;
}

.pillar ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.chat-asset {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(127, 91, 255, 0.35);
  background: rgba(127, 91, 255, 0.08);
  display: grid;
  gap: 0.75rem;
}

.chat-asset figcaption {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
}

.chat-asset blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.chat-asset a {
  font-size: 0.85rem;
  color: var(--accent-strong);
  text-decoration: underline;
}

.workflow {
  padding: 5rem 0;
}

.workflow__diagram {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(15, 17, 28, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.workflow__diagram .mermaid {
  background: transparent;
  color: inherit;
}

.diagram-alt {
  margin-top: 1.5rem;
  color: var(--muted);
}

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

.workflow__notes {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.proof {
  padding: 5rem 0 4rem;
}

.proof__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.proof-card footer {
  color: var(--muted);
  font-size: 0.85rem;
}

.faq {
  padding: 5rem 0 4rem;
}

.faq__list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.faq__list details {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  transition: border 0.2s ease;
}

.faq__list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq__list details[open] {
  border-color: rgba(127, 91, 255, 0.5);
}

.cta {
  padding: 5rem 0 6rem;
}

.cta__inner {
  background: linear-gradient(135deg, rgba(127, 91, 255, 0.18), rgba(76, 29, 149, 0.25));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(127, 91, 255, 0.45);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  align-items: center;
}

.waitlist-form {
  display: grid;
  gap: 0.75rem;
}

.waitlist-form label {
  font-weight: 600;
}

.waitlist-form input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 7, 15, 0.8);
  color: var(--text);
  font-size: 1rem;
}

.waitlist-form button {
  margin-top: 0.5rem;
  padding: 0.9rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.form-message {
  min-height: 1.5rem;
  font-size: 0.9rem;
}

.smallprint {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: rgba(5, 7, 15, 0.85);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 500;
}

.modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: rgba(15, 17, 28, 0.95);
  color: var(--text);
  width: min(480px, 90vw);
}

.modal::backdrop {
  background: rgba(5, 7, 15, 0.7);
}

.modal button {
  margin-top: 1.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.thankyou-hero {
  background: linear-gradient(135deg, rgba(66, 109, 255, 0.1), rgba(133, 205, 255, 0.05));
  padding: 5rem 0 3rem;
}

.thankyou-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.thankyou-aside .aside-card {
  background: rgba(9, 12, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.thankyou-aside h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.thankyou-aside li {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.survey-card {
  background: rgba(9, 12, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.survey-loading {
  display: grid;
  gap: 1rem;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: shimmer 1.6s infinite;
}

.skeleton.title {
  height: 2rem;
  width: 65%;
}

.skeleton.body {
  height: 1rem;
  width: 100%;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.survey-error,
.survey-success {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.survey-error__actions,
.survey-success__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.survey-progress {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5rem 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.survey-progress .progress-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.survey-progress .progress-values {
  font-weight: 600;
}

.survey-progress progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 0.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.survey-progress progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.survey-progress progress::-webkit-progress-value {
  background: var(--accent);
}

.survey-progress progress::-moz-progress-bar {
  background: var(--accent);
}

.survey-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.survey-groups {
  position: relative;
  min-height: 16rem;
}

.survey-group {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(17, 20, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

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

.survey-group legend {
  font-size: 1.1rem;
  font-weight: 600;
}

.group-help {
  color: var(--muted);
  font-size: 0.95rem;
}

.option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
}

.option input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
}

.option__label {
  color: var(--text);
}

.survey-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.survey-nav .button[data-nav="prev"] {
  visibility: hidden;
}

.survey-extras {
  display: grid;
  gap: 1rem;
}

.survey-extras textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 17, 28, 0.9);
  color: var(--text);
  resize: vertical;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.toggle input {
  width: 1.2rem;
  height: 1.2rem;
}

.survey-privacy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.survey-privacy a {
  color: var(--accent);
}

.survey-message {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.survey-message[data-tone="error"] {
  color: var(--danger);
}

.survey-message[data-tone="success"] {
  color: var(--success);
}

.success-list {
  list-style: disc;
  margin-left: 1.5rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.success-next {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 960px) {
  .thankyou-hero__grid {
    grid-template-columns: 1fr;
  }

  .thankyou-aside {
    order: -1;
  }

  .survey-card {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .survey-group {
    padding: 1.25rem;
  }

  .survey-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .survey-nav .button[data-nav="prev"] {
    visibility: visible;
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }

  .hero__grid,
  .pillars__grid,
  .workflow__diagram,
  .proof__grid,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .chat-comparison {
    grid-template-columns: 1fr;
  }

  .workflow__diagram .step::after {
    display: none;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    padding: 0.75rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .pillar,
  .proof-card,
  .workflow__notes,
  .waitlist-form {
    padding: 1.5rem;
  }

  .cta__inner {
    padding: 2rem;
  }
}
