:root {
  --purple: #461e96;
  --purple-dark: #24104f;
  --purple-soft: #6b45c0;
  --blue: #0c3f86;
  --blue-bright: #1a6bb5;
  --lavender: #f3eef9;
  --mist: #f4f6fa;
  --ink: #16141c;
  --muted: #5c5766;
  --white: #ffffff;
  --line: rgba(22, 20, 28, 0.1);
  --action: #8c2f2a;
  --action-soft: #fdecea;
  --advisory: #8a5a00;
  --advisory-soft: #fff6e4;
  --info: #461e96;
  --info-soft: #f3eef9;
  --shadow: 0 18px 48px rgba(36, 16, 79, 0.1);
  --radius: 16px;
  --max: 1140px;
  --header: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Aptos", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--purple-soft);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  color: var(--white);
  background: var(--purple);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.utility-bar {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.utility-bar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-bar strong {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(22, 20, 28, 0.05);
}

.nav-wrap {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-symbol path,
.brand-symbol circle {
  fill: none;
  stroke: var(--purple);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  color: var(--purple);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  position: relative;
  color: #3c3744;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--white);
  background: var(--purple);
  border: 1px solid var(--purple);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.nav-links a.nav-cta {
  min-height: 40px;
}

.nav-links a.nav-cta:hover,
.button:hover {
  color: var(--white);
  background: var(--purple-dark);
  box-shadow: 0 10px 24px rgba(70, 30, 150, 0.2);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--purple);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--purple);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--purple);
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(26, 107, 181, 0.16), transparent 30%),
    linear-gradient(165deg, #fff 0%, #f7f4fc 55%, #eef3fb 100%);
}

.hero-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(70, 30, 150, 0.16), rgba(26, 107, 181, 0.18), rgba(140, 47, 42, 0.08), rgba(70, 30, 150, 0.16));
  animation: drift 18s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 640px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.summary-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(70, 30, 150, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.summary-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.summary-panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--action);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 0 rgba(140, 47, 42, 0.4);
  animation: pulse 2.2s ease-out infinite;
}

.severity-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.severity-counts li {
  padding: 12px 10px;
  border-radius: 12px;
  text-align: center;
}

.severity-counts strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.severity-counts span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.count-action {
  color: var(--action);
  background: var(--action-soft);
}

.count-advisory {
  color: var(--advisory);
  background: var(--advisory-soft);
}

.count-info {
  color: var(--info);
  background: var(--info-soft);
}

.panel-note {
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--mist);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading p {
  max-width: 440px;
  margin: 0;
}

.alert-list {
  display: grid;
  gap: 12px;
}

.alert {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.alert[data-severity="action"] {
  border-left-color: var(--action);
}

.alert[data-severity="advisory"] {
  border-left-color: var(--advisory);
}

.alert[data-severity="informational"] {
  border-left-color: var(--purple);
}

.alert:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.alert.is-hidden {
  display: none;
}

.alert-id {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.alert-id time {
  display: block;
  margin-top: 4px;
  font-weight: 700;
}

.alert h3 {
  margin-bottom: 6px;
}

.alert p {
  margin: 0;
  font-size: 0.95rem;
}

.alert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.chip,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.chip {
  color: var(--blue);
  background: #e8f1fa;
}

.badge-action {
  color: var(--action);
  background: var(--action-soft);
}

.badge-advisory {
  color: var(--advisory);
  background: var(--advisory-soft);
}

.badge-info {
  color: var(--info);
  background: var(--info-soft);
}

.text-link {
  color: var(--purple);
  font-weight: 800;
  white-space: nowrap;
}

.text-link span {
  display: inline-block;
  transition: transform 200ms ease;
}

.alert:hover .text-link span,
.text-link:hover span {
  transform: translateX(4px);
}

.area-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  padding: 48px 0 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(26, 107, 181, 0.12), transparent 24%),
    linear-gradient(#fff, #f7f5fb);
}

.page-hero p {
  max-width: 700px;
  font-size: 1.05rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 18px;
}

.filter {
  min-height: 36px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.filter[aria-pressed="true"],
.filter:hover {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.empty-state {
  display: none;
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state.visible {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-card,
.contact-note {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card {
  box-shadow: var(--shadow);
}

.contact-card address {
  display: grid;
  gap: 22px;
  font-style: normal;
}

.contact-card address div {
  display: grid;
  gap: 5px;
}

.contact-card address strong {
  color: var(--purple);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card address span {
  color: var(--ink);
  line-height: 1.6;
}

.contact-note {
  background: var(--lavender);
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(160deg, var(--purple), var(--blue));
  border-radius: 12px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--purple-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0 26px;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.02rem;
}

.site-footer a {
  display: inline-block;
  margin: 5px 0;
  color: inherit;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-base {
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 680ms ease forwards;
}

.delay {
  animation-delay: 100ms;
}

.delay-2 {
  animation-delay: 180ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(140, 47, 42, 0);
  }
}

@keyframes drift {
  50% {
    transform: translate3d(-16px, 14px, 0) scale(1.04);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .area-grid,
  .card-grid,
  .contact-layout,
  .footer-grid,
  .alert {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .utility-bar .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .utility-bar .container {
    padding: 8px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
