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

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

:root {
  color-scheme: light;
  --orange-light: #F54A22;
  --orange-dark: #250602;
  --purple-light: #7C69F1;
  --purple-dark: #131933;
  --green-light: #AACC1F;
  --green-dark: #232B01;
  --purple-60: #B2A5FD;
  --orange-20: #FFD9D1;
  --purple-20: #E6E1FE;
  --green-20: #ECF5CE;
  --offwhite: #FFFFFB;
  --offwhite-blue: #ECEBF5;
  --black-beige: #E9E9D9;
  --black-beige-tint: #F5F5F2;
  --line: #E7E7E7;
  --white: #FFFFFF;
  --black: #000000;
  --font-heading: "Resfirk", Georgia, "Times New Roman", serif;
  --font-body: "Raleway", system-ui, sans-serif;
  --container: 1153px;
  --radius-card: 16px;
  --radius-form: 8px;
  --weight-regular: 400;
  --weight-semibold: 600;
  --leading-tight: 1;
  --leading-display: 1.05;
  --leading-body: 1.2;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.15rem, 1.6vw, 1.4375rem);
  --text-lead: clamp(1.2125rem, calc(1.6vw + 1px), 1.5rem);
  --heading-hero: clamp(4rem, 6.667vw, 6rem);
  --heading-hero-mobile: 2.125rem;
  --heading-section: clamp(2.6rem, 3.333vw, 3rem);
  --heading-section-mobile: clamp(2rem, 9vw, 3rem);
  --heading-card: clamp(1.5rem, 2.36vw, 2.125rem);
  --heading-detail: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--offwhite);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--black);
  background: var(--offwhite);
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  letter-spacing: 0;
}

h1 {
  width: 100%;
  max-width: var(--container);
  font-size: var(--heading-hero);
  line-height: var(--leading-tight);
  text-align: center;
  color: var(--orange-dark);
}

h2 {
  font-size: var(--heading-section);
  line-height: var(--leading-tight);
}

h3 {
  font-size: var(--heading-card);
  line-height: var(--leading-tight);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  overflow: hidden;
}

.section-dark {
  color: var(--white);
  background: var(--purple-dark);
}

.text-orange {
  color: var(--orange-light);
}

.text-green {
  color: var(--green-light);
}

.text-purple {
  color: var(--purple-light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 12px 16px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--orange-light);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-body);
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: #D73E19;
}

.button-small {
  min-height: 38px;
  font-size: var(--text-xs);
}

.button-full {
  width: 100%;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 75px;
  padding: 16px max(32px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 251, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 231, 231, 0.75);
}

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

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

.nav-links {
  display: flex;
  justify-content: center;
  gap: 64px;
  color: var(--black);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-body);
  text-transform: uppercase;
}

.hero-company {
  min-height: 500px;
  display: grid;
  align-items: start;
  padding: 76px 0 24px;
  background: linear-gradient(180deg, var(--offwhite) 0%, var(--offwhite-blue) 100%);
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.badge {
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid var(--purple-60);
  border-radius: 16px;
  color: var(--white);
  background: var(--purple-light);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
  text-transform: uppercase;
}

.lead {
  max-width: var(--container);
  color: var(--black);
  font-size: var(--text-lead);
  line-height: var(--leading-body);
}

.hero-product {
  margin-top: -1px;
  padding: 96px 0 32px;
  background: var(--offwhite-blue);
  isolation: isolate;
}

.hero-product::before,
.hero-product::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-dark);
}

.hero-product::before {
  top: 72px;
  width: max(1500px, 126vw);
  height: 260px;
  border-radius: 50%;
}

.hero-product::after {
  inset: 190px 0 0;
  left: 0;
  transform: none;
}

.product-preview {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: -76px;
  margin-bottom: 28px;
}

.feed-panel {
  width: min(886px, 100%);
  display: grid;
  gap: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--orange-dark);
  background: var(--black-beige-tint);
}

.feed-header,
.feed-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feed-project,
.feed-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 57px;
  height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  line-height: var(--leading-tight);
}

.avatar-square {
  border-radius: 6px;
  background: var(--green-20);
  color: var(--orange-dark);
}

.avatar-purple {
  background: var(--purple-20);
  color: var(--purple-dark);
}

.avatar-orange {
  background: var(--orange-20);
  color: var(--orange-dark);
}

.feed-panel h2,
.feed-panel h3 {
  color: var(--orange-dark);
  font-size: var(--text-md);
}

.feed-panel p {
  color: var(--orange-dark);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.feed-more {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--black) 0 2px, transparent 2.5px) 0 50% / 8px 6px repeat-x;
}

.feed-more-small {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle, var(--black) 0 1.7px, transparent 2px) 50% 50% / 6px 4px repeat-x,
    var(--black-beige);
  border-radius: 100px;
}

.feed-posts {
  display: grid;
  gap: 12px;
}

.feed-post {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 0.5px solid var(--black);
  border-radius: 12px;
  background: var(--white);
}

.feed-post-note {
  min-height: 140px;
}

.feed-post img {
  width: 100%;
  height: 242px;
  object-fit: cover;
  border-radius: 10px;
}

.feature-specs {
  padding: 56px 0 64px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: var(--container);
}

.feature-specs .section-heading {
  justify-items: center;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.feature-specs .section-heading p {
  max-width: 860px;
}

.section-heading p,
.people-copy p {
  max-width: 800px;
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}

.text-carousel-slides {
  display: grid;
}

.text-carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  align-content: start;
  visibility: hidden;
}

.text-carousel-slide.is-active {
  visibility: visible;
}

