/* Shared look for every test page. Each page sets --accent in its <head>.
   Rules (AGENTS.md "Design"): one typeface (Geist; Geist Mono only for figures), weights up to
   semibold, flat backgrounds, borders all the way around, sizes on Tailwind's scale, one easing. */
:root {
  --accent-soft: color-mix(in srgb, var(--accent) 8%, white);
  --ink: #141414;
  --paper: #fbfbf9;
  --rule: #e7e5e0;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}
body.page { font-family: Geist, ui-sans-serif, system-ui, sans-serif; background: var(--paper); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p, li, summary, figcaption { text-wrap: pretty; }
.num { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.acc { color: var(--accent); }
.soft { background: var(--accent-soft); }

.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, black); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 8px 12px; font-size: 14px; line-height: 20px; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #313131; }
a:focus-visible, button:focus-visible, summary:focus-visible, .field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.signup { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .signup { flex-direction: row; } }
.field { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 8px; border: 1px solid #d6d3cd; background: #fff; font-size: 16px; line-height: 24px; color: var(--ink);
  transition: border-color .3s var(--ease); }
.field:hover { border-color: #b9b5ad; }
.field::placeholder { color: #8f8a80; }

.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: #5f5b54; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* the hero sample: an honest example of the deliverable, styled like a document */
.sample { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.sample table { width: 100%; margin-top: 16px; font-size: 14px; line-height: 20px; }
.sample th { padding-bottom: 8px; text-align: left; font-size: 12px; line-height: 16px; font-weight: 500; color: #8f8a80; }
.sample td { padding: 8px 0; border-top: 1px solid #f0eee9; }
.sample-total { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 12px 16px; border-radius: 4px; background: var(--accent-soft); }
.tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .04em; color: #8f8a80; border: 1px solid var(--rule); border-radius: 4px; padding: 2px 8px; }

.band { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.get .num, .step .num { font-size: 14px; line-height: 20px; color: var(--accent); }
.get p { margin-top: 8px; color: #3d3a35; }
.price { display: flex; flex-direction: column; gap: 24px; padding: 32px; border: 1px solid var(--rule); border-radius: 16px; background: #fff; }
@media (min-width: 640px) { .price { flex-direction: row; align-items: center; justify-content: space-between; } }
.note { padding: 24px; border: 1px solid var(--rule); border-radius: 12px; background: #f4f3ef; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; }

.faq details { border-top: 1px solid var(--rule); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; font-weight: 600;
  transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .chev { flex-shrink: 0; color: #8f8a80; transition: transform .5s var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--accent); }
.faq details > div { padding: 0 24px 16px; color: #5f5b54; }

.closer { padding: 48px 24px; border-radius: 16px; background: var(--accent); color: #fff; }
@media (min-width: 640px) { .closer { padding: 64px 48px; } }
.closer .field { border-color: transparent; }
.hl { background: var(--accent-soft); border-radius: 2px; padding: 0 2px; }
.check { display: inline-flex; flex-shrink: 0; color: var(--accent); }
.check svg { width: 16px; height: 16px; }
.price .num { margin-right: 8px; }
