/* The chat's cards on the site's pages (tool/site/cards.dart): a help
   video, a help article, a blog post, the plans, the sign-up. The numbers
   are chat.css's, so a card reads the same in an answer as in the chat. */

.sc-card, .sc-plans, .sc-signup {
  --sc-fg: #18181B; --sc-fg2: #3F3F46; --sc-lead: #52525B; --sc-muted: #6B6B74;
  --sc-line: #ECEEF1; --sc-soft: #F1F2F4; --sc-soft2: #F7F7F8;
  --sc-graphite: #353535; --sc-yellow: #FFC42D;
  font-family: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 460px;
}
.sc-card {
  display: flex; gap: 12px; align-items: center; border: 1px solid var(--sc-line); border-radius: 14px;
  background: #FFFFFF; color: var(--sc-fg); text-decoration: none;
  transition: border-color .15s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
@media (hover: hover) { .sc-card:hover { border-color: #D4D5DA; color: var(--sc-fg); } }
.sc-card:active { transform: scale(.99); }
.sc-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 6px; }
.sc-kicker { font-size: 12px; line-height: 1.4; color: var(--sc-muted); display: flex; align-items: center; gap: 6px; }
.sc-title { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--sc-fg); }
.sc-arrow { color: #A1A1AA; padding-right: 6px; transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
@media (hover: hover) { .sc-card:hover .sc-arrow, .sc-compare:hover .sc-arrow { transform: translateX(3px); } }

/* A help video: its still, the play button, how long it is. */
.sc-video { padding: 6px; }
.sc-thumb {
  position: relative; width: 112px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; flex: none;
  display: grid; place-items: center; background: color-mix(in srgb, var(--sc-c, #FFC42D) 18%, #FFFFFF);
}
.sc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-play { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .25); }
.sc-play svg { width: 12px; height: 12px; margin-left: 2px; fill: #18181B; }
.sc-dur { position: absolute; right: 5px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(24, 24, 27, .78); color: #FAFAFA; font-size: 11px; font-weight: 500; }

/* A help article. */
.sc-article { padding: 10px 12px; }
.sc-doc { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--sc-c, #71717A) 18%, #FFFFFF); }
.sc-doc svg { width: 16px; height: 16px; fill: none; stroke: #3F3F46; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* A blog post. */
.sc-post { flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 14px; }
.sc-post .sc-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-yellow); }

/* The help's topics, as the chat colours them. */
.sc-t-start { --sc-c: #FFC42D; } .sc-t-calendar { --sc-c: #5B7A99; } .sc-t-ideas { --sc-c: #8A6D3B; }
.sc-t-review { --sc-c: #4F9A68; } .sc-t-team { --sc-c: #B05A7A; } .sc-t-account { --sc-c: #71717A; }

/* The plans: one row each, and a way to all of them. */
.sc-plans { border: 1px solid var(--sc-line); border-radius: 14px; background: #FFFFFF; overflow: hidden; color: var(--sc-fg); }
.sc-plan { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--sc-soft); }
.sc-plan.is-featured { background: #FFFBEF; }
.sc-plan-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sc-badge { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: var(--sc-yellow); color: var(--sc-graphite); }
.sc-badge.is-quiet { background: var(--sc-soft); color: var(--sc-lead); }
.sc-plan-desc { font-size: 12.5px; color: var(--sc-muted); }
.sc-price { text-align: right; display: flex; flex-direction: column; flex: none; }
.sc-amount { font: 800 20px/1 "Baloo 2", sans-serif; color: var(--sc-graphite); padding-top: 3px; font-variant-numeric: tabular-nums; }
.sc-unit { font-size: 11.5px; color: var(--sc-muted); max-width: 110px; }
.sc-compare { display: flex; justify-content: space-between; padding: 11px 14px; font-size: 13.5px; font-weight: 500; color: var(--sc-fg2); text-decoration: none; }
@media (hover: hover) { .sc-compare:hover { background: var(--sc-soft2); color: var(--sc-fg2); } }

/* The sign-up. */
.sc-signup { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.sc-yellow {
  height: 42px; padding: 0 18px; border-radius: 999px; background: var(--sc-yellow); color: var(--sc-graphite);
  font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.sc-yellow .sc-arrow { color: inherit; padding: 0; }
@media (hover: hover) { .sc-yellow:hover { background: #FFCD4D; color: var(--sc-graphite); } }
.sc-small { font-size: 12.5px; color: var(--sc-muted); }

/* Between paragraphs: room above and below, as a figure. */
.sc-block { margin: 14px 0; }
