:root {
  --navy-950: #071b2a;
  --navy-900: #0b2438;
  --navy-800: #123a55;
  --teal-700: #0b6b68;
  --teal-600: #0e7c78;
  --teal-100: #dff3f1;
  --teal-50: #eff9f8;
  --ink: #243746;
  --muted: #526575;
  --border: #ccd8df;
  --surface: #f4f7f8;
  --white: #fff;
  --focus: #f3b61f;
  --danger: #a12b2b;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --shadow: 0 1rem 2.5rem rgb(11 36 56 / 9%);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0;
}

h1,
h2,
h3,
.navbar-brand,
.footer-name {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 4.75rem);
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  background: var(--navy-950);
  color: var(--white);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -6rem;
  z-index: 1200;
}

.skip-link:focus {
  color: var(--white);
  top: 1rem;
}

.site-header {
  background: rgb(255 255 255 / 97%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  min-height: 5rem;
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  gap: 0.75rem;
  line-height: 1.15;
  min-height: 44px;
}

.navbar-brand strong,
.navbar-brand small {
  display: block;
}

.navbar-brand small {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--teal-700);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  height: 2.5rem;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 2.5rem;
}

.navbar-toggler {
  border-color: var(--border);
  min-height: 44px;
  min-width: 44px;
}

.nav-link {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 650;
  min-height: 44px;
  padding: 0.75rem 0.8rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-700);
}

.nav-link.active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
}

.nav-contact {
  margin-left: 0.5rem;
}

.btn {
  border-radius: var(--radius-sm);
  font-weight: 700;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0.82rem 1.45rem;
}

.btn-primary {
  background: var(--teal-700);
  border-color: var(--teal-700);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-outline-primary {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--teal-700);
  border-color: var(--teal-700);
}

.btn-secondary {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.site-main:focus {
  outline: none;
}

.hero-section {
  background: linear-gradient(105deg, var(--teal-50) 0%, var(--white) 55%);
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7.5rem) 0;
}

.hero-grid,
.feature-split,
.split-heading,
.content-grid,
.resume-layout,
.contact-layout,
.cta-inner {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
}

.hero-copy {
  max-width: 48rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
}

.hero-role {
  color: var(--teal-700);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 750;
  margin: 0 0 1.25rem;
}

.hero-intro,
.page-lead,
.section-lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.verification-note {
  border-left: 3px solid var(--teal-600);
  color: var(--muted);
  font-size: 0.92rem;
  margin: 2rem 0 0;
  max-width: 42rem;
  padding-left: 1rem;
}

.eyebrow {
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9ee1dc;
}

.portrait-panel {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1.25rem;
  text-align: center;
}

.portrait-placeholder {
  align-items: center;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--navy-900), var(--teal-700));
  color: rgb(255 255 255 / 75%);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 10vw, 6rem);
  justify-content: center;
  margin-bottom: 1.25rem;
}

.portrait-image {
  aspect-ratio: 4 / 5;
  display: block;
  margin-bottom: 1.25rem;
  object-fit: cover;
  width: 100%;
}

.portrait-image-small {
  border: 1px solid var(--border);
  max-width: 18rem;
}

.portrait-panel p {
  margin-bottom: 0.25rem;
}

