:root {
  --brand-orange: #f28c28;
  --brand-navy: #0b2a45;
  --brand-blue: #2c9fd6;
  --brand-light-blue: #6ec1e4;
  --brand-slate: #243746;
  --brand-soft-gray: #f2f4f7;
  --brand-gradient: linear-gradient(120deg, #f28c28 0%, #2c9fd6 100%);
  --sidebar-width: 92px;
  --app-radius: 18px;
  --app-shadow: 0 12px 28px rgba(11, 42, 69, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--brand-slate);
  background:
    radial-gradient(circle at 20% -10%, rgba(110, 193, 228, 0.2), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(242, 140, 40, 0.12), transparent 35%),
    #ffffff;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover {
  color: var(--brand-navy);
}

#app-shell {
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: #081f34;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  z-index: 20;
  border-right: 1px solid rgba(110, 193, 228, 0.2);
}

.brand-mark {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
  margin-bottom: 18px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sidebar-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-join-link {
  margin-top: auto;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--brand-gradient);
}

.sidebar-link {
  color: rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  position: relative;
  transition: all 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(242, 140, 40, 0.14);
  color: #fff;
}

.sidebar-link.active::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 3px;
  height: 26px;
  border-radius: 999px;
  background: var(--brand-orange);
}

.sidebar-link-label {
  display: none;
}

.app-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  padding: 30px 40px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 700;
}

.page-title {
  color: var(--brand-navy);
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  font-weight: 800;
}

.content-card {
  background: #fff;
  border: 1px solid rgba(36, 55, 70, 0.08);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
}

.hero-panel {
  background: linear-gradient(120deg, #0b2a45 0%, #11466f 60%, #1f7bb3 100%);
  color: #fff;
  border-radius: 30px;
  padding: clamp(2rem, 3vw, 3.4rem);
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 140, 40, 0.4), transparent 65%);
}

.hero-logo {
  max-width: 280px;
  width: 100%;
  display: block;
  margin-left: auto;
}

.metric-card {
  background: var(--brand-soft-gray);
  border: 1px solid rgba(36, 55, 70, 0.06);
  border-radius: 14px;
  padding: 1rem;
}

.metric-value {
  color: var(--brand-navy);
  font-size: 1.45rem;
  font-weight: 800;
}

.btn-brand,
.btn-brand:hover {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
}

.btn-brand-secondary,
.btn-brand-secondary:hover {
  background: transparent;
  color: var(--brand-navy);
  border: 1px solid rgba(11, 42, 69, 0.18);
}

.blog-card {
  height: 100%;
  border: 1px solid rgba(11, 42, 69, 0.08);
  border-radius: 14px;
  padding: 1.2rem;
  background: #fff;
}

.legal-section h2,
.legal-section h3 {
  color: var(--brand-navy);
}

.form-shell {
  max-width: 760px;
  margin: 0 auto;
}

.video-placeholder {
  border: 2px dashed rgba(44, 159, 214, 0.5);
  border-radius: 18px;
  min-height: 420px;
  background: linear-gradient(135deg, rgba(11, 42, 69, 0.93), rgba(36, 55, 70, 0.94));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.app-footer {
  margin-top: auto;
  background: #081f34;
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(110, 193, 228, 0.25);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 34px 30px;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

.marketing-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.story-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.story-panel {
  grid-column: span 12;
  background: #fff;
  border: 1px solid rgba(11, 42, 69, 0.09);
  border-radius: 20px;
  box-shadow: var(--app-shadow);
  padding: 1.6rem;
}

.offering-card {
  border: 1px solid rgba(11, 42, 69, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  background: #fff;
  height: 100%;
}

.offering-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 159, 214, 0.13);
  color: var(--brand-navy);
}

.cta-band {
  background: linear-gradient(110deg, #0b2a45 0%, #123e63 62%, #2c9fd6 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
}

.lead-form-panel {
  background: linear-gradient(145deg, rgba(11, 42, 69, 0.98), rgba(18, 62, 99, 0.98));
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(11, 42, 69, 0.18);
}

.lead-form-panel .form-control {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.form-success {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(44, 159, 214, 0.08);
  border: 1px solid rgba(44, 159, 214, 0.2);
  color: var(--brand-navy);
  font-weight: 600;
  text-align: center;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

.form-loading {
  min-height: 116px;
  border-radius: 18px;
  background: rgba(11, 42, 69, 0.04);
  border: 1px solid rgba(11, 42, 69, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  color: var(--brand-navy);
  font-weight: 700;
}

.form-loading img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  animation: form-pulse 0.95s ease-in-out infinite;
}

.lead-form-panel .form-success {
  background: rgba(110, 193, 228, 0.16);
  border-color: rgba(110, 193, 228, 0.35);
  color: #dff5ff;
}

.lead-form-panel .form-loading {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f6fbff;
}

.resource-hero {
  background: linear-gradient(145deg, #fff 0%, #f5fbff 100%);
  border: 1px solid rgba(11, 42, 69, 0.08);
  border-radius: 28px;
  padding: clamp(1.5rem, 2.6vw, 3rem);
  box-shadow: var(--app-shadow);
}

.report-cover {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 140, 40, 0.55), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(44, 159, 214, 0.5), transparent 28%),
    linear-gradient(155deg, #0b2a45 0%, #123e63 58%, #2c9fd6 100%);
  overflow: hidden;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.report-cover::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
}

.report-cover-badge,
.report-cover-copy {
  position: relative;
  z-index: 1;
}

.report-cover-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: auto;
}

.report-cover-copy h2,
.report-cover-copy p {
  color: #fff;
}

.bullet-stack {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.bullet-stack li + li {
  margin-top: 0.75rem;
}

.webinar-panel {
  background: linear-gradient(160deg, rgba(44, 159, 214, 0.08), rgba(242, 140, 40, 0.08));
  border: 1px solid rgba(11, 42, 69, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(11, 42, 69, 0.06);
  padding: 0.55rem 0.9rem;
  color: var(--brand-navy);
  font-weight: 700;
}

.fine-print {
  color: #cfefff;
  font-size: 0.85rem;
}

@keyframes form-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.72;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
}

@media (max-width: 991px) {
  :root {
    --sidebar-width: 74px;
  }

  .app-header {
    padding: 22px 20px 14px;
  }

  .footer-inner {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .app-sidebar {
    position: sticky;
    width: 100%;
    height: auto;
    inset: 0;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .brand-mark {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
  }

  .sidebar-nav {
    flex-direction: row;
    width: auto;
    overflow-x: auto;
  }

  .sidebar-join-link {
    margin-top: 0;
    margin-left: 8px;
    min-width: 44px;
    min-height: 44px;
  }

  .sidebar-link {
    min-width: 44px;
    min-height: 44px;
  }

  .sidebar-link.active::after {
    display: none;
  }

  .app-content {
    margin-left: 0;
  }

  .hero-logo {
    margin: 1rem auto 0;
  }
}
