/*
 * Site layer on top of the zonderslop kit (public/kit, copied from unslop-design-service kit d41b19a; do not edit those files).
 * Only what the kit does not cover: skip link, focus, sprite, lists, plans, form, alert. Colours come from the theme tokens.
 */
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:focus-visible { outline: 3px solid var(--zs-accent); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: .5rem; top: -4rem; padding: .6rem 1rem; background: var(--zs-ink); color: #fff; z-index: 10; }
.skip:focus { top: .5rem; color: #fff; }

a { color: var(--zs-accent); }
a:hover { color: var(--zs-accent-hover); }

.narrow > * { max-width: 44rem; }
.lead { font-size: 1.15rem; color: var(--zs-muted); max-width: 40rem; }
.note { font-size: .95rem; color: var(--zs-muted); max-width: 34rem; }
h1 + .lead { margin-top: 1rem; }
.zs-section h2 + .lead, .narrow h2 { margin-bottom: .6rem; }

.hero-cta { margin: 1.5rem 0 .6rem; }
.zs-calc-hero .note { margin: 0; }
.zs-method h2 { margin-bottom: .6em; }

/* Text blocks: plain columns with a rule, no cards. */
.list { display: grid; border-top: 2px solid var(--zs-ink); }
.item { padding: 1.25rem 0; border-bottom: 1px solid var(--zs-line); }
.item h3 { margin-bottom: .35rem; }
.item p { margin: 0; }
@media (min-width: 48rem) {
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }

}

/* Plans */
.plans { display: grid; gap: 1rem; margin: 0 0 1rem; }
.plan { background: var(--zs-surface); border: 2px solid var(--zs-ink); border-radius: var(--zs-radius); padding: 1.25rem; }
.plan h3 { font-size: 1.4rem; }
.price { margin: .5rem 0 0; }
.amount { font: 700 2.4rem/1 var(--zs-font-display); font-variant-numeric: tabular-nums; }
.alt { margin: .15rem 0 .9rem; color: var(--zs-muted); font-size: .9rem; }
.plan ul { margin: 0; padding-left: 1.1rem; }
.plan li { margin-bottom: .3rem; }
@media (min-width: 48rem) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.faq-title { margin-bottom: 1rem; }

/* Waitlist form */
.form { margin-top: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.form input[type="email"], .form input[type="text"], .form select {
  width: 100%; min-height: 2.9rem; padding: .6rem .7rem;
  border: 1px solid var(--zs-ink); border-radius: var(--zs-radius-sm);
  background: #fff; color: var(--zs-ink); font: inherit;
}
.form .note { margin-top: .9rem; }
[aria-invalid="true"] { border-color: var(--rc-expired) !important; border-width: 2px !important; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border: 2px solid var(--rc-expired); border-radius: var(--zs-radius); background: var(--zs-surface); }
.alert ul { margin: .5rem 0; padding-left: 1.2rem; }

.zs-footer p { margin: 0; }
.list-after { margin: 1rem 0 0; max-width: 44rem; }

/* Legal pages rendered from resources/legal/*.md */
.legal h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.legal h3 { font-size: 1.15rem; margin: 1.25rem 0 .4rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .3rem; }
