:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #f5f6ee;
  color: #182019;
  --rule: #d8ddce;
  --muted: #4c574d;
}

* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 74rem); margin-inline: auto; }

:focus-visible {
  outline: 3px solid #23624a;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-180%);
  background: #182019;
  color: #fff;
  border-radius: .5rem;
}

.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--rule); }

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(.5rem, 2.5vw, 1rem);
  padding-block: .6rem;
}

.brand,
.account {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: .55rem;
  background: #20291c;
}

.brand-icon::before {
  content: "";
  width: 1.1rem;
  aspect-ratio: 1;
  background: #bff363;
  clip-path: polygon(20% 0, 80% 0, 100% 20%, 100% 39%, 76% 39%, 76% 24%, 24% 24%, 24% 76%, 76% 76%, 76% 63%, 51% 63%, 51% 46%, 100% 46%, 100% 80%, 80% 100%, 20% 100%, 0 80%, 0 20%);
}

.wordmark { font-size: 1.2rem; font-weight: 800; letter-spacing: -.05em; }

.account {
  font-size: clamp(.8rem, 2.9vw, .9375rem);
  font-weight: 700;
  min-height: 2.75rem;
  padding: .35rem .65rem;
  border: 1px solid #aac18c;
  border-radius: .6rem;
  background: #e8f2df;
  color: #263f2b;
  text-decoration: none;
  cursor: pointer;
}

