/* The home page's hero in the blurple look (the "Product shot" preview, docs/landing-preview/site/hero/b.html): soft coloured light behind a centred headline, a small live bar of the two numbers, and a whole
   Discord window that plays a day of Sigil. Loaded after home.css, so where both style the same thing this one wins. Everything is under .rd and every class starts with hm-. */

/* the coloured light runs the full width of the screen, however narrow the page column is; nothing may make the page scroll sideways */
body:has(.rd.hm) { overflow-x: clip; }
.rd .hm-hero, .rd .hm-final { overflow: visible; }
.rd .hm-hero { padding: 18px 20px 40px; }
/* the NEW pill and the APP tag share one row */
.rd .hm-tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; }
.rd .hm-hero .hm-tags .rd-whatsnew { margin: 0; }

/* soft light behind everything: blurple above, a little pink and cyan at the sides */
.rd .hm-blobs { position: absolute; inset: 0; top: -160px; left: 50%; right: auto; width: 100vw; margin-left: -50vw; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0.9; }   /* (it reaches 160px above the hero, so the light has no hard edge under the bar; the lights below are pushed down by the same 160px) */
.rd .hm-blobs i { position: absolute; display: block; margin-top: 160px; border-radius: 50%; will-change: transform; animation: hm-float 16s ease-in-out infinite alternate; }   /* (no blur filter: an animated blur is the heaviest thing a page can ask a GPU for, and the lights already fade out softly) */
.rd .hm-blobs .b1 { width: 880px; height: 560px; left: 50%; top: -230px; margin-left: -440px; background: radial-gradient(closest-side, rgba(88, 101, 242, 0.62), rgba(88, 101, 242, 0.3) 42%, rgba(88, 101, 242, 0.08) 72%, transparent); }
.rd .hm-blobs .b2 { width: 520px; height: 420px; left: -150px; top: 380px; background: radial-gradient(closest-side, rgba(236, 72, 153, 0.22), rgba(236, 72, 153, 0.1) 42%, rgba(236, 72, 153, 0.025) 72%, transparent); animation-delay: -5s; }
.rd .hm-blobs .b3 { width: 520px; height: 420px; right: -130px; top: 320px; background: radial-gradient(closest-side, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.08) 42%, rgba(34, 211, 238, 0.02) 72%, transparent); animation-delay: -9s; }
@keyframes hm-float { to { transform: translate(40px, 30px) scale(1.1); } }

/* the small tag above the headline */

