:root {
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e3a8a;
  --sky-100: #eef2ff;
  --slate-50: #f9fafb;
  --slate-100: #f1f5f9;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --container-width: 1100px;
  --nav-height: 72px;
  --shadow-soft: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.6;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2.5rem, var(--container-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--blue-500);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.35rem;
}

.nav-toggle-line {
  width: 26px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88vh, 720px);
  color: white;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(110%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
  position: relative;
  padding: 6rem 0 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.lead {
  font-size: 1.1rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 1.1em;
  height: 1.1em;
}

.btn.primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.6);
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--blue-600);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.ghost:hover,
.btn.ghost:focus {
  background: rgba(255, 255, 255, 0.18);
}

.content {
  padding: 5rem 0;
}

.content.alt {
  background: white;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-600);
  margin-bottom: 1rem;
}

.content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 2rem;
  color: var(--slate-900);
}

.two-column {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.text-block > p {
  margin-top: 0;
}

.card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 15px 35px -20px rgba(15, 23, 42, 0.4);
}

.card h3 {
  margin-top: 0;
  color: var(--blue-700);
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: var(--slate-700);
}

.bullet-list li {
  margin: 0;
}

.mantra {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.5rem 0;
  color: var(--blue-600);
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 18px 38px -28px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.feature-card h3 {
  margin-top: 0;
  color: var(--blue-700);
}

.highlight {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--blue-600);
  text-align: center;
}

.quote {
  position: relative;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-700);
  margin: 0;
  padding: 2.5rem;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 65%);
  border-radius: 24px;
}

.quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: rgba(37, 99, 235, 0.25);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 2rem;
}

.contact-form {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-grid label {
  display: grid;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
}

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

input,
textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--slate-50);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.submit {
  margin-top: 2rem;
}

.form-note {
  color: var(--slate-700);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.site-footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-name {
  margin: 0;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus {
  color: white;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  min-width: 240px;
  max-width: 320px;
  padding: 1rem 1.25rem;
  background: var(--slate-900);
  color: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.75);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-weight: 500;
  line-height: 1.4;
}

.toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    z-index: 10;
    top: var(--nav-height);
    right: 1.25rem;
    width: min(280px, calc(100% - 2.5rem));
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(249, 250, 251, 0.95);
    border-radius: 18px;
    box-shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transform: scale(0.95) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding: 5rem 0 3rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--container-width));
  }

  .content {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 2rem;
  }

  .toast {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

section {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
