:root {
  --ink: #071725;
  --navy: #061c2d;
  --navy-2: #0a2d47;
  --blue: #063b62;
  --teal: #08a6b5;
  --cyan: #4fd0d7;
  --green: #86c63f;
  --ice: #e7f5f7;
  --mist: #f3f7f8;
  --white: #ffffff;
  --muted: #66808f;
  --line: rgba(6, 42, 66, 0.13);
  --shell: min(1180px, calc(100vw - 48px));
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: rgba(6, 28, 45, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 28, 45, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 178px;
  height: auto;
}

.header-brand {
  display: inline-flex;
  align-items: center;
}

.header-brand img {
  width: 201px;
}

.header-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #d8e9f0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.header-cta span {
  color: var(--green);
  font-size: 1rem;
  transition: transform 160ms ease;
}

.header-cta:hover span {
  transform: translate(2px, -2px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 164px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 30%, rgba(7, 162, 178, 0.13), transparent 27%),
    linear-gradient(128deg, #061c2d 0%, #082740 55%, #061c2d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(83, 207, 215, 0.08);
  border-radius: 50%;
  right: -285px;
  top: -330px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent 0%, black 60%, black 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  max-width: 980px;
  padding-bottom: 118px;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #77dae0;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--green);
}

h1,
h2,
h3,
blockquote {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(3.25rem, 5.4vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
}

h1 em {
  display: block;
  color: #86d6dc;
  font-style: normal;
}

.hero-lede {
  max-width: 760px;
  margin: 34px 0 0;
  color: #c8d9e2;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--shell);
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.header-cta:focus-visible,
.brand:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(0, 143, 159, 0.2);
}

.button-primary:hover {
  background: #0ab3c1;
  box-shadow: 0 22px 46px rgba(0, 143, 159, 0.28);
}

.section {
  padding: 132px 0;
}

.pain-section {
  background: var(--white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
}

.body-copy p {
  margin: 0 0 20px;
  color: #3f5968;
  font-size: 1.08rem;
}

.body-copy .emphasis {
  margin-top: 30px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.challenge {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 70px;
  align-items: start;
  margin-top: 110px;
  padding-top: 45px;
  border-top: 1px solid var(--line);
}

.challenge > p {
  max-width: 300px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
}

blockquote {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.26;
}

.loop-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.loop-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -260px;
  bottom: -300px;
  border: 1px solid rgba(79, 208, 215, 0.1);
  border-radius: 50%;
}

.loop-mark {
  position: absolute;
  z-index: 2;
  right: 56px;
  bottom: 42px;
  width: 88px;
  height: auto;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.72fr 1.35fr 0.85fr;
  gap: 54px;
  align-items: start;
}

.section-label.light {
  color: #72d3da;
}

.section-intro h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
}

.section-intro > p:last-child {
  margin: 9px 0 0;
  color: #91aab7;
  font-size: 0.96rem;
}

.loop-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 88px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.loop-steps li {
  position: relative;
  min-height: 310px;
  padding: 32px 27px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.loop-steps li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.loop-steps li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: -3px;
  left: 27px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.loop-steps li:nth-child(4)::before,
.loop-steps li:nth-child(5)::before {
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
}

.step-number {
  color: #607d8b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-icon {
  width: 42px;
  height: 42px;
  margin: 38px 0 27px;
  color: #72d3da;
}

.step-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.loop-steps h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 600;
}

.loop-steps p {
  margin: 0;
  color: #8fa8b4;
  font-size: 0.88rem;
  line-height: 1.55;
}

.trust-section {
  background: var(--mist);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 98px;
  align-items: center;
}

.trust-copy h2 {
  font-size: clamp(2.5rem, 3.8vw, 4.1rem);
}

.trust-copy > p:not(.section-label) {
  max-width: 510px;
  margin: 30px 0 0;
  color: #486271;
}

.trust-model {
  display: grid;
  grid-template-columns: calc((100% - 92px) * 0.35) 1fr calc((100% - 92px) * 0.35);
  align-items: stretch;
}

.trust-model article {
  min-height: 330px;
  padding: 38px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 55px rgba(6, 32, 49, 0.06);
}

.party-label {
  display: inline-block;
  padding: 5px 9px;
  color: #087f8c;
  background: #e4f7f8;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.party-label.supplier {
  color: #4e761d;
  background: #edf6e3;
}

.trust-model h3 {
  margin: 35px 0 24px;
  font-size: 1.25rem;
  font-weight: 700;
}

.trust-model ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-model li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid #e8eef0;
  color: #5b717d;
  font-size: 0.84rem;
}

.trust-model li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.trust-model article:last-child li::before {
  background: var(--green);
}

.trust-bridge {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.trust-bridge .bridge-line {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(9, 166, 181, 0.2), var(--teal), rgba(9, 166, 181, 0.2));
}

.trust-bridge .bridge-line-supplier {
  background: linear-gradient(to left, rgba(134, 198, 63, 0.2), var(--green), rgba(134, 198, 63, 0.2));
}

.trust-bridge .bridge-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}

.bridge-line-client::after {
  right: 7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--teal);
}

.bridge-line-supplier::after {
  left: 7px;
  border-top: 5px solid transparent;
  border-right: 8px solid var(--green);
  border-bottom: 5px solid transparent;
}

.bridge-logo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 184px;
  min-height: 86px;
  margin: 13px 0;
  padding: 12px 12px 10px;
  border: 0;
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(6, 32, 49, 0.18);
}

