:root {
  --primary: #111827;
  --primary-dark: #0b1b33;
  --accent: #f36f21;
  --bg-light: #f5f7fb;
  --text-main: #4a4a4a;
  --white: #ffffff;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 1.5rem 1.5rem 4rem;
}

.nav {
  max-width: 1080px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  /* max-height: 40px; */ /*controls approximate nav logo height */
}

.logo-image {
  height: 36px; /* main desktop size*/
  width: auto;
  display: block;
  max-width: 160px; /* safety cap as svg file is very wide*/
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.8rem;
  opacity: 0.95;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e5ecff;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  background: #ffca73;
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.hero-card {
  background: rgba(11, 27, 51, 0.72);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a9b7ff;
  margin-bottom: 0.75rem;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #d0ddff;
}

.hero-stat span {
  font-weight: 600;
  color: var(--accent);
}

.hero-note {
  font-size: 0.75rem;
  color: #9fb0ff;
  margin-top: 0.75rem;
}

main {
  max-width: 1080px;
  margin: -2.5rem auto 3rem;
  padding: 0 1.5rem;
}

section {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.75rem;
}

section.alt {
  background: transparent;
  box-shadow: none;
  padding: 0 0 1.5rem;
  margin-bottom: 0.5rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.section-subtitle {
  max-width: 30rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 1.1rem 1rem;
  background: #ffffff;
  transition: box-shadow 0.15s ease, transform 0.1s ease,
    border-color 0.15s ease;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.4);
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  background: rgba(26, 115, 232, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.card p {
  font-size: 0.9rem;
  color: #6b7280;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.pill-list span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.price-tag span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
}

.pricing-includes {
  list-style: none;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.pricing-includes li {
  margin-bottom: 0.25rem;
}

.pricing-includes li::before {
  content: "• ";
  color: var(--primary);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #374151;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 0.3rem;
}

input,
textarea,
select {
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #f9fafb;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.18);
  background: #ffffff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-footnote {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer {
  max-width: 1080px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer a {
  color: #9ca3af;
  text-decoration: underline;
  text-decoration-style: dotted;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 1.5rem;
  }

  .pricing-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  header {
    padding: 1.25rem 1.1rem 3.5rem;
  }

  main {
    padding: 0 1.1rem;
  }

  section {
    padding: 1.5rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  form {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    align-items: flex-start;
  }

  .logo-image {
    height: 28px; /* slightly smaller on phones */
    max-width: 140px;
  }
}
