/* Product imagery is shared between the studio and app pages.
   Capture provenance and refresh instructions: /assets/apps/README.md. */
.home-page .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.home-page .section-heading > p {
  color: var(--muted);
  font-size: 13px;
}
.home-page .released-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-page .app-card {
  border-radius: 20px;
  background: linear-gradient(160deg, #111722, #0b1017);
  box-shadow: 0 14px 40px #00000018;
}
.home-page .app-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  aspect-ratio: 1.65;
  padding: 28px 22px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.home-page .app-art img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
  box-shadow: 0 16px 35px #0006, 0 0 0 1px #ffffff18;
  transition: transform .4s var(--ease);
}
.home-page .delve-art {
  background: radial-gradient(ellipse at 25% 15%, #31576a, transparent 75%), #14242c;
}
.home-page .warden-art {
  background: radial-gradient(ellipse at 75% 15%, #3c6958, transparent 75%), #142a24;
}
.home-page .warden { border-color: #77ceb633; }
.home-page .warden .app-info { background: linear-gradient(145deg, #14221e88, transparent); }
.home-page .afterglow-art {
  background: radial-gradient(ellipse at 50% 25%, #b77c53, transparent 75%), #382920;
}
.home-page .fovea-art {
  background: radial-gradient(ellipse at 50% 10%, #615343, transparent 75%), #29231d;
}
.home-page .synthscape-art {
  background: radial-gradient(ellipse at 65% 0%, #20434f, transparent 75%), #0c1b25;
}
.home-page .finite-art {
  float: none;
  width: auto;
  margin: 0;
  background: radial-gradient(ellipse at 50% 15%, #4d3d64, transparent 80%), #1c2430;
}
.home-page .finite-art img {
  width: auto;
  height: 100%;
  max-width: 100%;
  border-radius: 16px;
}
.home-page .app-info { padding: 25px 28px 26px; }
.home-page .app-info > .platform { margin: 0 0 9px; font-size: 11px; }
.home-page .app-title h3 { font-size: 29px; }
.home-page .app-info > p:not(.platform) { margin: 12px 0 24px; max-width: 420px; }
.home-page .product-cta { padding-top: 17px; border-top: 1px solid var(--line); }
.home-page .product-cta > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 17px;
}
.home-page .beta-label {
  border: 1px solid #77ceb633;
  color: #9bd8c8;
  border-radius: 100px;
  padding: 3px 8px;
}
.home-page .browser-apps, .home-page .upcoming { padding-top: 48px; }
.home-page .stillhere-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px dashed #ffffff24;
  border-radius: 16px;
}
.home-page .stillhere-note h3 { font: 700 22px/1.4 var(--display); margin: 5px 0; }
.home-page .stillhere-note p:not(.platform) { color: var(--muted); font-size: 14px; }
.home-page .stillhere-note .text-link { flex-shrink: 0; }
.home-page .product-link:hover .app-art img { transform: translateY(-3px); }

/* App page captures keep their full native proportions. */
.product-capture { margin: 0; min-width: 0; }
.product-capture > a { display: block; border-radius: 14px; }
.product-capture img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ffffff20;
  border-radius: 14px;
  box-shadow: 0 24px 70px #0004;
}
.product-capture figcaption {
  margin-top: 16px;
  padding-inline: 8px;
  font: 400 12px/1.7 system-ui, sans-serif;
  color: #929aa4;
  text-align: center;
}
.product-capture figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.product-capture > a:focus-visible { outline: 2px solid #a78ff2; outline-offset: 5px; }
body.delve-page .delve-capture { width: min(1180px, calc(100% - 48px)); margin: 50px auto 24px; }
body.delve-page .delve-capture figcaption { color: #6e6e73; }
.illustrative-demo { width: min(1180px, calc(100% - 48px)); margin: 0 auto 40px; }
.illustrative-demo > summary {
  width: fit-content;
  margin: auto;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  color: #6e6e73;
}
.illustrative-demo > summary span { margin-left: 10px; }
.illustrative-demo[open] .hero-figure { margin-top: 28px; padding: 0; }
.hero-command.warden-capture { align-self: center; transform: none; }
.hero-visual.synthscape-capture { max-width: 1000px; margin-inline: auto; }
.hero-visual.finite-capture { max-width: 280px; margin-inline: auto; }
.finite-capture img { border-radius: 28px; }
.fovea-capture { width: min(1050px, calc(100% - 48px)); margin: 0 auto 70px; }
.fovea-capture img { border-color: #66544355; }
.fovea-capture figcaption { color: #8c8274; }
@media (max-width: 700px) {
  .home-page .released-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-page .app-art { padding: 24px 20px; }
  .home-page .app-title { flex-direction: row; }
  .home-page .app-info { padding: 23px; }
  .home-page .app-title h3 { font-size: 27px; }
  .home-page .browser-apps, .home-page .upcoming { padding-top: 36px; }
  .home-page .stillhere-note { align-items: flex-start; flex-direction: column; padding: 23px; gap: 16px; }
  .product-capture figcaption { font-size: 11px; }
  body.delve-page .delve-capture { margin-top: 32px; width: calc(100% - 24px); }
  .hero-visual.finite-capture { max-width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .product-link:hover .app-art img { transform: none; }
}
.home-page .finite-art { gap: 22px; }
.home-page .finite-art img:first-child { transform: translateY(6px); }
.home-page .finite-art img:last-child { transform: translateY(-6px); }
.illustration-caption { color: #929aa4; font: 400 12px/1.7 system-ui, sans-serif; margin: 16px 0; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .home-page .finite-art img { transform: none; }
}

/* Secondary apps stay compact so the two flagship products lead the page. */
.home-page .browser-apps { padding-top: 24px; }
.home-page .upcoming { padding-top: 34px; }
.home-page .small-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.home-page .small-app {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0b1016;
  transition: border-color .2s, background .2s;
}
.home-page .small-app:hover, .home-page .small-app:focus-visible {
  background: #101620;
  border-color: #a78ff244;
}
.home-page .small-app-mark {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 13px;
}
.home-page .small-app-mark img { width: 48px; height: 48px; object-fit: contain; }
.home-page .afterglow-mark img { transition: filter .35s, transform .35s; }
.home-page .afterglow:hover .afterglow-mark img {
  filter: drop-shadow(0 0 9px #ffaa6655);
  transform: rotate(10deg);
}
.home-page .fovea-mark { background: #201d19; color: #e4d9c5; font: 32px/1 Georgia, serif; display: flex; justify-content: center; }
.home-page .fovea-mark > span { color: #d3675b; transition: text-shadow .35s; }
.home-page .fovea:hover .fovea-mark > span { text-shadow: 0 0 14px #d3675b88; }
.home-page .finite-mark { background: #242019; color: #f0b459; }
.home-page .finite-mark svg { width: 40px; height: 40px; }
.home-page .small-app-copy { display: grid; gap: 3px; min-width: 0; }
.home-page .small-app-name { font: 700 20px/1.4 var(--display); }
.home-page .small-app-description { color: var(--muted); font-size: 13px; line-height: 1.6; }
.home-page .small-app-arrow { margin-left: auto; color: var(--muted); }
.home-page .stillhere-note { padding: 20px 22px; margin-top: 16px; }
@media (max-width: 700px) {
  .home-page .small-apps { grid-template-columns: 1fr; gap: 12px; }
  .home-page .small-app { padding: 18px; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .afterglow:hover .afterglow-mark img { transform: none; }
}
/* Crop the tall profile to its overview on the card; the app page links to the complete capture. */
.home-page .warden-art img { height: 100%; object-fit: cover; object-position: top; }
