/* ==========================================================================
   clove - marketing site
   design system: "plush" - soft, warm, round, slightly bouncy, never loud
   light theme only
   ========================================================================== */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 1000;
  font-display: swap;
  src: url('/assets/fonts/nunito-var.woff2') format('woff2');
}

/* --------------------------------------------------------- tokens ------- */
:root {
  --cream: #FFF6EC;
  --vanilla: #FFFDF8;
  --latte: #A9805B;
  --ink: #8E6743;
  --cocoa: #5C4033;
  --blush: #F7C8C9;
  --butter: #F9E1A8;
  --dustyBlue: #A8BFD4;
  --coral: #E8A29A;
  --lavender: #C9BFDD;
  --sage: #B7C9A8;
  --fawn: #D9B99B;

  --font: 'Nunito', ui-rounded, 'SF Pro Rounded', -apple-system, 'Segoe UI', system-ui, sans-serif;

  --r-card: 32px;
  --r-btn: 24px;
  --r-thumb: 18px;

  --shadow-card: 0 6px 14px rgba(169, 128, 91, 0.16);
  --shadow-lift: 0 14px 30px rgba(169, 128, 91, 0.22);

  --squish: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1080px;
  --pad-y: 96px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, ul, ol, figure { margin: 0; }

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

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

:focus-visible {
  outline: 3px solid var(--cocoa);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --------------------------------------------------- shared layout ------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--pad-y);
  scroll-margin-top: 92px;
}

.section--tight { padding-block: 64px; }

.eyebrow-row { text-align: center; }

/* --------------------------------------------------- typography --------- */
.h-display {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cocoa);
}

.h-section {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cocoa);
}

.h-row {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--cocoa);
}

.h-card {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cocoa);
}

.lede {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.body {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.62;
  max-width: 46ch;
}

.tiny {
  font-size: 13px;
  font-weight: 700;
  color: var(--latte);
  line-height: 1.45;
}

.caption {
  font-size: 14px;
  font-weight: 700;
  color: var(--latte);
}

.center { text-align: center; }
.measure { max-width: 52ch; margin-inline: auto; }

/* --------------------------------------------------- pieces ------------- */
.card {
  background: var(--vanilla);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 34px 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-btn);
  background: var(--cocoa);
  color: var(--cream);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.005em;
  box-shadow: 0 6px 14px rgba(92, 64, 51, 0.24);
  transition: var(--squish);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cocoa);
  letter-spacing: 0.005em;
}

.chip svg { width: 16px; height: 16px; }

.chip--blush { background: rgba(247, 200, 201, 0.55); }
.chip--butter { background: rgba(249, 225, 168, 0.55); }
.chip--blue { background: rgba(168, 191, 212, 0.55); }
.chip--fawn { background: rgba(217, 185, 155, 0.55); }
.chip--sage { background: rgba(183, 201, 168, 0.55); }
.chip--lavender { background: rgba(201, 191, 221, 0.55); }

.squish { transition: var(--squish); }

/* --------------------------------------------------- bear -------------- */
.bear { display: block; }
.bear--breathe { transform-origin: 50% 62%; }

/* --------------------------------------------------- nav --------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 246, 236, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 rgba(169, 128, 91, 0);
  transition: box-shadow 260ms ease;
}

.nav.is-scrolled { box-shadow: 0 4px 16px rgba(169, 128, 91, 0.14); }

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--squish);
}

.brand__mark { width: 28px; height: 28px; }

.brand__word {
  font-size: 24px;
  font-weight: 900;
  color: var(--cocoa);
  letter-spacing: -0.015em;
}

.brand { justify-self: start; }

.nav__links {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav__links a {
  font-size: 16px;
  font-weight: 700;
  color: var(--latte);
  transition: color 200ms ease, var(--squish);
}

.nav__links a:hover { color: var(--cocoa); }

.nav__cta { justify-self: end; }

/* --------------------------------------------------- hero -------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: 72px 84px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero__badge { margin-bottom: 20px; }

.hero h1 { margin-bottom: 20px; max-width: 15ch; }

.hero__lede { max-width: 46ch; margin-bottom: 32px; }

.hero__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge-link {
  display: inline-block;
  transition: var(--squish);
  border-radius: var(--r-btn);
}

.badge-link svg { width: 200px; height: 67px; }

.hero__note span { display: block; }

/* phone stage */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.stage__blob {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  height: 540px;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(26px);
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--blush) 0%, rgba(247, 200, 201, 0.55) 45%, rgba(255, 246, 236, 0) 72%);
}

