/* The About page. It shares guide.css for type, header and footer, and adds
 * the things a story page needs that an article does not: a split hero, a
 * tinted band, two panels, and a trust note that sits at the end instead of
 * becoming the point of the page.
 */

.about main{max-width:1120px;padding-top:0}

/* ---- Hero ---------------------------------------------------------- */

.hero{
  display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px;
  padding:56px 0 66px;
}
.hero h1{margin:14px 0 22px;font-size:clamp(40px,5.2vw,62px)}
.hero .lede{font-size:21px;line-height:1.55;max-width:34em;margin:0 0 30px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 26px;border-radius:100px;
  font:650 16px/1 system-ui,sans-serif;text-decoration:none;
}
.btn-primary{background:var(--rust);color:#fff;border:1px solid var(--rust)}
.btn-primary:hover{background:#9d3a1b;color:#fff}
.btn-secondary{background:#fffdfa;color:var(--ink);border:1px solid var(--line)}
.btn-secondary:hover{background:#fff;color:var(--ink)}

/* The cart illustration already has the mascot in it, so the mouse is the
   accent the brief asked for without a second one pasted on top. */
.hero-art{position:relative;margin:0}
/* A transparent illustration, so it gets a shadow rather than a frame. */
.hero-art>img{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 34px rgba(79,53,32,.16))}

/* Prose stops at a readable measure and starts at the same left edge as every
   other heading; the hero and the panels keep the full width. */
.about main>section:not(.hero):not(.panels) :is(h2,p,ul){max-width:760px}
.trust{max-width:860px}

/* ---- A tinted band for the story beat ------------------------------- */

.band{background:#f3e7db;margin:0 -28px;padding:56px 28px}
.band-inner{max-width:760px;margin:0}
.band h2{margin-top:0}
.band p{max-width:58ch}
.band .aside{font-style:italic;color:#6d5b4c}

/* ---- Shopper and seller, side by side -------------------------------- */

.panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:52px 0}
.panel{background:#fffdfa;border:1px solid var(--line);border-radius:22px;padding:30px 30px 34px}
.panel h3{font-family:Georgia,serif;font-size:26px;letter-spacing:-.02em;margin:16px 0 14px}
.panel p{margin:0 0 14px}
.panel p:last-child{margin-bottom:0}
.panel .mark{width:52px;height:52px;display:block}

/* ---- What people make, as Cartily's own drawings --------------------- */

.kinds{display:flex;flex-wrap:wrap;gap:14px;margin:26px 0 0;padding:0;list-style:none}
.kinds li{
  display:inline-flex;align-items:center;gap:9px;
  background:#fffdfa;border:1px solid var(--line);border-radius:100px;
  padding:8px 16px 8px 9px;font-size:15px;
}
.kinds img{width:30px;height:30px;display:block}

/* Short, task-focused answers under the brand story. */
.answer-section{border-top:1px solid var(--line);padding-top:38px;margin-top:48px}
.answer-section h2{margin-top:0}
.answer-section p{max-width:68ch}
.answer-steps{max-width:760px;margin:22px 0;padding-left:24px}
.answer-steps li{padding-left:5px;margin:0 0 14px;line-height:1.65}
.answer-steps strong{color:var(--ink)}
.answer-shot{display:flex;align-items:center;gap:28px;max-width:760px;margin:28px 0 0;padding:18px;background:#fffdfa;border:1px solid var(--line);border-radius:18px}
.answer-shot>a{display:block;flex:0 0 220px}
.answer-shot img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:12px}
.answer-shot figcaption{font-size:16px;line-height:1.55;color:var(--ink)}

/* ---- Closing ---------------------------------------------------------- */

.closing{border-top:1px solid var(--line);margin-top:56px;padding-top:44px}
.closing .hero-actions{margin-top:26px}

/* The caveats keep their facts and lose the spotlight. */
.trust{
  background:#fffdfa;border:1px solid var(--line);border-radius:18px;
  padding:26px 28px;margin:52px 0 0;font-size:16px;
}
.trust h2{font-family:inherit;font-size:17px;letter-spacing:.01em;margin:0 0 12px}
.trust p{margin:0 0 12px;max-width:72ch}
.trust p:last-child{margin-bottom:0}

@media(max-width:860px){
  .hero{grid-template-columns:1fr;gap:34px;padding:34px 0 40px}
  .hero-art{max-width:460px}
  .panels{grid-template-columns:1fr;gap:18px;margin:38px 0}
  .band{margin:0 -22px;padding:42px 22px}
}
@media(max-width:600px){
  .hero{padding:24px 0 32px}
  .hero .lede{font-size:18px;margin-bottom:24px}
  .hero-actions .btn{width:100%}
  .panel{padding:24px}
  .trust{padding:22px}
  .answer-section{margin-top:36px;padding-top:30px}
  .answer-shot{display:block;padding:16px}
  .answer-shot>a{max-width:270px;margin:auto}
  .answer-shot figcaption{margin-top:16px}
}
