/* Components: listing cards, product hero, how-it-works, feature cards, call to action. */

/* LISTING PAGES (/apps/, /extensions/) */
.page-head { padding:72px 0 36px; }
.page-head h1 { font-size:clamp(2.8rem,9vw,5.5rem); line-height:1; letter-spacing:-.04em; font-weight:900; }
.page-head p { color:var(--mute); font-size:1.15rem; margin-top:14px; max-width:34rem; }
@media (max-width:760px) { .page-head { padding:48px 0 28px; } }
.apps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding-bottom:80px; }
.app-card { display:flex; flex-direction:column; min-height:280px; border:1px solid #000; border-radius:22px; padding:26px; text-decoration:none; color:#000; background:#fff; transition:transform .2s, box-shadow .2s; }
a.app-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.12); }
.app-card .ico { width:72px; height:72px; border-radius:18px; display:block; }
.app-card h3 { font-size:1.35rem; margin:20px 0 6px; letter-spacing:-.01em; }
.app-card p { color:var(--mute); font-size:.97rem; line-height:1.55; }
.app-card .label { margin-top:14px; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }
.app-card .more { margin-top:auto; padding-top:18px; font-weight:600; }
.app-card.soon { border:1px dashed #c9c9c9; background:#fafafa; color:#9a9a9a; }
.app-card.soon .ico { background:#ececec; }
.app-card.soon h3 { color:#9a9a9a; } .app-card.soon p { color:#b0b0b0; }
.ico-soon { display:flex; align-items:center; justify-content:center; color:#9a9a9a; }
.ico-soon svg { width:30px; height:30px; }
.tag { margin-top:auto; padding-top:18px; font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; color:#9a9a9a; }
@media (max-width:820px) { .apps-grid { grid-template-columns:1fr; } .app-card { min-height:0; } }

/* PRODUCT HERO (2 columns) */
.app-icon { width:112px; height:112px; border-radius:26px; margin:0 0 24px; display:block; }
.hero2 { display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; padding:64px 22px 72px; }
.hero2 h1 { font-size:clamp(2.2rem,7vw,4.4rem); line-height:1.05; letter-spacing:-.03em; font-weight:800; overflow-wrap:anywhere; }
.hero2 p { color:var(--mute); margin-top:16px; font-size:1.1rem; max-width:30rem; }
.hero2 .store-note { font-size:.9rem; margin-top:12px; }
.hero-shot img { width:100%; max-width:340px; height:auto; display:block; margin:0 auto; border-radius:30px; border:1px solid var(--line); box-shadow:0 20px 50px rgba(15,27,76,.12); }
.hero-shot.wide img { max-width:100%; border-radius:0; box-shadow:none; }
@media (min-width:761px) {
  .scrollshot-hero { align-items:start; row-gap:24px; }
  .scrollshot-hero .hero-text { display:contents; }
  .scrollshot-hero .app-icon { grid-column:1; grid-row:1; margin:0; }
  .scrollshot-hero .hero-summary { grid-column:1; grid-row:2; align-self:stretch; display:flex; flex-direction:column; justify-content:space-between; }
  .scrollshot-hero .hero-summary h1 { font-size:clamp(2.2rem,4vw,3.2rem); }
  .scrollshot-hero .hero-shot { grid-column:2; grid-row:2; align-self:stretch; }
  .scrollshot-hero .hero-shot img { height:100%; object-fit:contain; }
  .scrollshot-hero [data-store] { grid-column:1; grid-row:3; }
  .scrollshot-hero .play { margin-top:0; }
}
@media (max-width:760px) { .hero2 { grid-template-columns:1fr; text-align:center; gap:36px; padding:44px 22px 56px; } .hero2 .app-icon { margin:0 auto 24px; } .hero2 p { margin-left:auto; margin-right:auto; } }

/* HOW IT WORKS */
#how { padding:64px 0; }
.how { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.how img { width:100%; height:auto; display:block; border-radius:24px; border:1px solid var(--line); }
.how img.scrollshot-popup { max-width:360px; margin:0 auto; }
.steps { list-style:none; margin-top:22px; }
.steps li { display:flex; gap:16px; align-items:flex-start; margin:0 0 22px; }
.steps .n { flex:0 0 40px; height:40px; border-radius:50%; background:#000; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.steps b { display:block; font-size:1.1rem; } .steps span { color:var(--mute); }
@media (max-width:760px) { #how { padding:48px 0; } .how { grid-template-columns:1fr; gap:28px; } }

/* ABOUT + FEATURE CARDS */
.about { max-width:42rem; color:#222; } .about p + p { margin-top:14px; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-top:28px; }
.card { border:1px solid var(--line); border-radius:16px; padding:20px 22px; background:#fff; }
.card b { display:block; margin-bottom:6px; } .card span { color:var(--mute); font-size:.95rem; }
.card .ic { width:46px; height:46px; border-radius:12px; background:#000; color:#fff; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.card .ic svg { width:22px; height:22px; }
#about { background:var(--soft); }

/* CALL TO ACTION */
.cta { background:#000; color:#fff; text-align:center; } .cta h2 { color:#fff; }
.cta p { color:#cfcfcf; }
.cta .play { background:#fff; color:#000; border-color:#fff; margin-top:8px; } .cta .play:hover { background:#000; color:#fff; }
.cta .play.is-disabled:hover { background:#fff; color:#000; }
.cta .store-note { color:#cfcfcf; }