.phone-holder { position: relative; }

.phone {
  position: relative;
  z-index: 2;
  width: 330px;
  border: 10px solid #4A3428;
  border-radius: 54px;
  background: #4A3428;
  box-shadow: 0 22px 46px rgba(92, 64, 51, 0.24);
}

.phone--sm { width: 300px; border-radius: 50px; }

.phone__screen {
  display: block;
  overflow: hidden;
  border-radius: 44px;
  background: var(--vanilla);
}

.phone--sm .phone__screen { border-radius: 40px; }

.phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* the peeking bear */
.peek {
  position: absolute;
  z-index: 1;
  top: -66px;
  left: -10px;
  width: 110px;
  height: 110px;
}

.peek-spark {
  position: absolute;
  z-index: 1;
  top: -46px;
  left: 92px;
  width: 22px;
  height: 22px;
  color: var(--butter);
}

.float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.float--h1 { top: 62px; left: -46px; width: 26px; color: var(--blush); opacity: 0.9; }
.float--h2 { bottom: 96px; right: -40px; width: 20px; color: var(--coral); opacity: 0.75; }
.float--s1 { top: 210px; right: -54px; width: 24px; color: var(--butter); opacity: 0.9; }
.float--s2 { bottom: 32px; left: -34px; width: 18px; color: var(--butter); opacity: 0.8; }

/* --------------------------------------------------- marquee ----------- */
.strip { padding-block: 8px 72px; }

