/* =========================================================
   MergeJoy — Joy Path landing
   Cream claymorphic aesthetic · winding feature trail
   ========================================================= */

:root {
  --bg: #fff9eb;
  --bg-soft: #fff3d6;
  --surface: #ffffff;
  --ink: #2d3436;
  --ink-muted: #6b7280;
  --gold: #f5c543;
  --gold-deep: #e5a91f;
  --coral: #f96b6b;
  --mint: #7dd3c8;
  --pink: #f8a5b8;
  --cyan: #8ecae6;
  --navy: #282c4e;
  --purple-tile: #d4c4f0;
  --blue-tile: #b8d4f0;
  --pink-tile: #f5c4c8;
  --green-tile: #c8e6c9;
  --cream-tile: #fff0c8;
  --shadow: 0 12px 32px rgba(45, 52, 54, 0.08);
  --shadow-soft: 0 8px 24px rgba(245, 197, 67, 0.22);
  --radius-xl: 28px;
  --radius-pill: 999px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --dock-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #1a1b2e;
  --bg-soft: #232440;
  --surface: #2a2b45;
  --ink: #f5f0e6;
  --ink-muted: #a8aec0;
  --navy: #f5c543;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 24px rgba(245, 197, 67, 0.18);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-pill);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Atmosphere ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.blob--pink {
  width: 280px;
  height: 280px;
  background: var(--pink);
  top: 8%;
  right: -4%;
}

.blob--cyan {
  width: 320px;
  height: 320px;
  background: var(--cyan);
  bottom: 18%;
  left: -8%;
}

.blob--mint {
  width: 220px;
  height: 220px;
  background: var(--mint);
  top: 48%;
  right: 12%;
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  opacity: 0.45;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.spark--1 { top: 18%; left: 12%; }
.spark--2 { top: 62%; left: 8%; width: 8px; height: 8px; }
.spark--3 { top: 28%; right: 18%; width: 12px; height: 12px; opacity: 0.3; }
.spark--4 { bottom: 22%; right: 28%; }

[data-theme="dark"] .blob {
  opacity: 0.15;
}

/* ---------- Floating dock ---------- */
.dock {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(960px, calc(100% - 1.5rem));
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  border: 1.5px solid color-mix(in srgb, var(--gold) 35%, transparent);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.dock.is-scrolled {
  box-shadow: 0 16px 40px rgba(45, 52, 54, 0.12);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.dock__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}

.dock__name span {
  color: var(--gold-deep);
}

.dock__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dock__nav {
  display: none;
  gap: 0.25rem;
  margin-inline: auto;
}

.dock__nav a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-muted);
  transition: color 0.2s, background 0.2s;
}

.dock__nav a:hover,
.dock__nav a:focus-visible {
  color: var(--ink);
  background: var(--bg-soft);
  outline: none;
}

.dock__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--ink);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.theme-btn:hover {
  transform: translateY(-1px);
}

.theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: block; }

.theme-btn svg,
.btn svg,
.booster-row svg,
.download__perks svg,
.modal__icon svg,
.modal__close svg,
.path__node svg {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.2;
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 5px;
  background: var(--bg-soft);
}

.burger span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.drawer {
  position: fixed;
  top: calc(1rem + var(--dock-h));
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: min(360px, calc(100% - 1.5rem));
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1.5px solid color-mix(in srgb, var(--gold) 30%, transparent);
}

.drawer[hidden] {
  display: none !important;
}

.drawer a {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-weight: 700;
  transition: background 0.2s;
}

.drawer a:hover {
  background: var(--bg-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, filter 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 70%, white);
  outline-offset: 3px;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
  padding: 0.95rem 1.25rem;
}

.btn--gold {
  background: linear-gradient(180deg, #ffd76a 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--gold:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(245, 197, 67, 0.35);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1.5px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.btn--ghost:hover {
  background: var(--bg-soft);
}

.btn--cream {
  background: color-mix(in srgb, var(--surface) 90%, var(--bg));
  color: var(--ink);
  border: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
}

/* ---------- Main ---------- */
main {
  position: relative;
  z-index: 1;
}

.section-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: normal;
  color: var(--gold-deep);
}

.section-sub {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  padding: calc(var(--dock-h) + 2.5rem) 1.25rem 3rem;
  display: grid;
  place-items: center;
}

.hero__stage {
  width: min(720px, 100%);
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 12vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero__merge {
  display: block;
  color: var(--ink);
}

.hero__joy {
  display: inline-block;
  position: relative;
  color: var(--gold-deep);
}

.hero__stroke {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(-2deg);
  opacity: 0.85;
  z-index: -1;
}

.hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__visual {
  position: relative;
  width: min(420px, 88vw);
  margin: 0 auto;
}

.hero__stack {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(245, 197, 67, 0.28));
  animation: float-soft 5.5s ease-in-out infinite;
}

.tile-float {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 2;
  animation: bob 4s ease-in-out infinite;
}

.tile-float svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.tile-float--drop {
  top: 8%;
  left: -6%;
  background: var(--purple-tile);
  color: #6b4ea8;
  animation-delay: 0s;
}

