@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #17352f;
  color: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --page: #21423a;
  --lime: #e8fe77;
  --card: rgba(0, 0, 0, 0.16);
  --muted: rgba(255, 255, 255, 0.49);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: #17352f;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #17352f;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

.page {
  width: 100%;
  max-width: 393px;
  min-height: 1538px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
}

.profile {
  position: relative;
  height: 295px;
}

.brand-icon {
  position: absolute;
  top: 55px;
  left: 32px;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 30px;
  background: var(--lime);
}

.brand-icon img {
  width: 22px;
  height: 47px;
}

.profile-copy {
  position: absolute;
  top: 157px;
  left: 32px;
  width: 298px;
}

.profile-copy h1,
.profile-copy p {
  margin: 0;
}

.profile-copy h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.profile-copy h1 strong {
  font-weight: 700;
}

.profile-copy p {
  max-width: 298px;
  margin-top: 8px;
  font-size: 14.9px;
  font-weight: 400;
  line-height: 1.43;
}

.quick-links {
  position: absolute;
  top: 73px;
  right: 28px;
  display: flex;
  gap: 14px;
}

.quick-link {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1.75px solid rgba(33, 66, 58, 0.5);
  border-radius: 20px;
  background: transparent;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.quick-link img {
  width: 21px;
  height: 21px;
}

.hero-card {
  position: relative;
  display: block;
  width: calc(100% - 34px);
  height: 194px;
  margin: 0 17px;
  overflow: hidden;
  border-radius: 31px;
  background: var(--lime);
  color: rgba(28, 55, 49, 0.85);
  isolation: isolate;
  transition: transform 180ms ease, filter 180ms ease;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 24px;
  display: flex;
  width: 127px;
  flex-direction: column;
  gap: 6px;
}

.hero-copy small {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-copy strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-image {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 4px;
  width: 184px;
  height: 183px;
  overflow: hidden;
  border-radius: 29px;
}

.hero-image img {
  position: absolute;
  top: -50px;
  left: -62px;
  width: 260px;
  height: 325px;
  max-width: none;
  object-fit: cover;
}

.hero-cta {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 18px;
  display: grid;
  min-width: 104px;
  height: 39px;
  place-items: center;
  border-radius: 64px;
  background: var(--lime);
  color: var(--page);
  font-size: 12px;
  font-weight: 600;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  right: 17px;
  bottom: 20px;
  width: 35px;
  height: 35px;
}

.links-section {
  padding: 0 17px;
}

.section-heading {
  margin: 29px 0 27px 16px;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.section-heading p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
}

.resources-grid,
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 12px;
}

.resource-card {
  height: 224px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  transition: transform 180ms ease, background-color 180ms ease;
}

.resource-image {
  position: relative;
  width: 100%;
  height: 122px;
  overflow: hidden;
  border: 5.75px solid var(--card);
  border-radius: 29px;
}

.resource-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card:first-child .resource-image > img {
  object-position: 47% 66%;
  transform: scale(1.42);
}

.resource-card:nth-child(2) .resource-image > img {
  object-position: 50% 25%;
  transform: scale(1.03);
}

.resource-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
}

.resource-meta {
  display: flex;
  height: 27px;
  align-items: center;
  gap: 5px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
}

.resource-card h3,
.resource-card p {
  margin: 0 20px;
}

.resource-card h3 {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.resource-card p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.1px;
  font-weight: 500;
  line-height: 1.2;
}

.social-grid {
  margin-top: 15px;
}

.social-card {
  display: flex;
  height: 173px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  border-radius: 34px;
  background: var(--card);
  transition: transform 180ms ease, background-color 180ms ease;
}

.social-icon,
.linkedin-icon {
  width: 30px;
  height: 30px;
}

.linkedin-icon {
  position: relative;
}

.linkedin-icon img:first-child {
  position: absolute;
  inset: 0;
}

.linkedin-icon img:last-child {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 21px;
  height: 21px;
}

.social-card strong {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.75px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-card > span:last-child {
  display: grid;
  min-height: 37px;
  place-items: center;
  padding: 0 16px;
  border-radius: 64px;
  background: rgba(0, 0, 0, 0.21);
  color: var(--lime);
  font-size: 13.75px;
  font-weight: 600;
  line-height: 1.2;
}

.location-card {
  position: relative;
  display: block;
  width: calc(100% - 34px);
  height: 193px;
  margin: 15px 17px 0;
  overflow: hidden;
  border: 5.75px solid #fff;
  border-radius: 26px;
  background: #f6f6f6;
  transition: transform 180ms ease, filter 180ms ease;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-marker {
  position: absolute;
  top: 61px;
  left: calc(50% - 25px);
  width: 50px;
  height: 50px;
}

.location-label {
  position: absolute;
  bottom: 15px;
  left: 16px;
  display: flex;
  min-width: 94px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.location-label strong {
  color: #3b3b3b;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.location-label small {
  color: #b2b2b2;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 52px;
  text-align: center;
}

.footer p {
  width: 335px;
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
}

.footer p span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
}

.footer img {
  width: 34px;
  height: 34px;
  margin-top: 17px;
}

.is-pending {
  cursor: not-allowed;
}

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

@media (hover: hover) {
  a.hero-card:hover,
  a.location-card:hover {
    filter: brightness(1.035);
    transform: translateY(-2px);
  }

  a.resource-card:hover,
  a.social-card:hover {
    background: rgba(0, 0, 0, 0.23);
    transform: translateY(-2px);
  }

  a.quick-link:hover {
    border-color: rgba(33, 66, 58, 0.85);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
  }
}

@media (max-width: 359px) {
  .profile-copy {
    width: calc(100% - 64px);
  }

  .profile-copy p {
    padding-right: 5px;
    font-size: 13.5px;
  }

  .quick-links {
    right: 18px;
    gap: 8px;
  }

  .quick-link {
    width: 43px;
    height: 43px;
  }

  .hero-copy {
    left: 18px;
    width: 112px;
  }

  .hero-copy strong {
    font-size: 14px;
  }

  .hero-image {
    right: -12px;
  }

  .hero-cta {
    right: 39px;
    min-width: 98px;
  }

  .hero-arrow {
    right: 10px;
  }

  .resources-grid,
  .social-grid {
    column-gap: 10px;
  }

  .resource-card h3,
  .resource-card p {
    margin-right: 14px;
    margin-left: 14px;
  }

  .social-card {
    padding: 17px;
  }

  .social-card strong {
    font-size: 12px;
  }
}

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