/* About page CSS (the 404 page uses it too) */

/* hero: the three products stacked on the lit ground, the mascot on top */
.ab-art { position: relative; display: grid; place-items: center; border-radius: var(--r-lg); background: #e9e3d8; overflow: hidden; padding: var(--s-8) var(--s-6) var(--s-6); }
.ab-stack { position: relative; display: grid; gap: var(--s-3); width: min(100%, 420px); }
.ab-tile { display: grid; gap: 6px; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(42 39 36 / .1), 0 20px 40px -24px rgb(0 0 0 / .35); }
.ab-tile img { height: 40px; width: auto; }
.ab-tile span { color: #6a6764; font-size: 14px; }
.ab-tile--text b { font: 700 26px/1.2 var(--font-display); letter-spacing: -0.02em; color: #2a2724; }
.ab-tile:nth-child(3) { margin-left: 24px; }
.ab-tile:nth-child(4) { margin-left: 48px; }
.ab-mascot { position: absolute; right: 18px; top: -62px; width: 60px; }
@media (max-width: 1023px) { .ab-art { min-height: 360px; } }
@media (max-width: 639px) { .ab-art { min-height: 0; padding: var(--s-7) var(--s-4) var(--s-4); } .ab-tile { padding: 12px 14px; } .ab-tile img { height: 30px; } .ab-tile span { display: none; } .ab-tile:nth-child(n) { margin-left: 0; } .ab-mascot { width: 44px; top: -46px; } }

/* the three products */
.ab-products { align-items: stretch; }
.ab-card { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink); text-decoration: none; }
.ab-card__logo { display: grid; place-items: center; height: 160px; margin: calc(-1 * var(--s-6)) calc(-1 * var(--s-6)) var(--s-3); border-radius: var(--r-lg) var(--r-lg) 0 0; background: #e9e3d8; }
.ab-card__logo img { width: 72px; height: 72px; }
.ab-card__logo--text b { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: #2a2724; color: #f5f3ef; font: 700 26px/1 var(--font-display); }
.ab-card h3 { margin: 0; font-size: var(--t-lead); font-weight: 600; }
.ab-card p { margin: 0; }
.ab-card .link { justify-self: start; }
@media (max-width: 1023px) { .ab-products > .ab-card { grid-column: 1 / -1; } .ab-card__logo { height: 120px; } }

/* the shared icon grid */
.one-feats { list-style: none; margin: 0; padding: 0; row-gap: var(--s-6); }
.one-feats li { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.one-feats .ic { width: 28px; height: 28px; }
.one-feats .one-feat__t { margin: var(--s-3) 0 var(--s-2); font-size: var(--t-lead); font-weight: 600; }
.one-feats p { margin: 0; }
@media (max-width: 1023px) { .one-feats li { grid-column: span 6; } }
@media (max-width: 639px) {
  .one-feats li { grid-column: 1 / -1; display: grid; grid-template-columns: 28px 1fr; column-gap: var(--s-3); padding-top: var(--s-3); }
  .one-feats { row-gap: var(--s-4); }
  .one-feats .ic { grid-row: 1 / span 2; }
  .one-feats .one-feat__t { margin: 0 0 var(--s-1); font-size: 17px; }
  .one-feats p { grid-column: 2; }
}

/* 404 */
.nf-hero .hero-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; }
.nf-mascot { width: 96px; margin-bottom: var(--s-5); }
.nf-mascot svg { animation: nf-look 3.2s ease-in-out infinite; }
@keyframes nf-look { 0%, 30% { transform: none; } 40%, 60% { transform: rotate(-6deg); } 70%, 90% { transform: rotate(6deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .nf-mascot svg { animation: none; } }
.nf-code { margin: 0 0 var(--s-3); font: 600 var(--t-small)/1 var(--font-mono); color: #0d6e70; }
.nf-hero h1 { max-width: 16ch; }
.nf-hero .hero__lead { max-width: 46ch; margin-top: var(--s-4); }
.nf-links { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.nf-links .link { display: inline-flex; min-height: 44px; align-items: center; }

/* how we work: room to breathe, larger icons */
#how-we-work .one-feats { row-gap: var(--s-8); margin-top: var(--s-4); }
#how-we-work .one-feats .ic { width: 40px; height: 40px; }
@media (max-width: 639px) { #how-we-work .one-feats { row-gap: var(--s-5); } #how-we-work .one-feats .ic { width: 28px; height: 28px; } }
/* 404: the words left, the mascot large in its own column on the right */
.nf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; height: 100%; }
.nf__text { grid-column: 1 / span 7; }
.nf__art { grid-column: 8 / -1; display: grid; place-items: center; height: min(520px, 100%); border-radius: var(--r-lg); background: #e9e3d8; }
.nf-mascot { width: 180px; margin: 0; }
@media (max-width: 1023px) { .nf__text, .nf__art { grid-column: 1 / -1; } .nf__art { height: 260px; margin-top: var(--s-6); } .nf-mascot { width: 110px; } }
.nf-hero .hero-text.nf { display: grid; justify-content: stretch; align-items: center; }
.nf__text, .nf__art { grid-row: 1; }
.nf__art { order: 2; }
@media (max-width: 1023px) { .nf__text, .nf__art { grid-row: auto; } }

.one-feat__t { font-weight: 600; }
