/* ==========================================================================
   Myriad Self — home page (index.html only). Classes `hm-`.
   Real screenshots of each app, lots of room between sections, the same
   tokens as styles.css. Voice and Notch rows carry their own gold accent,
   Calendar keeps the site's violet, as on their own pages.
   ========================================================================== */

.hm-page .section { padding: 168px 0; }
.hm-page .section-head { margin-bottom: 96px; }
.hm-page .section-head h2 { margin-bottom: 24px; }
.hm-page .lead { line-height: 1.65; }
.hm-page section[id] { scroll-margin-top: 110px; }

.hm-hero { padding-bottom: 40px; }
.hm-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.hm-hero .lead { max-width: 680px; }
.hm-hero .hero-trust { margin-top: 34px; }

/* ---- The apps ------------------------------------------------------------ */
.hm-apps { display: grid; gap: 160px; }
.hm-app { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.hm-app.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hm-app.rev .hm-app-copy { order: 2; }

.hm-app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.hm-app-head img { width: 64px; height: 64px; border-radius: 22.5%; flex: none; box-shadow: 0 14px 30px -14px rgba(0,0,0,0.8); }
.hm-app-head b { display: block; font-size: 1.3rem; letter-spacing: -0.02em; }
.hm-app-head small { display: block; color: var(--ink-dim); font-size: 0.88rem; margin-top: 2px; }

.hm-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.hm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hm-status.live { color: #34d39a; border-color: rgba(52,211,154,0.32); }
.hm-status.soon { color: var(--violet); }

.hm-app h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 20px; }
.hm-app-copy > p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.65; }

.hm-facts { list-style: none; padding: 0; display: grid; gap: 14px; margin: 30px 0 0; }
.hm-facts li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink-dim); font-size: 0.98rem; line-height: 1.6; }
.hm-facts .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--violet); stroke-width: 2.1; }
.hm-facts b { color: var(--ink); font-weight: 600; }

.hm-meta { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink-dim); }
.hm-meta b { color: var(--ink); font-weight: 600; }
.hm-app .hero-cta { justify-content: flex-start; margin-top: 30px; }
.hm-app .btn-lg { padding: 14px 26px; font-size: 0.98rem; }

.hm-shot { margin: 0; position: relative; }
.hm-shot::before { content: ""; position: absolute; inset: 8% 6% 4%; z-index: -1; border-radius: 50%; background: var(--grad-iris); filter: blur(90px); opacity: 0.18; }
.hm-shot-img { border-radius: 14px; overflow: hidden; background: #120e24;
  box-shadow: 0 50px 120px -50px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.09); }
.hm-shot-img img { display: block; width: 100%; height: auto; }
.hm-shot figcaption { margin-top: 16px; text-align: center; font-size: 0.8rem; color: var(--ink-faint); }

/* Voice and Notch: their own gold, as on their pages */
.hm-gold { --violet: #d8b066; --grad-iris: linear-gradient(120deg, #f7e3b0, #e6c47f 50%, #d8b066); }
.hm-gold .hm-shot-img { background: #0d0d10; }
.hm-gold .btn-primary { background: linear-gradient(120deg, #e6c47f, #c99a52); box-shadow: 0 12px 34px -10px rgba(216,176,102,0.5); border-color: rgba(216,176,102,0.35); }

/* ---- How we build them ------------------------------------------------- */
.hm-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1020px; margin: 0 auto; }
.hm-rule { padding: 34px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); }
.hm-rule .ic { width: 26px; height: 26px; color: var(--violet); margin-bottom: 18px; }
.hm-rule b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.hm-rule p { color: var(--ink-dim); font-size: 0.97rem; line-height: 1.65; }

/* ---- Who makes them ---------------------------------------------------- */
.hm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; max-width: 1080px; margin: 0 auto; }
.hm-about h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.hm-about-body p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; }
.hm-about-body p + p { margin-top: 18px; }
.hm-about-facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: var(--ink-dim); font-size: 0.92rem; }
.hm-about-facts b { color: var(--ink); font-weight: 600; }

/* ---- Contact ----------------------------------------------------------- */
.hm-contact .hero-cta { margin-top: 40px; }
.hm-contact .lead { max-width: 640px; margin: 0 auto; }
.hm-contact .muted { margin-top: 26px; font-size: 0.9rem; }

@media (max-width: 1080px) {
  .hm-page .section { padding: 136px 0; }
  .hm-app, .hm-about { gap: 56px; }
}
@media (max-width: 900px) {
  .hm-app, .hm-app.rev, .hm-about { grid-template-columns: 1fr; }
  .hm-app.rev .hm-app-copy { order: 0; }
  .hm-apps { gap: 120px; }
  .hm-rules { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hm-page .section { padding: 104px 0; }
  .hm-page .section-head { margin-bottom: 56px; }
  .hm-apps { gap: 96px; }
  .hm-app { gap: 40px; }
  .hm-app-head img { width: 52px; height: 52px; }
  .hm-rule { padding: 26px 22px; }
  .hm-shot-img { border-radius: 9px; }
  .hm-app .hero-cta .btn { width: 100%; justify-content: center; }
}
