:root {
  --canary: #fcfb7f;
  --canary-hover: #efd32a;
  --floral: #f8f3ea;
  --mahogany: #481205;
  --coffee: #241100;
  --cocoa: #6f3b2d;
  --blush: #e5d6cb;
  --white-background: url("assets/brand/backgrounds/white-mobile.webp");
  --workflow-background: url("assets/brand/backgrounds/white-workflow-mobile.webp");
  --wood-background: url("assets/brand/backgrounds/wood-mobile.webp");
  --content-width: 74rem;
  --focus: #fcfb7f;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--coffee);
  background-image:
    linear-gradient(rgba(36, 17, 0, 0.64), rgba(36, 17, 0, 0.64)),
    var(--wood-background);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--floral);
  background-image: var(--white-background);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--coffee);
  font-family: "Rethink Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-kerning: normal;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: max(48rem, 100svh);
  overflow: clip;
  isolation: isolate;
  background-color: var(--coffee);
  background-image: var(--wood-background);
  background-position: center;
  background-size: cover;
  color: var(--floral);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(36, 17, 0, 0.18);
  content: "";
  pointer-events: none;
}

.brand-lockup {
  position: sticky;
  z-index: 6;
  top: env(safe-area-inset-top);
  right: 0;
  left: 0;
  display: flex;
  width: auto;
  height: 4.75rem;
  padding: 0.25rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  overflow: hidden;
  background: rgba(36, 17, 0, 0.64);
}