.text-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.text-carousel-controls[hidden] {
  display: none;
}

.carousel-arrow,
.carousel-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
}

.carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.carousel-dot[aria-current="true"] {
  color: var(--green-light);
}

.carousel-dot[aria-current="true"]::before {
  background: currentColor;
}

.carousel-arrow:hover,
.carousel-dot:hover {
  color: var(--green-light);
}

.carousel-arrow:focus-visible,
.carousel-dot:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}

.people-section {
  padding: 64px 0 96px;
}

.people-layout {
  min-height: 455px;
  position: relative;
  display: grid;
  place-items: center;
}

.people-copy {
  max-width: 590px;
  display: grid;
  gap: 16px;
  text-align: center;
}

.people-copy h2 span {
  display: block;
}

.people-copy p {
  max-width: 560px;
  margin-inline: auto;
}

.people-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.person {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 8px 10px;
  border-radius: 2px;
  color: var(--black);
  background: #C7E168;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  text-transform: capitalize;
}

.person::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.18;
}

.person-a { top: 78px; right: 125px; background: #FF8B75; }
.person-b { top: 20px; right: 320px; }
.person-c { top: 136px; right: 214px; background: #B2A5FD; }
.person-d { top: 12px; left: 277px; }
.person-e { top: 120px; left: 160px; background: #FF8B75; }
.person-f { top: 206px; left: 0; background: #B2A5FD; }
.person-g { bottom: 54px; left: 218px; }
.person-h { bottom: 12px; right: 290px; background: #FF8B75; }
.person-i { bottom: 86px; right: 66px; background: #B2A5FD; }

.circle-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.info-circle {
  width: 320px;
  height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 56px;
  border-radius: 1000px;
  text-align: center;
  color: var(--orange-dark);
}

.info-circle h3 {
  font-size: var(--heading-card);
}

.info-circle p {
  color: var(--orange-dark);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.circle-orange {
  background: var(--orange-20);
}

.circle-green {
  background: var(--green-20);
}

.circle-purple {
  background: var(--purple-20);
}

.signup-band {
  padding: 64px 0 96px;
}

.form-center {
  display: flex;
  justify-content: center;
}

.form-card {
  width: min(100%, 840px);
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-form);
  color: var(--black);
  background: var(--white);
}

.form-card h2 {
  margin-bottom: 4px;
  font-size: var(--heading-card);
  line-height: var(--leading-tight);
}

.form-card p {
  color: var(--black);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-fields label:nth-child(5) {
  grid-column: 1 / -1;
}

.form-card label {
  display: grid;
  gap: 6px;
  color: var(--black);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card select {
  width: 100%;
  min-height: 43px;
  padding: 13px 16px;
  border: 0;
  border-radius: 6px;
  color: var(--black);
  background: var(--black-beige-tint);
  font: var(--weight-regular) var(--text-sm) / var(--leading-body) var(--font-body);
}

.form-card input:focus,
.form-card select:focus {
  outline: 3px solid rgba(245, 74, 34, 0.24);
}

.form-card select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--black) 50%),
    linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  font-size: var(--text-sm);
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--orange-light);
}

.form-status {
  min-height: 18px;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.form-status[data-state="success"] {
  padding: 16px;
  border: 1px solid var(--green-light);
  border-radius: var(--radius-form);
  color: var(--green-dark);
  background: var(--green-20);
  font-weight: var(--weight-semibold);
}

.form-status[data-state="error"] {
  color: var(--orange-light);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.site-footer {
  padding: 54px 0 56px;
  color: var(--black);
  background: #E7E7E7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr auto;
  gap: 54px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 54px;
}

.footer-signup h2 {
  margin-bottom: 8px;
  font-size: var(--heading-detail);
}

.footer-signup p {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.site-footer h3 {
  margin-bottom: 24px;
  color: var(--orange-dark);
  font-size: var(--text-md);
}

.footer-links a {
  display: block;
  margin-top: 24px;
  color: var(--black);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 24px;
  }

  .circle-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-signup,
  .footer-action {
    grid-column: 1 / -1;
  }

  .circle-grid {
    justify-items: center;
  }

  .people-layout {
    min-height: auto;
    padding-top: 156px;
  }

  .people-cloud {
    top: 0;
    bottom: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .person {
    position: static;
  }

}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-nav {
    grid-template-columns: auto auto;
    gap: 16px;
    padding-inline: 14px;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .brand img {
    width: 104px;
  }

  h1 {
    font-size: var(--heading-hero-mobile);
  }

  h2 {
    font-size: var(--heading-section-mobile);
  }

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

  .hero-product {
    padding-bottom: 64px;
  }

  .feed-panel {
    gap: 16px;
    padding: 12px;
  }

  .feed-header,
  .feed-post-head {
    align-items: flex-start;
  }

  .avatar {
    width: 44px;
    height: 44px;
  }

  .feature-specs,
  .people-section,
  .signup-band {
    padding-block: 64px;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .form-fields label:nth-child(5) {
    grid-column: auto;
  }

  .people-layout {
    padding-top: 220px;
  }

  .circle-grid {
    gap: 24px;
  }

  .info-circle {
    width: min(100%, 320px);
    height: min(90vw, 320px);
    padding: 36px;
  }

  .site-footer {
    padding-block: 40px;
  }

  .footer-grid {
    gap: 28px 20px;
  }

  .footer-brand {
    margin-bottom: 24px;
  }

  .footer-action .button {
    min-height: 44px;
  }

  .footer-links h3 {
    margin-bottom: 12px;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0;
  }

  .footer-action .button {
    width: 100%;
  }

}
