:root {
  --primary: #1f3b4d;
  --primary-light: #28516b;
  --accent: #f4b41a;
  --bg: #f5f7fa;
  --text: #222;
  --muted: #666;
  --max-width: 1100px;
  --radius: 8px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

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

html {
  scroll-padding-top: 30px;
}

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

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

img {
  max-width: 100%;
  display: block;
}

/* Header / Nav */

header {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--primary);
}

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

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
  }

  .nav.open {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav.open .nav-links {
    width: 100%;
    flex-direction: column;
    padding-top: 0.5rem;
    border-top: 1px solid #e3e6ec;
  }
}

/* Hero */

.hero {
  background: linear-gradient(135deg, #0f172a, #1f2937);
  color: white;
  padding: 3.5rem 1.25rem 3rem;
}

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

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

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

.hero-subtitle {
  color: #d1d5db;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  font-weight: 600;
}

.btn-primary:hover {
  background: #f5c54c;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid #4b5563;
}

.btn-secondary:hover {
  background: rgba(15,23,42,0.7);
  border-color: #9ca3af;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-card {
  background: rgba(15,23,42,0.9);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148,163,184,0.35);
}

.hero-card h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.hero-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: #d1d5db;
}

.hero-card li + li {
  margin-top: 0.4rem;
}

.hero-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.4rem;
}

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

/* Sections */

section {
  padding: 3rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Questions CTA */

.questions-cta {
  background: #ffffff;
  padding: 2.5rem 1.25rem;
}

.questions-inner {
  text-align: center;
}

.questions-inner h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.questions-inner p {
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.questions-actions {
  margin-top: 1.25rem;
}

/* Features */

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

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

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

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

.feature-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.feature-body {
  font-size: 0.9rem;
  color: var(--muted);
}

/* TDA */

.tda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.tda-layout-secondary {
  margin-top: 2rem;
}

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

.tda-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

.tda-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.tda-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.tda-card ul {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.tda-card li + li {
  margin-top: 0.3rem;
}

.key-benefits-list {
  margin-bottom: 1.2rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

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

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

form {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font: inherit;
  resize: vertical;
  min-height: 2.5rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .form-row-inline {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-success {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #166534;
}

/* Footer */

footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-inner a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}