.bridge-logo img {
  width: 158.4px;
  height: auto;
}

.bridge-tagline {
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.2;
  white-space: nowrap;
}

.boundary-label {
  position: absolute;
  bottom: 36px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 92px;
  color: #708994;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.boundary-label span {
  display: block;
}

.regulation-section {
  padding: 0 0 132px;
  background: var(--mist);
}

.regulation-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  padding: 72px 76px;
  color: var(--white);
  background:
    linear-gradient(130deg, rgba(7, 164, 179, 0.11), transparent 42%),
    var(--navy-2);
}

.regulation-card h2 {
  max-width: 620px;
  font-size: clamp(2.1rem, 3.5vw, 3.45rem);
}

.regulation-card > div:last-child {
  padding-top: 39px;
}

.regulation-card > div:last-child p {
  margin: 0;
  color: #aac0ca;
}

.regulation-card .plain-language {
  margin-top: 28px;
  color: #83d5db;
  font-weight: 600;
}

.closing-section {
  padding: 130px 0;
  background: var(--white);
  text-align: center;
}

.closing-inner {
  max-width: 900px;
}

.closing-inner .section-label {
  margin-bottom: 26px;
}

.closing-inner h2 {
  font-size: clamp(2.65rem, 4.3vw, 4.6rem);
}

.closing-inner > p:not(.section-label) {
  max-width: 650px;
  margin: 28px auto 36px;
  color: #566f7c;
}

.button-dark {
  color: var(--white);
  background: var(--navy-2);
}

.button-dark:hover {
  background: #0a466d;
  box-shadow: 0 16px 35px rgba(6, 42, 66, 0.16);
}

footer {
  padding: 46px 0;
  color: #91a8b3;
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
}

.footer-inner .brand img {
  width: 150px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 30px;
}

.footer-links a {
  color: #b7c8d0;
  font-size: 0.76rem;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero {
    padding-top: 140px;
  }

  .section-intro {
    grid-template-columns: 0.6fr 1.4fr;
  }

  .section-intro > p:last-child {
    grid-column: 2;
  }

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

  .loop-steps li:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .trust-copy > p:not(.section-label) {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    background: rgba(6, 28, 45, 0.82);
    backdrop-filter: blur(14px);
  }

  .header-inner {
    height: 72px;
  }

  .brand img {
    width: 142px;
  }

  .header-brand img {
    width: 164px;
  }

  .header-cta {
    width: 43px;
    height: 43px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0;
  }

  .header-cta span {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .section {
    padding: 90px 0;
  }

  .editorial-grid,
  .challenge,
  .section-intro,
  .trust-grid,
  .regulation-card {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .challenge {
    margin-top: 75px;
    padding-top: 34px;
  }

  .section-intro > p:last-child {
    grid-column: auto;
  }

  .loop-steps {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .loop-mark {
    right: 24px;
    bottom: 16px;
    width: 64px;
  }

  .loop-steps li,
  .loop-steps li:nth-child(4) {
    min-height: 0;
    padding: 28px 24px 34px 88px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .loop-steps li::before {
    left: -3px;
    top: 41px;
  }

  .step-number {
    position: absolute;
    left: 24px;
    top: 30px;
  }

  .step-icon {
    width: 32px;
    height: 32px;
    margin: 0 0 18px;
  }

  .trust-model {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-model article {
    min-height: 0;
  }

  .trust-bridge {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto 1fr;
    height: 210px;
  }

  .trust-bridge .bridge-line {
    justify-self: center;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 166, 181, 0.2), var(--teal), rgba(9, 166, 181, 0.2));
  }

  .trust-bridge .bridge-line-supplier {
    background: linear-gradient(to bottom, rgba(134, 198, 63, 0.2), var(--green), rgba(134, 198, 63, 0.2));
  }

  .bridge-logo {
    position: relative;
  }

  .bridge-line-client::after {
    top: auto;
    right: auto;
    bottom: 7px;
    left: 50%;
    border-top: 8px solid var(--teal);
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
    transform: translateX(-50%);
  }

  .bridge-line-supplier::after {
    top: 7px;
    right: auto;
    bottom: auto;
    left: 50%;
    border-top: 0;
    border-right: 5px solid transparent;
    border-bottom: 8px solid var(--green);
    border-left: 5px solid transparent;
    transform: translateX(-50%);
  }

  .boundary-label {
    bottom: 6px;
    padding: 3px 6px;
    background: var(--mist);
  }

  .regulation-section {
    padding-bottom: 90px;
  }

  .regulation-card {
    padding: 48px 30px;
  }

  .regulation-card > div:last-child {
    padding-top: 0;
  }

  .closing-section {
    padding: 95px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .button {
    width: 100%;
    padding-inline: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

body.admin-bar .site-header {
  top: 32px;
}

.legal-main {
  min-height: calc(100vh - 142px);
  padding: 164px 0 110px;
  background: var(--mist);
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px clamp(26px, 6vw, 72px) 68px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 55px rgba(6, 32, 49, 0.06);
}

.legal-card h1 {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
}

.legal-card h2,
.legal-card h3 {
  margin: 40px 0 16px;
  color: var(--navy);
  line-height: 1.25;
}

.legal-content {
  color: #486271;
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content a,
.archive-entry h2 a {
  color: #087f8c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content img {
  max-width: 100%;
  height: auto;
}

.archive-entry + .archive-entry {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .legal-main {
    padding: 126px 0 80px;
  }

  .legal-card {
    padding-block: 40px 50px;
  }
}
