@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700;800;900&display=swap");

:root {
  --alpha-blue: #272973;
  --alpha-text: #0e1024;
  --alpha-white: #ffffff;
  --alpha-light: #f7f7fb;
  --alpha-dark: #0e1024;
  --alpha-link: #3c63af;
  --alpha-radius: 16px;
  --alpha-font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--alpha-text);
  background: #fff;
  font-family: var(--alpha-font);
}

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

a {
  color: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--alpha-dark);
  color: #fff;
}

.alpha-figma-home {
  min-width: 320px;
}

.figma-page {
  overflow: hidden;
  background: #fff;
}

.figma-logo {
  object-fit: contain;
}

.figma-hero {
  position: relative;
  min-height: 906px;
  overflow: hidden;
  background: #040404;
  color: #fff;
}

.figma-hero__bg {
  position: absolute;
  inset: -155px -156px 129px -192px;
  background: url("../img/figma/hero-map.png") center top / cover no-repeat;
  opacity: 0.98;
}

.figma-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  content: "";
}

.figma-hero__logo {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 72px;
  display: block;
  width: 270px;
  height: 86px;
}

.figma-hero__logo img {
  width: 100%;
  height: 100%;
}

.figma-hero h1 {
  position: absolute;
  z-index: 2;
  top: 300px;
  left: 50%;
  width: 1100px;
  margin: 0;
  transform: translateX(-50%);
  color: #fff;
  font-size: 118px;
  font-weight: 900;
  line-height: 150px;
  letter-spacing: 0;
  text-align: center;
}

.figma-hero h1 span {
  display: block;
}

.figma-services {
  position: relative;
  min-height: 1078px;
  padding-top: 136px;
  background: #fff;
}

.figma-services__gradient {
  position: absolute;
  inset: 0 0 auto;
  height: 716px;
  background:
    radial-gradient(2288px 1280px at 50% -270px, #08060b 37.031%, #080b1a 38.555%, #071128 40.078%, #061b45 43.125%, #052662 46.172%, #043180 49.219%, #0246ba 55.312%, #005bf4 61.406%, #0f5dea 62.49%, #1e5fe0 63.574%, #3c63cc 65.742%, #5a67b7 67.91%, #786ba3 70.078%, #b4737b 74.414%, #f07b52 78.75%);
}

.figma-services h2,
.figma-about h2,
.figma-presence h2,
.figma-why h2,
.figma-contact h2 {
  margin: 0;
  color: var(--alpha-blue);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: 0;
  text-transform: uppercase;
}

.figma-services h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.figma-services__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: min(1160px, calc(100% - 120px));
  margin: 44px auto 0;
}

.figma-service-card {
  overflow: hidden;
  border-radius: var(--alpha-radius);
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.11);
}

.figma-service-card img {
  width: 100%;
  height: 449px;
  object-fit: cover;
}

.figma-service-card:nth-child(1) img {
  object-position: center;
}

.figma-service-card:nth-child(2) img {
  object-position: 43% center;
}

.figma-service-card:nth-child(3) img {
  object-position: 53% center;
}

.figma-service-card div {
  min-height: 287px;
  padding: 31px 20px 28px;
}

.figma-service-card h3 {
  margin: 0 0 20px;
  color: var(--alpha-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
}

.figma-service-card p,
.figma-about p,
.figma-why__intro,
.figma-why-card p,
.figma-contact p {
  margin: 0;
  color: var(--alpha-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
}

.figma-about {
  display: grid;
  grid-template-columns: minmax(0, 555px) minmax(0, 555px);
  gap: 50px;
  justify-content: center;
  padding: 100px 60px;
  background: var(--alpha-light);
}

.figma-about__image {
  height: 699px;
  overflow: hidden;
  border-radius: var(--alpha-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.figma-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.figma-about__copy {
  align-self: start;
}

.figma-about h2 {
  margin-bottom: 0;
}

.figma-about p + p {
  margin-top: 27px;
}

.figma-presence {
  padding: 120px 64px;
  text-align: center;
  background: #fff;
}

.figma-presence img {
  width: min(1152px, 100%);
  height: 608px;
  margin: 40px auto 0;
  border-radius: var(--alpha-radius);
  object-fit: contain;
}

.figma-why {
  padding: 100px 60px;
  background:
    radial-gradient(ellipse 56% 48% at 50% 113%, #ff6228 0%, #605ea8 35%, #005bf4 56%, #07368c 78%, #0e1024 100%);
  color: #fff;
}

.figma-why h2 {
  color: #fff;
  text-align: center;
}

.figma-why__intro {
  width: min(1160px, 100%);
  margin: 30px auto;
  color: #fff;
  text-align: center;
}

.figma-why__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 565px));
  gap: 30px;
  justify-content: center;
}

.figma-why-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  overflow: hidden;
  min-height: 474px;
  border: 1px solid #dde0ea;
  border-radius: var(--alpha-radius);
  background: #fff;
}

.figma-why-card::after {
  position: absolute;
  top: 8.8%;
  right: 10%;
  width: 38%;
  height: 84%;
  background: url("../img/figma/card-pattern.png") center / contain no-repeat;
  opacity: 0.83;
  content: "";
}

.figma-why-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 473px;
  object-fit: cover;
}

