:root {
  --brand-navy: #0b4c83;
  --brand-navy-deep: #082d4f;
  --brand-ink: #071d33;
  --brand-gold: #d6aa72;
  --brand-cream: #f8f4ee;
  --surface: #ffffff;
  --surface-alt: #f3f6fb;
  --text-main: #1f2937;
  --text-soft: #5a6474;
  --border-soft: rgba(11, 76, 131, 0.12);
  --shadow-soft: 0 18px 45px rgba(8, 45, 79, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--text-main);
  background: #edf2f7;
}

a {
  color: var(--brand-navy);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.16rem rgba(255, 255, 255, 0.95), 0 0 0 0.32rem rgba(11, 76, 131, 0.25);
}

.portal-hero {
  padding: 2.5rem 0 5rem;
}

.inner-page-hero {
  padding: 3.25rem 0 2rem;
}

.narrow-container {
  max-width: 920px;
}

.inner-page-copy {
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 1.05rem;
}

.portal-hero-shell {
  overflow: hidden;
  border: 1px solid rgba(7, 29, 51, 0.08);
  border-radius: 1.75rem;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(7, 29, 51, 0.12);
}

.hero-brief {
  height: 100%;
  padding: 3.5rem;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(214, 170, 114, 0.18), transparent 24%),
    linear-gradient(145deg, var(--brand-ink), var(--brand-navy-deep) 58%, var(--brand-navy));
}

.hero-eyebrow {
  color: rgba(214, 170, 114, 0.92);
}

.portal-title {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
}

.portal-description,
.portal-note,
.access-panel-copy,
.institutional-copy {
  font-size: 1.02rem;
  line-height: 1.8;
}

.portal-description,
.portal-note {
  color: rgba(248, 244, 238, 0.86);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
}

.hero-stats-grid {
  margin-top: 2.5rem;
}

