:root {
  --bg: #f7f7fb;
  --bg-alt: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.06);
  --text-main: #0f172a;
  --text-soft: #64748b;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --accent-green: #22c55e;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.05);
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #eef2ff 0, #f7f7fb 40%, #f9fafb 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;      /* NEW */
  line-height: 1.6;     /* NEW */
}

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Floating gradient blob */
.hero-blob {
  position: fixed;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 20% 20%, #a5b4fc, transparent 60%),
    radial-gradient(circle at 80% 80%, #bbf7d0, transparent 55%);
  opacity: 0.7;
  filter: blur(6px);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 700ms ease-out;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(247, 247, 251, 0.95),
    rgba(247, 247, 251, 0.9),
    transparent
  );
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(
    from 160deg,
    #4f46e5,
    #22c55e,
    #60a5fa,
    #4f46e5
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
}

.brand-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-cta {
  display: flex;
}

/* Buttons */

.btn {
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    background-color var(--transition-med), color var(--transition-med);
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.4);
}

.btn-ghost {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.16);
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.btn-text {
  background: transparent;
  color: var(--text-soft);
  padding-inline: 6px;
}

.btn-text:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

/* Sections */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 32px;
}


.section-alt {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  box-shadow: var(--shadow-subtle);
  margin-top: 32px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}


.section-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.section + .section {
  margin-top: 24px;
}


/* Hero */

.hero {
  padding-top: 120px;
  padding-bottom: 88px;
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}


.hero-copy h1 {
  font-size: clamp(40px, 5.6vw, 56px);
  line-height: 1.04;
  margin: 10px 0 20px;
  letter-spacing: -0.04em;
}

.hero-copy .highlight {
  background: linear-gradient(120deg, #4f46e5, #22c55e);
  background-clip: text;          /* standard property */
  -webkit-background-clip: text;  /* vendor prefix for older WebKit */
  color: transparent;
}

.hero-subtitle {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}


.hero-footnote {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}


.hero-panel {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;          /* was 26px */
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 18px;      /* more padding */
  backdrop-filter: blur(10px);
}


.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-soft);
  background: rgba(248, 250, 252, 0.9);
}

.pill-live {
  border-color: rgba(34, 197, 94, 0.4);
  color: #15803d;
  background: rgba(220, 252, 231, 0.9);
}

.transcript-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}

.speaker-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.speaker-alt {
  background: rgba(79, 70, 229, 0.08);
  color: #3730a3;
}

.hero-card-footer {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-chip {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.05);
  color: #4338ca;
}

.hero-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-soft);
}

/* Cards grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}



.info-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 22px 22px 18px;   /* was 16px 16px 14px */
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
}


.info-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}


.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(79, 70, 229, 0.22);
}

/* How it works */

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  margin-top: 18px;
}


.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.flow-step {
  padding: 16px 18px;
  cursor: pointer;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  transition: background-color var(--transition-med), transform var(--transition-med);
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-step:hover {
  background: rgba(229, 231, 235, 0.6);
  transform: translateY(-1px);
}

.flow-step.active {
  background: rgba(79, 70, 229, 0.04);
}

.flow-index {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.flow-step h3 {
  margin: 6px 0 6px;
  font-size: 16px;
}

.flow-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.flow-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 18px 18px 14px;
}

.flow-screen h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.flow-screen p {
  margin: 0 0 8px;
  color: var(--text-soft);
}

.flow-screen pre {
  margin: 0;
  background: #0f172a;
  color: #e5e7eb;
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
}


/* Extracts */

.extracts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: flex-start;
}

.extracts-list {
  display: grid;
  gap: 14px;
}

.extract-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 16px;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.extract-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.extract-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.extract-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.extracts-preview {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 12px 12px 10px;
}

.tab-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  margin-bottom: 10px;
}

.tab-btn {
  border: none;
  background: transparent;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-soft);
  transition: background-color var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.tab-btn.active {
  background: white;
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.json-preview {
  font-size: 11px;
}

.json-preview pre {
  margin: 0;
  background: #020617;
  color: #e5e7eb;
  padding: 10px 10px;
  border-radius: 14px;
  overflow-x: auto;
}

/* Tech */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 18px;
}


.tech-column {
  background: rgba(248, 250, 252, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 18px 18px 14px;
}


.tech-column h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 0;
  position: relative;
  padding-left: 18px;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent-green);
}

/* Final CTA */

.final-cta {
  text-align: center;
  padding-bottom: 60px;
}
.final-cta .hero-actions {
  display: flex;
  justify-content: center;
}


.final-inner {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 24px 20px 22px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(34, 197, 94, 0.02)),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-subtle);
}

.final-inner h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.final-inner p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Footer */

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 22px;
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  justify-content: center;
}

.signature {
  font-weight: 600;
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */

.hidden {
  display: none;
}

/* Responsive */

@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-grid,
  .extracts-layout,
  .tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-alt {
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .section {
    padding-inline: 16px;
  }
}