.figma-why-card div {
  position: relative;
  z-index: 1;
  padding: 40px 20px 40px 0;
}

.figma-why-card h3 {
  margin: 0 0 15px;
  color: var(--alpha-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
}

.figma-contact {
  display: flex;
  min-height: 346px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
  text-align: center;
}

.figma-contact h2 {
  line-height: 48.4px;
}

.figma-contact p {
  margin-top: 20px;
}

.figma-contact a {
  margin-top: 18px;
  color: var(--alpha-link);
  font-size: 20px;
  line-height: 27px;
  text-decoration: none;
}

.figma-footer {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: var(--alpha-dark);
  color: #fff;
}

.figma-footer img {
  width: 187px;
  height: 60px;
}

.figma-footer p {
  width: 332px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 20.8px;
}

.figma-footer a {
  text-decoration: underline;
}

.alpha-figma-legal {
  min-width: 320px;
  background: #fff;
}

.figma-legal-hero {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: #08060b;
  color: #fff;
}

.figma-legal-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 140% at 50% -38%, #08060b 0%, #080b1a 32%, #061b45 42%, #005bf4 58%, #5a67b7 76%, #b06f86 100%);
  opacity: 1;
}

.figma-legal-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 48%);
  content: "";
}

.figma-legal-hero__brand {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 72px;
  display: block;
  width: 270px;
  height: 86px;
}

.figma-legal-hero__brand img {
  width: 100%;
  height: 100%;
}

.figma-legal-hero__title {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 630px;
  align-items: center;
  justify-content: center;
  padding: 170px 60px 76px;
  text-align: center;
}