.rd .hm-hero h1 { margin-top: 20px; max-width: 12.5em; font: 700 clamp(34px, min(5vw, 8.4vh), 70px)/1.04 var(--font-head); letter-spacing: -0.035em; }
.rd .hm-hero h1 em { font-style: normal; background: linear-gradient(90deg, #8ea0ff, #d0b8ff 52%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rd .hm-lede { max-width: 42em; margin-top: 16px; font-size: clamp(15px, 1.4vw, 18.5px); line-height: 1.6; }
.rd .hm-hero .hm-cta { margin-top: 18px; }

/* the buttons: a white pill, and a glass one */
.rd :is(.hm-hero, .hm-final) .hm-btn.big { height: 52px; padding: 0 28px; border-radius: 99px; font-size: 16px; }
.rd :is(.hm-hero, .hm-final) .hm-btn.primary { color: #0b0c24; background: #fff; border-color: transparent; box-shadow: 0 14px 40px -12px rgba(160, 170, 255, 0.7); }
.rd :is(.hm-hero, .hm-final) .hm-btn.primary:hover { color: #0b0c24; background: #fff; box-shadow: 0 18px 46px -10px rgba(160, 170, 255, 0.9); filter: none; }
.rd :is(.hm-hero, .hm-final) .hm-btn.primary::before { content: none; }
.rd :is(.hm-hero, .hm-final) .hm-btn.primary::after { content: "\2192"; position: static; inset: auto; z-index: auto; background: none; transform: none; transition: transform 0.2s; }
.rd :is(.hm-hero, .hm-final) .hm-btn.primary:hover::after { transform: translateX(4px); }
.rd :is(.hm-hero, .hm-final) .hm-btn:not(.primary) { background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(180, 188, 255, 0.3); }
.rd :is(.hm-hero, .hm-final) .hm-btn:not(.primary):hover { border-color: rgba(180, 188, 255, 0.6); background: rgba(255, 255, 255, 0.11); }

/* the two numbers: a small glass bar under the buttons, with digits that roll when a number changes */
.rd .hm-stats { position: relative; z-index: 2; width: fit-content; max-width: 94vw; margin: 26px auto 0; padding: 13px 8px 9px; border-radius: 16px; background: linear-gradient(180deg, rgba(88, 101, 242, 0.16), rgba(20, 22, 52, 0.55)); border: 1px solid rgba(142, 160, 255, 0.32); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(88, 101, 242, 0.85); }
.rd .hm-stats-in { display: flex; align-items: center; max-width: none; margin: 0; }
.rd .hm-stats-in > div { padding: 0 26px; border-left: 1px solid rgba(160, 170, 255, 0.25); text-align: center; }
.rd .hm-stats-in > div:first-child { border-left: 0; }
.rd .hm-stats b { display: block; font: 700 clamp(22px, 2.3vw, 30px)/1 var(--font-head); letter-spacing: -0.02em; color: #fff; filter: drop-shadow(0 0 14px rgba(142, 160, 255, 0.5)); }
.rd .hm-stats-in > div > span { display: block; margin-top: 4px; font: 600 10.5px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: #aab2f5; }
/* the rolling digits sit in spans inside the number; home.css styles every span in the bar as a small label, so they take the number's own type back */
.rd .hm-stats b span { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.rd .hm-live { position: absolute; left: 0; right: 0; top: -11px; display: flex; justify-content: center; }
.rd .hm-live .lv { display: inline-flex; align-items: center; gap: 8px; padding: 2px 11px; border-radius: 99px; background: #0b0c26; border: 1px solid rgba(142, 160, 255, 0.3); font: 700 10.5px var(--font-mono); letter-spacing: 0.1em; color: #7ef0b3; }
.rd .hm-live i { position: relative; display: block; width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; }
.rd .hm-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ecf8e; animation: hm-ping 2s ease-out infinite; }
@keyframes hm-ping { from { opacity: 0.9; transform: scale(0.5); } to { opacity: 0; transform: scale(1.8); } }

/* the odometer: each digit is a little roll of 0 to 9 */
.rd .hm-od { display: inline-flex; height: 1em; line-height: 1; overflow: hidden; vertical-align: bottom; font-variant-numeric: tabular-nums; }
.rd .hm-od .dg { display: inline-block; width: 0.64em; height: 1em; overflow: hidden; text-align: center; transition: color 0.9s; }
.rd .hm-od .dg .strip { display: flex; flex-direction: column; transition: transform 1s cubic-bezier(0.2, 0.9, 0.2, 1); }
.rd .hm-od .dg i { display: block; height: 1em; line-height: 1em; font-style: normal; }
.rd .hm-od .dg.tick { color: #c9d1ff; transition: none; }
.rd .hm-od .cma { display: inline-block; width: 0.3em; text-align: center; }
.rd .hm-stats .hm-od-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rd .hm-plus { position: fixed; z-index: 60; font: 700 14px var(--font-body); color: #7ef0b3; pointer-events: none; animation: hm-rise 1.4s ease-out forwards; }
@keyframes hm-rise { from { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; } to { opacity: 0; transform: translateY(-22px); } }

/* ---------- the Discord window ---------- */
.rd .hm-shotwrap { position: relative; width: min(1120px, 100%); margin: 34px auto 0; perspective: 2000px; }
.rd .hm-shot { transform: rotateX(15deg) scale(0.97); transform-origin: 50% 0; -webkit-mask-image: linear-gradient(#000 64%, transparent 99%); mask-image: linear-gradient(#000 64%, transparent 99%); }
.rd .hm-shot .dcw { display: grid; grid-template-columns: 68px 224px minmax(0, 1fr) 224px; height: 500px; text-align: left; background: #313338; border-radius: 16px 16px 0 0; border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; box-shadow: 0 -30px 120px -30px rgba(88, 101, 242, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.4); font-family: var(--font-body); }
.rd .hm-shot .rail { background: #1e1f22; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 12px 0; }
.rd .hm-shot .rail i { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #313338; color: #dbdee1; font: 700 15px var(--font-body); font-style: normal; }
.rd .hm-shot .rail i.me { background: #5865f2; border-radius: 15px; color: #fff; }
.rd .hm-shot .rail i.me svg { width: 26px; height: 26px; }
.rd .hm-shot .rail i.me::before { content: ""; position: absolute; left: -11px; top: 13px; width: 4px; height: 20px; border-radius: 0 4px 4px 0; background: #fff; }
.rd .hm-shot .rail hr { width: 28px; border: 0; border-top: 2px solid #35363c; margin: 2px 0; }
.rd .hm-shot .chans { background: #2b2d31; display: flex; flex-direction: column; min-width: 0; }
.rd .hm-shot .chans h5 { margin: 0; padding: 0 16px; height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1f2024; font: 700 15px var(--font-body); color: #f2f3f5; }
.rd .hm-shot .chans .grp { padding: 16px 8px 0 16px; color: #949ba4; font: 700 11.5px var(--font-body); letter-spacing: 0.03em; text-transform: uppercase; }
.rd .hm-shot .chans .c { margin: 2px 8px; padding: 6px 8px; border-radius: 5px; color: #949ba4; font-size: 15px; display: flex; gap: 7px; align-items: center; }
.rd .hm-shot .chans .c::before { content: "#"; font-size: 19px; color: #80848e; }
.rd .hm-shot .chans .c.v::before { content: "\266A"; font-size: 15px; }
.rd .hm-shot .chans .c.on { background: #404249; color: #fff; }
.rd .hm-shot .chat { display: flex; flex-direction: column; min-width: 0; background: #313338; }
.rd .hm-shot .chat-h { display: flex; align-items: center; gap: 9px; padding: 0 16px; height: 48px; border-bottom: 1px solid #26272b; font: 700 15px var(--font-body); color: #f2f3f5; }
.rd .hm-shot .chat-h .h { color: #80848e; font-size: 22px; font-weight: 400; margin-top: -2px; }
.rd .hm-shot .chat-h .tp { margin-left: 6px; padding-left: 12px; border-left: 1px solid #43454b; color: #80848e; font-weight: 400; font-size: 13.5px; }
.rd .hm-shot .msgs { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 14px 16px 8px; }
.rd .hm-shot .msg { display: flex; gap: 13px; animation: hm-shot-rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes hm-shot-rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.rd .hm-shot .av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 15px var(--font-body); }
.rd .hm-shot .av.bot { background: #111218; border: 1px solid #34363c; color: #fff; }
.rd .hm-shot .av.bot svg { width: 23px; height: 23px; }
.rd .hm-shot .who { font-weight: 600; font-size: 15.5px; color: #f2f3f5; }
.rd .hm-shot .tag { background: #5865f2; color: #fff; font: 700 10px var(--font-body); padding: 1px 5px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.rd .hm-shot .time { color: #949ba4; font-size: 12px; margin-left: 8px; }
.rd .hm-shot .txt { color: #dbdee1; font-size: 15.5px; line-height: 1.4; }
.rd .hm-shot .used { display: flex; align-items: center; gap: 7px; color: #949ba4; font-size: 13px; margin: 0 0 -8px 53px; animation: hm-shot-rise 0.4s both; }
.rd .hm-shot .used i { display: block; width: 14px; height: 9px; border-left: 2px solid #4e5058; border-top: 2px solid #4e5058; border-radius: 5px 0 0 0; margin-right: 2px; }
.rd .hm-shot .used b { color: #fff; font-weight: 600; }
.rd .hm-shot .slash { color: #00a8fc; background: rgba(0, 168, 252, 0.12); border-radius: 4px; padding: 0 3px; font-weight: 500; }
.rd .hm-shot .dots { display: inline-flex; gap: 4px; padding: 7px 0; }
.rd .hm-shot .dots i { width: 7px; height: 7px; border-radius: 50%; background: #80848e; animation: hm-shot-blink 1s infinite; }
.rd .hm-shot .dots i:nth-child(2) { animation-delay: 0.15s; }
.rd .hm-shot .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hm-shot-blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; transform: translateY(-3px); } }
.rd .hm-shot .composer { position: relative; margin: 0 16px 16px; background: #383a40; border-radius: 9px; padding: 0 14px; min-height: 46px; display: flex; align-items: center; gap: 12px; color: #949ba4; font-size: 15.5px; }
.rd .hm-shot .composer .plus { width: 24px; height: 24px; border-radius: 50%; background: #b5bac1; color: #383a40; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.rd .hm-shot .typed { color: #00a8fc; white-space: pre; }
.rd .hm-shot .caret { display: inline-block; width: 1.5px; height: 19px; background: #fff; margin-left: 1px; vertical-align: middle; animation: hm-shot-caret 1s steps(1) infinite; }
@keyframes hm-shot-caret { 50% { opacity: 0; } }
.rd .hm-shot .sm { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); background: #2b2d31; border-radius: 9px; padding: 8px; box-shadow: 0 14px 40px -12px #000, 0 0 0 1px #1f2024; display: none; z-index: 5; }
.rd .hm-shot .sm h6 { margin: 0; padding: 4px 8px 7px; color: #949ba4; font: 700 11.5px var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; }
.rd .hm-shot .sm div { display: flex; align-items: center; gap: 11px; padding: 7px 8px; border-radius: 6px; font-size: 14.5px; }
.rd .hm-shot .sm div.on { background: #404249; }
.rd .hm-shot .sm b { color: #f2f3f5; font-weight: 600; }
.rd .hm-shot .sm span { color: #949ba4; font-size: 13.5px; }
.rd .hm-shot .sm em { margin-left: auto; color: #949ba4; font-style: normal; font-size: 12.5px; }
.rd .hm-shot .sm u { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #111218; flex: none; color: #fff; }
.rd .hm-shot .sm u svg { width: 16px; height: 16px; }
.rd .hm-shot .mem { background: #2b2d31; padding: 18px 8px; overflow: hidden; }
.rd .hm-shot .mem h6 { margin: 14px 8px 6px; color: #949ba4; font: 700 11.5px var(--font-body); letter-spacing: 0.03em; text-transform: uppercase; }
.rd .hm-shot .mem h6:first-child { margin-top: 0; }
.rd .hm-shot .mem .m { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 5px; font-size: 15px; font-weight: 500; color: #dbdee1; }
.rd .hm-shot .mem .m i { position: relative; width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 12.5px var(--font-body); font-style: normal; color: #fff; }
.rd .hm-shot .mem .m i::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: #3ecf8e; border: 3px solid #2b2d31; }
.rd .hm-shot .mem .m.off { opacity: 0.45; }
.rd .hm-shot .mem .m.off i::after { background: #80848e; }
.rd .hm-shot .mem .m small { display: block; font-weight: 400; color: #949ba4; font-size: 12px; line-height: 1.2; }
.rd .hm-shot .mem svg { width: 18px; height: 18px; }
.rd .hm-shot .embed { margin-top: 6px; max-width: 460px; background: #2b2d31; border-left: 4px solid #5865f2; border-radius: 5px 8px 8px 5px; padding: 11px 14px 13px; animation: hm-shot-pop 0.5s cubic-bezier(0.2, 1.3, 0.3, 1) both; }
@keyframes hm-shot-pop { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: none; } }
.rd .hm-shot .embed h4 { margin: 0 0 4px; font: 600 15px var(--font-body); color: #f2f3f5; }
.rd .hm-shot .embed p { margin: 0; color: #dbdee1; font-size: 14.5px; line-height: 1.4; }
.rd .hm-shot .lvl { margin-top: 8px; border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; max-width: 440px; position: relative; overflow: hidden; background: radial-gradient(120% 150% at 0% 0%, #313a8f 0%, transparent 55%), radial-gradient(90% 130% at 100% 100%, #5865f2 0%, transparent 62%), linear-gradient(135deg, #23253a, #15162a); animation: hm-shot-pop 0.6s cubic-bezier(0.2, 1.4, 0.3, 1) both; }
.rd .hm-shot .lvl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.2) 50%, transparent 65%); transform: translateX(-120%); animation: hm-shot-sheen 1.4s 0.5s ease-out forwards; }
@keyframes hm-shot-sheen { to { transform: translateX(120%); } }
.rd .hm-shot .lvl .ring { width: 58px; height: 58px; border-radius: 50%; padding: 4px; flex: none; background: conic-gradient(#8ea0ff, #d0b8ff, #67e8f9, #8ea0ff); animation: hm-shot-spin 4s linear infinite; }
.rd .hm-shot .lvl .ring i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 4px solid #17182c; background: linear-gradient(135deg, #8ea0ff, #5865f2); }
@keyframes hm-shot-spin { to { transform: rotate(360deg); } }
.rd .hm-shot .lvl small { color: rgba(255, 255, 255, 0.75); letter-spacing: 0.1em; font-size: 11px; display: block; }
.rd .hm-shot .lvl strong { display: block; font: 700 20px var(--font-head); color: #fff; }
.rd .hm-shot .xpbar { height: 6px; background: rgba(0, 0, 0, 0.35); border-radius: 9px; margin-top: 7px; width: 210px; max-width: 100%; overflow: hidden; }
.rd .hm-shot .xpbar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 9px; transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rd .hm-shot .grid9 { display: grid; grid-template-columns: repeat(9, 34px); gap: 5px; margin-top: 6px; }
.rd .hm-shot .grid9 i { height: 38px; border-radius: 7px; display: grid; place-items: center; font: 700 16px var(--font-head); font-style: normal; background: #3a3d44; color: #fff; transform: rotateX(90deg); animation: hm-shot-flip 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards; }
.rd .hm-shot .grid9 i.g { background: #2f9e6a; }
.rd .hm-shot .grid9 i.y { background: #c79a1d; }
@keyframes hm-shot-flip { to { transform: none; } }
.rd .hm-shot .btns { display: flex; gap: 8px; margin-top: 8px; }
.rd .hm-shot .dbtn { font: 600 13.5px var(--font-body); padding: 7px 16px; border-radius: 5px; background: #4e5058; color: #fff; }
.rd .hm-shot .dbtn.pri { background: #5865f2; }
.rd .hm-shot .rolepill { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--font-body); padding: 3px 10px 3px 8px; border-radius: 6px; background: #2b2d31; border: 1px solid #3f4147; color: #dbdee1; margin-top: 6px; animation: hm-shot-pop 0.4s both; }
.rd .hm-shot .rolepill i { width: 11px; height: 11px; border-radius: 50%; background: #3ecf8e; }

@media (max-width: 1100px) {
  .rd .hm-shot .dcw { grid-template-columns: 68px 200px minmax(0, 1fr); }
  .rd .hm-shot .mem { display: none; }
}
@media (max-width: 820px) {
  .rd .hm-shot .dcw { grid-template-columns: 52px minmax(0, 1fr); height: 500px; }
  .rd .hm-shot .chans { display: none; }
  .rd .hm-shot .rail i { width: 38px; height: 38px; }
  .rd .hm-shot .chat-h .tp { display: none; }
  .rd .hm-shot { transform: rotateX(11deg) scale(0.98); }
  .rd .hm-shot .grid9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .rd .hm-shot .grid9 i { height: 30px; font-size: 13px; }
}
@media (max-width: 560px) {
  .rd .hm-hero { padding-top: 28px; }
  .rd .hm-hero .hm-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .rd .hm-hero .hm-cta .hm-btn { justify-content: center; padding: 0 18px; }
  .rd .hm-stats-in > div { padding: 0 14px; }
  .rd .hm-stats b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd .hm-blobs i, .rd .hm-live i::after, .rd .hm-shot .lvl .ring, .rd .hm-shot .lvl::after, .rd .hm-shot .caret { animation: none; }
  .rd .hm-od .dg .strip { transition: none; }
  .rd .hm-shot { transform: none; }
}

/* ---------- the same as the first preview (docs/landing-preview/site/hero/b.html): the big headline, the vivid light, the same lede ---------- */
.rd .hm-hero h1 { margin-top: 24px; max-width: 12.5em; font: 700 clamp(40px, 6.2vw, 86px)/1.03 var(--font-head); letter-spacing: -0.035em; text-wrap: balance; }
@media (min-width: 1000px) { .rd .hm-hero h1 { max-width: 12.5em; text-wrap: balance; } }
.rd .hm-lede { max-width: 34em; margin-top: 22px; color: #b9bdf0; font-size: clamp(16px, 1.5vw, 19.5px); line-height: 1.6; }
.rd .hm-blobs .b1 { background: radial-gradient(closest-side, rgba(88, 101, 242, 0.75), transparent); }
.rd .hm-blobs .b2 { background: radial-gradient(closest-side, rgba(236, 72, 153, 0.28), transparent); }
.rd .hm-blobs .b3 { background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent); }
/* the buttons, then the live bar below them; room to breathe, as in the first preview */
.rd .hm-hero { padding: 28px 20px 48px; }
.rd .hm-hero .hm-copy { max-width: 1240px; }
.rd .hm-actions { display: flex; flex-direction: column; align-items: center; gap: 26px; margin-top: 30px; }
.rd .hm-actions .hm-cta { margin: 0; }
.rd .hm-actions .hm-stats { margin: 0; }
.rd .hm-shotwrap { margin-top: 34px; }

/* the three ways in, under the window: big glass cards with a line drawing, a title and a short line, each one a link to the page of its own; they rise over the faded foot of the window */
.rd .hm-hero .hm-paths { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 1080px; margin: -64px auto 0; }
.rd .hm-hero .hm-path { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(20, 22, 52, 0.94); border: 1px solid rgba(160, 170, 255, 0.2); box-shadow: 0 24px 60px -30px rgba(0, 0, 10, 0.9); text-align: left; text-decoration: none; transition: transform 0.22s, background 0.22s, border-color 0.22s, box-shadow 0.22s; }
.rd .hm-hero .hm-path:hover, .rd .hm-hero .hm-path:focus-visible { transform: translateY(-3px); background: rgba(40, 46, 110, 0.7); border-color: rgba(160, 175, 255, 0.5); box-shadow: 0 18px 44px -26px rgba(120, 135, 255, 0.9); outline: none; }
.rd .hm-hero .hm-path .gl { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(145deg, rgba(120, 135, 255, 0.32), rgba(88, 101, 242, 0.12)); border: 1px solid rgba(160, 175, 255, 0.3); color: #cfd6ff; transition: color 0.2s, border-color 0.2s; }
.rd .hm-hero .hm-path .gl svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.rd .hm-hero .hm-path:hover .gl { color: #fff; border-color: rgba(190, 200, 255, 0.6); }
.rd .hm-hero .hm-path .t { min-width: 0; }
.rd .hm-hero .hm-path b { display: block; font: 700 17px/1.25 var(--font-head); color: #fff; }
.rd .hm-hero .hm-path small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: #a3abe8; }
@media (min-width: 1200px) { .rd .hm-hero .hm-path b { white-space: nowrap; } }
@media (max-width: 860px) {
  .rd .hm-hero .hm-paths { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 460px; margin-top: -40px; }
}

/* glass chips that float around the window, as in the first preview */
.rd .hm-fl { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 13px; background: rgba(30, 32, 70, 0.94); border: 1px solid rgba(160, 170, 255, 0.3); font: 600 13.5px var(--font-body); color: #e6e8ff; box-shadow: 0 18px 40px -16px #000; animation: hm-bob 7s ease-in-out infinite; text-align: left; white-space: nowrap; }
.rd .hm-fl b { font-family: var(--font-mono); color: #9fb0ff; font-weight: 700; }
.rd .hm-fl1 { left: -14px; top: 70px; }
.rd .hm-fl2 { right: -16px; top: 120px; animation-delay: -2.4s; }
.rd .hm-fl3 { left: 3%; top: 330px; animation-delay: -4.6s; }
@keyframes hm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 1100px) { .rd .hm-fl { display: none; } }
@media (prefers-reduced-motion: reduce) { .rd .hm-fl { animation: none; } }

/* the Discord mark on the main button: Discord's blurple on the white pill */
.rd .hm-hero .hm-btn.primary .hm-dc { flex: none; width: 22px; height: 22px; margin-right: 2px; fill: #5865f2; }

/* phones and small tablets: a flat window (no tilt) with a shorter fade, the three cards under it without overlapping it and a little smaller, and lighter light behind it all (the blobs stand still and blur less) */
@media (max-width: 860px) {
  .rd .hm-shotwrap { margin-top: 26px; }
  .rd .hm-shot { transform: none; -webkit-mask-image: linear-gradient(#000 84%, transparent 100%); mask-image: linear-gradient(#000 84%, transparent 100%); }
  .rd .hm-shot .dcw { height: 440px; }
  .rd .hm-hero .hm-paths { margin-top: 14px; gap: 10px; }
  .rd .hm-hero .hm-path { gap: 12px; padding: 14px 16px; background: rgba(20, 22, 52, 0.9); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .rd .hm-hero .hm-path .gl { width: 42px; height: 42px; border-radius: 12px; }
  .rd .hm-hero .hm-path b { font-size: 16px; }
  .rd .hm-hero .hm-path small { font-size: 13.5px; }
  .rd .hm-blobs i { animation: none; will-change: auto; }
  .rd .hm-blobs .b1 { width: 620px; height: 400px; margin-left: -310px; }
}
@media (max-width: 560px) {
  .rd .hm-stats-in > div { padding: 0 11px; }
  .rd .hm-stats b { font-size: 22px; }
  .rd .hm-stats span { font-size: 10.5px; letter-spacing: 0.05em; white-space: nowrap; }
}

/* the Discord window is scrolled out of sight (home-hero.js): everything in it stands still until it is back, so nothing keeps repainting a layer nobody can see */
.rd .hm-shot.hm-off, .rd .hm-shot.hm-off * , .rd .hm-shot.hm-off *::after { animation-play-state: paused !important; }
/* the tilted window is moved by the graphics card on its own layer, not repainted on every scroll */
@media (min-width: 861px) { .rd .hm-shot { will-change: transform; } }
