:root {
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --sky-400: #38bdf8;
  --emerald-500: #10b981;

  --glr-navy: #112966;
  --glr-navy-light: #2d5a87;
  --glr-link: #2d5a87;

  --color-purple: #7b1fa2;
  --color-purple-bg: #f3e5f5;
  --color-purple-border: #e1bee7;

  --ink-900: #0b1020;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-600: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --white: #fff;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 8px 28px rgba(2, 6, 23, 0.12);
  --shadow-lg: 0 20px 45px rgba(2, 6, 23, 0.18);

  --grad-brand: linear-gradient(135deg, var(--blue-600), var(--sky-400));

  --ring: 0 0 0 4px color-mix(in srgb, var(--blue-600) 28%, transparent);

  --color-primary: var(--blue-600);
  --color-primary-hover: var(--blue-700);
  --color-secondary: var(--emerald-500);
  --color-accent: var(--sky-400);

  --color-background: var(--ink-100);
  --color-surface: var(--white);
  --color-surface-alt: #15253a;
  --color-surface-muted: #f8fafc;

  --color-border: var(--ink-200);
  --color-border-light: var(--ink-100);

  --color-text-primary: var(--ink-700);
  --color-text-heading: #003366;
  --color-text-secondary: var(--ink-600);
  --color-text-muted: var(--ink-500);

  --color-success: #059669;
  --color-success-light: #10b981;
  --color-success-dark: #047857;
  --color-success-bg: #d1fae5;
  --color-success-border: #6ee7b7;

  --color-error: #dc2626;
  --color-error-light: #ef4444;
  --color-error-strong: #b91c1c;
  --color-error-bg: #fee2e2;

  --color-warning: #d97706;
  --color-warning-light: #f59e0b;
  --color-warning-dark: #b45309;
  --color-warning-bg: #fef3c7;

  --color-info: #0ea5e9;
  --color-info-bg: #e0f2fe;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  --sidebar-width: 260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink-800);
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    radial-gradient(circle, rgba(245, 158, 11, 0.08) 1px, transparent 1px);
  background-size:
    30px 30px,
    40px 40px;
  background-position:
    0 0,
    20px 20px;
  background-color: #f9fafb;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 254, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-200);
  padding: 0 56px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 34px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  color: var(--blue-700);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ── HERO ── */
.hero {
  background: #ffffff;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
  position: relative;
}

.hero-left {
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

h1 {
  font-family: var(--font-mono)
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 28px;
}
h1 em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.container {
  max-width: 1160px;
  margin: 0 auto;
}
.section {
  padding: 96px 56px;
}

.hero-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-600);
  max-width: 520px;
  margin-bottom: 40px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--white);
  border: 1.5px solid var(--ink-200);
  color: var(--ink-700);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.pill .pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  flex-shrink: 0;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 2px solid var(--ink-200);
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-demo:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.cta-text {
  font-size: 0.85rem;
  color: var(--ink-400);
}

/* ── SIGNUP CARD ── */
.signup-card {
  position: sticky;
  top: 84px;
  background: var(--white);
  border: 1.5px solid var(--ink-200);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 8px 40px rgba(11, 16, 32, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.card-accent-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
  margin-bottom: 24px;
}

.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-mono)
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.2;
}
.card-sub {
  font-size: 0.85rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-600);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  font-family: var(--font-sans)
  font-size: 0.875rem;
  color: var(--ink-800);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: var(--ink-100);
}
.form-group input:focus {
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--blue-900);
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-sans)
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    transform 0.1s;
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

.card-footer-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-400);
  margin-top: 10px;
}

/* ── FEATURES ── */
.features {
  background-image: linear-gradient(rgba(17, 41, 102, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 41, 102, .04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.features-header {
  margin-bottom: 56px;
}
.features-header h2 {
  font-family: var(--font-mono)
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ink-900);
  margin-bottom: 12px;
  line-height: 1.15;
}
.features-header p {
  color: var(--ink-500);
  font-size: 1rem;
  max-width: 440px;
  line-height: 1.7;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.feat-tile {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  transition: background 0.25s;
}
.feat-tile:first-child {
  border-radius: 16px 0 0 0;
}
.feat-tile:nth-child(3) {
  border-radius: 0 16px 0 0;
}
.feat-tile:nth-child(4) {
  border-radius: 0 0 0 16px;
}
.feat-tile:last-child {
  border-radius: 0 0 16px 0;
}
.feat-tile:hover {
  background: #f0f7ff;
}
.tile-icon {
  font-size: 24px;
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}
.feat-tile h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 8px;
}
.feat-tile p {
  font-size: 0.855rem;
  color: var(--ink-500);
  line-height: 1.65;
}

/* ── HOW ── */
.how-section {
  background: linear-gradient(180deg, #eef2ff 0%, #fafbfe 100%);
  border-top: 1px solid var(--ink-200);
}
.how-inner {
  max-width: 720px;
  margin: 0 auto;
}
.how-section h2 {
  font-family: var(--font-mono)
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
  text-align: center;
}
.how-section .sub {
  text-align: center;
  color: var(--ink-500);
  margin-bottom: 56px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-family: var(--font-sans)
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h4 {
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 5px;
  font-size: 0.95rem;
  padding-top: 12px;
}
.step p {
  color: var(--ink-500);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  background: var(--ink-900);
  padding: 32px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer img {
  height: 30px;
  filter: brightness(0) invert(1) opacity(0.6);
}
.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .section {
    padding: 64px 24px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-left {
    padding-bottom: 0;
  }

  .signup-card {
    position: static;
    width: 100%;
    max-width: 100%;
  }

  nav {
    padding: 0 24px;
  }
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feat-tile {
    border-radius: 0 !important;
  }
  .feat-tile:first-child {
    border-radius: 16px 16px 0 0 !important;
  }
  .feat-tile:last-child {
    border-radius: 0 0 16px 16px !important;
  }
  .how-section {
    padding: 64px 24px 80px;
  }
  footer {
    padding: 28px 24px;
  }
}
