* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--brand-cream);
  color: var(--brand-forest);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

a:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 5px;
}

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

.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 1;
  padding: 12px;
  transform: translateY(calc(-100% - 20px));
  background: var(--brand-forest);
  color: var(--brand-cream);
}

.skip:focus {
  transform: translateY(0);
}

.navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 22px;
  border-bottom: 1px solid #1b292226;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.065em;
}

.wordmark-icon {
  flex: none;
  border-radius: 24%;
}

.wordmark-accent {
  color: var(--brand-orange);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: 14px;
}

nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch {
  padding-left: 18px;
  border-left: 1px solid #1b292226;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding-block: clamp(56px, 7vw, 90px);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 750;
}

.intro {
  max-width: 440px;
  margin: 0 0 12px;
  color: #1b2922d9;
  font-size: 17px;
  line-height: 1.75;
}

.button {
  display: inline-block;
  margin-top: 21px;
  padding: 15px 22px;
  border-radius: 12px;
  background: var(--brand-orange);
  color: var(--brand-forest);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  transition: background 150ms;
}

.button:hover {
  background: var(--brand-forest);
  color: var(--brand-cream);
}

.hero-art {
  display: grid;
  width: 100%;
  max-width: 510px;
  margin: 0;
  padding-inline: 12px;
  place-items: center;
}

.phone-frame {
  --rim: 8px;
  --corner: 43px;
  position: relative;
  width: min(100%, 286px);
  padding: var(--rim);
  border: 1px solid #555b56;
  border-radius: var(--corner);
  background: #171c19;
  box-shadow: inset 0 0 0 1px #848984, inset 0 0 0 3px #333a35,
    0 24px 46px #1b292229, 0 5px 12px #1b292230;
}

.phone-frame::before,
.phone-frame::after {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #545a55;
  content: "";
}

.phone-frame::before {
  top: 19%;
  left: -3px;
  height: 29px;
  box-shadow: 0 36px 0 #545a55;
}

.phone-frame::after {
  top: 26%;
  right: -3px;
  height: 49px;
}

.app-preview {
  position: relative;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  border-radius: calc(var(--corner) - var(--rim));
  background: var(--brand-cream);
}

.app-preview img {
  width: 100%;
  height: auto;
  /* Keep the status bar and app content, and leave out the simulator's preview label. */
  clip-path: inset(0 0 8%);
}

.app-preview::after {
  position: absolute;
  bottom: 7px;
  left: 32%;
  width: 36%;
  height: 3px;
  border-radius: 4px;
  background: #232723;
  content: "";
}

.workflow {
  padding-block: clamp(54px, 7vw, 90px);
  border-top: 1px solid #1b292226;
  color: var(--brand-forest);
}

h2 {
  margin: 0;
  font-size: clamp(29px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 48px);
  margin: 34px 0 0;
  padding: 0;
  list-style-position: inside;
}

.steps li {
  padding: 19px 0 0;
  border-top: 1px solid #1b292251;
}

.steps li::marker {
  font-weight: 700;
}

.steps h3 {
  display: inline;
}

.steps p,
.availability p {
  max-width: 470px;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
}

.availability {
  background: var(--brand-forest);
  color: var(--brand-cream);
}

.availability-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 7vw, 88px);
  padding-block: clamp(54px, 7vw, 82px);
}

.availability p {
  color: #f4efe4de;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 13px;
}

footer > span {
  color: #1b2922bf;
}

footer .wordmark {
  gap: 8px;
  font-size: 23px;
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .navigation {
    gap: 9px;
    padding-block: 15px 8px;
  }

  .navigation nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .language-switch {
    padding-left: 12px;
  }

  .hero,
  .steps,
  .availability-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 30px;
    padding-block: 40px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .intro {
    font-size: 16px;
  }

  .hero-art {
    max-width: 400px;
    margin-inline: auto;
  }

  .phone-frame {
    width: min(100%, 266px);
  }

  .steps {
    margin-top: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
