:root {
  --color-primary: #2e5aac;
  --color-primary-dark: #20417a;
  --color-accent: #f4a261;
  --color-bg: #f5f7fb;
  --color-text: #1f2933;
  --color-muted: #52606d;
  --font-sans: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

header {
  background: #fff;
  border-bottom: 1px solid #e0e6ef;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  font-weight: 500;
  color: var(--color-muted);
}

nav a.active,
nav a:hover,
nav a:focus {
  color: var(--color-primary);
}

.nav-auth-button {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

body.command-center {
  background: #eef2ff;
}

.command-center main {
  padding-top: 2.5rem;
}

.command-center-hero {
  background: linear-gradient(135deg, #2e5aac, #3f75e3);
  border-radius: 24px;
  padding: 3rem;
  color: #fff;
  box-shadow: 0 35px 70px -45px rgba(46, 90, 172, 0.8);
  margin-bottom: 3rem;
}

.command-center-hero__content {
  max-width: 680px;
}

.command-center-hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.command-center-hero h1 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.command-center-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metric {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.metric-subtext {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.dashboard-section {
  margin-bottom: 3rem;
}

.dashboard-section h2 {
  margin-bottom: 1.5rem;
}

.dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.dashboard-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-card__metric {
  margin: 0;
  font-weight: 600;
  color: var(--color-primary);
}

.dashboard-list,
.action-list,
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-muted);
}

.action-list li,
.timeline li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(46, 90, 172, 0.12);
}

.action-list li:last-child,
.timeline li:last-child {
  border-bottom: none;
}

.action-title {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.action-meta {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.timeline-label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.timeline-detail {
  color: var(--color-text);
}

.table-card {
  padding: 0;
  overflow: hidden;
}

.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.data-table th,
.data-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
}

.data-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 36, 77, 0.65);
  background: rgba(46, 90, 172, 0.08);
}

.data-table tbody tr {
  border-bottom: 1px solid rgba(46, 90, 172, 0.08);
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(46, 90, 172, 0.12);
  color: #1d3a72;
  white-space: nowrap;
}

.status-pill--ok {
  background: rgba(26, 172, 104, 0.15);
  color: #147a48;
}

.status-pill--scheduled {
  background: rgba(63, 117, 227, 0.18);
  color: #244b94;
}

.status-pill--attention {
  background: rgba(255, 193, 59, 0.22);
  color: #825100;
}

.status-pill--risk {
  background: rgba(217, 45, 81, 0.18);
  color: #8b1f33;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-list li {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(46, 90, 172, 0.08);
}

.status-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.status-list__details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.status-title {
  font-weight: 600;
  color: var(--color-primary);
}

.status-meta {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.spend-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.spend-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spend-metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spend-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 36, 77, 0.6);
}

.spend-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.spend-subtext {
  font-size: 0.95rem;
  color: var(--color-muted);
}

@media (max-width: 720px) {
  .data-table {
    min-width: 540px;
  }

  .status-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-pill {
    margin-top: 0.5rem;
  }
}

.command-center .footer-content {
  margin-bottom: 1rem;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.hero-split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-split .hero-content {
  text-align: left;
}

.hero-split .hero-actions {
  justify-content: flex-start;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px -40px rgba(46, 90, 172, 0.55);
}

.about-hero {
  padding-bottom: 3rem;
}

.about-hero-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-split .hero-content p {
  margin: 0 0 2rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
  border: 1px solid transparent;
}

.button:hover,
.button:focus {
  background: var(--color-primary-dark);
}

.button.secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(46, 90, 172, 0.4);
}

.button.secondary:hover,
.button.secondary:focus {
  background: rgba(46, 90, 172, 0.08);
}

.button.danger {
  background: #2e7d32;
}

.button.danger:hover,
.button.danger:focus {
  background: #1b5e20;
}

.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.text-link {
  color: var(--color-primary);
  font-weight: 600;
}

.text-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.text-button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.features {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
}