.wordmark-link {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.wordmark-link img {
  display: block;
  width: clamp(4.8rem, 16vw, 8rem);
  height: auto;
}

.wordmark-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.mobile-store-link {
  display: flex;
  width: 7.5rem;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.mobile-store-link img {
  width: 100%;
  height: auto;
}

.mobile-store-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero-message {
  position: absolute;
  z-index: 5;
  top: calc(env(safe-area-inset-top) + 21.75rem);
  left: 1.5rem;
  width: calc(100% - 3rem);
}

.hero-copy {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero-note,
.closing-note {
  margin: 0 0 0.5rem;
  color: var(--canary);
  font-family: "Kalam", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.hero-note {
  padding-right: 12vw;
  text-align: right;
  transform-origin: right center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 8ch;
  padding-bottom: 0.16em;
  color: var(--floral);
  font-size: clamp(2.7rem, 13vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-shadow: 0 2px 2px var(--coffee);
  text-align: left;
  text-wrap: balance;
}

.app-store-link {
  display: inline-flex;
  min-height: 3.5rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--canary);
  box-shadow: 0 0.45rem 0.5rem rgba(20, 8, 1, 0.72);
  color: var(--coffee);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.wordmark-link,
.mobile-store-link,
.app-store-link {
  transition: transform 140ms cubic-bezier(0.25, 1, 0.5, 1);
}

.wordmark-link:active,
.mobile-store-link:active,
.app-store-link:active {
  transform: scale(0.97);
}

.hero-message .app-store-link {
  display: flex;
  width: fit-content;
  margin-top: 2rem;
  margin-inline: auto;
}

@media (hover: hover) and (pointer: fine) {
  .app-store-link:hover {
    background: var(--canary-hover);
  }
}

.app-store-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.gif-frame {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: var(--coffee);
  box-shadow: 0 8px 8px rgba(20, 8, 1, 0.72);
  color: var(--floral);
}

.loop-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--coffee);
}

.gif-mobile {
  display: none;
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.gif-mobile,
.gif-mobile .loop-media,
.gif-mobile .mobile-poster {
  background: transparent;
}

.gif-mobile .loop-media {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.gif-mobile .mobile-poster {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.gif-mobile[data-visible-media="video"][data-shadow-ready="video"],
.gif-mobile[data-visible-media="poster"][data-shadow-ready="poster"] {
  box-shadow: 0 8px 8px rgba(20, 8, 1, 0.72);
}

.gif-mobile[data-visible-media="video"] .loop-media {
  opacity: 1;
}

.gif-one {
  --parallax-travel: -40;

  top: calc(env(safe-area-inset-top) + 6.25rem);
  right: auto;
  left: 50%;
  width: min(11rem, 48vw);
  aspect-ratio: 3 / 4;
  transform: translateX(-50%) rotate(3deg);
}

.gif-two {
  --parallax-travel: -80;

  bottom: 2.25rem;
  left: -2.25rem;
  width: 11.75rem;
  aspect-ratio: 3 / 4;
  transform: rotate(-5deg);
}

.gif-three {
  --parallax-travel: -72;

  right: -1.2rem;
  bottom: 2.75rem;
  width: 9.5rem;
  aspect-ratio: 4 / 3;
  transform: rotate(10deg);
}

.gif-four {
  --parallax-travel: -52;

  top: 24.5rem;
  right: -0.75rem;
  width: 8.4rem;
  aspect-ratio: 3 / 4;
  transform: rotate(3deg);
}

.gif-five {
  --parallax-travel: -68;

  display: none;
  aspect-ratio: 3 / 4;
}

.gif-balance,
.gif-six,
.gif-seven {
  display: none;
}

.gif-balance {
  aspect-ratio: 4 / 3;
}

.gif-six,
.gif-seven {
  aspect-ratio: 3 / 4;
}

.gif-two,
.gif-three,
.gif-four {
  display: none;
}

.workflow,
.comparison,
.closing {
  padding: clamp(4.5rem, 10vw, 8.5rem) 1.5rem;
}

.workflow {
  background-color: var(--floral);
  background-image: var(--workflow-background);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-heading,
.benefits-heading,
.comparison-copy,
.closing-copy {
  width: min(100%, 46rem);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.section-heading h2,
.benefits h2,
.comparison h2,
.closing h2 {
  margin: 0;
  padding-bottom: 0.18em;
  color: var(--mahogany);
  font-family: "Kalam", cursive;
  font-size: clamp(2.55rem, 9vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

[data-tegaki-reveal] {
  display: grid;
  isolation: isolate;
  position: relative;
  text-shadow: none;
}

.tegaki-fallback,
.tegaki-stage {
  grid-area: 1 / 1;
  min-width: 0;
}

.tegaki-fallback {
  opacity: 1;
  text-shadow: 0 2px 2px var(--coffee);
}

.tegaki-stage {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  visibility: hidden;
  overflow: visible;
  color: inherit;
  opacity: 0;
  pointer-events: none;
}

.tegaki-stage tegaki-renderer {
  display: block;
  width: 100%;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  vertical-align: top;
}

[data-tegaki-state="scrubbing"] .tegaki-fallback {
  opacity: 0;
}

[data-tegaki-state="scrubbing"] .tegaki-stage {
  visibility: visible;
  opacity: 1;
}

.section-heading p,
.comparison-copy p {
  max-width: 61ch;
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.08rem, 3.9vw, 1.3rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.steps {
  display: grid;
  width: min(100%, var(--content-width));
  gap: 4.5rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  justify-items: center;
}

.screen-placeholder {
  display: grid;
  width: min(14.25rem, 80vw);
  aspect-ratio: 9 / 19.5;
  place-content: center;
  gap: 0.7rem;
  padding: 1.5rem;
  border: 0.25rem solid var(--coffee);
  border-radius: 2.25rem;
  background: var(--blush);
  color: var(--mahogany);
  text-align: center;
}

.screen-placeholder span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-placeholder strong {
  font-size: 1.2rem;
  line-height: 1.15;
}

.step-copy {
  --step-title-line-height: clamp(1.8725rem, 7.276vw, 2.5145rem);

  display: grid;
  width: min(100%, 18rem);
  margin-inline: auto;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.step-number {
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mahogany);
  color: var(--floral);
  font-size: 1.2rem;
  font-weight: 800;
  transform: translateY(calc((var(--step-title-line-height) - 2.75rem) / 2));
}

.step h3 {
  margin: 0;
  padding-bottom: 0.15em;
  color: var(--coffee);
  font-size: clamp(1.75rem, 6.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.07;
  text-wrap: balance;
}

.benefits {
  position: relative;
  isolation: isolate;
  padding: clamp(4.75rem, 10vw, 8.5rem) 1.5rem;
  background-color: var(--coffee);
  background-image: var(--wood-background);
  background-position: center;
  background-size: cover;
  color: var(--floral);
}

.benefits::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(36, 17, 0, 0.18);
  content: "";
}

.benefits > * {
  position: relative;
  z-index: 1;
}

.benefits-showcase,
.benefits-heading,
.benefit-list {
  width: min(100%, var(--content-width));
}

.benefits-showcase {
  margin: 0 auto;
}

.benefits h2 {
  max-width: 18ch;
  color: var(--canary);
}

.benefits-loop {
  display: none;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: var(--coffee);
  box-shadow: 0 8px 8px rgba(20, 8, 1, 0.72);
}

.benefit-list {
  display: grid;
  gap: 0;
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
  padding: 0;
  list-style: none;
}

.benefit {
  display: grid;
  gap: 0.75rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid #8e6257;
}

.benefit:first-child {
  padding-top: 0;
}

.benefit:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.benefit strong {
  color: var(--floral);
  font-size: clamp(1.65rem, 5.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.benefit p {
  max-width: 54ch;
  margin: 0;
  color: rgba(248, 243, 234, 0.82);
  font-size: clamp(1.05rem, 3.4vw, 1.2rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.comparison {
  display: grid;
  gap: 3.75rem;
  background-color: var(--floral);
  background-image: var(--white-background);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.comparison-copy {
  display: grid;
  gap: 1rem;
}

.transformation {
  width: min(100%, 34rem);
  margin: 0 auto;
}

.moment-picker {
  display: grid;
  width: 100%;
  gap: 0.75rem;
}

.video-label {
  color: var(--mahogany);
  font-size: 1rem;
  font-weight: 800;
}

.video-track {
  position: relative;
  width: 100%;
  min-height: 5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--coffee);
}

.chosen-moment {
  position: absolute;
  top: 0;
  right: 12%;
  bottom: 0;
  display: grid;
  width: 36%;
  place-items: center;
  padding: 0.5rem;
  border-radius: 0.65rem;
  background: var(--canary);
  color: var(--coffee);
  font-size: clamp(0.78rem, 3.8vw, 1rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.gif-brace {
  display: grid;
  width: 36%;
  margin: -0.4rem 12% 0 auto;
  gap: 0.25rem;
  justify-items: center;
  color: var(--mahogany);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.gif-brace-mark {
  width: 100%;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 0 0 0.45rem 0.45rem;
}

.closing {
  display: grid;
  gap: 2rem;
  justify-items: start;
  background-color: var(--coffee);
  background-image: var(--wood-background);
  background-position: center;
  background-size: cover;
  color: var(--floral);
}

.closing-copy {
  margin: 0;
}

.closing-action {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.closing-loop {
  display: none;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: var(--coffee);
  box-shadow: 0 8px 8px rgba(20, 8, 1, 0.72);
  transform: rotate(2deg);
}

.closing-note {
  color: var(--canary);
}

.closing h2 {
  max-width: 12ch;
  color: var(--floral);
}

.closing .app-store-link {
  margin-top: 0;
}

.app-details {
  display: grid;
  width: 100%;
  margin: 0;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  padding-inline: max(1.5rem, calc((100vw - var(--content-width) + 3rem) / 2));
  gap: 2rem;
  background-color: var(--floral);
  background-image: var(--white-background);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.app-detail {
  max-width: 65ch;
}

.app-detail + .app-detail {
  padding-top: 2rem;
  border-top: 1px solid var(--blush);
}

.app-detail h2 {
  margin: 0 0 0.65rem;
  color: var(--mahogany);
  font-family: "Kalam", cursive;
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  line-height: 1.05;
  scroll-margin-top: 1.5rem;
}

.app-detail p {
  margin: 0;
  color: var(--coffee);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.app-detail p + p {
  margin-top: 0.75rem;
}

.app-detail a,
.footer-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  background-color: var(--coffee);
  background-image:
    linear-gradient(rgba(36, 17, 0, 0.64), rgba(36, 17, 0, 0.64)),
    var(--wood-background);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--floral);
}

.footer-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-wordmark {
  display: block;
  width: clamp(6.5rem, 16vw, 8rem);
  height: auto;
}

.footer-trademark {
  max-width: 72ch;
  margin: 0;
  color: rgba(248, 243, 234, 0.78);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 47.999rem) {
  .hero {
    --hero-mobile-stack-gap: 2.5rem;
    --hero-mobile-video-height: min(13.2rem, 57.6vw);
    --hero-mobile-video-width: min(17.6rem, 76.8vw);
  }

  .hero-message {
    top: calc(
      env(safe-area-inset-top) + 6.25rem + var(--hero-mobile-video-height) +
        var(--hero-mobile-stack-gap)
    );
  }

  .hero-copy {
    transform: translateX(clamp(1rem, 5vw, 1.25rem));
  }

  .hero-note,
  .closing-note {
    margin-bottom: 1rem;
  }

  .hero-message .app-store-link {
    margin-top: 1.25rem;
  }

  .gif-one,
  .gif-two,
  .gif-three,
  .gif-four,
  .gif-five,
  .gif-balance,
  .gif-six,
  .gif-seven {
    display: none;
  }

  .gif-mobile {
    top: calc(env(safe-area-inset-top) + 6.25rem);
    right: auto;
    bottom: auto;
    left: 50%;
    display: block;
    width: var(--hero-mobile-video-width);
    aspect-ratio: 4 / 3;
    transform: translateX(-50%) rotate(3deg);
  }

  .benefits {
    padding-bottom: clamp(5rem, calc(6.5rem - 3vw), 5.75rem);
  }

  .benefit-list {
    margin-top: clamp(3.375rem, calc(4.75rem - 3.2vw), 4rem);
  }
}

@media (min-width: 48rem) {
  :root {
    --white-background: url("assets/brand/backgrounds/white-desktop.webp");
    --workflow-background: url("assets/brand/backgrounds/white-workflow-desktop.webp");
    --wood-background: url("assets/brand/backgrounds/wood-desktop.webp");
  }

  .hero {
    --hero-gif-gutter: clamp(2.5rem, 6vw, 6rem);
    --hero-gif-mid-gutter: var(--hero-gif-gutter);
    --hero-ring-inset: clamp(2rem, 4svh, 3rem);

    min-height: max(50rem, 100svh);
  }

  .brand-lockup {
    position: absolute;
    top: clamp(1rem, 2.5vw, 2.5rem);
    right: auto;
    left: clamp(1rem, 2.5vw, 2.5rem);
    display: block;
    width: clamp(9.5rem, 17.6vw, 16rem);
    height: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .wordmark-link {
    display: block;
    width: 100%;
  }

  .wordmark-link img {
    width: 100%;
  }

  .mobile-store-link {
    display: none;
  }

  .hero-message {
    top: 18.5rem;
    left: 50%;
    width: min(32rem, calc(100% - 24rem));
    text-align: center;
    transform: translateX(-50%);
  }

  .hero h1 {
    max-width: none;
    margin-inline: auto;
    font-size: clamp(4rem, 6.5vw, 5.25rem);
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-note {
    width: 100%;
    margin-inline: 0;
    padding-right: clamp(1rem, 2.2vw, 1.75rem);
    text-align: right;
    transform-origin: right center;
  }

  .hero-message .app-store-link {
    display: flex;
    margin-top: 1.5rem;
  }

  .gif-one {
    --parallax-travel: -40;

    top: calc(5rem + var(--hero-ring-inset));
    right: var(--hero-gif-gutter);
    left: auto;
    width: 11.25rem;
    transform: rotate(7deg);
  }

  .gif-two,
  .gif-three,
  .gif-four,
  .gif-balance,
  .gif-six,
  .gif-seven {
    display: block;
  }

  .gif-two {
    --parallax-travel: -80;

    bottom: calc(clamp(3rem, 7svh, 5rem) + var(--hero-ring-inset));
    left: calc(var(--hero-gif-gutter) + 5rem);
    width: 12rem;
  }

  .gif-three {
    --parallax-travel: -72;

    right: auto;
    bottom: auto;
    left: 50%;
    top: calc(1.25rem + var(--hero-ring-inset));
    width: 14rem;
    transform: translateX(-50%) rotate(10deg);
  }

  .gif-four {
    --parallax-travel: -52;

    top: calc(clamp(3.5rem, 7svh, 5rem) + var(--hero-ring-inset));
    right: auto;
    left: calc(var(--hero-gif-gutter) + 10rem);
    width: 9rem;
    transform: rotate(-3deg);
  }

  .gif-five {
    --parallax-travel: -68;

    top: calc(clamp(17rem, calc(36svh - 1rem), 22rem) + var(--hero-ring-inset));
    left: var(--hero-gif-mid-gutter);
    display: block;
    width: 9.75rem;
    transform: rotate(4deg);
  }

  .gif-balance {
    --parallax-travel: -64;

    top: auto;
    right: auto;
    bottom: calc(1.25rem + var(--hero-ring-inset));
    left: 50%;
    width: 10.5rem;
    transform: translateX(-50%) rotate(3deg);
  }

  .gif-six {
    --parallax-travel: -44;

    top: calc(clamp(27rem, 50svh, 30rem) - var(--hero-ring-inset));
    right: var(--hero-gif-mid-gutter);
    width: 8rem;
    transform: rotate(-3deg);
  }

  .gif-seven {
    --parallax-travel: -56;

    right: calc(var(--hero-gif-gutter) + 5rem);
    bottom: calc(clamp(3.5rem, calc(35svh - 14rem), 8.5rem) + var(--hero-ring-inset));
    left: auto;
    width: 8.5rem;
    transform: rotate(-2deg);
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
  }

  .step-copy {
    width: 100%;
    max-width: 21rem;
    margin-inline: 0;
  }

  .benefit-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit {
    padding: 0 2rem;
    border-right: 1px solid #8e6257;
    border-bottom: 0;
  }

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

  .benefit:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .closing {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-inline: max(2rem, calc((100vw - var(--content-width)) / 2));
  }

  .closing-action {
    width: clamp(14rem, 23vw, 18rem);
  }

  .closing-loop {
    display: block;
  }

  .closing .app-store-link {
    margin-bottom: 0;
  }

  .app-details {
    grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 0.8fr);
    gap: clamp(3rem, 7vw, 6rem);
  }

  .app-detail + .app-detail {
    padding-top: 0;
    border-top: 0;
  }

  .site-footer {
    padding-inline: max(2rem, calc((100vw - var(--content-width)) / 2));
  }
}

@media (min-width: 56rem) {
  .hero {
    --hero-gif-gutter: clamp(3.5rem, 9vw, 8rem);
    --hero-gif-mid-gutter: clamp(4.375rem, calc(14vw - 4.3rem), 7rem);
  }

  .hero h1 {
    line-height: 0.92;
  }
}

@media (min-width: 80rem) {
  .hero {
    --hero-gif-gutter: clamp(8rem, 16vw, 20rem);
    --hero-gif-mid-gutter: clamp(7rem, 14vw, 18rem);
  }

  .gif-four {
    top: calc(clamp(3.5rem, 7svh, 5rem) + var(--hero-ring-inset));
    right: auto;
    left: calc(var(--hero-gif-gutter) + 9rem);
  }

  .gif-six {
    top: calc(clamp(32rem, calc(26svh + 18rem), 38rem) - var(--hero-ring-inset));
    right: calc(var(--hero-gif-mid-gutter) - 1.5rem);
  }

  .gif-seven {
    right: calc(var(--hero-gif-gutter) + 7rem);
    bottom: calc(clamp(5rem, 10svh, 7rem) + var(--hero-ring-inset));
  }
}

@media (min-width: 62rem) {
  .benefits-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(14rem, 22vw, 18rem);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
  }

  .benefits-heading {
    width: 100%;
    margin: 0;
  }

  .benefits-loop {
    display: block;
    transform: translateX(clamp(-2rem, calc(10vw - 8.4rem), 0rem)) rotate(2deg);
  }

  .closing-action {
    gap: 2.5rem;
    transform: translateX(clamp(-2rem, calc(10vw - 8.4rem), 0rem));
  }
}

@media (min-width: 64rem) {
  .workflow .section-heading {
    --workflow-copy-width: 40rem;
    --workflow-copy-shift: clamp(1.5rem, 2.5vw, 2rem);
  }

  .workflow .section-heading h2,
  .workflow .section-heading p {
    width: min(100%, var(--workflow-copy-width));
    max-width: none;
    margin-inline: auto;
    transform: translateX(var(--workflow-copy-shift));
  }

  .workflow .section-heading h2 {
    text-align: left;
  }

  .comparison {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(24rem, 1.2fr);
    align-items: center;
    padding-inline: max(2rem, calc((100vw - var(--content-width)) / 2));
  }

  .comparison-copy {
    width: 100%;
  }

}

@media (max-height: 43rem) and (orientation: landscape) {
  .hero {
    min-height: 43rem;
  }
}

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

  .wordmark-link,
  .mobile-store-link,
  .app-store-link {
    transition: none;
  }

  .wordmark-link:active,
  .mobile-store-link:active,
  .app-store-link:active {
    transform: none;
  }

  .gif-frame {
    opacity: 1 !important;
    transition: none !important;
    translate: none !important;
    will-change: auto !important;
  }
}
