/* marrowhealthapp.com, the home page only. Linked from / and its language
   copies after site.css (build.py). Every rule here sits under body.home or
   a .home-* class, so no other page can pick it up.

   Round 4: one calm, light page on a fixed grid. A floating pill header, a
   soft sky behind three store slides, two rows of app icons, a row
   of laurels, then three feature sections of pale rounded cards, one short
   dark band for Mo, privacy, reviews and the site's footer in a rounded
   panel. Sizes are fluid between two measured points, 375 and 1440 wide:
   headings 50 to 80, 41 to 64 and 32 to 40 px, text 20 to 24 px, sections
   84 to 160 px apart, gutters 17 to 32 px.

   Scroll-linked motion is written by HOME_JS in build.py as inline
   transform only. This sheet holds the layout, the marquee loops and the
   small loops of Mo and the privacy drawings. Nothing here hides content
   waiting for a script, and every loop is off under prefers-reduced-motion. */

.home {
  --h-violet: 191, 140, 252;   /* #bf8cfc */
  --h-amber: 255, 184, 77;     /* #ffb84d */
  --h-teal: 61, 212, 191;      /* #3dd4bf */
  --h-blue: 79, 153, 255;      /* #4f99ff */
  --h-pink: 255, 150, 194;
  --h-lilac: 185, 166, 255;
  --h-card: #edf0f6;
  --h-dark: #141823;
  --h-soft: rgba(12, 18, 34, 0.6);
  --h-h1: clamp(3.1rem, 2.43rem + 2.856vw, 5rem);
  --h-h2: clamp(2.57rem, 2.07rem + 2.144vw, 4rem);
  --h-h3: clamp(2.02rem, 1.857rem + 0.715vw, 2.5rem);
  --h-p: clamp(1.26rem, 1.179rem + 0.357vw, 1.5rem);
  --h-pad: clamp(5.25rem, 3.57rem + 7.14vw, 10rem);
  --h-gut: clamp(1.0625rem, 0.7325rem + 1.408vw, 2rem);
  --h-gap: clamp(2.5rem, 1.62rem + 3.756vw, 5rem);
  --h-in: clamp(2.5rem, 2.32rem + 0.75vw, 3rem);
  --h-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.home main { overflow-x: clip; }

/* ---------- header: pinned over the hero (the pill is in site.css) ---------- */

.home .top { position: fixed; left: 0; right: 0; }


/* ---------- shared pieces ---------- */

.home-wrap { max-width: 90rem; margin: 0 auto; padding: 0 var(--h-gut); }
.home-sec { padding: var(--h-pad) 0; }
.home-sec.flush { padding-top: 0; }
.home-sec.nobottom { padding-bottom: 0; }
#privacy { padding-bottom: 0; }
#reviews { padding-top: calc(var(--h-pad) * 0.6); }
.home-head { max-width: 42rem; margin: 0 auto var(--h-gap); text-align: center; }
.home-head.wide { max-width: 64rem; }
#get .home-head { margin-bottom: 1.5rem; }
.home-h2 { font-size: var(--h-h2); font-weight: 600; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.home-h3 { font-size: var(--h-h3); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.home-h4 { font-size: var(--h-p); font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.home-p {
  font-size: var(--h-p); line-height: 1.3; letter-spacing: -0.01em; color: var(--h-soft);
  max-width: 49.375rem; margin: 1rem auto 0; text-wrap: balance;
}
.home-more { margin: 1.5rem 0 0; }
.home-link { font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.home-link::after { content: "\203A"; display: inline-block; margin-inline-start: 0.3em; transition: transform 0.35s var(--h-ease); }
.home-link:hover { text-decoration: none; }
.home-link:hover::after { transform: translateX(3px); }
[dir="rtl"] .home-link::after { content: "\2039"; }
[dir="rtl"] .home-link:hover::after { transform: translateX(-3px); }
.home-cta { margin: 2.5rem 0 0; }
.home-fine { margin: 1rem 0 0; }

/* A phone frame that scales with one length. */
.home .home-ph {
  --w: 18.5rem; width: var(--w); max-width: none; flex: none;
  padding: calc(var(--w) * 0.0243); border-radius: calc(var(--w) * 0.157);
  box-shadow: 0 0 0 1px #2b3348, 0 0 0 calc(var(--w) * 0.011) #151a28, 0 2rem 3.5rem -1.75rem rgba(12, 18, 34, 0.45);
}
.home .home-ph img { border-radius: calc(var(--w) * 0.1325); }
/* A store slide on the same length: it carries its own phone and headline,
   so it is a plain rounded card with no frame around it. */
.home .home-ph.sl {
  margin: 0; padding: 0; overflow: hidden; border-radius: calc(var(--w) * 0.085); background: var(--h-card);
  box-shadow: 0 0 0 1px rgba(12, 18, 34, 0.06), 0 2rem 3.5rem -1.75rem rgba(12, 18, 34, 0.45);
}
.home .home-ph.sl img { display: block; width: 100%; height: auto; border-radius: 0; }

/* The rating: stars, the number and a short line. */
.home-rate { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 1rem 0 0; font-size: 0.75rem; line-height: 1.1; color: var(--h-soft); }
.home-rate > div { display: flex; align-items: baseline; gap: 0.3em; }
.home-rate b { font-weight: 600; color: var(--ink); }
.home-rate p { margin: 0; }
.home-rate .stars { width: 5rem; }
.home-rate.big { font-size: var(--h-p); letter-spacing: -0.01em; gap: 0.5rem 0.75rem; flex-wrap: wrap; }
.home-rate.big .stars { width: 7.5rem; }

/* Marquees. Plain, the row wraps or scrolls by hand. The script doubles the
   row and adds .run, and CSS moves it by half its width. */
.home-marquee { overflow: hidden; direction: ltr; }
.home-track { display: flex; margin: 0; padding: 0; list-style: none; }
.run > .home-track { width: max-content; flex-wrap: nowrap; animation: home-scroll 60s linear infinite; }
@keyframes home-scroll { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- hero ---------- */

.home-hero { padding: 0.5rem 0.5rem 0; }
.home-hero-box { position: relative; isolation: isolate; padding: 6rem 0 7rem; text-align: center; }
/* The sky runs the whole box, past the bottom of the phone, and fades out
   over its last stretch. No edge is left where it ends. */
.home-sky {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: 1.5rem 1.5rem 0 0;
  background: linear-gradient(#d6e3ff, #ebe8ff 42%, #fff6e8 82%, #fff);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 12rem), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(#000 calc(100% - 12rem), rgba(0, 0, 0, 0));
}
.home-sky > i { position: absolute; top: -20rem; width: 56rem; height: 40rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--c), 0.38), rgba(var(--c), 0)); }
.home-sky > i:nth-child(1) { --c: var(--h-violet); left: calc(50% - 62rem); }
.home-sky > i:nth-child(2) { --c: var(--h-blue); left: calc(50% - 28rem); top: -26rem; }
.home-sky > i:nth-child(3) { --c: var(--h-teal); left: calc(50% + 6rem); }
.home-hero-copy { padding: 0 var(--h-gut); }
.home-hero h1 { font-size: var(--h-h1); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.home-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-hero .home-p { max-width: 37.5rem; }
.home-hero .home-cta { margin-top: 2.5rem; }
.home-rings { position: absolute; left: 0; right: 0; bottom: 0; height: 60rem; pointer-events: none; }
.home-rings i {
  position: absolute; left: 50%; top: 46%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 1.5rem rgba(255, 255, 255, 0.9), 0 0 1.5rem rgba(255, 255, 255, 0.4);
}
.home-rings i:nth-child(1) { --d: 34rem; }
.home-rings i:nth-child(2) { --d: 54rem; }
.home-rings i:nth-child(3) { --d: 78rem; }
.home-rings i:nth-child(4) { --d: 106rem; }

/* The stage holds three store slides: the middle one in front, one leaning
   out on each side. --pw is the middle slide's width. On a phone the outer
   two run off the screen's edges. */
.home-stage { position: relative; --pw: clamp(13.5rem, 10.6rem + 12.4vw, 21rem); margin-top: clamp(3rem, 4.47rem - 1.577vw, 4.125rem); }
.home-fan { position: relative; isolation: isolate; width: var(--pw); margin: 0 auto; }
.home-fan .home-ph { --w: var(--pw); }
.home-fan .home-ph.a, .home-fan .home-ph.c { position: absolute; z-index: -1; top: 9%; --w: calc(var(--pw) * 0.86); }
.home-fan .home-ph.a { right: 80%; transform: rotate(-5deg); transform-origin: 100% 100%; }
.home-fan .home-ph.c { left: 80%; transform: rotate(5deg); transform-origin: 0 100%; }

/* ---------- works with: two rows of app icons ---------- */

.home-works { text-align: center; }
.home-works .home-h4 { margin-top: 3rem; color: var(--h-soft); }
.home-works .home-h4:first-child { margin-top: 0; }
.home-works .home-h4 b { font-weight: 600; color: var(--ink); }
.home-marquee.icons { margin-top: 1.5rem; padding: 0.5rem 0 1rem; }
.home-marquee.icons .home-track { flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
.home-marquee.icons a { display: block; margin: 0 0.6rem; border-radius: 22%; transition: transform 0.35s var(--h-ease); }
.home-marquee.icons a:hover { transform: translateY(-3px); text-decoration: none; }
.home-marquee.icons .mark { width: 3.75rem; height: 3.75rem; box-shadow: 0 1px 2px rgba(12, 18, 34, 0.06), 0 6px 16px -6px rgba(12, 18, 34, 0.18); }
.home-marquee.icons .mark.img { border: 1px solid rgba(12, 18, 34, 0.06); }
.home-marquee.icons.run {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 10%, #000 90%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 10%, #000 90%, rgba(0, 0, 0, 0));
}
.home-marquee.icons.run .home-track { flex-wrap: nowrap; justify-content: flex-start; animation-duration: 50s; }
.home-marquee.icons.back.run .home-track { animation-direction: reverse; }
.home-marquee.icons.run:hover .home-track { animation-play-state: paused; }
@media (max-width: 48rem) {
  .home-marquee.icons .mark { width: 3.25rem; height: 3.25rem; }
  .home-marquee.icons a { margin: 0 0.45rem; }
}

/* ---------- awards: a name between two laurel branches ---------- */

.home-awards { padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); text-align: center; }
.home-defs { position: absolute; }
.home-awards .home-h4 { margin: 0 0 1.5rem; font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--h-soft); }
.home-laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 2.5rem; margin: 0 0 3rem; padding: 0; list-style: none; }
.home-laurels:last-child { margin-bottom: 0; }
.home-laurels li > * { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); transition: transform 0.35s var(--h-ease); }
.home-laurels a:hover { text-decoration: none; transform: translateY(-2px); }
.home-laurels svg { flex: none; width: 2.375rem; height: 4.75rem; overflow: visible; }
.home-laurels svg:last-child { transform: scaleX(-1); }
.home-laurels span { display: flex; flex-direction: column; gap: 0.3rem; max-width: 11.5rem; }
.home-laurels small { font-size: 0.6875rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--h-soft); }
.home-laurels b { font: 600 1.1875rem/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }

/* ---------- the row of screens and projects ---------- */

.home-marquee.shots { overflow-x: auto; }
.home-marquee.shots.run { overflow: hidden; }
.home-shot {
  position: relative; flex: none; display: block; height: clamp(20rem, 15.77rem + 18.03vw, 32rem); aspect-ratio: 236 / 420;
  margin: 0 var(--h-gut) 0 0; border-radius: 1rem; overflow: hidden; background: var(--h-card);
}
.home-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.home-shot.sl { aspect-ratio: 1320 / 2868; }
.home-shot.proj { aspect-ratio: 3 / 2; color: #fff; }
.home-shot.proj img { object-position: left top; transition: transform 0.6s var(--h-ease); }
.home-shot.proj:hover { text-decoration: none; }
.home-shot.proj:hover img { transform: scale(1.03); }
.home-shot.proj span {
  position: absolute; left: 0.75rem; bottom: 0.75rem; display: flex; align-items: baseline; gap: 0.5rem; padding: 0.5rem 0.95rem; border-radius: 8rem;
  background: rgba(12, 18, 34, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.home-shot.proj b { font: 600 0.9375rem/1.2 var(--display); letter-spacing: -0.01em; }
.home-shot.proj small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }
.home-marquee.shots.run .home-track { animation-duration: 80s; }
.home-marquee.shots.run:hover .home-track { animation-play-state: paused; }

/* ---------- feature sections: one wide card, two cards under it ---------- */

.home-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--h-gut); margin-top: var(--h-gut); }
.home-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem;
  height: clamp(37.06rem, 33.85rem + 13.7vw, 44rem);
  background: linear-gradient(rgba(255, 255, 255, 0) 40%, rgba(var(--c), 0.2) 90%), var(--h-card);
}
.amber { --c: var(--h-amber); }
.violet { --c: var(--h-violet); }
.blue { --c: var(--h-blue); }
.teal { --c: var(--h-teal); }
.lilac { --c: var(--h-lilac); }
.pink { --c: var(--h-pink); }
.home-card-top { padding: var(--h-in); min-height: 13.5rem; }
.home-card-top .home-p, .home-wide-copy .home-p { margin: 0.5rem 0 0; max-width: none; text-wrap: pretty; }
.home-card-top .home-more { margin-top: 1rem; }
.home-card-art { position: relative; flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; container-type: inline-size; color: inherit; }
.home-card-art .home-ph { --w: 16.25rem; }
@supports (width: 1cqi) { .home-card-art .home-ph { --w: min(62cqi, 21.125rem); } }
.home-card-art .home-tiles, .home-card-art .home-tones { align-self: center; margin-bottom: 2.5rem; }

