:root {
  --navy: #1b2a4a;
  --navy-light: #263a63;
  --teal: #3cc6b5;
  --teal-dark: #2ea497;
  --white: #ffffff;
  --slate: #8d96ac;
  --ink: #10192e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  max-width: none;
  margin: 0;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
  text-decoration: none;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.navbar img {
  height: 40px;
  width: auto;
  border-radius: 9px;
  max-width: none;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--teal);
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero p.tagline {
  color: var(--slate);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 12px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* Sections */
section {
  padding: 72px 0;
}

section.alt {
  background: #f4f6f9;
}

h2.section-title {
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 12px;
  text-align: center;
}

p.section-subtitle {
  text-align: center;
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto 48px;
}

.accent-bar {
  width: 56px;
  height: 4px;
  background: var(--teal);
  margin: 0 auto 24px;
  border-radius: 2px;
}

/* Grid cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: left;
}

section.alt .card {
  background: var(--white);
}

.card h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: 1.15rem;
}

.card p {
  color: #4a5468;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

/* Videos */
.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Fixed 16:9 frame so the portrait PWA demo lines up with the others. */
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-top: 14px;
  border-radius: 6px;
  background: var(--ink);
}

/* Who we are */
.who-we-are p {
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
  color: #33405e;
  font-size: 1.05rem;
}

/* Checklist */
.checklist {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #2c3652;
}

.checklist li::before {
  content: "\2713";
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA / Contact */
.cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p.section-subtitle {
  color: var(--slate);
}

.cta-actions {
  margin-top: 8px;
}

.cta-note {
  margin: 24px 0 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--slate);
  text-align: center;
  padding: 28px 0;
  font-size: 0.9rem;
}

footer a {
  color: var(--teal);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-review {
  margin: 0 0 10px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .navbar img {
    height: 30px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .nav-links {
    overflow-x: auto;
  }

  .nav-links a {
    margin-left: 14px;
    font-size: 0.85rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }
}

@media (max-width: 420px) {
  .logo-text {
    display: none;
  }
}
