/* Catena serves both Barlow weights from the site under the SIL Open Font License. */

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --canvas: #fbfaf5;
  --hero-paper: #e8f0df;
  --flag-green: #198a00;
  --flag-red: #de2010;
  --flag-black: #111111;
  --flag-orange: #ef7d00;
  --paper: #fffcf4;
  --ink: #13231c;
  --muted: #4d5c50;
  --forest: #193b2d;
  --forest-ink: #f3f6ea;
  --lime: #d1f391;
  --rule: #d2d9ce;
  --frame: min(1328px, calc(100% - clamp(36px, 8vw, 112px)));
  --pad: clamp(26px, 5.15vw, 82px);
  --radius: 23px;
  --body: Barlow, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.55 var(--body); font-synthesis: none; }
img { display: block; max-width: 100%; }

/* Green leads the edge trim, with the flag's red, black and orange grouped below. */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: 2;
  inset-block: 0;
  width: clamp(4px, .58vw, 8px);
  background: linear-gradient(to bottom,
    var(--flag-green) 0 61%,
    var(--flag-red) 61% 74%,
    var(--flag-black) 74% 87%,
    var(--flag-orange) 87% 100%);
  pointer-events: none;
}
body::before { inset-inline-start: 0; }
body::after { inset-inline-end: 0; }