.home-wide {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 100%; align-items: center;
  height: 41.125rem; overflow: hidden; border-radius: 1.5rem;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(var(--c), var(--a, 0.34)) 90%), var(--h-card);
}
.home-wide.teal { --a: 0.22; }
.home-wide.amber { --a: 0.26; }
.home-wide-copy { padding: 2.5rem clamp(2.5rem, 5.5vw, 5rem); }
.home-wide-copy .home-p { margin-top: 1rem; }
/* These titles are 64 px on a desktop and 32 px on a phone. */
.home-wide .home-h2 { font-size: clamp(2.02rem, 1.329rem + 2.968vw, 4rem); }
.home-wide-art { position: relative; height: 100%; min-width: 0; container-type: inline-size; }
.home-wide.flip .home-wide-copy { order: 2; }
.home-wide-art.two { display: flex; justify-content: center; align-items: flex-start; gap: 1.25rem; }
.home-wide-art.two .home-ph { --w: 9.5rem; }
@supports (width: 1cqi) { .home-wide-art.two .home-ph { --w: min(40cqi, 20.5rem); } }
.home-wide-art.two .home-ph:first-child { margin-top: 5.5rem; }
.home-wide-art.two .home-ph:last-child { margin-top: -6rem; }
/* Two whole slides, one a step lower than the other. */
.home-wide-art.full .home-ph { --w: 9.5rem; }
@supports (width: 1cqi) { .home-wide-art.full .home-ph { --w: min(40cqi, 16.25rem); } }
.home-wide-art.full .home-ph:first-child { margin-top: 4.25rem; }
.home-wide-art.full .home-ph:last-child { margin-top: 1.75rem; }

.home-tiles { display: grid; grid-template-columns: repeat(3, 7.25rem); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.home-tiles li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; aspect-ratio: 1;
  border-radius: 1.5rem; background: rgba(255, 255, 255, 0.72); font: 600 0.8125rem/1.2 var(--sans); text-align: center;
}
.home-tiles i { display: block; width: 2.5rem; height: 2.5rem; content: ""; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.home-tones { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.home-tones li {
  padding: 1.1rem 2.25rem; border-radius: 8rem; font: 600 var(--h-h3)/1 var(--display); letter-spacing: -0.03em;
  background: rgba(255, 255, 255, 0.72);
}
.home-tones li:nth-child(2) { margin-inline-start: 3.5rem; }
.home-tones li:nth-child(3) { margin-inline-start: 1.25rem; }

/* ---------- the dark band: Mo ---------- */

.home-dark { background: var(--h-dark); color: #fff; padding: clamp(4rem, 2.6rem + 6vw, 7.5rem) 0; }
.home-mo-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--h-gut); align-items: center; }
.home-mo-copy { padding-inline-end: clamp(0rem, 3vw, 3rem); }
.home-mo-copy .home-p { margin: 1rem 0 0; color: rgba(255, 255, 255, 0.6); }
.home-dark .home-link { color: #fff; }
/* Mo: the rounded figure from the app, two eyes, a slow bob and a blink. */
.home-mo {
  position: relative; width: clamp(5.5rem, 4.6rem + 3.6vw, 7.5rem); aspect-ratio: 266 / 282; margin-bottom: 2rem;
  border-radius: 50% 50% 22% 22% / 52% 52% 16% 16%;
  background: radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 46%), linear-gradient(#c8a2fb, #8fa6fb 36%, #5cb1f4 58%, #46c9dc 80%, #3fdabd);
  box-shadow: 0 0 3.5rem rgba(var(--h-teal), 0.35), 0 0 1.5rem rgba(var(--h-violet), 0.25), inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.home-mo i { position: absolute; top: 34%; width: 13.5%; height: 21%; border-radius: 50%; background: #fff; }
.home-mo i:first-child { left: 28%; }
.home-mo i:last-child { right: 28%; }
@keyframes home-bob { 50% { transform: translate3d(0, -0.4rem, 0); } }
@keyframes home-blink { 0%, 92%, 100% { transform: none; } 96% { transform: scaleY(0.08); } }
.home-mo-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.home-mo-tags li { padding: 0.55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); font: 600 1rem/1.2 var(--display); letter-spacing: -0.01em; color: #fff; }
.home-chat {
  width: 100%; max-width: 23rem; margin: 0; justify-self: center; overflow: hidden; border-radius: 1.75rem; background: #0b0e17;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2.5rem 4rem -2rem rgba(0, 0, 0, 0.9);
}
.home-chat img { display: block; width: 100%; height: auto; }
.home-chat:last-child { margin-top: 5rem; }
.home-chat.sl { max-width: 19rem; border-radius: 1.5rem; }

/* ---------- privacy: four things Marrow does not do, each acted out ---------- */

.home-privacy {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 1.5rem; color: #fff; text-align: center;
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0) 40%, rgba(var(--h-teal), 0.2)), var(--h-dark);
}
.home-dots {
  position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, rgba(255, 255, 255, 0) 1.5px); background-size: 1.25rem 1.25rem;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 25%, #000 100%); mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 25%, #000 100%);
}
.home-privacy-copy { max-width: 68rem; margin: 0 auto; padding: clamp(4rem, 3rem + 4vw, 6.5rem) var(--h-gut); }
.home-privacy .home-p { color: rgba(255, 255, 255, 0.6); }
.home-privacy .home-link { color: #fff; }
.home-privacy .home-more { margin-top: 2.5rem; }
.home-nos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.home-nos li { padding: 1.5rem 1rem 1.6rem; border-radius: 1.25rem; background: rgba(20, 24, 35, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.home-nos .home-h4 { font-size: 1.125rem; }
.home-nos p { margin: 0.45rem 0 0; font-size: 0.875rem; line-height: 1.35; color: rgba(255, 255, 255, 0.6); }
/* Each drawing rests in its refused state. That is what shows with no
   script and under reduced motion. .play (on screen) runs the loop that
   starts from the thing itself and ends back here. */
.home-no { position: relative; height: 6.5rem; margin: 1.25rem 0 2rem; display: flex; align-items: center; justify-content: center; transform: scale(1.3); }
.home-no span { display: block; }

.home-no.acct { flex-direction: column; gap: 0.45rem; }
.home-no.acct .f, .home-no.acct .go { width: 7.5rem; height: 0.95rem; border-radius: 0.4rem; background: rgba(255, 255, 255, 0.3); opacity: 0.22; }
.home-no.acct .go { width: 4rem; border-radius: 8rem; background: rgb(var(--h-blue)); }
.home-no.acct .ok { position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; border-radius: 50%; background: rgb(var(--h-teal)); }
.home-no.acct .ok::after { content: ""; position: absolute; left: 0.98rem; top: 0.56rem; width: 0.62rem; height: 1.2rem; border: solid #10141f; border-width: 0 0.2rem 0.2rem 0; transform: rotate(42deg); }
@keyframes home-form { 0%, 24% { opacity: 1; transform: none; } 40%, 88% { opacity: 0.22; transform: scaleX(0.86); } 100% { opacity: 1; transform: none; } }
@keyframes home-ok { 0%, 30% { opacity: 0; transform: scale(0.4); } 44%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(0.4); } }

.home-no.ad .banner { position: relative; width: 9rem; height: 3.6rem; border-radius: 0.6rem; background: rgb(var(--h-amber)); opacity: 0.3; transform-origin: 50% 0; }
.home-no.ad b { position: absolute; left: 0.5rem; top: 0.45rem; padding: 0.1rem 0.35rem; border-radius: 0.25rem; font: 700 0.625rem/1.3 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: #10141f; background: rgba(16, 20, 31, 0.16); }
.home-no.ad .banner i { position: absolute; left: 0.5rem; bottom: 1.15rem; width: 68%; height: 0.4rem; border-radius: 1rem; background: rgba(16, 20, 31, 0.3); }
.home-no.ad .banner i + i { bottom: 0.5rem; width: 44%; }
.home-no.ad .x { position: absolute; left: 50%; top: 50%; width: 10.5rem; height: 0.2rem; margin: -0.1rem 0 0 -5.25rem; border-radius: 1rem; background: #fff; transform: rotate(-17deg); }
@keyframes home-banner { 0%, 42% { opacity: 1; transform: none; } 62%, 90% { opacity: 0; transform: perspective(20rem) rotateX(86deg); } 100% { opacity: 1; transform: none; } }
@keyframes home-strike { 0%, 18% { opacity: 1; transform: rotate(-17deg) scaleX(0); } 32%, 56% { opacity: 1; transform: rotate(-17deg) scaleX(1); } 66%, 100% { opacity: 0; transform: rotate(-17deg) scaleX(1); } }

.home-no.sale .card { display: flex; flex-direction: column; justify-content: center; gap: 0.45rem; width: 6.25rem; height: 4.5rem; padding: 0 0.8rem; border-radius: 0.8rem; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.home-no.sale .card i { height: 0.45rem; border-radius: 1rem; background: rgb(var(--h-teal)); width: 82%; }
.home-no.sale .card i + i { width: 58%; background: rgb(var(--h-violet)); }
.home-no.sale .card i + i + i { width: 36%; background: rgb(var(--h-blue)); }
.home-no.sale .tag {
  position: absolute; left: calc(50% + 1.5rem); top: 0.35rem; width: 2.6rem; height: 1.7rem; border-radius: 0.35rem 0.85rem 0.85rem 0.35rem;
  font: 700 1rem/1.7rem var(--display); color: #10141f; background: rgb(var(--h-amber)); transform: rotate(14deg); opacity: 0.4;
}
.home-no.sale .tag::after { content: ""; position: absolute; left: -18%; right: -18%; top: 50%; height: 0.2rem; margin-top: -0.1rem; border-radius: 1rem; background: #fff; transform: rotate(-20deg); }
@keyframes home-tag { 0%, 46% { opacity: 1; transform: rotate(14deg); } 64%, 90% { opacity: 0; transform: translate3d(0.6rem, 2.6rem, 0) rotate(52deg); } 100% { opacity: 1; transform: rotate(14deg); } }
@keyframes home-cut { 0%, 20% { transform: rotate(-20deg) scaleX(0); } 34%, 100% { transform: rotate(-20deg) scaleX(1); } }

.home-no.track .dot { width: 1rem; height: 1rem; border-radius: 50%; background: rgb(var(--h-violet)); box-shadow: 0 0 0 0.35rem rgba(var(--h-violet), 0.25); }
.home-no.track .aim { position: absolute; left: 50%; top: 50%; width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem; border: 2px dashed rgba(255, 255, 255, 0.6); border-radius: 50%; transform: translate3d(-2.7rem, 0.9rem, 0); opacity: 0.4; }
.home-no.track .aim::before, .home-no.track .aim::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.6); }
.home-no.track .aim::before { left: 50%; top: -0.5rem; bottom: -0.5rem; width: 2px; margin-left: -1px; }
.home-no.track .aim::after { top: 50%; left: -0.5rem; right: -0.5rem; height: 2px; margin-top: -1px; }
@keyframes home-aim {
  0% { opacity: 0; transform: translate3d(-3.6rem, -1.4rem, 0); } 10% { opacity: 1; }
  34% { opacity: 1; transform: translate3d(-0.3rem, 0.1rem, 0); } 42% { transform: translate3d(0.5rem, -0.3rem, 0); } 50% { transform: translate3d(0.2rem, 0.3rem, 0); }
  62% { opacity: 1; transform: translate3d(-1.2rem, 0.8rem, 0); } 78%, 100% { opacity: 0; transform: translate3d(-3rem, 1.8rem, 0) scale(1.25); }
}
@keyframes home-dodge { 0%, 32% { transform: none; } 42%, 70% { transform: translate3d(1.7rem, -0.9rem, 0); } 88%, 100% { transform: none; } }

/* ---------- reviews (markup shared with site.css) ---------- */

.home .reviews { gap: var(--h-gut); }
.home .review { border-radius: 2rem; padding: 2rem; background: var(--h-card); }
.home .review .stars { width: 7.5rem; }
.home .review h3 { font: 700 1.125rem/1.3 var(--sans); letter-spacing: -0.01em; margin-top: 0.75rem; }
.home .review blockquote { font-size: 1.125rem; line-height: 1.3; color: var(--ink); margin-top: 1rem; }
.home .review figcaption { font-size: 0.875rem; }
/* With the script the reviews are one moving row of cards, the author under
   the title and a long review shown as its opening lines. */
.home .reviews.run { display: block; overflow: hidden; direction: ltr; }
.home .reviews.run .home-track { animation-duration: 80s; }
.home .reviews.run:hover .home-track { animation-play-state: paused; }
.home .reviews.run .review { flex: none; width: 24rem; min-height: 22.375rem; margin: 0 var(--h-gut) 0 0; }
.home .reviews.run .review figcaption { order: 1; margin: 0.5rem 0 0; padding: 0; }
.home .reviews.run .review blockquote { order: 2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.home .reviews.run .review blockquote p { display: inline; }

/* ---------- the last call and its band of devices ---------- */

.home-band {
  position: relative; overflow: hidden; height: clamp(24.94rem, 20.2rem + 20.1vw, 38.3rem); --w: clamp(13rem, 10.2rem + 12vw, 21rem);
  background: radial-gradient(closest-side, rgba(var(--h-violet), 0.3), rgba(var(--h-violet), 0)) 50% 60% / 70rem 86% no-repeat, radial-gradient(closest-side, rgba(var(--h-blue), 0.24), rgba(var(--h-blue), 0)) 12% 70% / 44rem 70% no-repeat, radial-gradient(closest-side, rgba(var(--h-teal), 0.24), rgba(var(--h-teal), 0)) 88% 70% / 44rem 70% no-repeat;
}
.home-band figure { position: absolute; }
.home-band .home-ph.m { left: calc(50% - var(--w) / 2); top: 14%; z-index: 1; }
.home-band .home-ph.l { left: calc(50% - var(--w) * 1.66); top: 38%; }
.home-band .home-ph.r { left: calc(50% + var(--w) * 0.66); top: 38%; }

/* ---------- notes and footer ---------- */

/* The footer is the site's own: same columns, legal lines and bar, in the
   same order. Only its dress changes here, to a pale rounded panel. */
.home .notes { max-width: 90rem; padding: 0 var(--h-gut); }

/* ---------- narrower screens ---------- */

@media (max-width: 75rem) {
  .home-wide-copy { padding: 2.5rem; }
  .home-mo-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 62rem) {
  /* The pill: mark, language, menu and Download. */
  #privacy { padding: 0; }
  .home-privacy { border-radius: 0; }
  .home-two { grid-template-columns: minmax(0, 1fr); }
  .home-card { height: clamp(35rem, 30rem + 14vw, 44rem); }
  .home-card-art .home-ph { --w: 16.25rem; }
  .home-wide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: auto; align-items: stretch; }
  .home-wide.flip .home-wide-copy { order: 0; }
  .home-wide-art { height: clamp(23rem, 14rem + 40vw, 34rem); }
  .home-wide-art.two .home-ph:first-child { margin-top: 2.5rem; }
  .home-wide-art.two .home-ph:last-child { margin-top: 0; }
  .home-wide-art.full { height: auto; padding-bottom: 2.5rem; }
  .home-wide-art.full .home-ph:first-child { margin-top: 2.5rem; }
  .home-wide-art.full .home-ph:last-child { margin-top: 0.5rem; }
  .home-tiles { grid-template-columns: repeat(3, 5.75rem); gap: 0.6rem; }
  .home-tiles li { border-radius: 1.1rem; font-size: 0.75rem; gap: 0.5rem; }
  .home-tiles i { width: 1.9rem; height: 1.9rem; }
  .home-tones li { padding: 0.8rem 1.5rem; font-size: 1.5rem; white-space: nowrap; }
  .home-tones li:nth-child(2) { margin-inline-start: 2rem; }
  .home-tones li:nth-child(3) { margin-inline-start: 0.75rem; }
  .home-mo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .home-mo-copy { grid-column: 1 / -1; padding: 0 0 1.5rem; }
  .home-chat:last-child { margin-top: 2.5rem; }
  .home-nos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .home .reviews { grid-template-columns: minmax(0, 1fr); }
  .home .review.feature { grid-row: auto; }
  .home-laurels { gap: 1.25rem 0.75rem; }
  .home-laurels svg { width: 1.375rem; height: 2.75rem; }
  .home-laurels span { max-width: 7.25rem; }
  .home-laurels b { font-size: 0.875rem; }
  .home-laurels small { font-size: 0.625rem; }
  .home-chat { border-radius: 1.1rem; }
  .home-nos { gap: 0.6rem; }
  .home-nos li { padding: 1.1rem 0.6rem 1.2rem; }
  .home-no { transform: scale(0.86); margin: 0 0 0.6rem; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .home-mo { animation: home-bob 5s ease-in-out infinite; }
  .home-mo i { animation: home-blink 4.6s ease-in-out infinite; }
  .play .acct .f, .play .acct .go { animation: home-form 6s ease-in-out infinite; }
  .play .acct .ok { animation: home-ok 6s var(--h-ease) infinite; }
  .play .ad .banner { animation: home-banner 6s ease-in-out infinite; }
  .play .ad .x { animation: home-strike 6s var(--h-ease) infinite; }
  .play .sale .tag { animation: home-tag 6s ease-in-out infinite; }
  .play .sale .tag::after { animation: home-cut 6s var(--h-ease) infinite; }
  .play .track .aim { animation: home-aim 6s ease-in-out infinite; }
  .play .track .dot { animation: home-dodge 6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .home .home-track { animation: none; }
}