.access-panel {
  height: 100%;
  padding: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-brand-panel {
  height: 100%;
  padding: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-logo {
  width: min(12rem, 100%);
  margin-bottom: 1.5rem;
  border-radius: 0.8rem;
  box-shadow: 0 18px 40px rgba(7, 29, 51, 0.10);
}

.access-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-panel h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
}

.access-panel-copy,
.access-helper {
  color: var(--text-soft);
}

.access-preview {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.preview-field {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(11, 76, 131, 0.12);
  border-radius: 1rem;
  background: #f7fafe;
}

.preview-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-field span {
  color: var(--brand-ink);
  font-weight: 600;
}

.access-status {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(11, 76, 131, 0.08);
  color: var(--brand-navy-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-brand,
.btn-outline-brand {
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-brand {
  color: #ffffff;
  background: var(--brand-navy);
  border: 1px solid var(--brand-navy);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #ffffff;
  background: #0d5899;
  border-color: #0d5899;
}

.btn-outline-brand {
  color: #ffffff;
  border: 1px solid rgba(248, 244, 238, 0.4);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-navy {
  color: var(--brand-navy-deep);
  border: 1px solid rgba(11, 76, 131, 0.22);
  background: transparent;
}

.btn-outline-navy:hover,
.btn-outline-navy:focus {
  color: var(--brand-navy-deep);
  background: rgba(11, 76, 131, 0.06);
  border-color: rgba(11, 76, 131, 0.36);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
}

.stat-card,
.feature-card,
.process-card,
.portfolio-card,
.package-card,
.legal-card,
.contact-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  box-shadow: none;
}

.institutional-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.stat-value {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 0.4rem;
  color: rgba(248, 244, 238, 0.84);
  line-height: 1.6;
}

.content-section {
  padding: 5rem 0;
}

.page-directory-section {
  padding-top: 0;
}

.premium-intro-section {
  padding-top: 0;
  margin-top: -2rem;
}

.premium-intro-panel {
  padding: 2.2rem;
  border: 1px solid rgba(7, 29, 51, 0.08);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow: 0 22px 55px rgba(7, 29, 51, 0.08);
}

.section-alt {
  background: var(--surface-alt);
}

.section-soft {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
}

.section-heading {
  max-width: 48rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-heading.text-start {
  margin-left: 0;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-heading p,
.feature-card p,
.process-card p,
.portfolio-card p,
.package-card p,
.legal-card p,
.contact-lead,
.contact-form-copy,
.privacy-container p {
  color: var(--text-soft);
  line-height: 1.8;
}

.feature-card h3,
.process-card h3,
.portfolio-card h3,
.package-card h3,
.legal-card h3,
.contact-card h3,
.privacy-container h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.service-card {
  border-top: 4px solid rgba(11, 76, 131, 0.16);
}

.process-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.process-step,
.portfolio-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(11, 76, 131, 0.08);
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step {
  color: var(--brand-gold);
  background: rgba(214, 170, 114, 0.12);
}

.section-note {
  max-width: 46rem;
  margin: -0.5rem auto 2rem;
  text-align: center;
  color: var(--text-soft);
}

.portfolio-result {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 76, 131, 0.1);
  color: var(--brand-navy-deep);
  font-weight: 600;
  line-height: 1.7;
}

.package-list,
.about-list {
  padding-left: 1.15rem;
  margin: 1rem 0 0;
}

.package-list li,
.about-list li {
  margin-bottom: 0.7rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.institutional-panel {
  padding: 2rem;
  border-radius: 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(7, 29, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.section-title-left {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.institutional-lead {
  color: var(--brand-navy-deep);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.8;
}

.institutional-copy {
  color: var(--text-soft);
}

.portal-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.access-feature-card {
  height: 100%;
  padding: 1.3rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(11, 76, 131, 0.12);
}

.access-feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.premium-feature-card {
  height: 100%;
  padding: 1.8rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(11, 76, 131, 0.10);
  box-shadow: var(--shadow-soft);
}

.premium-feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: rgba(11, 76, 131, 0.08);
  color: var(--brand-navy);
  font-weight: 700;
}

.premium-feature-card h3,
.timeline-card h3,
.showcase-card h2,
.package-teaser-card h3 {
  margin-bottom: 0.85rem;
  color: var(--brand-ink);
}

.premium-feature-card p,
.timeline-card p,
.showcase-copy,
.package-teaser-card p,
.executive-note-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.directory-card {
  display: block;
  height: 100%;
  padding: 1.6rem;
  border: 1px solid rgba(7, 29, 51, 0.08);
  border-radius: 1.3rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.directory-card:hover,
.directory-card:focus {
  transform: translateY(-4px);
  border-color: rgba(11, 76, 131, 0.24);
  box-shadow: 0 24px 50px rgba(7, 29, 51, 0.12);
}

.directory-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--brand-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-card h3 {
  margin-bottom: 0.85rem;
  color: var(--brand-ink);
  font-size: 1.25rem;
}

.directory-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.quick-facts-grid,
.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.executive-note-card {
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(11, 76, 131, 0.04) 0%, rgba(214, 170, 114, 0.08) 100%);
  border: 1px solid rgba(11, 76, 131, 0.08);
}

.premium-process-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.timeline-stack {
  display: grid;
  gap: 1rem;
}

.timeline-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem 1.45rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(7, 29, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--brand-navy-deep);
  color: #ffffff;
  font-weight: 700;
}

.showcase-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(214, 170, 114, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(7, 29, 51, 0.98), rgba(8, 45, 79, 0.96) 58%, rgba(11, 76, 131, 0.94));
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(7, 29, 51, 0.18);
}

.showcase-card .section-eyebrow,
.showcase-card h2,
.showcase-card .showcase-result {
  color: #ffffff;
}

.showcase-copy {
  color: rgba(248, 244, 238, 0.88);
}

.showcase-result {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.stacked-aside-grid {
  display: grid;
  gap: 1rem;
}

.package-teaser-card {
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(7, 29, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.compact-about-list {
  margin-top: 0;
}

.premium-cta-box {
  align-items: center;
  padding: 2rem;
}

.premium-cta-box h2 {
  color: var(--brand-ink);
}

.section-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.7rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(7, 29, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.section-cta-box p {
  margin: 0;
  max-width: 48rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.page-note {
  margin-top: 1rem;
}

.legal-card {
  border-top: 4px solid var(--brand-gold);
}

.contact-facts {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-fact {
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 76, 131, 0.08);
}

.contact-fact span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-fact strong {
  color: var(--brand-navy-deep);
}

.contact-card .form-control {
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(11, 76, 131, 0.14);
}

.contact-card .form-control:hover {
  border-color: rgba(11, 76, 131, 0.24);
}

.contact-card textarea.form-control {
  min-height: 8.5rem;
  resize: vertical;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.demo-note,
.validation-summary {
  color: var(--text-soft);
}

.privacy-section {
  padding-top: 4.5rem;
}

.privacy-container {
  max-width: 68rem;
}

@media (max-width: 991.98px) {
  .portal-hero {
    padding-top: 2rem;
  }

  .premium-intro-section {
    margin-top: -1rem;
  }

  .inner-page-hero {
    padding-top: 2.4rem;
  }

  .hero-brief,
  .access-panel,
  .hero-brand-panel {
    padding: 2.25rem;
  }

  .content-section {
    padding: 4rem 0;
  }
}

@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }

  .portal-actions,
  .portal-link-actions,
  .contact-actions,
  .section-cta-box {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .btn-brand,
  .btn-outline-brand,
  .btn-outline-navy {
    width: 100%;
    text-align: center;
  }
}