.pillars-overview {
  margin-bottom: 4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .pillars-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pillars-overview {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 18px 35px -25px rgba(46, 90, 172, 0.6);
  border: 1px solid rgba(46, 90, 172, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-muted);
  margin: 0;
}

.card.soft {
  background: #f8f9ff;
  box-shadow: none;
  border: 1px solid rgba(46, 90, 172, 0.15);
}

.welcome-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.welcome-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.welcome-hero h1 {
  margin-bottom: 1rem;
}

.welcome-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-muted);
}

.welcome-links {
  display: grid;
  gap: 1.5rem;
}

.welcome-card__actions {
  margin-top: 1.5rem;
}

.welcome-card__actions .button {
  width: 100%;
}

@media (min-width: 768px) {
  .welcome-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .welcome-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .welcome-card__actions .button {
    width: auto;
  }
}

section {
  margin-bottom: 4rem;
}

.pillar {
  padding-top: 1rem;
}

.pillar.alt {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0 auto;
  color: var(--color-muted);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: var(--color-muted);
}

.section-divider {
  height: 2px;
  width: 100%;
  margin: 4rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 90, 172, 0) 0%, rgba(46, 90, 172, 0.55) 50%, rgba(46, 90, 172, 0) 100%);
}

.about-section {
  max-width: 900px;
  margin: 0 auto;
}

.about-section.card {
  padding: 2.5rem;
}

.about-text {
  display: grid;
  gap: 1.25rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.framework-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pillar-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.kits-step {
  margin-top: 2.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 18px 35px -28px rgba(46, 90, 172, 0.55);
  border: 1px solid rgba(46, 90, 172, 0.08);
}

.kits-step-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.kits-step-header h3 {
  margin: 0;
}

.kits-step-header p {
  margin: 0;
  color: var(--color-muted);
}

.kits-step-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.kit-step-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(46, 90, 172, 0.12);
}

.kit-step-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.kit-step-card p {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.kit-step-label {
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 0.25rem;
}

.kits-section {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 3rem 2rem;
}

.kits-value-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 2rem;
}

.kits-value-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(46, 90, 172, 0.12);
  box-shadow: 0 16px 32px -28px rgba(46, 90, 172, 0.55);
  display: grid;
  gap: 0.75rem;
}

.kits-value-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.kits-value-card p {
  margin: 0;
  color: var(--color-muted);
}

.kits-feature-list {
  margin-bottom: 1.5rem;
}

.microcopy {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0 auto 2.5rem;
  text-align: center;
  max-width: 560px;
}

.kits-how-it-works {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(46, 90, 172, 0.1);
  box-shadow: 0 20px 45px -32px rgba(46, 90, 172, 0.6);
}

.how-it-works-header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.how-it-works-header h3 {
  margin: 0;
}

.how-it-works-header p {
  margin: 0;
  color: var(--color-muted);
}

.how-it-works-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.how-it-works-steps li {
  margin: 0;
}

.how-it-works-step {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(46, 90, 172, 0.12);
  background: rgba(46, 90, 172, 0.05);
  cursor: pointer;
  text-align: left;
}

.how-it-works-step:hover,
.how-it-works-step:focus {
  border-color: rgba(46, 90, 172, 0.4);
  background: rgba(46, 90, 172, 0.08);
  outline: none;
}

.how-it-works-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(46, 90, 172, 0.4);
  color: var(--color-primary);
  font-weight: 700;
}

.how-it-works-copy {
  display: grid;
  gap: 0.35rem;
}

.how-it-works-copy strong {
  font-size: 1rem;
}

.how-it-works-copy span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.mid-page-cta {
  margin: 0 auto 3rem;
}

.kpi-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 2.5rem;
}

.kpi-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(46, 90, 172, 0.12);
  box-shadow: 0 18px 35px -28px rgba(46, 90, 172, 0.6);
  display: grid;
  gap: 1rem;
}

.kpi-card h3 {
  margin: 0;
}

