:root {
  --bayta-page-navy: #0b1f3a;
  --bayta-page-blue: #1d4ed8;
  --bayta-page-sky: #38bdf8;
  --bayta-page-bg: #f8fafc;
  --bayta-page-card: #ffffff;
  --bayta-page-line: #e2e8f0;
  --bayta-page-text: #0f172a;
  --bayta-page-muted: #475569;
  --bayta-page-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

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

.bayta-page {
  padding-top: 76px;
}

.bayta-page a {
  color: var(--bayta-page-blue);
}

.bayta-page a:hover,
.bayta-page a:focus {
  color: #1e40af;
}

.hero,
.about-hero,
.bayta-page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 12%, rgba(56, 189, 248, 0.25), transparent 28%),
    linear-gradient(135deg, #07162a 0%, var(--bayta-page-navy) 48%, #0f2b56 100%) !important;
}

.hero::before,
.about-hero::before,
.bayta-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero > .container,
.about-hero > .container,
.bayta-page-hero .container {
  position: relative;
}

.hero,
.bayta-page-hero {
  padding: 88px 0 72px;
}

.about-hero {
  padding: 68px 0 58px;
}

.hero-kicker,
.about-hero .kicker,
.bayta-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--bayta-page-sky) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before,
.about-hero .kicker::before,
.bayta-page-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--bayta-page-sky);
}

.hero h1,
.about-hero h1,
.bayta-page-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.02;
}

.hero p,
.about-hero p,
.bayta-page-hero p {
  max-width: 780px;
  color: #cbd5e1 !important;
  font-size: 1.08rem;
}

.content-band,
.bayta-content-band {
  padding: 56px 0 68px;
}

.section-heading {
  color: var(--bayta-page-text);
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1;
}

.section-copy,
.tool-card p,
.profile-copy p,
.info-card p,
.contact-strip p,
.contact-panel p,
.bayta-content-card p,
.bayta-link-card p {
  color: var(--bayta-page-muted) !important;
}

.tool-grid,
.info-grid,
.bayta-card-grid {
  display: grid;
  gap: 18px;
}

.tool-card,
.profile-panel,
.info-card,
.bayta-content-card,
.bayta-link-card {
  border: 1px solid #93c5fd !important;
  border-radius: 16px !important;
  background: var(--bayta-page-card) !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1) !important;
}

.tool-card {
  border-color: #60a5fa !important;
}

.tool-card,
.info-card,
.bayta-content-card,
.bayta-link-card {
  padding: 24px;
}

.tool-label,
.profile-title,
.bayta-section-kicker {
  color: var(--bayta-page-blue) !important;
  font-weight: 800;
}

.badge-soft {
  color: #075985 !important;
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
}

.btn-bayta,
.bayta-button-primary {
  border-color: var(--bayta-page-blue) !important;
  color: #ffffff !important;
  background: var(--bayta-page-blue) !important;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.22);
}

.btn-bayta:hover,
.btn-bayta:focus,
.bayta-button-primary:hover,
.bayta-button-primary:focus {
  border-color: #1e40af !important;
  color: #ffffff !important;
  background: #1e40af !important;
}

.btn-outline-dark,
.bayta-button-secondary {
  border-color: #93c5fd !important;
  color: #1e3a8a !important;
  background: #eff6ff !important;
  font-weight: 750 !important;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.bayta-button-secondary:hover,
.bayta-button-secondary:focus {
  border-color: var(--bayta-page-blue) !important;
  color: #ffffff !important;
  background: var(--bayta-page-blue) !important;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.2);
}

.contact-strip,
.contact-panel {
  border-top: 1px solid var(--bayta-page-line) !important;
  background: #ffffff !important;
}

.bayta-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bayta-content-card h2,
.bayta-content-card h3,
.bayta-link-card h3 {
  color: var(--bayta-page-text);
  font-weight: 800;
}

.bayta-profile-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.bayta-profile-photo {
  width: 100%;
  max-width: 230px;
  border-radius: 16px;
  border: 1px solid var(--bayta-page-line);
  box-shadow: var(--bayta-page-shadow);
}

.bayta-link-section {
  display: grid;
  gap: 18px;
}

.bayta-link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bayta-link-list li {
  float: none;
  border-right: 0;
}

.bayta-link-list a,
.bayta-link-list span {
  display: inline;
  padding: 0;
  color: var(--bayta-page-blue);
  text-align: left;
}

.bayta-citation {
  color: var(--bayta-page-muted);
  font-style: italic;
}

@media (max-width: 767.98px) {
  .hero,
  .about-hero,
  .bayta-page-hero {
    padding: 58px 0 46px;
  }

  .hero h1,
  .about-hero h1,
  .bayta-page-hero h1 {
    font-size: 2.2rem !important;
  }

  .bayta-card-grid.three,
  .bayta-card-grid.two,
  .bayta-profile-grid,
  .tool-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}
