/* Nexlysol marketing site — v1.2 (D142). */

* { box-sizing: border-box; }
body.marketing {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: #1f2733;
  line-height: 1.55;
  background: #fff;
}

a { color: #2D6FF0; text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: #f3f5f8;
  padding: 1px 6px;
  border-radius: 3px;
}

/* topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid #eaeef2;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: #1f2733;
}
.topbar .primary-nav a {
  margin-left: 24px;
  color: #1f2733;
  font-weight: 500;
}
.topbar .primary-nav a.cta {
  background: #2D6FF0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}
.topbar .primary-nav a.cta:hover { background: #1f5dcf; text-decoration: none; }

/* content shell */
.content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 32px;
}

/* hero */
.hero { padding: 24px 0 64px; text-align: center; }
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: #0d1521;
}
.hero .lede {
  font-size: 20px;
  color: #4a5666;
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 16px; }
.hero-meta { color: #8893a3; font-size: 14px; margin-top: 8px; }

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.08s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #2D6FF0; color: #fff; }
.btn-primary:hover { background: #1f5dcf; color: #fff; }
.btn-secondary { background: #f3f5f8; color: #1f2733; border: 1px solid #e0e5ec; }
.btn-secondary:hover { background: #e8ecf1; }

/* features */
.features { padding: 64px 0; }
.features h2 { text-align: center; font-size: 32px; margin: 0 0 48px; color: #0d1521; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature { padding: 24px; border: 1px solid #eaeef2; border-radius: 10px; background: #fbfcfd; }
.feature h3 { margin: 0 0 12px; font-size: 18px; color: #0d1521; }
.feature p { margin: 0; color: #4a5666; }

/* cta band */
.cta-band {
  background: #f3f5f8;
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
  margin: 64px 0;
}
.cta-band h2 { margin: 0 0 12px; font-size: 28px; color: #0d1521; }
.cta-band p { margin: 0 0 24px; color: #4a5666; max-width: 540px; margin-left: auto; margin-right: auto; }

/* pricing */
.pricing-hero { text-align: center; padding: 32px 0 48px; }
.pricing-hero h1 { font-size: 40px; margin: 0 0 16px; color: #0d1521; }
.pricing-hero .lede { font-size: 18px; color: #4a5666; margin: 0; }
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.tier { padding: 32px; border: 1px solid #eaeef2; border-radius: 12px; background: #fff; display: flex; flex-direction: column; }
.tier.tier-featured { border-color: #2D6FF0; box-shadow: 0 8px 24px rgba(45, 111, 240, 0.08); transform: translateY(-4px); }
.tier .badge {
  display: inline-block;
  background: #2D6FF0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.tier h2 { margin: 0 0 12px; font-size: 22px; color: #0d1521; }
.tier .price { margin: 0 0 8px; }
.tier .price .amount { font-size: 28px; font-weight: 700; color: #0d1521; }
.tier .price .period { color: #8893a3; font-size: 14px; margin-left: 4px; }
.tier .tier-tagline { color: #4a5666; min-height: 48px; margin: 0 0 24px; }
.tier ul.features { padding: 0; margin: 0 0 24px; list-style: none; flex: 1; }
.tier ul.features li { padding: 6px 0; border-bottom: 1px solid #f3f5f8; color: #4a5666; font-size: 15px; }
.tier ul.features li:last-child { border-bottom: 0; }
.tier .btn { text-align: center; }
.pricing-notes h2 { font-size: 22px; color: #0d1521; }
.pricing-notes ul { color: #4a5666; }

/* signup form */
.signup-hero { text-align: center; padding: 8px 0 32px; }
.signup-hero h1 { font-size: 34px; margin: 0 0 16px; color: #0d1521; }
.signup-hero .lede { color: #4a5666; max-width: 640px; margin: 0 auto; }
.signup-form { max-width: 640px; margin: 0 auto; }
.signup-form fieldset {
  border: 1px solid #eaeef2;
  border-radius: 10px;
  padding: 24px;
  margin: 0 0 24px;
}
.signup-form legend { font-weight: 700; padding: 0 8px; color: #0d1521; }
.signup-form label { display: block; margin: 12px 0 6px; font-weight: 500; color: #1f2733; }
.signup-form input,
.signup-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d3dae3;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.signup-form input:focus,
.signup-form select:focus {
  outline: 2px solid #2D6FF0;
  outline-offset: 1px;
  border-color: transparent;
}
.signup-form .hint { color: #8893a3; font-size: 13px; margin: 4px 0 0; }
.signup-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}
.signup-disclaimer { color: #8893a3; font-size: 13px; text-align: center; margin: 16px 0 0; }
.error {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  color: #8b0000;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 0 auto 24px;
  max-width: 640px;
}

/* signup success */
.signup-success { max-width: 720px; margin: 0 auto; }
.signup-success h1 { font-size: 34px; margin: 0 0 16px; color: #0d1521; }
.signup-success .lede { color: #4a5666; margin: 0 0 32px; }
.success-info {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 24px;
  padding: 24px;
  background: #f9fafc;
  border: 1px solid #eaeef2;
  border-radius: 10px;
  margin-bottom: 32px;
}
.success-info dt { font-weight: 600; color: #4a5666; }
.success-info dd { margin: 0; color: #0d1521; }
.success-info dd .hint { color: #8893a3; font-size: 13px; margin: 4px 0 0; }
.next-steps { color: #4a5666; }
.next-steps li { margin-bottom: 8px; }

/* login choice */
.login-choice { max-width: 800px; margin: 0 auto; text-align: center; }
.login-choice h1 { font-size: 34px; margin: 0 0 16px; color: #0d1521; }
.login-choice .lede { color: #4a5666; margin: 0 0 32px; }
.login-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
@media (max-width: 600px) { .login-cards { grid-template-columns: 1fr; } }
.login-card { padding: 32px 24px; border: 1px solid #eaeef2; border-radius: 12px; background: #fbfcfd; text-align: left; }
.login-card h2 { font-size: 20px; margin: 0 0 12px; color: #0d1521; }
.login-card p { color: #4a5666; margin: 0 0 24px; min-height: 80px; }
.login-choice .hint { color: #8893a3; font-size: 14px; }

/* footer */
.footer {
  background: #0d1521;
  color: #c9d1dc;
  padding: 48px 32px 24px;
  margin-top: 64px;
}
.footer-cols {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}
.footer strong { display: block; color: #fff; margin-bottom: 12px; font-size: 14px; }
.footer p { margin: 0; color: #8893a3; font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 4px 0; }
.footer a { color: #c9d1dc; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-base {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid #1f2733;
  padding-top: 24px;
  text-align: center;
}
.footer-base small { color: #8893a3; }

/* small screens */
@media (max-width: 720px) {
  .content { padding: 32px 20px; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 17px; }
  .hero-cta { flex-direction: column; }
  .features h2 { font-size: 24px; }
  .pricing-hero h1 { font-size: 30px; }
  .success-info { grid-template-columns: 1fr; }
}
