:root {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.08), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(15, 94, 168, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.header-glass {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px -24px rgba(15, 23, 42, 0.35);
  position: relative;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #0f5ea8, #0b3d73);
  box-shadow: 0 10px 25px -12px rgba(15, 94, 168, 0.8);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease, filter 150ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px -14px rgba(15, 94, 168, 0.9);
  filter: brightness(1.02);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
  transition: transform 150ms ease, opacity 150ms ease, border-color 150ms ease;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: #fff;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #0f5ea8;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.85rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px -24px rgba(0, 0, 0, 0.45);
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.1rem;
  box-shadow: 0 14px 38px -18px rgba(15, 23, 42, 0.15);
  transition: transform 150ms ease, box-shadow 200ms ease, border-color 150ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 48px -22px rgba(15, 23, 42, 0.22);
}

.card-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.card-text {
  color: #475569;
  line-height: 1.5;
  font-size: 0.95rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  background: #e0f2fe;
  color: #0f5ea8;
  font-weight: 600;
  font-size: 0.85rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.8);
  background: rgba(255, 255, 255, 0.04);
}

.media-frame.ratio-16-9::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.media-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer.bg-slate-900 {
  background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.05), transparent 20%), #0f172a;
}

.main-nav {
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: linear-gradient(180deg, #0f172a 0%, #0c447f 100%);
  color: #fff;
  box-shadow: 0 10px 25px -18px rgba(15, 23, 42, 0.55);
}

.nav-toggle:focus-visible {
  outline: 2px solid #0f5ea8;
  outline-offset: 2px;
}

.nav-toggle .line {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle .line + .line {
  margin-top: 0;
}

.nav-toggle.is-open .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open .line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 640px) {
  .main-nav {
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 1200px) {
  .header-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-collapsible {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem 1rem;
    background: #f8fafc;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.35);
    border-bottom: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
  }
  .nav-collapsible.is-open {
    display: flex !important;
  }
  .nav-collapsible a {
    color: #0f172a;
    font-weight: 600;
    display: block;
    width: 100%;
    padding: 0.55rem 0.15rem;
    font-size: 15px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }
  .nav-collapsible a:hover {
    color: #0f5ea8;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  .nav-overlay {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.3rem;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  body {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.form-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #0f172a;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0f5ea8;
  box-shadow: 0 0 0 4px rgba(15, 94, 168, 0.12);
}

.form-error {
  min-height: 1rem;
  font-size: 0.85rem;
  color: #b91c1c;
  margin-top: 0.2rem;
}