.portrait-panel p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-strip {
  background: var(--navy-900);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid div {
  align-items: center;
  border-right: 1px solid rgb(255 255 255 / 18%);
  display: flex;
  gap: 1rem;
  min-height: 6rem;
  padding: 1.25rem 2rem;
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid span {
  color: #8fd8d3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.trust-grid p {
  font-weight: 650;
  margin: 0;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-muted {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 2.5rem;
  max-width: 46rem;
}

.section-heading p:last-child {
  color: var(--muted);
}

.split-heading,
.feature-split,
.cta-inner {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-link {
  font-weight: 750;
  min-height: 44px;
  padding: 0.55rem 0;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.credential-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal-600);
  min-height: 18rem;
  padding: 1.75rem;
}

.credential-card-large {
  min-height: 21rem;
}

.credential-card h2,
.credential-card h3 {
  margin: 2rem 0 1rem;
}

.card-number {
  color: var(--teal-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.status-chip {
  background: var(--teal-100);
  border-radius: 100vw;
  color: #075854;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 1rem;
  padding: 0.4rem 0.8rem;
}

.status-chip-positive {
  background: #dff5e8;
  color: #17643b;
}

.credential-trust {
  background: var(--navy-900);
  color: var(--white);
}

.credential-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-trust-grid > div {
  border-right: 1px solid rgb(255 255 255 / 18%);
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 2rem;
}

.credential-trust-grid > div:last-child {
  border-right: 0;
}

.credential-trust-grid strong {
  color: var(--white);
}

.credential-trust-grid span {
  color: #9ee1dc;
  font-size: 0.9rem;
}

.compact-prose p:last-child,
.supporting-document-list {
  margin-bottom: 0;
}

.supporting-document-list {
  padding-left: 1.25rem;
}

.supporting-document-list li + li {
  margin-top: 0.6rem;
}

.privacy-line,
.small-note,
.field-help {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-link-row {
  margin-top: 2rem;
  text-align: right;
}

.fact-list {
  border-top: 1px solid var(--border);
}

.fact-list div {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 0;
}

.fact-list span {
  color: var(--muted);
  text-align: right;
}

.cta-section {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-link {
  color: #b9ebe7;
  font-weight: 700;
}

.page-header {
  background: var(--teal-50);
  border-bottom: 1px solid var(--border);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.page-header h1 {
  font-size: clamp(2.35rem, 6vw, 4rem);
  margin-bottom: 1.4rem;
}

.narrow-container {
  max-width: 58rem;
}

.content-grid {
  grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 0.68fr);
}

.content-aside {
  align-self: start;
  background: var(--surface);
  border-top: 4px solid var(--teal-600);
  padding: 1.5rem;
  position: sticky;
  top: 7rem;
}

.content-aside p {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.aside-label {
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose-content {
  max-width: 48rem;
}

.prose-content section {
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  scroll-margin-top: 7rem;
}

.prose-content section:last-child {
  border-bottom: 0;
}

.prose-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.next-step {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.experience-record {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.experience-summary {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
}

.experience-summary h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.experience-summary .status-chip {
  margin: 0 0 2rem;
}

.record-label {
  color: #a9dfdc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.alternate-name {
  color: #c8e4e2;
}

.verification-list {
  margin: 0;
  padding: 1.5rem 2rem;
}

.verification-list div {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  padding: 1rem 0;
}

.verification-list div:last-child {
  border-bottom: 0;
}

.verification-list dt {
  font-weight: 700;
}

.verification-list dd {
  color: var(--muted);
  margin: 0;
}

.resume-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
}

.resume-hero-role {
  color: var(--navy-900);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 750;
  margin-bottom: 1.25rem;
}

.resume-trust-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.resume-trust-row span {
  align-items: center;
  background: var(--white);
  border-left: 3px solid var(--teal-600);
  display: flex;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
}

.resume-actions {
  margin-top: 1.5rem;
}

.resume-preview {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.resume-preview-header {
  align-items: start;
  border-bottom: 3px solid var(--navy-900);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: 1.5rem;
}

.resume-section {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.resume-section:last-child {
  border-bottom: 0;
}

.resume-contact-list {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.75rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 1.5rem 0;
}

.resume-contact-list div {
  min-width: 0;
}

.resume-contact-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-contact-list dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
}

.resume-section-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.resume-certification-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-certification-grid > div {
  background: var(--surface);
  border-left: 3px solid var(--teal-600);
  padding: 1.25rem;
}

.resume-certification-grid h4 {
  font-size: 1rem;
}

.resume-certification-grid p {
  margin-bottom: 0;
}

.resume-download-panel {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.resume-download-panel > * {
  margin: 0;
}

.resume-download-panel .document-icon {
  margin-bottom: 0.25rem;
}

.download-panel,
.contact-aside {
  background: var(--surface);
  border-top: 4px solid var(--teal-600);
  padding: 2rem;
}

.document-icon {
  align-items: center;
  background: var(--navy-900);
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 3.5rem;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  width: 3.5rem;
}

.privacy-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.privacy-nav a {
  font-weight: 650;
  min-height: 40px;
  padding: 0.35rem 0;
}

.error-section {
  min-height: 60vh;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.error-code {
  color: var(--teal-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.request-id {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2rem;
}

.site-footer {
  background: var(--navy-950);
  color: #c9d7df;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.5fr 0.75fr 1fr;
}

.footer-name,
.footer-heading {
  color: var(--white);
}

.footer-name {
  display: inline-block;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-heading {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-note {
  color: #9db0bd;
  max-width: 30rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #c9d7df;
  display: inline-block;
  min-height: 40px;
  padding: 0.3rem 0;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 15%);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--border);
    margin-top: 0.75rem;
    padding: 0.75rem 0 1rem;
  }

  .nav-contact {
    margin: 0.5rem 0 0;
  }

  .nav-contact .btn {
    width: 100%;
  }

  .hero-grid,
  .content-grid,
  .experience-record,
  .resume-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    max-width: 26rem;
  }

  .content-aside,
  .contact-aside {
    position: static;
  }

  .resume-download-panel {
    position: static;
  }

  .content-aside {
    order: 2;
  }

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

@media (max-width: 767.98px) {
  .trust-grid,
  .credential-trust-grid,
  .split-heading,
  .feature-split,
  .cta-inner,
  .card-grid-three,
  .card-grid-two,
  .form-grid,
  .choice-group,
  .check-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .resume-trust-row,
  .resume-contact-list,
  .resume-certification-grid {
    grid-template-columns: 1fr;
  }

  .resume-section-heading {
    flex-direction: column;
  }

  .trust-grid div {
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    border-right: 0;
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .credential-trust-grid > div {
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    border-right: 0;
  }

  .credential-trust-grid > div:last-child {
    border-bottom: 0;
  }

  .credential-card,
  .credential-card-large {
    min-height: auto;
  }

  .next-step,
  .resume-preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .verification-list div {
    grid-template-columns: 1fr;
  }

  .verification-list dd {
    text-align: left;
  }
}

@media (max-width: 479.98px) {
  .navbar-brand strong {
    font-size: 0.92rem;
  }

  .navbar-brand small {
    font-size: 0.64rem;
  }

  .brand-mark {
    height: 2.2rem;
    width: 2.2rem;
  }

  .hero-actions > *,
  .submit-row > .btn,
  .next-step > .btn {
    width: 100%;
  }

  .fact-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .fact-list span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