.tile-float--sun {
  top: 18%;
  right: -8%;
  background: var(--blue-tile);
  color: #3d6ea5;
  animation-delay: 0.6s;
}

.tile-float--heart {
  bottom: 22%;
  left: -10%;
  background: var(--pink-tile);
  color: #c45a6a;
  animation-delay: 1.1s;
}

.tile-float--leaf {
  bottom: 12%;
  right: -4%;
  background: var(--green-tile);
  color: #3d8a55;
  animation-delay: 1.6s;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

/* ---------- Joy Path features ---------- */
.path {
  padding: 4.5rem 1.25rem 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.path__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.path__intro .section-sub {
  margin-inline: auto;
}

.path__trail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  padding: 0.5rem 0 1rem;
}

.path__line {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 100%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.path__stop {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.path__node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  justify-self: center;
  border: 4px solid var(--surface);
}

.path__node--gold { background: linear-gradient(145deg, #ffd76a, var(--gold-deep)); }
.path__node--mint { background: linear-gradient(145deg, #9ee4db, #4fb8ab); }
.path__node--coral { background: linear-gradient(145deg, #ff9a9a, var(--coral)); }
.path__node--navy { background: linear-gradient(145deg, #4a5080, var(--navy)); }

.path__card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.path__card:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  transform: translateY(-3px);
}

.path__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 0.45rem;
}

.path__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.path__card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.path__chips {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.chip {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.chip--purple { background: var(--purple-tile); }
.chip--blue { background: var(--blue-tile); }
.chip--pink { background: var(--pink-tile); }
.chip--green { background: var(--green-tile); }
.chip--cream { background: var(--cream-tile); border: 1px solid #f0e0a8; }

.booster-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.booster-row li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  background: var(--bg);
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.gallery__head {
  text-align: center;
  padding: 0 1.25rem 1.75rem;
}

.gallery__rail {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 1.25rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.phone {
  flex: 0 0 auto;
  width: min(220px, 58vw);
  scroll-snap-align: center;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 3px solid color-mix(in srgb, var(--ink) 6%, transparent);
  transition: transform 0.3s var(--ease);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
}

.phone--tilt-l { transform: rotate(-3deg); }
.phone--tilt-r { transform: rotate(3deg); }

.phone:hover {
  transform: rotate(0deg) translateY(-8px);
}

/* ---------- Download ---------- */
.download {
  padding: 2rem 1.25rem 5rem;
  max-width: 880px;
  margin: 0 auto;
}

.download__banner {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 2.75rem 1.75rem;
  background: var(--navy);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 48px rgba(40, 44, 78, 0.28);
}

[data-theme="dark"] .download__banner {
  background: linear-gradient(160deg, #2a2b45, #1a1b2e);
  border: 2px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

.download__beams {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -32deg,
      transparent,
      transparent 18px,
      rgba(245, 197, 67, 0.07) 18px,
      rgba(245, 197, 67, 0.07) 20px
    ),
    linear-gradient(120deg, transparent 40%, rgba(125, 211, 200, 0.15), transparent 70%),
    linear-gradient(200deg, transparent 30%, rgba(248, 165, 184, 0.12), transparent 60%);
  pointer-events: none;
}

.download__tag {
  position: relative;
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.85rem;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.download__banner h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.download__lead {
  position: relative;
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
}

.download__btns {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.download__perks {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.download__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 2px dashed color-mix(in srgb, var(--gold) 45%, transparent);
  background: color-mix(in srgb, var(--bg-soft) 55%, var(--bg));
}

.footer__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer__links a {
  color: var(--ink-muted);
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--gold-deep);
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 44, 78, 0.45);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(400px, 100%);
  background: var(--surface);
  border-radius: 28px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--gold);
  animation: pop-in 0.35s var(--ease);
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
}

.modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--gold) 25%, var(--bg));
  color: var(--gold-deep);
}

.modal__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}

.modal__panel p {
  margin: 0 0 1.35rem;
  color: var(--ink-muted);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .dock__nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .path__line {
    display: block;
  }

  .path__stop {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
  }

  .path__stop--left .path__node {
    grid-column: 2;
  }

  .path__stop--left .path__card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }

  .path__stop--left .path__chips,
  .path__stop--left .booster-row {
    justify-content: flex-end;
    margin-left: auto;
  }

  .path__stop--right .path__node {
    grid-column: 2;
  }

  .path__stop--right .path__card {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
  }

  .booster-row {
    grid-template-columns: repeat(4, auto);
  }

  .path__stop--left .booster-row {
    justify-content: end;
  }

  .gallery__rail {
    justify-content: center;
    padding-inline: 2rem;
  }

  .phone {
    width: 200px;
  }

  .download__banner {
    padding: 3.25rem 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__visual {
    width: min(460px, 42vw);
  }

  .phone {
    width: 210px;
  }

  .tile-float {
    width: 58px;
    height: 58px;
  }
}

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

  .hero__stack,
  .tile-float {
    animation: none !important;
  }

  .btn:hover,
  .path__card:hover,
  .phone:hover {
    transform: none;
  }
}
