/* =============================================
   Deploy — Shared Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
  --white:      #ffffff;
  --off-white:  #f5f5f7;
  --gray-100:   #e8e8ed;
  --gray-200:   #d2d2d7;
  --gray-400:   #6e6e73;
  --gray-600:   #424245;
  --gray-900:   #1d1d1f;
  --blue:       #0066cc;
  --blue-hover: #0055b3;
  --blue-light: #e8f2fc;
  --blue-muted: #f2f7fc;
  --font:       'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow:     0 4px 24px rgba(0, 0, 0, 0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navigation ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .nav-logo-img {
    height: 26px;
  }
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

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

.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}

/* ---- Utility ---- */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

p {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.65;
}

.lead {
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--gray-600);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

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

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 2px 12px rgba(0, 102, 204, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue-light);
}

body.modal-open {
  overflow: hidden;
}

/* ---- Waitlist modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--gray-400);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: var(--gray-900);
  background: var(--off-white);
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  padding-right: 32px;
}

.modal-lead {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 24px;
}

.waitlist-form .form-group:last-of-type {
  margin-bottom: 20px;
}

.modal-submit {
  width: 100%;
}

.modal-form-error {
  font-size: 14px;
  color: #c62828;
  margin: -8px 0 16px;
  line-height: 1.45;
}

.interest-form-error {
  font-size: 14px;
  color: #c62828;
  margin: 0 0 16px;
  line-height: 1.45;
}

.modal-success {
  text-align: center;
  padding: 8px 0 0;
}

.modal-success .modal-title {
  padding-right: 0;
}

.modal-success .modal-lead {
  margin-bottom: 24px;
}

.modal-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Hero ---- */
.hero {
  padding: 100px 0 88px;
  text-align: center;
  background: var(--white);
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero .lead {
  max-width: 520px;
  margin: 0 auto 36px;
}

/* Business hero: wider measure + slightly smaller type → two lines on desktop */
.hero .hero-lead-business {
  max-width: 800px;
  font-size: clamp(16px, 1.65vw, 19px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Divider ---- */
.divider-section {
  padding: 72px 0;
  background: var(--gray-900);
  text-align: center;
}

.divider-section h2 {
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--off-white);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s;
}

.faq-card:hover {
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-bottom: 10px;
  color: var(--gray-900);
  font-size: 18px;
}

.faq-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Beta Section ---- */
.beta-section {
  text-align: center;
  background: var(--white);
}

.beta-section .beta-intro {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.65;
}

.beta-logo-full {
  display: block;
  max-width: min(100%, 280px);
  height: auto;
  margin: 0 auto 28px;
}

.beta-badge {
  display: inline-block;
  background: var(--blue-muted);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.beta-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.beta-price {
  font-size: 48px;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 4px;
}

.beta-price sup {
  font-size: 22px;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.beta-price-label {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* ---- License Section ---- */
.license-section {
  background: var(--off-white);
  text-align: center;
}

.license-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.license-panel h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 16px;
}

.license-panel p {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

.license-mail-cta {
  margin-top: 28px;
}

.footer-mailing-btn {
  flex-shrink: 0;
  padding: 9px 18px;
  font-size: 13px;
}

.footer-copy {
  flex-shrink: 0;
}

/* =============================================
   BUSINESS PAGE
   ============================================= */

.research-section {
  padding: 72px 0;
  background: var(--off-white);
  overflow: hidden;
}

.research-header {
  text-align: center;
  margin-bottom: 44px;
  padding: 0 24px;
}

.research-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.banner-track-wrapper {
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}

.banner-track-wrapper::before,
.banner-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.banner-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.banner-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.banner-track {
  display: flex;
  gap: 16px;
  width: max-content;
  transition: transform 0.35s ease;
  will-change: transform;
}

.research-tile {
  flex-shrink: 0;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 26px 30px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.research-tile-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.research-tile h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.research-tile p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.55;
}

.business-section {
  background: var(--white);
}

.business-section .container-narrow {
  max-width: 720px;
}

.business-section h2 {
  margin-bottom: 24px;
}

.business-section .body-stack p + p {
  margin-top: 16px;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.brand-tag {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 980px;
}

.form-section {
  background: var(--off-white);
}

.form-section h2 {
  margin-bottom: 8px;
}

.form-section > .container-narrow > .form-lead {
  margin-bottom: 32px;
  font-size: 16px;
}

.interest-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 36px 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 28px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check span {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.45;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.form-footer small {
  font-size: 12px;
  color: var(--gray-400);
}

footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 36px 0;
  text-align: center;
  font-size: 13px;
}

footer a {
  color: var(--gray-400);
  text-decoration: none;
}

footer a:hover {
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .form-row { grid-template-columns: 1fr; }
  .interest-form { padding: 24px 20px 28px; }
  .beta-card, .license-panel { padding: 28px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links a { padding: 7px 10px; font-size: 12px; }
  .research-tile { width: 300px; }
  .research-carousel {
    padding: 0 16px;
    gap: 8px;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}
