@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fbfaf8;
  --text: #090909;
  --muted: #77736f;
  --line: rgba(9, 9, 9, 0.10);
  --orange: #d95b2b;
  --orange-soft: #f08a5d;
  --white: #ffffff;
  --sans: "Manrope", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(217, 91, 43, 0.085),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(217, 91, 43, 0.035),
      transparent 25%
    );
}

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

/* =========================
   NAVIGATION
========================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;

  width: 100%;
  padding: 24px 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(251, 250, 248, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(9, 9, 9, 0.045);
}

/*
  IMPORTANT:
  The logo is constrained here so rup-logo.png
  can never take over the viewport.
*/
.logo-image,
.nav .logo-image {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: 120px !important;
  max-width: 120px !important;
  height: 36px !important;
  max-height: 36px !important;

  flex: 0 0 120px !important;
  overflow: hidden !important;

  text-decoration: none;
}

.logo-image img,
.nav .logo-image img {
  display: block !important;

  width: 120px !important;
  max-width: 120px !important;

  height: 36px !important;
  max-height: 36px !important;

  object-fit: contain !important;
  object-position: left center !important;

  margin: 0 !important;
  padding: 0 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;

  color: #77736f;
  font-size: 12px;
  font-weight: 500;
}

.nav-links a {
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  z-index: 1;

  min-height: 82svh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 150px 0 80px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 650px;
  height: 650px;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(217, 91, 43, 0.105),
      rgba(217, 91, 43, 0.035) 35%,
      transparent 70%
    );

  filter: blur(18px);
  pointer-events: none;

  animation: heroFloat 9s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1050px;

  animation: heroIn 0.9s cubic-bezier(.2, .8, .2, 1) both;
}

.eyebrow {
  margin-bottom: 27px;

  color: #6f6b67;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0;

  font-size: clamp(58px, 8.3vw, 112px);
  line-height: 0.94;

  letter-spacing: -0.075em;
  font-weight: 800;
}

.hero h1 em {
  color: var(--orange);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.hero p {
  max-width: 590px;
  margin: 30px auto 0;

  color: #77736f;

  font-size: 16px;
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 34px;
  padding: 16px 23px;

  border-radius: 999px;

  background: #090909;
  color: #fff;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.3s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.cta:hover {
  transform: translateY(-3px);
  background: #151515;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.cta:active {
  transform: translateY(-1px);
}

/* =========================
   HOW IT WORKS
========================= */

.how {
  position: relative;

  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;

  padding: 92px 0 120px;

  border-top: 1px solid var(--line);
}

.section-label {
  color: #85817d;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-top: 48px;

  border-top: 1px solid var(--line);
}

.step {
  min-height: 205px;

  padding: 30px 32px;

  border-right: 1px solid var(--line);

  transition:
    transform 0.35s cubic-bezier(.2, .8, .2, 1),
    background 0.35s ease;
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  border-right: 0;
}

.step:hover {
  transform: translateY(-4px);
}

.step > span {
  color: var(--orange);

  font-size: 11px;
  font-weight: 600;
}

.step h3 {
  margin: 54px 0 10px;

  color: var(--text);

  font-size: 27px;
  line-height: 1;

  letter-spacing: -0.05em;
  font-weight: 700;
}

.step p {
  max-width: 250px;
  margin: 0;

  color: #77736f;

  font-size: 14px;
  line-height: 1.65;
}

/* =========================
   DEMO
========================= */

.demo {
  position: relative;

  padding: 150px 24px;

  text-align: center;

  color: #fff;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(217, 91, 43, 0.16),
      transparent 34%
    ),
    #090909;
}

.demo .section-label {
  color: #77736f;
}

.demo h2 {
  max-width: 800px;

  margin: 22px auto 0;

  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;

  letter-spacing: -0.07em;
  font-weight: 800;
}

.demo h2 em {
  color: var(--orange);
  font-style: normal;
  font-weight: 800;
}

.demo p {
  max-width: 570px;

  margin: 25px auto 0;

  color: #85817d;

  font-size: 14px;
  line-height: 1.7;
}

.demo .cta {
  background: #fff;
  color: #090909;
}

.demo .cta:hover {
  background: #f4f3ef;
}

/* =========================
   FOOTER
========================= */

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;

  padding: 32px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-top: 1px solid var(--line);

  color: #77736f;
  font-size: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

/*
  Footer logo is independently constrained.
*/
.footer-logo {
  display: inline-flex !important;
  align-items: center !important;

  width: 105px !important;
  max-width: 105px !important;
  height: 32px !important;
  max-height: 32px !important;

  flex: 0 0 105px !important;
  overflow: hidden !important;

  text-decoration: none;
}

.footer-logo img,
.footer-brand .footer-logo img {
  display: block !important;

  width: 105px !important;
  max-width: 105px !important;

  height: 32px !important;
  max-height: 32px !important;

  object-fit: contain !important;
  object-position: left center !important;

  margin: 0 !important;
  padding: 0 !important;
}

.footer-brand > span {
  color: #77736f;
}

.footer-credit {
  margin: 0;

  color: #77736f;
  font-size: 10px;
}

.footer-credit a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;

  transition: color 0.25s ease;
}

.footer-credit a:hover {
  color: var(--orange);
}

/* =========================
   ANIMATIONS
========================= */

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .nav {
    padding: 20px;
  }

  .logo-image,
  .nav .logo-image {
    width: 105px !important;
    max-width: 105px !important;
    height: 32px !important;
    max-height: 32px !important;
    flex-basis: 105px !important;
  }

  .logo-image img,
  .nav .logo-image img {
    width: 105px !important;
    max-width: 105px !important;
    height: 32px !important;
    max-height: 32px !important;
  }

  .nav-links {
    display: none;
  }

  .hero {
    width: min(100% - 36px, 1180px);

    min-height: 78svh;

    padding: 120px 0 70px;
  }

  .hero-glow {
    width: 420px;
    height: 420px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 72px);
    line-height: 0.94;
  }

  .hero p {
    max-width: 390px;
    font-size: 14px;
  }

  .how {
    width: min(100% - 36px, 1180px);
    padding: 75px 0 90px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .step,
  .step:first-child {
    min-height: 170px;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step h3 {
    margin-top: 38px;
    font-size: 24px;
  }

  .demo {
    padding: 110px 20px;
  }

  .demo h2 {
    font-size: clamp(43px, 12vw, 62px);
  }

  footer {
    width: min(100% - 36px, 1180px);

    align-items: flex-start;
    flex-direction: column;

    padding: 28px 0;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo {
    width: 95px !important;
    max-width: 95px !important;
    height: 30px !important;
    max-height: 30px !important;
    flex-basis: 95px !important;
  }

  .footer-logo img,
  .footer-brand .footer-logo img {
    width: 95px !important;
    max-width: 95px !important;
    height: 30px !important;
    max-height: 30px !important;
  }
}