a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -.022em; line-height: 1.09; text-wrap: balance; }
b, strong { font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.85rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -.014em; line-height: 1.24; }
section[id] { scroll-margin-top: 24px; }
.frame { width: var(--frame); margin-inline: auto; }
.label {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .018em;
}
.skip {
  position: fixed;
  z-index: 10;
  inset: 10px auto auto 14px;
  padding: 8px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
}
.skip:focus-visible { transform: none; }

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  min-height: 86px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; line-height: 1.08; }
.brand img { flex: none; }
.brand b, .brand small { display: block; }
.brand b { font-size: 1.63rem; letter-spacing: -.027em; }
.brand small { margin-top: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .015em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(7px, 2.15vw, 33px); }
.main-nav a {
  display: grid;
  align-items: center;
  min-height: 42px;
  color: #33453a;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover { color: var(--ink); text-decoration: underline; }
.header-action { justify-self: end; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 47px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.button span { font-size: 1.03em; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #2e4837; }
.button-dark:focus-visible { outline-color: var(--ink); }
.button-green { background: #245533; color: #fff; }
.button-green:hover { background: #326b43; }
.button-green:focus-visible, .button-plum:focus-visible { outline-color: var(--ink); }
.button-plum { background: #5b3d6a; color: #fff; }
.button-plum:hover { background: #714e83; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration-color: currentColor;
}
.text-link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 7px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  min-height: clamp(490px, 47vw, 654px);
  overflow: hidden;
  background: var(--hero-paper);
  color: var(--ink);
  border-radius: var(--radius);
}
.hero-copy { z-index: 1; min-width: 0; padding: clamp(44px, 6vw, 90px) 0 clamp(48px, 6vw, 90px) var(--pad); }
.hero-copy .label { color: #345340; margin-bottom: 1rem; }
.location-palette {
  width: 26px;
  height: 7px;
  flex: none;
  border-radius: 6px;
  background: linear-gradient(to right, var(--flag-green) 0 40%, var(--flag-red) 40% 60%,
    var(--flag-black) 60% 80%, var(--flag-orange) 80% 100%);
}
.hero h1 { max-width: 16ch; font-size: clamp(2.8rem, 4.72vw, 4.7rem); line-height: 1.035; text-wrap: wrap; }
.hero h1 .heading-accent { display: block; color: #235f33; }
.hero-lede {
  margin: clamp(16px, 2.1vw, 31px) 0 24px;
  max-width: 27rem;
  color: #3d5a46;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}
.hero .actions { padding-right: 12px; }
.hero-art { position: absolute; inset: 0 0 0 45%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 53%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hero-paper), rgb(232 240 223 / .72) 9%, transparent 31%);
}
.company-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  color: #3c5143;
  font-size: .8rem;
  font-weight: 600;
}
.company-band p, .company-band a { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.company-band a { min-height: 40px; text-decoration: none; }
.company-band a:hover { text-decoration: underline; }
.band-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--flag-green); }
.registration { font-variant-numeric: tabular-nums; }

.section { padding-block: clamp(60px, 8.1vw, 118px); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px clamp(20px, 6vw, 88px);
  margin-bottom: clamp(26px, 4.2vw, 58px);
}
.section-heading h2 { max-width: 23ch; }
.section-heading > p { max-width: 29ch; color: var(--muted); }

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 14px;
}
.work-art {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  margin: 0;
  border-radius: 17px;
  background: #efdcca;
}
.work-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
@media (max-width: 1020px) {
  .work-layout { grid-template-columns: minmax(0, 1fr); }
  .work-art { aspect-ratio: 4 / 3; }
}
@media (max-width: 550px) {
  .work-art { aspect-ratio: 5 / 4; }
}

.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.practice {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  min-height: 200px;
  padding: clamp(23px, 3.4vw, 49px);
  border: 1px solid #cfdbce;
  border-radius: 17px;
}
.practice-payments { background: #e5efdc; }
.practice-commerce { background: #faead9; border-color: #ead9c5; }
.practice-payments::after, .practice-commerce::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 115px;
  bottom: 14px;
  right: -112px;
  transform: rotate(-34deg);
  border: 22px solid #d0e3bf;
  border-radius: 99px;
  opacity: .72;
}
.practice-commerce::after { border-color: #f3d4b2; transform: rotate(26deg); bottom: -28px; }
.practice-assistants { background: #f4eaf6; border-color: #e4d7e7; }
.practice-trust { background: #e9f0f3; border-color: #d6e3e8; }
.practice h3 { margin: 13px 0 8px; }
.practice p { max-width: 42ch; color: #405246; font-size: .94rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
}
.status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { background: #d0e9c4; color: #2c5630; }
.status-building { background: #f5eacb; color: #684815; }
.status-pki { background: #e4ecf6; color: #264966; }

.platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #bfcfc2;
  border-radius: var(--radius);
}
.platform-copy {
  position: relative;
  padding: clamp(30px, 5.2vw, 76px);
  background: #efe6f2;
  color: var(--ink);
}
.platform-copy .label { color: #625069; }
.platform-copy .heading-accent { color: #624475; }
.platform-mark { margin: 0 0 clamp(16px, 2.6vw, 34px); padding: 11px; border-radius: 13px; background: #634a70; }
.platform-copy > p:not(.label) { margin: 20px 0 22px; max-width: 36ch; color: #514356; }
.platform-editions { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4.4vw, 65px); background: var(--paper); }
.platform-editions h3 { margin: 0 0 15px; }
.editions { list-style: none; margin: 0; padding: 0; }
.editions li {
  display: grid;
  grid-template-columns: 6px minmax(8.8rem, .9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 11px;
  min-height: 53px;
  padding: 10px 0;
  border-top: 1px solid #ced8cb;
  font-size: .88rem;
}
.editions li::before { content: ""; width: 5px; height: 17px; border-radius: 3px; background: var(--edition, #528060); }
.editions b { font-weight: 600; }
.editions span { color: #455747; font-size: .84rem; line-height: 1.35; }
.edition-commerce { --edition: #987022; }
.edition-operations { --edition: #467252; }
.edition-finance { --edition: #7b5b9f; }
.edition-sovereign { --edition: #355b95; }
.edition-entertainment { --edition: #9d5278; }
.edition-web { --edition: #287a84; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; min-height: 150px; padding: 19px 6px 12px 0; border-top: 1px solid #a9b8aa; }
.steps li::before { content: ""; position: absolute; inset: -4px auto auto 0; width: 7px; height: 7px; border-radius: 50%; background: #668466; }
.step-number { display: block; margin: 0 0 12px; color: #496249; font-size: .87rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1rem, 1.6vw, 1.3rem); margin-bottom: 7px; }
.steps p { max-width: 31ch; color: var(--muted); font-size: .91rem; }

.verification { background: #ebf1f3; }
.verification-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 25px clamp(26px, 5.5vw, 80px);
  padding-block: clamp(43px, 6vw, 88px);
}
.verification h2 { font-size: clamp(2.2rem, 4.1vw, 3.65rem); }
.credentials > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: baseline;
  gap: 6px 13px;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid #c4d0c3;
  font-size: .90rem;
}
.credentials > div:last-child { border-bottom: 1px solid #c4d0c3; }
.credentials dt { color: #435848; }
.credentials dd { color: var(--ink); font-weight: 600; }

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: clamp(58px, 7.4vw, 110px);
  padding: clamp(28px, 5.2vw, 78px);
  background: #fae4d2;
  border-radius: var(--radius);
}
.contact-copy { max-width: min(70%, 780px); }
.contact h2 { max-width: 19ch; }
.contact-copy > p:not(.label) { margin: 15px 0 21px; max-width: 38rem; color: #38482f; }
.contact-mark {
  position: absolute;
  z-index: -1;
  width: clamp(220px, 27vw, 390px);
  height: auto;
  right: -5px;
  bottom: -35px;
  opacity: .18;
  transform: rotate(-15deg);
}
.footer { padding: clamp(38px, 5vw, 68px) 0 22px; background: var(--forest); color: var(--forest-ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 37px; }
.brand-footer img { padding: 4px; border-radius: 7px; background: #edf4e7; }
.footer h2 { font: 600 .91rem/1.2 var(--body); letter-spacing: 0; margin-bottom: 9px; }
.footer p { margin-top: 10px; }
.footer nav a { display: block; min-height: 34px; width: fit-content; padding-block: 4px; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer nav a, .footer p, .footer-bottom { color: #bfd0c0; font-size: .85rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 15px;
  padding-top: 17px;
  border-top: 1px solid #375144;
  font-size: .74rem;
}

@media (max-width: 900px) {
  .masthead-inner { min-height: 74px; }
  .masthead-inner .brand small { font-size: .62rem; }
  .header-action { min-height: 42px; padding-inline: 13px; }
  .hero-copy { padding-left: clamp(27px, 4.5vw, 46px); }
  .hero h1 { font-size: clamp(2.65rem, 5.15vw, 3.6rem); }
  .editions li { grid-template-columns: 5px minmax(0, .9fr) minmax(0, 1fr); gap: 7px; }
}
@media (max-width: 700px) {
  :root { --frame: calc(100% - 30px); --radius: 18px; }
  .masthead-inner { grid-template-columns: 1fr auto; column-gap: 8px; padding-block: 11px 4px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; column-gap: 8px; margin-top: 2px; }
  .main-nav a { font-size: .78rem; min-height: 42px; }
  .header-action { font-size: .75rem; gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .brand b { font-size: 1.35rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { padding: 36px clamp(20px, 5.5vw, 45px) 0; }
  .hero h1 { font-size: clamp(2.4rem, 8.6vw, 4rem); }
  .hero-lede { margin-block: 15px 15px; }
  .hero .actions { padding: 0; gap: 5px 14px; }
  .hero-art { position: relative; inset: auto; margin-top: -10px; height: clamp(240px, 67vw, 427px); }
  .hero-art img { object-position: center 56%; }
  .hero-art::after { background: linear-gradient(var(--hero-paper), rgb(232 240 223 / .68) 7%, transparent 24%); }
  .company-band { justify-content: flex-start; gap: 2px 14px; padding: 10px 0; }
  .company-band a { min-height: 32px; }
  .section-heading, .verification-inner, .platform { grid-template-columns: 1fr; }
  .section-heading > p { max-width: 36ch; }
  .practice-grid { gap: 10px; }
  .practice { min-height: 190px; }
  .practice p { font-size: .91rem; }
  .platform-copy { padding-bottom: 31px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 17px; }
  .contact-copy { max-width: 100%; }
  .contact-mark { opacity: .11; right: -42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 15px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice { min-height: 0; }
  .actions { gap: 6px 14px; }
  .button { padding-inline: 13px; }
  .label { font-size: .83rem; }
}
@media (max-width: 340px) {
  .hero h1 { font-size: 2.15rem; }
  .credentials > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
