:root {
  --blue: #43516d;
  --blue-hover: #3a4560;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
}

/* LAYOUT */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box span {
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
}

.logo-text-footer {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

/* BUTTONS */
.primary-btn {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.primary-btn:hover {
  background: var(--blue-hover);
}

/* HERO */
.hero {
  padding: 64px 0 96px;
}

.hero-inner {
  text-align: center;
}

.hero-eyebrow {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0px;
}

.hero-title {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
}

.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-btn {
  padding: 16px 32px;
  font-size: 18px;
  margin-bottom: 48px;
}

/* VIDEO */
.video-block {
  max-width: 960px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 18px;
  color: #6b7280;
}

.process {
  padding: 4px 18px 80px;
  background: #fff;
}

.process-box {
  background: #f8f9fb;
  border: 1px solid #e2e4e7;
  border-radius: 20px;
  padding: 40px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-title {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
}

.process-sub {
  text-align: center;
  font-size: 15px;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto 48px;
}

.process-flow {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.process-card {
  background: #fff;
  border: 1px solid #e2e4e7;
  border-radius: 16px;
  padding: 24px;
  width: 224px;

  display: flex;
  flex-direction: column;
  justify-content: center;   /* 👈 vertical centering */
  align-items: center;       /* 👈 horizontal centering */
  text-align: center;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.process-card-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

.process-card-sub {
  font-size: 13px;
  color: #6b7280;
}

.process-list {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #374151;
}

.process-list li {
  margin-bottom: 4px;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 12px;
  flex-shrink: 0;
}


@media (max-width: 768px) {
  .process-arrow {
    width: 16px;
    height: 24px;
  }
}

.process-foot {
  text-align: center;
  margin-top: 2rem;
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
}

/* BENEFITS */
.benefits {
  background: #f7f8fa;
  padding: 48px 0;
}

.benefits-header {
  text-align: center;
  margin-bottom: 64px;
}

.benefits-title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 12px;
}

.benefits-sub {
  font-size: 16px;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: #2563eb; /* blue icons */
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* SIGNUP */

.signup {
  background: #ffffff;
  padding: 48px 24px;
}

.signup-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.signup-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}

.signup-sub {
  font-size: 16px;
  color: #4b5563;
  max-width: 560px;
  margin: 0 auto 16px;
}

.signup-desc {
  font-size: 15px;
  color: #6b7280;
  max-width: 620px;
  margin: 0 auto 48px;
}

.signup-form {
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #f1f3f5;
  border: 1px solid #e0e4e8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #111;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8b94a3;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e0e4e8;
  background: #f1f3f5; 
}

.form-group textarea {
  min-height: 96px; /* shorter */
  resize: vertical;
}

.signup-btn {
  width: 100%;
  display: block;
  margin: 14px auto 0;
  text-align: center;
}

.signup-note {
  margin-top: 10px;
  font-size: 16px;
  color: #6b7280;
  text-align: center;
}


/* SIGNUP BOX (CARD) */

.signup-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px; /* reduced from 40 */
  max-width: 720px;
  margin: 0 auto;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 28px;
}

/* FORM GRID */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* FULL WIDTH ROWS */

.form-group.full {
  grid-column: 1 / -1;
  margin-top: 20px; /* same vertical spacing as other fields */
}


/* MOBILE */

@media (max-width: 640px) {
  .signup-box {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #9ca3af;
  padding: 48px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-links button,
.footer-links a {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font: inherit;
}

.footer-links button:hover,
.footer-links a:hover {
  color: #fff;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  color: #374151;
}

.close-modal {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.muted {
  color: #9ca3af;
  font-size: 13px;
}

/* ============================
   MODAL SCROLL + SMALL TEXT
   ============================ */

.modal {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-body.modal-scroll {
  overflow-y: auto;
  padding-right: 16px; /* space for scrollbar */
}

/* Smaller text for legal content */
.small-text {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563; /* soft gray */
}

.small-text h4 {
  font-size: 15px;
  margin-top: 16px;
  margin-bottom: 6px;
  color: #111827;
}

.small-text p {
  margin-bottom: 10px;
}

.small-text a {
  color: #43516d;
  text-decoration: underline;
}


/* ===========================================
   MOBILE RESPONSIVENESS
   =========================================== */
@media (max-width: 768px) {
  /* General layout */
  body {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Header */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-wrap {
    justify-content: flex-start;
  }

  @media (max-width: 640px) {
    .header-inner {
      flex-direction: row;
      justify-content: space-between;
    }

    .primary-btn {
      margin-top: 0;
    }
  }


  .logo-text {
    font-size: 16px;
  }

  .primary-btn {
    font-size: 14px;
    padding: 8px 14px;
  }

  /* Hero section */
  .hero {
    padding: 40px 0 60px;
  }

  .hero-eyebrow {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 14px;
    padding: 0 10px;
  }

  .hero-btn {
    font-size: 15px;
    padding: 12px 20px;
  }

  .video-caption {
    font-size: 12px;
  }

  /* Process section */
  .process-flow {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .process-card {
    width: 100%;
    max-width: 360px;
    padding: 20px;
  }

  .process-arrow {
    display: none; /* Hide arrows */
  }

  /* Add divider between stacked cards */
  .process-card + .process-card {
    border-top: 2px solid #d1d5db;
    padding-top: 24px;
  }

  .process-title {
    font-size: 22px;
  }

  .process-sub {
    font-size: 12px;
  }

  .process-list {
    font-size: 10px;
  }

  .process-foot {
    font-size: 14px;
  }

  /* Benefits */
  .benefits-title {
    font-size: 24px;
  }

  .benefits-sub {
    font-size: 14px;
  }

  .benefit-card h3 {
    font-size: 18px;
  }

  .benefit-card p {
    font-size: 14px;
  }

  /* Signup */
  .signup-title {
    font-size: 24px;
  }

  .signup-sub,
  .signup-desc,
  .signup-note {
    font-size: 12px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
  }

  .footer-copy {
    font-size: 13px;
  }
}
