/* AnyCard pages: the app's light pastel palette, one colour per screen, ink for actions. */
.ac {
  --ink: #111;
  --ink-2: rgba(17, 17, 17, .64);
  --paper: #fbf8f3;
  --card: rgba(255, 255, 255, .72);
  --library: #ffc2b8;
  --today: #fff36b;
  --review: #a7f0d8;
  --deck: #ffd9a8;
  --editor: #d8d2ff;
  --all-cards: #cdebff;
  color-scheme: light;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.ac * { box-sizing: border-box; }
.ac a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ac p, .ac ul, .ac ol, .ac dl { margin: 0 0 1em; }
.ac h1, .ac h2, .ac h3 {
  margin: 0 0 .5em;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.ac h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.ac h3 { font-size: 1.3rem; margin-top: 1.6em; }
.ac .wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.ac section { padding: 64px 0; }

.ac .hero { background: var(--library); padding: 56px 0 64px; }
.ac .hero .icon { width: 112px; height: 112px; border-radius: 22%; display: block; margin-bottom: 16px; box-shadow: 0 10px 30px rgba(17, 17, 17, .14); }
.ac .hero .name { font-weight: 700; color: var(--ink-2); margin-bottom: .4em; }
.ac .hero h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); margin-bottom: .35em; }
.ac .hero .lede { font-size: clamp(1.2rem, 3.6vw, 1.45rem); font-weight: 600; max-width: 30em; }
.ac .hero .audience { color: var(--ink-2); max-width: 34em; }

.ac .badge {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ac a.badge:hover, .ac a.badge:focus-visible { background: #333; }
.ac .badge.soon { background: rgba(17, 17, 17, .08); color: var(--ink); }

.ac .questions { list-style: none; padding: 0; display: grid; gap: 12px; }
.ac .questions li { background: #fff; border-radius: 20px; padding: 16px 20px; font-size: 1.05rem; }
.ac .questions li::before { content: "— "; color: var(--ink-2); }
.ac .familiar { font-weight: 700; }
.ac .why { padding-top: 0; }

.ac .product { background: var(--review); }
.ac .big { font-size: 1.2rem; }
.ac .steps { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.ac .steps li { counter-increment: step; background: var(--card); border-radius: 24px; padding: 20px 20px 20px 72px; position: relative; }
.ac .steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.ac .steps b, .ac .cards b { display: block; font-size: 1.1rem; margin-bottom: 2px; }

.ac .screens { padding-bottom: 32px; }
.ac .shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px max(16px, calc((100vw - 760px) / 2)) 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ac .shots figure { margin: 0; flex: none; width: 240px; scroll-snap-align: center; }
.ac .shots img { width: 240px; height: auto; border-radius: 28px; display: block; box-shadow: 0 6px 20px rgba(17, 17, 17, .12); }
.ac .shots figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 10px; }

.ac .features { padding-top: 32px; }
.ac .cards { list-style: none; padding: 0; display: grid; gap: 12px; }
.ac .cards li { background: var(--deck); border-radius: 24px; padding: 20px; }
.ac .cards li:nth-child(3n + 2) { background: var(--all-cards); }
.ac .cards li:nth-child(3n) { background: var(--editor); }
@media (min-width: 640px) { .ac .cards { grid-template-columns: 1fr 1fr; } }
.ac .chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ac .chips li { background: #fff; border: 1px solid rgba(17, 17, 17, .1); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.ac .compare { list-style: none; padding: 0; display: grid; gap: 12px; }
.ac .compare li { border-left: 4px solid var(--ink); padding-left: 14px; }
.ac .compare b { display: block; }

.ac .offer { background: var(--editor); }
/* Tailwind's reset removes list markers, so the summary gets its own. */
.ac .summary { list-style: "✓  "; padding-left: 1.6em; font-size: 1.1rem; }
.ac .summary li { margin-bottom: .3em; }
.ac .price { background: var(--card); border-radius: 24px; padding: 4px 24px 12px; margin: 32px 0 48px; }
.ac .note { color: var(--ink-2); font-size: .9rem; }

.ac .faq dt { font-weight: 700; margin-top: 1.2em; }
.ac .faq dd { margin: .2em 0 0; }
.ac .faq dl { margin-bottom: 2em; }

.ac .foot { border-top: 1px solid rgba(17, 17, 17, .1); padding: 24px 0 56px; font-size: .9rem; color: var(--ink-2); }
.ac .foot p { margin: 0 0 .5em; }
.ac .foot a { color: var(--ink-2); }
.ac .foot [aria-current] { color: var(--ink); font-weight: 700; }

.ac.page main { padding: 32px 16px 48px; }
.ac.page h1 { font-size: clamp(2rem, 7vw, 3rem); margin-top: .6em; }
.ac.page h2 { font-size: 1.3rem; margin-top: 1.6em; letter-spacing: 0; }
.ac .back { font-weight: 600; }