.figma-legal-hero h1 {
  max-width: 1010px;
  margin: 0;
  color: #fff;
  font-size: 118px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.figma-legal {
  background: var(--alpha-light);
  padding: 96px 24px;
}

.figma-legal__wrap {
  width: min(100%, 960px);
  margin: 0 auto;
}

.figma-legal__content {
  border-radius: var(--alpha-radius);
  background: #fff;
  padding: 56px 64px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.figma-legal__content h2,
.figma-legal__content h3 {
  color: var(--alpha-blue);
  letter-spacing: 0;
}

.figma-legal__content h2 {
  margin: 44px 0 16px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.figma-legal__content h2:first-child {
  margin-top: 0;
}

.figma-legal__content h3 {
  margin: 32px 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.figma-legal__content p,
.figma-legal__content li {
  color: var(--alpha-text);
  font-size: 20px;
  line-height: 27px;
}

.figma-legal__content p {
  margin: 0 0 20px;
}

.figma-legal__content ul,
.figma-legal__content ol {
  margin: 0 0 24px;
  padding-left: 1.35em;
}

.figma-legal__content a {
  color: var(--alpha-link);
}

.figma-legal-links {
  display: grid;
  gap: 28px;
  margin: 8px 0 12px;
}

.figma-legal-links a {
  display: inline-flex;
  width: fit-content;
  color: var(--alpha-blue);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.figma-legal-links a:hover,
.figma-legal-links a:focus-visible {
  color: var(--alpha-link);
  text-decoration: underline;
}

body:not(.alpha-figma-home) {
  color: var(--alpha-text);
  font-family: var(--alpha-font);
}

.site-header,
.site-footer,
.section,
.entry {
  font-family: var(--alpha-font);
}

@media (max-width: 980px) {
  .figma-hero {
    min-height: 613px;
  }

  .figma-hero__bg {
    inset: -96px 0 auto;
    height: 920px;
  }

  .figma-hero__logo {
    top: 50px;
    left: 50%;
    width: 207px;
    height: 66px;
    transform: translateX(-50%);
  }

  .figma-hero h1 {
    top: 226px;
    width: min(700px, calc(100% - 80px));
    font-size: 72px;
    line-height: 90px;
  }

  .figma-services {
    min-height: auto;
    padding: 15px 30px 44px;
  }

  .figma-services__gradient {
    height: 545px;
  }

  .figma-services h2,
  .figma-about h2,
  .figma-presence h2,
  .figma-why h2,
  .figma-contact h2 {
    font-size: 54px;
  }

  .figma-services__cards {
    grid-template-columns: repeat(2, 360px);
    width: 740px;
    max-width: 100%;
    gap: 20px;
    overflow: visible;
  }

  .figma-service-card:nth-child(3) {
    grid-column: 1 / -1;
    width: 360px;
    justify-self: center;
  }

  .figma-service-card img {
    height: 366px;
  }

  .figma-about {
    grid-template-columns: 1fr;
  }

  .figma-about__image {
    height: 520px;
  }

  .figma-why__cards {
    grid-template-columns: 1fr;
  }

  .figma-footer {
    height: 182px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    text-align: center;
  }

  .figma-legal-hero__brand {
    left: 50%;
    width: 207px;
    height: 66px;
    transform: translateX(-50%);
  }

  .figma-legal-hero,
  .figma-legal-hero__title {
    min-height: 436px;
  }

  .figma-legal-hero__title {
    padding: 145px 48px 64px;
  }

  .figma-legal-hero h1 {
    max-width: 690px;
    font-size: 82px;
    line-height: 1.08;
  }

  .figma-legal__content {
    padding: 44px 36px;
  }
}

@media (max-width: 560px) {
  .figma-hero {
    min-height: 418px;
  }

  .figma-hero__bg {
    inset: 0;
    height: 418px;
    background-position: center top;
  }

  .figma-hero__logo {
    top: 50px;
    width: 144px;
    height: 46px;
  }

  .figma-hero h1 {
    top: 209px;
    right: 14px;
    left: 14px;
    width: auto;
    font-size: 32px;
    line-height: 52px;
    transform: none;
  }

  .figma-services {
    padding: 0 12px 44px;
  }

  .figma-services__gradient {
    height: 545px;
  }

  .figma-services h2,
  .figma-about h2,
  .figma-presence h2,
  .figma-why h2,
  .figma-contact h2 {
    font-size: 32px;
  }

  .figma-services h2 {
    padding-top: 35px;
    font-size: 30px;
  }

  .figma-services__cards {
    display: flex;
    width: 100%;
    gap: 12px;
    margin-top: 36px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .figma-service-card {
    min-width: 260px;
    scroll-snap-align: center;
  }

  .figma-service-card:nth-child(3) {
    width: auto;
  }

  .figma-service-card img {
    height: 220px;
  }

  .figma-service-card div {
    min-height: 190px;
    padding: 18px 14px;
  }

  .figma-service-card h3,
  .figma-why-card h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .figma-service-card p,
  .figma-about p,
  .figma-why__intro,
  .figma-why-card p,
  .figma-contact p,
  .figma-contact a {
    font-size: 13px;
    line-height: 18px;
  }

  .figma-about {
    padding: 56px 24px;
  }

  .figma-about__image {
    height: 360px;
  }

  .figma-presence {
    padding: 70px 24px;
  }

  .figma-presence img {
    height: auto;
  }

  .figma-why {
    padding: 64px 12px;
  }

  .figma-why-card {
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
    gap: 10px;
  }

  .figma-why-card img {
    min-height: 260px;
  }

  .figma-why-card div {
    padding: 18px 10px 18px 0;
  }

  .figma-contact {
    min-height: 230px;
    padding: 40px 24px;
  }

  .figma-footer {
    height: 180px;
    padding: 20px 54px;
  }

  .figma-footer p {
    width: 267px;
  }

  .figma-legal-hero {
    min-height: 418px;
  }

  .figma-legal-hero__bg {
    inset: 0;
    background:
      radial-gradient(ellipse 150% 145% at 50% -28%, #08060b 0%, #080b1a 30%, #061b45 42%, #005bf4 62%, #5a67b7 78%, #b06f86 100%);
  }

  .figma-legal-hero__brand {
    top: 50px;
    width: 144px;
    height: 46px;
  }

  .figma-legal-hero__title {
    min-height: 418px;
    padding: 138px 24px 56px;
  }

  .figma-legal-hero h1 {
    font-size: 52px;
    line-height: 1.12;
  }

  .figma-legal {
    padding: 56px 14px;
  }

  .figma-legal__content {
    padding: 32px 22px;
  }

  .figma-legal__content h2 {
    font-size: 26px;
  }

  .figma-legal__content h3 {
    font-size: 21px;
  }

  .figma-legal__content p,
  .figma-legal__content li {
    font-size: 16px;
    line-height: 23px;
  }
}
