:root {
  color-scheme: light;
  --ink: #111820;
  --ink-soft: #25313b;
  --paper: #fbfbf8;
  --paper-strong: #ffffff;
  --line: #d9dedb;
  --muted: #5a6670;
  --teal: #0e8f8f;
  --teal-dark: #075d62;
  --amber: #c97a1c;
  --coral: #b94b4b;
  --mist: #e9f2f0;
  --shadow: 0 20px 60px rgba(17, 24, 32, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(102, 208, 207, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  color: #fff;
}

.legal-page .site-header,
.detail-page .site-header {
  position: relative;
  width: 100%;
  min-height: 70px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 92px;
  height: auto;
  border-radius: 4px;
}

.site-footer .brand-logo {
  width: 108px;
}

.site-header .brand,
.site-footer .brand {
  padding: 0.22rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(4, 12, 18, 0.14);
}

.legal-page .site-header .brand,
.detail-page .site-header .brand {
  border-color: var(--line);
  box-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  font-size: 0.95rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.2rem 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.legal-page .site-nav a,
.detail-page .site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.legal-page .site-nav a:hover,
.legal-page .site-nav a:focus-visible,
.detail-page .site-nav a:hover,
.detail-page .site-nav a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 7.75rem 0 4.5rem;
  background: #101820;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 56% center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.92) 0%, rgba(8, 13, 18, 0.75) 38%, rgba(8, 13, 18, 0.18) 78%),
    linear-gradient(0deg, rgba(8, 13, 18, 0.86) 0%, rgba(8, 13, 18, 0) 36%);
}

.hero-content,
.section-shell,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  color: #fff;
  padding-top: 2rem;
}

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

.hero .eyebrow {
  color: #66d0cf;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.65rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 1.65rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(4, 12, 18, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(4, 12, 18, 0.22);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(4, 12, 18, 0.18);
}

.button:disabled {
  cursor: progress;
  opacity: 0.78;
  transform: none;
}

.button-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.56);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(680px, 100%);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts div {
  padding: 1rem 1rem 1rem 0;
}

.hero-facts dt {
  font-size: 0.82rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
}

.focus-strip {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.strip-track {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding: 1rem 0;
}

.strip-track span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(102, 208, 207, 0.72);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 750;
}

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

.intro-section,
.split-section,
.support-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.section-heading {
  max-width: 770px;
}

.wide-heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.intro-copy {
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.services-section {
  background: #edf5f3;
}

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

.service-card {
  min-height: 340px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(17, 24, 32, 0.06);
  display: flex;
  flex-direction: column;
}

.service-card-wide {
  grid-column: 1 / -1;
  min-height: 230px;
}

.service-number,
.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1.1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card:nth-child(2) .service-number,
.process-list li:nth-child(2) span {
  background: var(--amber);
}

.service-card:nth-child(4) .service-number,
.process-list li:nth-child(4) span {
  background: var(--coral);
}

.service-card p {
  color: var(--ink-soft);
}

.service-card ul,
.support-panel ul {
  padding: 0;
  margin: auto 0 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.service-card li,
.support-panel li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-card li::before,
.support-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--teal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 38px;
  margin-top: 1.1rem;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid rgba(14, 143, 143, 0.28);
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--teal-dark);
}

.governance-section {
  background: var(--paper-strong);
}

.split-section p,
.support-layout p,
.contact-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.governance-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.governance-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.governance-list strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.governance-list span {
  color: var(--muted);
}

.process-section {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 250px;
  padding: 1.3rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list p {
  color: var(--muted);
}

.support-section {
  background: var(--ink);
  color: #fff;
}

.support-section .eyebrow {
  color: #66d0cf;
}

.support-layout p {
  color: rgba(255, 255, 255, 0.76);
}

.support-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.support-panel li {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  background: var(--paper-strong);
}

.detail-page {
  background: var(--paper);
}

.detail-hero,
.detail-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.detail-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.75rem);
}

.detail-hero h1 {
  max-width: 840px;
  font-size: clamp(2.25rem, 5.2vw, 4.35rem);
}

.detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.detail-hero .button {
  margin-top: 0.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 800;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.detail-layout article {
  display: grid;
  gap: 0.9rem;
}

.detail-layout h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  margin-top: 1.5rem;
}

.detail-layout p {
  color: var(--ink-soft);
}

.detail-list {
  padding-left: 1.2rem;
  margin: 0.25rem 0 1rem;
  color: var(--ink-soft);
}

.detail-list li {
  margin-bottom: 0.65rem;
}

.detail-aside {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(17, 24, 32, 0.06);
}

.detail-aside h2 {
  margin-top: 0;
}

.detail-aside ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.detail-aside li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
}

.detail-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--amber);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d1ce;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(14, 143, 143, 0.24);
  border-color: var(--teal);
}

.full-field,
.form-button,
.form-status {
  grid-column: 1 / -1;
}

.form-button {
  justify-self: start;
}

.form-status {
  min-height: 1.5rem;
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: #0b1117;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  min-height: 136px;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
}

.footer-inner .brand {
  color: #fff;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  gap: 0.8rem 1.5rem;
  justify-content: end;
}

.footer-social {
  gap: 0.55rem;
  justify-content: end;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #fff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 1rem 20px;
    background: var(--ink);
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: auto;
    padding: 4.75rem 0 3.25rem;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 13, 18, 0.94) 0%, rgba(8, 13, 18, 0.58) 100%);
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-facts,
  .intro-section,
  .split-section,
  .support-layout,
  .contact-layout,
  .service-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

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

  .strip-track {
    min-height: auto;
    padding: 1rem 0;
  }

  .hero-facts div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .process-list li,
  .service-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-content,
  .section-shell,
  .strip-track,
  .footer-inner,
  .detail-hero,
  .detail-layout {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    width: 100%;
    padding-inline: 14px;
  }

  .site-header .brand-logo {
    width: 84px;
  }

  .site-footer .brand-logo {
    width: 100px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.9rem);
    line-height: 1.05;
  }

  .hero {
    padding: 3rem 0 2.25rem;
  }

  .hero-copy {
    margin-bottom: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .strip-track {
    gap: 0.45rem 0.9rem;
  }

  .strip-track span {
    min-height: 30px;
    font-size: 0.9rem;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .footer-social {
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
