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

:root {
  --blue: #003580;
  --blue-600: #00296b;
  --blue-500: #1a4f9e;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --blue-25: #f7faff;

  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-900: #0f172a;

  --bg: var(--white);
  --text: var(--gray-900);
  --border: #e5e9f0;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Font stack */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-serif-alt: "Instrument Serif", Georgia, serif;
  --font-grotesk: "Space Grotesk", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   TYPOGRAPHY — the main event
   ============================================ */

h1, h2 {
  font-family: var(--font-display);
  color: var(--gray-900);
}

h3, h4 {
  font-family: var(--font-body);
  color: var(--gray-900);
}

/* Hero headline: Bricolage top, Playfair italic bottom */
.h1-top {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.045em;
}

.h1-mid {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.045em;
}

.h1-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -0.02em;
}

/* Section heading serif accent */
.h2-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

/* Grotesk inline for structured data */
.grotesk {
  font-family: var(--font-grotesk);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Serif ampersand / conjunction */
.subtle-serif {
  font-family: var(--font-serif-alt);
  font-style: italic;
  font-size: 1.15em;
  color: var(--blue-500);
}

/* Stat numbers: Bricolage heavy */
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.04em;
}

.stat-unit {
  font-family: var(--font-serif-alt);
  font-style: italic;
  font-weight: 400;
  font-size: 0.65em;
  color: var(--blue-500);
  margin-left: 1px;
}

/* Countdown numbers: Space Grotesk for that data/dashboard feel */
.countdown-number {
  font-family: var(--font-grotesk);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* Eyebrow: Space Grotesk spaced wide */
.eyebrow {
  font-family: var(--font-grotesk);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

/* Badge pill: Inter tight */
.badge {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
}

/* Feature card title: Bricolage medium weight */
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 24;
  letter-spacing: -0.015em;
}

/* Step numbers: Bricolage bold */
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

/* Step titles: Space Grotesk */
.step-body h3 {
  font-family: var(--font-grotesk);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Nav links: Inter book weight */
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
}

/* Footer column headers: Space Grotesk */
.footer-col h4 {
  font-family: var(--font-grotesk);
}

/* Logo: Bricolage tight */
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "opsz" 24;
  letter-spacing: -0.03em;
}

/* Button labels: Inter semi */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Countdown labels: Inter spaced */
.countdown-label {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section desc: Inter regular */
.section-desc {
  font-family: var(--font-body);
  font-weight: 400;
}

/* ============================================
   ICONS
   ============================================ */

.icon-xs { width: 14px; height: 14px; stroke-width: 2; }
.icon-sm { width: 16px; height: 16px; stroke-width: 2; }
.icon-feature { width: 22px; height: 22px; stroke-width: 1.8; color: var(--blue); }
.icon-footer { width: 18px; height: 18px; stroke-width: 1.8; color: var(--gray-400); }

/* ============================================
   TOP BANNER — coming soon
   ============================================ */

.topbar {
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
}

.topbar-inner strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  transition: background 0.15s;
}

.topbar-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 56px;
  gap: 2.5rem;
}

.logo {
  font-size: 1rem;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.flag { flex-shrink: 0; border-radius: 2px; }

.logo-dot { color: var(--blue); }

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

.nav-links a {
  font-size: 0.8rem;
  color: var(--gray-500);
  transition: color 0.15s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-link-login {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.15s;
}

.nav-link-login:hover { color: var(--gray-900); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.btn-sm { padding: 0.4rem 1rem; font-size: 0.78rem; }
.btn-lg { padding: 0.7rem 1.5rem; font-size: 0.85rem; }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); }

.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-50); }

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--border);
  padding: 0.65rem 1.5rem;
}
.btn-ghost:hover {
  color: var(--gray-900);
  border-color: var(--gray-200);
  background: var(--gray-50);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 11rem 1.5rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  margin-bottom: 1.75rem;
  transition: background 0.15s;
}

.badge:hover { background: var(--blue-100); }

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.subtitle {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Social proof */

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.social-proof p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.social-proof strong {
  font-family: var(--font-grotesk);
  color: var(--gray-900);
  font-weight: 700;
}

.avatars { display: flex; }

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-grotesk);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--blue);
  margin-left: -6px;
  border: 2px solid var(--white);
}

.avatar:first-child { margin-left: 0; }

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
  padding: 1.75rem 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--gray-900);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 0.3rem;
  display: block;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ============================================
   SECTIONS
   ============================================ */

.section { padding: 5rem 0; }

.section-alt {
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-center { text-align: center; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.035em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.section-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   COUNTDOWN
   ============================================ */

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  min-width: 110px;
}

.countdown-number {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1;
  color: var(--blue);
}

.countdown-label {
  font-size: 0.62rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

.countdown-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  margin-bottom: 1rem;
}

/* ============================================
   FEATURES
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  transition: background 0.15s;
}

.feature-card:hover { background: var(--blue-25); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-family: var(--font-body);
  color: var(--gray-500);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* ============================================
   STEPS
   ============================================ */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  font-size: 0.72rem;
  color: var(--blue);
  background: var(--blue-50);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-body p {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.step-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 18px;
}

/* ============================================
   SIGNUP FORM
   ============================================ */

.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.form-left {
  padding-top: 1.5rem;
}

.form-flag { margin-bottom: 1.25rem; }

.form-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.form-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 380px;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
}

.icon-benefit {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  color: var(--blue);
  flex-shrink: 0;
}

/* Form card */

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow:
    0 1px 2px rgba(0, 53, 128, 0.04),
    0 4px 16px rgba(0, 53, 128, 0.06);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  font-variation-settings: "opsz" 24;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.form-header p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray-500);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-grotesk);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap-textarea {
  align-items: flex-start;
}

.icon-input {
  position: absolute;
  left: 0.8rem;
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  color: var(--gray-400);
  pointer-events: none;
}

.icon-input-top {
  top: 0.75rem;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem 0.6rem 2.4rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.input-wrap textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 0.65rem;
  line-height: 1.5;
}

.input-wrap select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.08);
  background: var(--white);
}

.form-error {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.btn-submit {
  width: 100%;
  padding: 0.7rem 1.5rem;
  font-size: 0.88rem;
  margin-top: 0.25rem;
  justify-content: center;
}

.form-note {
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 0.85rem;
}

/* Success state */

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  margin-bottom: 1.25rem;
}

.icon-success {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
  color: var(--blue);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 1.5rem;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-grotesk);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
}

/* Spinner */

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand { max-width: 260px; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray-500);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--gray-900); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray-400);
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a { transition: opacity 0.15s; }
.footer-social a:hover { opacity: 0.7; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .topbar-inner span { display: none; }
  .topbar-link { margin-left: 0; }

  .nav-links, .nav-link-login { display: none; }

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

  .steps { flex-direction: column; align-items: center; }

  .step-line { width: 1px; height: 32px; margin: 0; }

  .step { max-width: 320px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .countdown-unit { min-width: 72px; padding: 1rem 1rem; }

  .stats-inner { gap: 1.5rem; }
  .stat-divider { display: none; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .form-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-left { padding-top: 0; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
}