.kpi-card p {
  margin: 0;
  color: var(--color-muted);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(46, 90, 172, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.performance-callout {
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 2.5rem;
}

.faq-section {
  background: #fff;
  border-radius: 18px;
  padding: 3rem 2rem;
  border: 1px solid rgba(46, 90, 172, 0.1);
  box-shadow: 0 24px 48px -34px rgba(46, 90, 172, 0.55);
}

.faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.faq-entry {
  background: var(--color-bg);
  border-radius: 14px;
  border: 1px solid rgba(46, 90, 172, 0.12);
  padding: 1rem 1.25rem;
}

.faq-entry summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-entry summary::after {
  content: '+';
  float: right;
  font-weight: 600;
  color: var(--color-primary);
}

.faq-entry[open] summary::after {
  content: '–';
}

.faq-entry p {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
}

.footer-cta {
  margin-bottom: 4rem;
}

.feature-list {
  list-style: disc;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--color-muted);
}

.pillars-support {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quotes {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.quote {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
}

.faq {
  border-top: 1px solid #d0d8e6;
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid #d0d8e6;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  display: none;
}

.faq-item button:focus + p,
.faq-item button[aria-expanded="true"] + p {
  display: block;
}

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  .hero {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.5rem;
}

footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-copy {
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.footer-bottom {
  font-size: 0.85rem;
}

footer small,
.footer-bottom {
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 720px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.form-card {
  background: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px -30px rgba(46, 90, 172, 0.65);
  border: 1px solid rgba(46, 90, 172, 0.08);
  max-width: 520px;
  margin: 0 auto;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: var(--color-muted);
}

.entity-management .entity-forms-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.entity-form-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.entity-form-card__intro {
  margin: 0;
  color: var(--color-muted);
}

.entity-form {
  gap: 1.25rem;
}

.entity-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.entity-form fieldset {
  border: 1px solid rgba(46, 90, 172, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.6);
}

.entity-form legend {
  font-weight: 600;
  color: var(--color-primary);
  padding: 0 0.35rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.form-row--split {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.form-row--stack {
  gap: 0.65rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--color-muted);
}

.checkbox input {
  margin-top: 0.2rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mock-intake-banner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(135deg, rgba(46, 90, 172, 0.08), rgba(46, 90, 172, 0.02));
}

.mock-intake-banner__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.mock-intake-banner__details {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.35rem;
  list-style: disc;
}

.mock-intake-banner__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-actions .button.secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(46, 90, 172, 0.4);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #d0d8e6;
  background: #fff;
  font-size: 1rem;
  transition: border 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(46, 90, 172, 0.15);
}

body.modal-open {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(4px);
}

.auth-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem 2.75rem;
  max-width: 480px;
  width: min(100%, 480px);
  box-shadow: 0 35px 85px -45px rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(46, 90, 172, 0.08);
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal__header {
  margin-bottom: 1.5rem;
}

.auth-modal__header p {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.auth-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  color: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  line-height: 1;
}

.auth-modal__close:hover,
.auth-modal__close:focus {
  color: rgba(15, 23, 42, 0.85);
}

.auth-form {
  gap: 1rem;
}

.auth-form label {
  font-size: 0.95rem;
}

.auth-form input,
.auth-form select {
  margin-top: 0.45rem;
}

.auth-form__submit {
  margin-top: 0.5rem;
  width: 100%;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(46, 90, 172, 0.1);
  color: var(--color-primary);
  font-weight: 500;
  display: none;
}

.alert.error {
  background: rgba(211, 47, 47, 0.12);
  color: #b71c1c;
}

.alert.show {
  display: block;
}

.benefits {
  display: grid;
  gap: 1rem;
}

.benefits li {
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(46, 90, 172, 0.12);
}

@media (max-width: 720px) {
  nav ul {
    display: none;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-end;
  }

  .nav-links .nav-auth-button {
    margin-left: auto;
  }

  .command-center-hero {
    padding: 2.5rem 1.75rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid--two {
    grid-template-columns: 1fr;
  }

  header {
    position: static;
  }

  main {
    padding: 2.5rem 1.25rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .pillar.alt {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
}
