/* Spinefy landing: the app's bound-volume world over the kit (see ../Spinefy/DESIGN.md). */

/* cloth: header, footer and the cloth swatches carry the weave */
.cloth { background-image: var(--sp-weave); }
.nav.cloth { border-bottom: 0; box-shadow: 0 1px 0 rgb(0 0 0 / .18), 0 2px 8px rgb(0 0 0 / .08); }
.nav.cloth .nav__menu { background-color: var(--p-inv-bg); background-image: var(--sp-weave); }
.nav__logo { font-weight: 800; letter-spacing: -0.02em; }

/* the A4D glyph on its tile */
.brand-tile { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); flex: none; box-shadow: inset 0 -1px 0 rgb(0 0 0 / .18); }
.brand-tile::after { content: ""; width: 21px; height: 21px; background: var(--bg);
  -webkit-mask: url("/brand/glyph.svg") center / contain no-repeat; mask: url("/brand/glyph.svg") center / contain no-repeat; }
.footer .brand-tile { width: 40px; height: 40px; border-radius: 11px; }
.footer .brand-tile::after { width: 28px; height: 28px; }

/* headings in the app's face */
h1, h2, h3 { text-wrap: balance; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.is-stamp { color: var(--sp-stamp); }
::selection { background: rgba(var(--sp-stamp-rgb), .22); }

/* calls to action */
.store { display: grid; gap: var(--s-3); }
.store__row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.store__play { gap: 10px; }
.store__play svg { width: 18px; height: 18px; fill: currentColor; }
.store__ios { margin: 0; color: var(--muted); font-size: 14px; }
.closing .store { justify-items: start; }
.closing .store__ios { color: var(--muted); }

/* buttons: the cloth weave on the primary */
.btn--primary { background-image: var(--sp-weave); }

/* the lit ground under feature panels: a pale cloth tint instead of the kit's sand */
:root { --ground-bg: #d9d5e1; --ground-surface: #ecebf1; --ground-ink: #1d2230; --ground-muted: #4a5160; --ground-accent: #8a74c4; }