.account:hover { background: #dcebd0; }
.brand { width: fit-content; color: inherit; text-decoration: none; }

.languages { position: relative; z-index: 2; }

.languages summary {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding: .35rem .65rem;
  cursor: pointer;
  list-style: none;
  color: #294432;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  font-size: .875rem;
  font-weight: 750;
}

.languages summary::-webkit-details-marker { display: none; }
.languages summary:hover { background: #f9fcf5; }
.languages summary svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.languages summary .language-chevron { width: .75rem; height: .75rem; }
.languages[open] .language-chevron { transform: rotate(180deg); }

.language-list {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 10.5rem;
  margin: 0;
  padding: .3rem;
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 .5rem 1.25rem #29443226;
}

.language-list a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .7rem;
  border-radius: .4rem;
  color: #294432;
  font-size: .875rem;
  text-decoration: none;
}

.language-list a:hover, .language-list a[aria-current] { background: #e8f2df; }
.language-list a[aria-current] { font-weight: 750; }

.directory { padding-block: 1.1rem 1.3rem; }

.directory > :is(h1, h2) {
  margin: 0 0 .8rem;
  font-size: clamp(1.65rem, 4.7vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.directory-intro { margin: 0 0 1rem; color: var(--muted); }
.account-id { margin: -.3rem 0 1rem; color: var(--muted); font-size: .875rem; }

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

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: .85rem .9rem;
  border: 1px solid var(--rule);
  border-radius: .8rem;
  background: #fff;
}

.card--live {
  border-color: #aac18c;
  background: #fafdf5;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: .3rem .45rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .17rem .5rem;
  border-radius: 1rem;
  color: #43554a;
  background: #edf0e9;
  font-size: .875rem;
  font-weight: 640;
  line-height: 1.25;
}

.status--live { color: #294a28; background: #d6ecb7; }

.status--live::before {
  content: "";
  flex: none;
  width: .375rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #437b30;
  animation: status-pulse 3.2s ease-out infinite;
}

@keyframes status-pulse {
  0%, 65%, 100% { box-shadow: 0 0 0 0 rgb(67 123 48 / 0); }
  12% { box-shadow: 0 0 0 .08rem rgb(67 123 48 / .25); }
  64% { box-shadow: 0 0 0 .32rem rgb(67 123 48 / 0); }
}

@media (prefers-reduced-motion: reduce) {
  .status--live::before { animation: none; }
}

.status--launch { color: #744621; background: #faf0dc; }
.status--queued { color: #46566d; background: #eaf0f8; }
.status--queued time { font-variant-numeric: tabular-nums; white-space: nowrap; }

.card h3 {
  margin: .65rem 0 .22rem;
  font-size: 1.375rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.card-action {
  display: flex;
  justify-content: flex-end;
  align-self: stretch;
  margin-top: auto;
  padding-top: .65rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .42rem .75rem;
  border-radius: .5rem;
  background: #263f2b;
  color: #fff;
  font-size: .9375rem;
  font-weight: 730;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.service-link:hover { background: #396045; }

.ecosystem-footer {
  padding-block: 1.35rem 1.25rem;
  border-top: 1px solid var(--rule);
  background: #edf1e6;
  color: #3d5042;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ecosystem-footer .gybry-legal { display: grid; gap: .35rem; }
.ecosystem-footer h2 { margin: 0; color: #263f2b; font-size: 1.08rem; letter-spacing: .04em; }
.ecosystem-footer p { margin: 0; }
.ecosystem-footer .legal-brand { font-weight: 650; }
.ecosystem-footer .gybry-footer-phone { display: inline-block; white-space: nowrap; }
.ecosystem-footer a { color: #28583d; text-underline-offset: .18em; }

.ecosystem-footer .payment-marks {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .5rem;
}

.ecosystem-footer .payment-tile {
  display: grid;
  place-items: center;
  width: 4.15rem;
  height: 2.2rem;
  padding: .32rem;
  border: 1px solid var(--rule);
  border-radius: .45rem;
  background: #fff;
}

.ecosystem-footer .payment-tile img { display: block; max-width: 100%; max-height: 1.45rem; object-fit: contain; }
.ecosystem-footer .legal-docs { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .65rem; padding-top: .5rem; border-top: 1px solid var(--rule); }
.ecosystem-footer .legal-link { padding-block: .28rem; }
.ecosystem-footer .legal-all { font-weight: 650; }
.ecosystem-footer .gybry-socials a { border-color: #b4c7ad !important; color: #28583d !important; }
.ecosystem-footer .footer { margin-top: 1rem; text-align: center; font-size: .8125rem; }
.ecosystem-footer .gh-footer-tagline { color: #263f2b; margin-bottom: .25rem; font-size: .9375rem; font-weight: 700; }

@media (min-width: 52rem) {
  .ecosystem-footer .gybry-legal { grid-template-columns: minmax(0, 1fr) auto; }
  .ecosystem-footer .gybry-legal > :is(h2, p) { grid-column: 1; }
  .ecosystem-footer .payment-marks { grid-area: 1 / 2 / span 3; align-self: start; justify-content: flex-end; }
  .ecosystem-footer .legal-docs,
  .ecosystem-footer .gybry-socials { grid-column: 1 / -1; }
  .ecosystem-footer .gybry-footer-phone { margin-left: .85rem; }
}

.banner-shell { background: #fff; }

.banner {
  display: grid;
  align-items: center;
  gap: 1rem;
  padding-block: .65rem 1.35rem;
  border-bottom: 1px solid var(--rule);
}

.banner h1 {
  margin: 0;
  font-size: clamp(1.6rem, 5.4vw, 3.2rem);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: -.052em;
  overflow-wrap: break-word;
}

.banner h1 span { display: block; }

.banner-copy p {
  max-width: 32rem;
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.banner-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.planet-orbit {
  position: relative;
  isolation: isolate;
  width: min(100%, 24rem);
  aspect-ratio: 1;
  justify-self: center;
}

.planet-orbit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4.5%;
  border: 1px dashed #b1c9a4;
  border-radius: 50%;
  background: radial-gradient(circle, #eef7e5 42%, #f7fbf4 67%, #fff 79%);
  pointer-events: none;
}

.planet-sphere {
  position: absolute;
  inset: 12%;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #608454;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 34% 22%, #c7ed9385, transparent 49%),
    radial-gradient(ellipse at 37% 26%, #628a49, #345b36 54%, #1a382a 80%);
  box-shadow:
    inset 0 0 1.4rem #b5e47665,
    inset -.5rem -.6rem 1.7rem #0b29187a,
    0 .35rem 1.5rem #66885042;
}

.planet-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(transparent 49.8%, #dcf7c148 50%, transparent 50.35%);
  transform: rotate(-23deg);
}

.planet-lines::before,
.planet-lines::after {
  content: "";
  position: absolute;
  border: 1px solid #dcf7c147;
  border-radius: 50%;
}

.planet-lines::before { inset: 0 27%; }
.planet-lines::after { inset: 31% 0; }

.planet-sphere canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 132%;
  height: auto;
  transform: translate(-50%, -51%);
}

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

.orbit-list li {
  position: absolute;
  top: var(--orbit-y);
  left: var(--orbit-x);
  transform: translate(-50%, -50%);
}

.orbit-list li:nth-child(1) { --orbit-x: 50%; --orbit-y: 12.5%; }
.orbit-list li:nth-child(2) { --orbit-x: 82.5%; --orbit-y: 31.25%; }
.orbit-list li:nth-child(3) { --orbit-x: 82.5%; --orbit-y: 68.75%; }
.orbit-list li:nth-child(4) { --orbit-x: 50%; --orbit-y: 87.5%; }
.orbit-list li:nth-child(5) { --orbit-x: 17.5%; --orbit-y: 68.75%; }
.orbit-list li:nth-child(6) { --orbit-x: 17.5%; --orbit-y: 31.25%; }

.orbit-list a {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 1.5rem;
  color: #284432;
  text-decoration: none;
}

.orbit-label {
  display: block;
  padding: .28rem .54rem;
  border: 1px solid #aac19d;
  border-radius: 1rem;
  background: #fcfefa;
  box-shadow: 0 2px 6px #223e2521;
  font-size: clamp(.75rem, 3.2vw, .875rem);
  font-weight: 730;
  line-height: 1.2;
  white-space: nowrap;
}

.orbit-list a[href="#sport"] .orbit-label {
  border-color: #7fa25c;
  background: #e8f5d4;
}

.orbit-list a:hover .orbit-label,
.orbit-list a:focus-visible .orbit-label {
  border-color: #456a47;
  background: #dceec9;
}

.orbit-list a:focus-visible { outline-offset: 1px; }


@media (min-width: 40rem) {
  .wrap { width: min(100% - 3.5rem, 74rem); }
  .directory { padding-block: 1.4rem 1.55rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .card { padding: 1rem 1.05rem; }
  .banner { grid-template-columns: 1.05fr 1fr; gap: 1.3rem; }
  .banner h1 { font-size: clamp(1.8rem, 3.7vw, 3.2rem); }
}

@media (min-width: 62rem) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .banner { gap: 2rem; padding-block: 1.1rem 1.6rem; }
}

.shortcuts { padding-block: .85rem .6rem; }

.shortcut-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.25rem, 1vw, .65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.shortcut {
  display: flex;
  min-height: 2.875rem;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: .65rem;
  background: #fff;
  color: #26382d;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.shortcut:hover {
  border-color: #9dac91;
  background: #f9fcf5;
}

.shortcut:focus-visible { outline-offset: 1px; }

.shortcut-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.area-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: .48rem;
}

.area-icon canvas { display: block; width: 1.25rem; height: 1.25rem; }

.area-icon--sport { background: #e6f0d7; color: #35572e; }
.area-icon--local { background: #f7ead9; color: #805120; }
.area-icon--global { background: #e7edf9; color: #355477; }
.area-icon--growth { background: #f0ebf8; color: #67458b; }
.area-icon--health { background: #f8e9e9; color: #8a4054; }
.area-icon--travel { background: #e4f1ec; color: #2c6659; }

.card { scroll-margin-block: 1rem; }

.card:target {
  outline: 2px solid #23624a;
  outline-offset: 2px;
}

@media (min-width: 46rem) {
  .shortcut {
    flex-direction: column;
    gap: .32rem;
    padding: .45rem .24rem;
    overflow-wrap: anywhere;
  }

  .shortcut-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }
}

@media (min-width: 62rem) {
  .shortcuts { padding-block: 1.05rem .8rem; }
  .shortcut { flex-direction: row; gap: .45rem; padding: .45rem; }
}
