/* Where to use an app: web app, Mac, iPhone and iPad. Markup is written by scripts/gen-app-status.py; don't edit it
   in the pages. Colours come from each page's own tokens (Showcase, Recipes and YoMamma all define --ink, --muted,
   --line and --paper), so it follows the page into dark mode where the page has one. */
.app-status-row,.app-status{
  --as-ink:var(--ink,#253b34);
  --as-muted:var(--muted,#59695e);
  --as-line:var(--line,#c2cbbb);
  --as-paper:var(--paper,#f6f4ec);
  --as-card:var(--card,var(--surface,#fffdf7));
  --as-accent:var(--accent,var(--coral-ink,var(--sage-ink,currentColor)));
}
.app-status-icon{flex:none;width:22px;height:22px;fill:none;stroke:var(--as-accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* The row under the hero call to action. inline-flex, so it lines up the way the hero's text does (centred or left). */
.app-status-row{display:inline-flex;flex-wrap:wrap;gap:10px;max-width:100%;margin:22px 0 0;padding:0;list-style:none;text-align:left}
.app-status-row li{margin:0;min-width:0}
.app-status-item{display:flex;align-items:center;gap:10px;min-height:52px;height:100%;padding:8px 16px 8px 12px;border:1px solid var(--as-line);
  border-radius:16px;background:color-mix(in srgb,var(--as-card) 75%,transparent);color:var(--as-ink);text-decoration:none;line-height:1.3}
.app-status-item>span{display:flex;flex-direction:column;min-width:0}
.app-status-item b{font-size:15px;font-weight:700}
.app-status-item small{font-size:13px;color:var(--as-muted);overflow-wrap:anywhere}
.app-status-item:hover b{text-decoration:underline;text-underline-offset:3px}
/* The web app is the one you can use right now: filled, like a primary button. */
/* (Outlined instead when the hero's own button already opens the web app, so there is one primary.) */
.app-status-item.is-web{border-width:2px;border-color:var(--as-ink)}
.app-status-item.is-primary{background:var(--as-ink);color:var(--as-paper)}
.app-status-item.is-primary small{color:color-mix(in srgb,var(--as-paper) 82%,var(--as-ink))}
.app-status-item.is-primary .app-status-icon{stroke:currentColor}
/* Not available yet: said in words, and drawn with a dashed border. */
.app-status-item.is-soon{border-style:dashed;background:transparent}
.app-status-item:focus-visible{outline:3px solid var(--as-accent);outline-offset:4px}

/* The card above the download widget: why iPhone and iPad wait, and what works today. */
.app-status{display:flex;gap:16px;max-width:740px;margin:0 auto 28px;padding:24px 26px;text-align:left;color:var(--as-ink);
  background:var(--as-card);border:1px solid var(--as-line);border-left:4px solid var(--as-accent);border-radius:18px;scroll-margin-top:96px}
.app-status .app-status-icon{width:28px;height:28px;margin-top:2px}
.app-status-body{min-width:0;overflow-wrap:anywhere}
.app-status .app-status-body p{max-width:none;margin:0 0 10px;font-size:16px;line-height:1.6;color:var(--as-ink)}
.app-status .app-status-body p.app-status-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:6px;
  font-size:13px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--as-muted)}
.app-status-tag{display:inline-block;padding:3px 10px;border:1.5px solid currentColor;border-radius:999px;color:var(--as-ink);letter-spacing:1px}
.app-status h3{margin:0 0 10px;font:800 clamp(20px,2.4vw,24px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.4px;color:var(--as-ink)}
.app-status a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--as-accent);text-decoration-thickness:2px}
.app-status .app-status-body p.app-status-note{margin:0;font-size:14px;color:var(--as-muted)}
@media (max-width:600px){
  .app-status{flex-direction:column;gap:10px;padding:20px 18px}
  .app-status-row{display:flex;flex-direction:column;width:100%}
}
