/* Whozit: styles shared by /pricing, /terms and /faq. Tokens, fonts, nav, footer, buttons and .prose come from whozit.css. */

.page { padding-block: clamp(28px, 6vw, 72px) 0; }
.page h1 { font-size: clamp(2.25rem, 6.4vw, 4.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: .3em 0 .35em; max-width: 18ch; }
.page .lede { margin: 0 0 8px; }
.page h2 { font-weight: 800; }
.page-head { margin-bottom: clamp(28px, 5vw, 48px); }
.page-head .eyebrow { margin: 0; }

/* A line of plain text that stands apart from the page: paid plans not open, draft banner. */
.notice { border-left: 3px solid var(--blue); background: var(--chip); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 28px 0 0; max-width: 68ch; }
.notice p { margin: 0; }
.notice strong { font-weight: 600; }
.notice p + p { margin-top: 8px; }
.notice a { text-underline-offset: 3px; }
.notice.strong { border-left-width: 6px; border-color: var(--fg); background: var(--panel); margin: 0 0 24px; font-size: 1.0625rem; }

/* ---------- Pricing ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 48px); }
.plan h2, .plan h3 { margin: 0; }
.plan-name { font-size: 1.125rem; letter-spacing: -.01em; font-weight: 600 !important; }
.plan-name i { font-style: normal; color: var(--blue); }
.when { margin: 22px 0 0; font: .8125rem var(--mono); color: var(--muted); text-transform: lowercase; }
.when.later { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.free { margin: 6px 0 0; font-size: 1.0625rem; }
.free strong { font-weight: 600; }
.prices { margin: 10px 0 0; display: grid; gap: 14px; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.amt { font: 800 clamp(2.75rem, 7vw, 4rem)/1 var(--sans); letter-spacing: -.05em; }
.price.alt .amt { font-size: clamp(2rem, 5vw, 2.75rem); }
.per { color: var(--muted); font-size: 1rem; }
.save { margin: 10px 0 0; font: .875rem var(--mono); color: var(--muted); }
.hours { margin: 14px 0 0; font-size: 1.0625rem; }
.hours strong { font-weight: 600; }
.plan .ctas { margin-top: 16px; }
.plan-note { margin: 12px 0 0; font-size: .9375rem; color: var(--muted); }
.plan-incl h3 { font: .8125rem var(--mono); color: var(--muted); text-transform: lowercase; letter-spacing: 0; font-weight: 400; margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 6px; top: .35em; width: 7px; height: 13px; border: solid var(--fg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.limits { margin-top: clamp(36px, 6vw, 60px); max-width: 760px; }
.limits h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 14px; }
.limits dl { margin: 0; border-top: 1px solid var(--line); }
.limits dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.limits dt { font-weight: 600; }
.limits dd { margin: 0; }
@media (min-width: 640px) { .limits dl > div { grid-template-columns: 11rem minmax(0, 1fr); } }
.after { margin-top: clamp(40px, 7vw, 72px); max-width: 68ch; }
.after h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 18px; }

/* ---------- FAQ list (also the billing questions on /pricing) ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; min-height: 56px; font: 600 1.125rem/1.35 var(--sans); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--mono); color: var(--muted); }
.faq details[open] > summary::after { content: "\2212"; }
.faq summary:hover { color: var(--muted); }
.faq .a { padding: 0 0 22px; max-width: 64ch; }
.faq .a > :first-child { margin-top: 0; }
.faq .a > :last-child { margin-bottom: 0; }
.faq .a p, .faq .a ul { margin: 0 0 .8em; }
.faq .a ul { padding-left: 1.25em; }
.faq .a li { margin-bottom: .3em; }
.faq .a a { text-underline-offset: 3px; }
.faq-foot { margin-top: 36px; color: var(--muted); max-width: 64ch; }

/* ---------- Terms ---------- */
.draft { display: flex; gap: 12px 16px; align-items: baseline; flex-wrap: wrap; border: 2px solid var(--fg); border-radius: 14px; padding: 14px 18px; margin: 0 0 clamp(24px, 4vw, 36px); background: var(--chip); max-width: 68ch; }
.draft strong { font: 600 1.0625rem var(--sans); }
.draft span { font: .8125rem var(--mono); background: var(--fg); color: var(--bg); border-radius: 6px; padding: 2px 8px; text-transform: uppercase; }
.updated { font: .8125rem var(--mono); color: var(--muted); margin: 0 0 20px; }
.toc { margin: 0 0 8px; padding: 0; list-style: none; columns: 2 260px; column-gap: 32px; max-width: 68ch; font-size: .9375rem; }
.toc li { break-inside: avoid; padding: 3px 0; }
.toc a { text-underline-offset: 3px; }
.terms h2 { scroll-margin-top: 16px; }
.terms ul { padding-left: 1.25em; }
.terms li { margin-bottom: .4em; }
.terms a { text-underline-offset: 3px; }

@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }
