/* Glueys home page. Hand-written, no framework, nothing loaded from other sites. Scoped to body.home so no other page is affected. */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }

body.home {
  --night: #0F1235; --night2: #161A52; --card: #1F2466; --lav: #F4F3FF; --ink: #1D2152; --muted: #565B7D;
  --mutedd: #B9BDE8; --coral: #FF9470; --lilac: #9D90FF; --line: #E3E0F0; --linel: rgba(255,255,255,.14);
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  margin: 0; background: var(--night); color: #fff; font: 17px/1.6 var(--sans); -webkit-text-size-adjust: 100%;
}
.home * { box-sizing: border-box; }
.home a { color: inherit; text-decoration: none; }
.home img { max-width: 100%; height: auto; }
.home h1, .home h2, .home h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
.home :focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.home .in { width: min(100% - 40px, 1180px); margin-inline: auto; }
.home .in.narrow { width: min(100% - 40px, 820px); }
.home .center { text-align: center; }
.home .band { padding: 104px 0; }
.home .light { background: var(--lav); color: var(--ink); }
.home .light .sub { color: var(--muted); }
.home .band h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; margin-bottom: 14px; }
.home .sub { margin: 0; font-size: 1.15rem; line-height: 1.55; color: var(--mutedd); max-width: 44rem; }
.home .center .sub, .home .sub.c { margin-inline: auto; }
.home .eyebrow { margin: 0 0 12px; font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.home .light .eyebrow { color: #B34618; }

/* buttons */
.home .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; padding: 15px 28px; border: 0; cursor: pointer; }
.home .btn.main { background: var(--coral); color: #14163A; }
.home .btn.ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; }
.home .btn:hover { filter: brightness(1.08); }

/* hero */
.home .hero { background: radial-gradient(900px 480px at 50% 16%, rgba(157,144,255,.30), transparent 70%), radial-gradient(700px 420px at 84% 62%, rgba(255,148,112,.16), transparent 70%), linear-gradient(var(--night), var(--night2)); padding: 28px 0 104px; overflow: hidden; }
.home .pill { max-width: 780px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--linel); }
.home .pill .brand { display: flex; align-items: center; gap: 10px; font: 600 20px var(--display); }
.home .pill .brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.home .pill .links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.home .pill .links a { color: var(--mutedd); }
.home .pill .links a:hover { color: #fff; }
.home .pill .get { background: var(--coral); color: #14163A; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 999px; }
.home .heroTxt { max-width: 900px; margin: 72px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-inline: 20px; }
.home .badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--linel); font-size: 14px; font-weight: 500; color: #DADDFB; }
.home .badge b { background: var(--coral); color: #14163A; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.home .hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.5px; }
.home .hero h1 em { font-style: normal; color: var(--coral); }
.home .hero .sub { font-size: 1.25rem; max-width: 40rem; }
.home .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.home .fine { font-size: 14px; color: #9EA3D6; }

/* the 8-second clip: a native video in a native disclosure, so it needs no script */
.home details.clip { width: 100%; max-width: 360px; margin-top: 4px; }
.home details.clip > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; font-size: 1.05rem; padding: 14px 24px; border-radius: 999px; }
.home details.clip > summary::-webkit-details-marker { display: none; }
.home details.clip video { display: block; width: 100%; max-width: 300px; margin: 18px auto 0; border-radius: 22px; background: #000; }

/* the stage: the app on a desktop */
.home .stage { width: min(100% - 40px, 1040px); margin: 64px auto 0; border-radius: 34px; padding: 14px; background: rgba(255,255,255,.07); border: 1px solid var(--linel); box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.home .desk { border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #4651B8 0%, #8087DA 52%, #C3C7F4 100%); }
.home .bar, .home .bubbleRow { display: grid; grid-template-columns: minmax(0,1fr) 190px minmax(0,1fr); padding: 0 20px; }
.home .bar { height: 44px; background: rgba(15,18,53,.78); align-items: center; }
.home .bar .menus { display: flex; gap: 18px; font-size: 13px; font-weight: 600; color: #E6E8FF; white-space: nowrap; overflow: hidden; }
.home .bar .menus span + span { font-weight: 500; color: var(--mutedd); }
.home .notch { height: 32px; background: #000; border-radius: 0 0 16px 16px; align-self: start; }
.home .bar .right { display: flex; align-items: center; gap: 18px; padding-left: 10px; }
.home .bar .right img { width: 76px; height: auto; display: block; margin-top: 34px; position: relative; z-index: 2; }
.home .bar .right .sp { flex: 1; }
.home .bar .right .clock { font-size: 13px; font-weight: 600; color: #E6E8FF; white-space: nowrap; }
.home .say { display: inline-block; background: #1B1F2A; color: #fff; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(15,18,53,.35); }
.home .bubbleRow > div:last-child { padding: 88px 0 0 10px; }
.home .docWrap { padding: 34px 40px 0; display: flex; justify-content: center; }
.home .doc { width: 100%; max-width: 640px; background: #FBFBFE; border-radius: 16px 16px 0 0; padding: 16px 28px 40px; box-shadow: 0 -8px 40px rgba(15,18,53,.25); color: #2A2D45; }
.home .doc .dots { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.home .doc .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.home .doc .dots em { flex: 1; text-align: center; font: 600 12px var(--sans); font-style: normal; color: #8A8EA8; }
.home .doc h3 { font: 700 20px var(--sans); margin-bottom: 14px; }
.home .doc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.home .doc li.done { color: #2E9D6A; text-decoration: line-through; }
.home .caret { display: inline-block; width: 2px; height: 18px; background: #4C6FFF; vertical-align: -3px; margin-left: 2px; }
.home .stagecap { max-width: 640px; margin: 26px auto 0; text-align: center; font-size: 15px; color: #9EA3D6; padding-inline: 20px; }
.home .stagecap b { color: var(--coral); font-weight: 600; }

/* proof and trust */
.home .proof { background: var(--night); padding: 24px 0 96px; }
.home .proof .in { max-width: 1000px; display: flex; flex-direction: column; gap: 40px; }
.home .quote { margin: 0; padding: 44px 48px; border-radius: 28px; background: linear-gradient(160deg, #1F2466, #171B52); border: 1px solid var(--linel); text-align: center; }
.home .quote blockquote { margin: 0; font: 500 clamp(1.4rem, 3vw, 2.1rem)/1.3 var(--display); text-wrap: balance; }
.home .quote .q2 { margin-top: 16px; font-size: 1.15rem; color: var(--mutedd); font-family: var(--sans); font-weight: 500; }
.home .quote figcaption { margin-top: 20px; font-size: 15px; color: var(--mutedd); }
.home .trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.home .trust div { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.home .trust svg { flex: none; margin-top: 2px; color: var(--coral); }
.home .trust b { display: block; font: 600 20px var(--display); }
.home .trust span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--mutedd); }

/* five habits (light) */
.home .habits { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.home .habit { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px 30px; }
.home .habit .hhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.home .habit .hicon { width: 56px; height: 56px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: #E6E3FF; color: #4A3FC0; }
.home .habit:nth-child(1) .hicon { background: #FFE9E0; color: #C4501F; }
.home .habit:nth-child(2) .hicon { background: #FDEBC8; color: #9A5B00; }
.home .habit:nth-child(4) .hicon { background: #DDF3FF; color: #0F6FA8; }
.home .habit:nth-child(5) .hicon { background: #DFF5EA; color: #1F7A4C; }
.home .habit .rank { font: 600 15px var(--display); color: #6B7094; }
.home .habit h3 { font-size: 1.6rem; margin-bottom: 10px; }
.home .habit p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.home .habit.make { background: transparent; border: 2px dashed #C9C5EE; display: flex; flex-direction: column; justify-content: center; }

/* meet */
.home .meet { background: linear-gradient(var(--night), var(--night2)); }
.home .trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 48px; }
.home .pal { background: var(--card); border: 1px solid var(--linel); border-radius: 30px; padding: 30px 28px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.home .pal .pic { width: 100%; height: 230px; border-radius: 22px; background: radial-gradient(circle at 50% 70%, rgba(157,144,255,.35), rgba(15,18,53,.2) 70%); display: flex; align-items: flex-end; justify-content: center; }
.home .pal .pic img { max-height: 210px; width: auto; max-width: 80%; display: block; }
.home .pal h3 { font-size: 1.9rem; margin-top: 6px; }
.home .pal .role { font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.home .pal .say { box-shadow: none; }
.home .pal .mood { margin: 10px 0 14px; font-size: 15px; line-height: 1.45; color: var(--mutedd); text-align: center; max-width: 24ch; }
.home .pal .mood b { color: #fff; font-weight: 700; }

/* good manners (light) */
.home .manners .in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.home .manners .in > div:first-child { flex: 1 1 380px; min-width: 0; }
.home .manners ul { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.home .manners li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; font-weight: 500; }
.home .manners li svg { flex: none; color: #2E9D6A; }

/* guides row (the bot rewrites the cards between its markers) */
.home .guides { background: linear-gradient(var(--night2), #1B2060); }
.home .gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 44px; }
.home .gcard { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 170px; background: var(--card); border: 1px solid var(--linel); border-radius: 24px; padding: 26px 28px; }
.home .gcard:hover, .home .gcard:focus-visible { border-color: var(--coral); }
.home .gtopic { display: block; font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.home .gtitle { display: block; margin-top: 10px; font: 600 1.5rem/1.25 var(--display); text-wrap: balance; }
.home .gread { font-size: 15px; font-weight: 600; color: #DADDFB; }
.home .gread::after { content: " \2192"; }
.home .gfoot { text-align: center; margin: 30px 0 0; }
.home .gfoot a { display: inline-block; padding: 14px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-weight: 600; background: rgba(255,255,255,.08); }

/* privacy and price */
.home .private { background: radial-gradient(800px 380px at 50% 0%, rgba(255,148,112,.2), transparent 70%), var(--night); text-align: center; }
.home .private .in { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.home .private h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.home .pricecard { margin-top: 18px; padding: 40px 48px; border-radius: 30px; background: var(--card); border: 1px solid var(--linel); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 560px; }
.home .pricecard .amt { font: 600 4rem var(--display); }
.home .pricecard .once { color: var(--mutedd); }
.home .pricecard .btn { margin-top: 20px; }
.home details.more { width: 100%; text-align: left; margin-top: 8px; }
.home details.more > summary { text-align: center; }

/* disclosures: the privacy policy, terms and FAQ keep their wording; only the look is new */
.home details > summary { cursor: pointer; font: 600 1.15rem var(--display); }
.home details.more > summary, .home details.legal > summary { padding: 18px 22px; background: var(--card); border: 1px solid var(--linel); border-radius: 18px; }
.home details.more[open] > summary, .home details.legal[open] > summary { border-radius: 18px 18px 0 0; }
.home details.more > :not(summary), .home details.legal > :not(summary) { background: #181C55; padding-inline: 22px; color: #D4D7F5; }
.home details.more > :last-child, .home details.legal > :last-child { padding-bottom: 22px; border-radius: 0 0 18px 18px; }
.home details.more h3, .home details.legal h3 { font-size: 1.25rem; margin: 18px 0 8px; color: #fff; }
.home .home-text p, .home details.more p, .home details.legal p { margin: 0 0 12px; }
.home table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.home th, .home td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.home .label ul { list-style: none; margin: 8px 0 0; padding: 0; }
.home .label li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.home .label li span:last-child { font-family: var(--mono); font-size: 13px; color: var(--coral); white-space: nowrap; }
.home a.inline, .home details a, .home .support a { color: var(--coral); text-decoration: underline; }

/* faq (light) */
.home .faq .in { max-width: 780px; }
.home .faq h2 { font-size: 2.75rem; }
.home .faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; margin-top: 12px; }
.home .faq details > summary { padding: 20px 0; font-size: 1.25rem; }
.home .faq details > :not(summary) { color: var(--muted); }
.home .faq details p { margin: 0 0 18px; }
.home .faq details ul { color: var(--muted); }
.home .faq a { color: #3D46A0; text-decoration: underline; }

/* support (dark) */
.home .support .in { max-width: 780px; }
.home .support h3 { font-size: 1.3rem; margin: 26px 0 8px; }
.home .support p { color: var(--mutedd); }
.home .support details.legal { margin-top: 22px; }

/* footer */
.home footer { background: var(--night); padding: 44px 0 56px; border-top: 1px solid rgba(255,255,255,.1); }
.home footer .wrap { width: min(100% - 40px, 1180px); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; font-size: 15px; color: #9EA3D6; }
.home footer .links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.home footer .links a { color: var(--mutedd); }
.home footer .macpip { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }   /* the MacPip badge: very bottom right of the footer */
.home footer .macpip a, .home footer .macpip picture { display: block; line-height: 0; }   /* both badges are plain boxes, so they centre against each other */
.home footer .macpip img { display: block; height: 58px; width: auto; }
.home footer .macpip .macproof img { height: 56px; width: 220px; max-width: 100%; }   /* the MacProof badge, at its own 220 x 56 */
@media (max-width: 760px) { .home footer .macpip { justify-content: center; } }

@media (max-width: 760px) {
  .home .band { padding: 64px 0; }
  .home .hero { padding-bottom: 64px; }
  .home .heroTxt { margin-top: 44px; gap: 20px; }
  .home .pill .links { display: none; }
  .home .ctas .btn, .home details.clip { width: 100%; }
  .home details.clip > summary { display: flex; justify-content: center; }
  .home .stage { margin-top: 40px; border-radius: 24px; padding: 8px; }
  .home .bar, .home .bubbleRow { grid-template-columns: minmax(0,1fr) 96px minmax(0,1fr); padding: 0 12px; }
  .home .bar { height: 34px; }
  .home .notch { height: 24px; border-radius: 0 0 12px 12px; }
  .home .bar .right img { width: 52px; margin-top: 26px; }
  .home .bar .menus span:nth-child(n+2), .home .bar .right svg { display: none; }
  .home .bubbleRow > div:last-child { padding-top: 58px; }
  .home .say { font-size: 11.5px; padding: 7px 11px; }
  .home .docWrap { padding: 22px 18px 0; }
  .home .doc { padding: 12px 18px 24px; }
  .home .doc h3, .home .doc li:nth-child(2) { display: none; }
  .home .doc ul { font-size: 13px; gap: 8px; }
  .home .quote { padding: 28px 24px; }
  .home .habit { padding: 24px 22px; }
  .home .manners .in { gap: 30px; }
  .home .pricecard { padding: 28px 22px; }
  .home .pricecard .btn { width: 100%; }
  .home .gcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; gap: 14px; padding: 4px 20px 18px; margin-inline: -20px; }
  .home .gcard { flex: 0 0 78%; scroll-snap-align: start; min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .home * { transition: none !important; scroll-behavior: auto !important; } }

/* compact hero: text on the left, the 8-second clip playing on the right, all in the first screen */
.home .hero { padding: 22px 0 56px; }
.home .heroGrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; margin-top: 36px; }
.home .heroTxt { max-width: none; margin: 0; padding: 0; text-align: left; align-items: flex-start; gap: 20px; }
.home .hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); }
.home .hero .sub { font-size: 1.18rem; max-width: 34rem; }
.home .ctas { justify-content: flex-start; }
.home .heroVid { position: relative; display: flex; justify-content: center; }
.home .heroVid::before { content: ""; position: absolute; inset: 8% 10%; background: radial-gradient(closest-side, rgba(157,144,255,.45), rgba(255,148,112,.18) 60%, transparent 72%); filter: blur(18px); z-index: 0; }
.home .heroVid video { position: relative; z-index: 1; display: block; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #000; border: 1px solid var(--linel); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
@media (max-width: 860px) {
  .home .heroGrid { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .home .heroTxt { align-items: center; text-align: center; gap: 16px; }
  .home .ctas { justify-content: center; }
  .home .hero .sub { font-size: 1.05rem; }
  .home .heroVid video { max-width: 230px; }
}

/* the live demo: the real app on a Mac. Pick a friend and a moment (site.js plays the recordings). */
.home .heroGrid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; }
.home .demo { min-width: 0; }
.home .screen { position: relative; margin: 0; width: 100%; border-radius: 20px 20px 0 0; background: #0d0e11; padding: 12px 12px 0; border: 1px solid var(--linel); border-bottom: 0; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.home .screen .stack { position: relative; aspect-ratio: 2 / 1; border-radius: 8px 8px 0 0; overflow: hidden; background: #1a1e4a; transition: height .45s cubic-bezier(.4, 0, .2, 1); }
.home .screen .stack video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: 0; transition: opacity .18s ease; }
.home .screen .stack video.show { opacity: 1; }
.home .screen .stack video.tour { object-fit: contain; background: #12153a; }
.home .tri { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; margin-right: 8px; transform: translateY(-1px); }
.home .tour-pill { position: absolute; left: 22px; right: auto; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; background: var(--coral); color: #14163A; border: 0; border-radius: 999px; padding: 10px 16px 10px 14px; font: 700 14px/1 var(--sans); cursor: pointer; box-shadow: 0 0 0 4px rgba(255,148,112,.28), 0 8px 22px rgba(0,0,0,.4); }
.home .tour-pill:hover { filter: brightness(1.08); }
@media (prefers-reduced-motion: no-preference) { .home .tour-pill { animation: tourGlow 2.6s ease-in-out infinite; } }
@keyframes tourGlow { 0%, 100% { box-shadow: 0 0 0 4px rgba(255,148,112,.28), 0 8px 22px rgba(0,0,0,.4); } 50% { box-shadow: 0 0 0 9px rgba(255,148,112,.10), 0 8px 22px rgba(0,0,0,.4); } }
.is-touring .tour-pill { opacity: 0; pointer-events: none; }
.home .chapters { display: flex; gap: 6px; margin: 14px 0 0; align-items: flex-end; }
.home .chapters[hidden] { display: none; }
.home .chapters button { flex: 1 1 0; min-width: 0; background: none; border: 0; padding: 4px 0 0; cursor: pointer; text-align: left; font: 600 12.5px/1.2 var(--sans); color: var(--mutedd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .chapters button.now { color: #fff; }
.home .chapters .bar { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; margin-bottom: 7px; }
.home .chapters .bar i { display: block; height: 100%; width: 0; background: var(--coral); }
.home .chapters .tour-close, .home .chapters .tour-sound { flex: 0 0 auto; font-size: 15px; padding: 0 2px 2px 10px; color: #fff; }
.is-touring .who, .is-touring .stage-caption, .is-touring .try { visibility: hidden; }
.home .who { display: flex; justify-content: center; margin: 14px auto 0; width: max-content; max-width: 100%; padding: 4px; gap: 4px; background: rgba(255,255,255,.08); border: 1px solid var(--linel); border-radius: 999px; }
.home .who button { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); background: none; border: 0; color: var(--mutedd); cursor: pointer; padding: 7px 14px 7px 8px; border-radius: 999px; }
.home .who button img { height: 26px; width: auto; }
.home .who button[aria-pressed="true"] { color: #fff; background: rgba(255,255,255,.16); }
.home .stage-caption { text-align: center; color: var(--mutedd); font: 14px/1.4 var(--sans); margin: 12px 0 0; }
.home .try { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 0; }
.home .key { font: 600 14px/1 var(--sans); color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--linel); border-bottom-width: 3px; border-radius: 10px; padding: 10px 14px 9px; cursor: pointer; }
.home .key:hover { transform: translateY(-1px); }
.home .key[aria-pressed="true"] { border-color: var(--coral); color: var(--coral); }
@media (max-width: 860px) {
  .home .heroGrid { grid-template-columns: minmax(0, 1fr); }
  .home .who button { padding: 7px 10px 7px 6px; font-size: 14px; gap: 6px; }
  .home .who button img { height: 22px; }
  .home .tour-pill { left: 14px; right: auto; bottom: 8px; }
}

/* the tour plays inside the same frame, so nothing moves: the chapter bar sits where the buttons were (they are hidden meanwhile) */
.home .demo { position: relative; }
.home .chapters { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; z-index: 2; }