.marquee {
  overflow: hidden;
  margin-top: 22px;
  -webkit-mask-image: linear-gradient(90deg, rgba(255, 246, 236, 0) 0, #FFF6EC 8%, #FFF6EC 92%, rgba(255, 246, 236, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(255, 246, 236, 0) 0, #FFF6EC 8%, #FFF6EC 92%, rgba(255, 246, 236, 0) 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__group {
  display: flex;
  gap: 34px;
  padding-right: 34px;
}

.mood {
  width: 96px;
  text-align: center;
}

.mood__disc {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(169, 128, 91, 0.14);
}

.mood__disc svg { width: 52px; height: 52px; }

.mood__label {
  font-size: 13px;
  font-weight: 800;
  color: var(--cocoa);
  letter-spacing: -0.005em;
}

.t-butter { background: rgba(249, 225, 168, 0.62); }
.t-blue { background: rgba(168, 191, 212, 0.62); }
.t-blush { background: rgba(247, 200, 201, 0.62); }
.t-lavender { background: rgba(201, 191, 221, 0.62); }
.t-fawn { background: rgba(217, 185, 155, 0.62); }
.t-sage { background: rgba(183, 201, 168, 0.62); }

/* --------------------------------------------------- how it works ------ */
.how__head { margin-bottom: 46px; }
.how__head .lede { margin: 16px auto 0; max-width: 56ch; }

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

.step__n {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: var(--latte);
  opacity: 0.42;
  margin-bottom: 14px;
}

.step h3 { margin-bottom: 10px; }
.step .body { font-size: 16px; }

/* --------------------------------------------------- feature rows ------ */
/* clip here so the soft tint blobs can bleed past their column
   without ever creating horizontal page scroll */
#little-moments { overflow: clip; }

.rows { display: grid; gap: 92px; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.row__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.row--flip .row__art { order: -1; }

.row__copy .chip { margin-bottom: 16px; }
.row__copy h3 { margin-bottom: 14px; }

.blob {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(24px);
  pointer-events: none;
}

.blob--blush { background: radial-gradient(circle, var(--blush) 0%, rgba(247, 200, 201, 0.5) 46%, rgba(255, 246, 236, 0) 72%); }
.blob--blue { background: radial-gradient(circle, var(--dustyBlue) 0%, rgba(168, 191, 212, 0.5) 46%, rgba(255, 246, 236, 0) 72%); }
.blob--fawn { background: radial-gradient(circle, var(--fawn) 0%, rgba(217, 185, 155, 0.5) 46%, rgba(255, 246, 236, 0) 72%); }
.blob--sage { background: radial-gradient(circle, var(--sage) 0%, rgba(183, 201, 168, 0.5) 46%, rgba(255, 246, 236, 0) 72%); }

/* --------------------------------------------------- living bear ------- */
.bearstage {
  border-radius: 40px;
  padding: 62px 32px 54px;
  text-align: center;
  background: #FCE6E0;
  transition: background-color 600ms ease;
}

.bearstage.is-sleepy { background: #ECE3E7; }
.bearstage.is-loved { background: #FCE6E0; }
.bearstage.is-lonely { background: #E1E3E4; }
.bearstage.is-happy { background: #FDEFD4; }

.bearstage .lede { margin: 16px auto 0; max-width: 46ch; color: var(--latte); }

.bearstage__bear {
  width: 180px;
  height: 180px;
  margin: 30px auto 26px;
  transform-origin: 50% 62%;
}

.bb-m { display: none; }
.bearstage.is-content .bb-m[data-m="content"],
.bearstage.is-happy .bb-m[data-m="happy"],
.bearstage.is-sleepy .bb-m[data-m="sleepy"],
.bearstage.is-lonely .bb-m[data-m="lonely"],
.bearstage.is-loved .bb-m[data-m="loved"] { display: block; }

.moods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.moodchip {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  color: var(--cocoa);
  background: rgba(255, 253, 248, 0.62);
  transition: var(--squish), background-color 250ms ease, box-shadow 250ms ease;
}

.moodchip[data-mood="sleepy"][aria-pressed="true"] { background: var(--lavender); }
.moodchip[data-mood="loved"][aria-pressed="true"] { background: var(--blush); }
.moodchip[data-mood="lonely"][aria-pressed="true"] { background: var(--dustyBlue); }
.moodchip[data-mood="happy"][aria-pressed="true"] { background: var(--butter); }
.moodchip[aria-pressed="true"] { box-shadow: 0 6px 14px rgba(169, 128, 91, 0.2); }

.bearcap {
  min-height: 52px;
  font-size: 17px;
  font-weight: 700;
  color: var(--cocoa);
}

.bearcap span { display: none; }
.bearstage.is-sleepy .bearcap span[data-cap="sleepy"],
.bearstage.is-loved .bearcap span[data-cap="loved"],
.bearstage.is-lonely .bearcap span[data-cap="lonely"],
.bearstage.is-happy .bearcap span[data-cap="happy"] { display: inline; }

.bearstage__foot {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--latte);
  max-width: 56ch;
  margin-inline: auto;
}

/* --------------------------------------------------- duo cards --------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.duo .card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.duo .body { font-size: 16px; }

.duo__art {
  margin-top: auto;
  padding-top: 12px;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* fake widgets */
.wgts {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-block: 10px;
}

.wgt {
  background: var(--cream);
  box-shadow: 0 8px 18px rgba(169, 128, 91, 0.18);
}

.wgt--sq {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px;
  transform: rotate(-5deg);
  z-index: 2;
}

.wgt--sq svg { width: 46px; height: 46px; }

.wgt__name {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.wgt--wide {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 20px;
  border-radius: 20px;
  transform: rotate(4deg);
  margin-left: -12px;
  z-index: 1;
}

.wgt--wide svg { width: 32px; height: 32px; flex: none; }

.wgt__text {
  font-size: 13px;
  font-weight: 800;
  color: var(--cocoa);
  white-space: nowrap;
}

/* alt icons */
.icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 10px;
  width: 100%;
  max-width: 444px;
}

.icons img {
  width: 100%;
  max-width: 64px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 13px rgba(169, 128, 91, 0.2);
  transition: var(--squish);
}

.icons img:nth-child(odd) { transform: rotate(-4deg); }
.icons img:nth-child(even) { transform: rotate(4deg); }
.icons img:hover { transform: rotate(0deg) scale(1.08); }

/* --------------------------------------------------- privacy ----------- */
.privacy { text-align: center; padding: 48px 32px 42px; }

.privacy__mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  color: var(--sage);
}

.privacy .body {
  margin: 18px auto 0;
  max-width: 62ch;
  font-size: 17px;
}

.privacy__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

/* --------------------------------------------------- faq --------------- */
.faq__list { display: grid; gap: 14px; margin-top: 40px; }

.faq__item {
  background: var(--vanilla);
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: 800;
  color: var(--cocoa);
  cursor: pointer;
  list-style: none;
  transition: var(--squish);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ''; }

.faq__chev {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--latte);
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq__item[open] .faq__chev { transform: rotate(180deg); }

.faq__a {
  padding: 0 26px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.62;
  max-width: 66ch;
}

/* --------------------------------------------------- final cta --------- */
.final {
  border-radius: 40px;
  padding: 66px 32px 60px;
  text-align: center;
  background: linear-gradient(160deg, var(--cream) 0%, #FDEDE9 52%, var(--blush) 100%);
}

.final__bear {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  transform-origin: 50% 62%;
}

.final__stage { position: relative; display: inline-block; }

.final__h { margin-bottom: 12px; }
.final .lede { color: var(--cocoa); margin-bottom: 30px; }
.final .badge-link { margin-bottom: 14px; }

.final__f1 { position: absolute; top: 4px; left: -34px; width: 20px; color: var(--coral); }
.final__f2 { position: absolute; top: 30px; right: -32px; width: 26px; color: var(--blush); }
.final__f3 { position: absolute; bottom: 4px; right: -46px; width: 16px; color: var(--coral); opacity: 0.8; }

/* --------------------------------------------------- footer ------------ */
.footer {
  border-top: 1px solid rgba(169, 128, 91, 0.2);
  padding-block: 40px 44px;
  background: var(--cream);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__line { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--latte); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--latte);
  transition: color 200ms ease;
}

.footer__links a:hover { color: var(--cocoa); }

.footer__base {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--latte);
  opacity: 0.85;
}

/* --------------------------------------------------- 404 --------------- */
.oops {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.oops__bear {
  width: 140px;
  height: 140px;
  margin-bottom: 26px;
  transform-origin: 50% 62%;
}

.oops h1 { margin-bottom: 14px; }
.oops .lede { margin-bottom: 32px; max-width: 40ch; }

/* --------------------------------------------------- motion ------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .btn:hover,
  .brand:hover,
  .badge-link:hover,
  .moodchip:hover,
  .nav__links a:hover,
  .faq__item summary:hover,
  .squish:hover { transform: scale(1.04); }

  .btn:active,
  .brand:active,
  .badge-link:active,
  .moodchip:active,
  .faq__item summary:active,
  .squish:active { transform: scale(0.92); }

  .bear--breathe,
  .bearstage__bear,
  .final__bear,
  .oops__bear { animation: breathe 3s ease-in-out infinite alternate; }

  @keyframes breathe {
    from { transform: scale(1); }
    to { transform: scale(1.03); }
  }

  .bearstage__bear.is-pulse { animation: pulse 420ms cubic-bezier(0.34, 1.56, 0.64, 1); }

  @keyframes pulse {
    0% { transform: scale(0.9); }
    60% { transform: scale(1.06); }
    100% { transform: scale(1); }
  }

  .float--h1 { animation: drift 7s ease-in-out infinite alternate; }
  .float--h2 { animation: drift 8.5s ease-in-out 0.6s infinite alternate; }
  .float--s1 { animation: drift2 6.4s ease-in-out infinite alternate; }
  .float--s2 { animation: drift2 9s ease-in-out 1.2s infinite alternate; }
  .peek-spark { animation: drift2 7.6s ease-in-out infinite alternate; }
  .final__f1 { animation: drift 6.8s ease-in-out infinite alternate; }
  .final__f2 { animation: drift2 8.2s ease-in-out 0.4s infinite alternate; }
  .final__f3 { animation: drift 7.4s ease-in-out 1s infinite alternate; }

  @keyframes drift {
    from { transform: translateY(0) rotate(-5deg); }
    to { transform: translateY(-13px) rotate(6deg); }
  }

  @keyframes drift2 {
    from { transform: translateY(2px) rotate(4deg); }
    to { transform: translateY(-10px) rotate(-7deg); }
  }

  .bb-z { animation: zrise 3.4s ease-in-out infinite; }
  .bb-z2 { animation-delay: 1.1s; }
  .bb-z3 { animation-delay: 2.2s; }

  @keyframes zrise {
    0% { opacity: 0; transform: translate(0, 5px); }
    28% { opacity: 0.9; }
    70% { opacity: 0.55; }
    100% { opacity: 0; transform: translate(7px, -9px); }
  }

  .bb-lovefloat { animation: drift 5.6s ease-in-out infinite alternate; }
  .bb-lovefloat2 { animation: drift2 7s ease-in-out 0.5s infinite alternate; }

  .marquee__track { animation: marquee 60s linear infinite; }

  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms ease, transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .js-reveal [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__group--dupe { display: none; }
}

/* --------------------------------------------------- responsive -------- */
@media (max-width: 980px) {
  :root { --pad-y: 72px; }

  .hero__grid,
  .row,
  .duo {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__grid { text-align: left; }
  .row--flip .row__art { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .stage__blob { width: 420px; height: 420px; }
  .blob { width: 380px; height: 380px; }
}

@media (max-width: 640px) {
  :root { --pad-y: 56px; }

  body { font-size: 17px; }

  .h-display { font-size: clamp(34px, 9vw, 40px); }

  .wrap { padding-inline: 20px; }

  .hero { padding-block: 40px 56px; }
  .hero h1 { max-width: 100%; }

  .card { padding: 28px 24px; }
  .bearstage { padding: 46px 20px 42px; border-radius: 32px; }
  .final { padding: 50px 20px 46px; border-radius: 32px; }
  .privacy { padding: 38px 22px 36px; }

  .phone { width: 268px; border-width: 9px; border-radius: 46px; }
  .phone__screen { border-radius: 38px; }
  .phone--sm { width: 258px; border-radius: 44px; }
  .phone--sm .phone__screen { border-radius: 36px; }
    .peek { width: 92px; height: 92px; top: -56px; left: -6px; }
  .peek-spark { top: -40px; left: 76px; width: 18px; }
  .float--h1 { left: -18px; }
  .float--h2 { right: -14px; }
  .float--s1 { right: -20px; }
  .float--s2 { left: -12px; }

  .rows { gap: 64px; }

  .faq__item summary { padding: 18px 20px; font-size: 17px; }
  .faq__a { padding: 0 20px 20px; font-size: 16px; }

  .footer__inner { flex-direction: column; }
}

@media (max-width: 380px) {
  .phone { width: 240px; }
  .phone--sm { width: 236px; }
  .wgt--sq { width: 96px; height: 96px; }
}
