/* store.timbre.solutions/license/ — the Collaborative Voir Dire license
   page. The store's palette: logo-blue ground, cream type, paper sections. */
:root {
    --ink: #1F3A5F;
    --ink-deep: #172c48;
    --ink-soft: #44506a;
    --paper: #f7f4ee;
    --paper-deep: #efe9df;
    --cream: #f2ecdf;
    --sand: #d3b7a0;
    --burgundy-deep: #722F37;
    --line: rgba(242, 236, 223, 0.22);
    --rule: #d9d2c5;
    --serif: "Iowan Old Style", "Palatino", "Charter", Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 18px; }
body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sr-only:focus {
    position: static; width: auto; height: auto; margin: 8px; clip: auto;
    display: inline-block; padding: 8px 12px; background: var(--cream); color: var(--ink);
}

nav { border-bottom: 1px solid var(--line); }
nav .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding-top: 10px; padding-bottom: 10px;
}
.brand img { height: 64px; width: auto; display: block; }
.nav-link {
    text-decoration: none; font-weight: 600; white-space: nowrap;
    border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.nav-link:hover { border-color: var(--sand); }

.hero { padding: 48px 0 56px; }
.kicker {
    color: var(--sand); letter-spacing: 0.14em; text-transform: uppercase;
    font-size: 0.8rem; font-weight: 600;
}
h1 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.15; margin: 10px 0 16px;
}
.lead { font-size: 1.15rem; max-width: 40em; }
.notice {
    margin-top: 32px; padding: 24px; border: 1px solid var(--sand);
    border-radius: 12px; background: var(--ink-deep); max-width: 44em;
}
.notice h2 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; margin-bottom: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
    display: inline-block; text-decoration: none; font-weight: 600;
    border-radius: 999px; padding: 12px 22px; border: 1px solid var(--sand);
}
.btn-primary { background: var(--sand); color: var(--ink-deep); }
.btn-primary:hover { background: var(--cream); }
.btn-ghost:hover { background: rgba(242, 236, 223, 0.08); }

.paper { background: var(--paper); color: var(--ink-deep); padding: 44px 0; border-top: 1px solid var(--rule); }
.paper h2 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin-bottom: 18px;
}
.paper a { color: var(--burgundy-deep); }
.paper p + p { margin-top: 12px; }
.editions { display: grid; gap: 16px; }
@media (min-width: 720px) { .editions { grid-template-columns: 1fr 1fr; } }
.edition { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 20px; }
.edition h3 { font-family: var(--serif); font-size: 1.3rem; }
.term { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 8px; }
.aside { margin-top: 18px; max-width: 44em; }
.points { list-style: none; display: grid; gap: 12px; max-width: 44em; }
.points li { padding-left: 18px; border-left: 3px solid var(--sand); }

footer { padding: 32px 0 40px; font-size: 0.9rem; }
footer p + p { margin-top: 6px; }
footer, footer a { color: var(--cream); }

/* ---------- order, thank-you and renew pages ---------- */
.price { font-weight: 700; font-size: 1.15rem; margin: 2px 0 4px; }
.page-h {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; margin-bottom: 14px;
}
.paper h2 + p, .paper p + h2, .paper ul + h2 { margin-top: 0; }
.paper .points + h2 { margin-top: 28px; }
form { max-width: 34em; }
fieldset { border: 0; margin-bottom: 8px; }
legend { font-weight: 600; margin-bottom: 6px; }
form label { display: block; font-weight: 600; margin: 16px 0 4px; }
form .choice { display: flex; gap: 10px; align-items: baseline; margin: 10px 0 4px; }
form .choice label { font-weight: 400; margin: 0; }
form input, form select, form textarea {
    width: 100%; font: inherit; color: var(--ink-deep); background: #fff;
    border: 1px solid #b9b0a1; border-radius: 8px; padding: 10px 12px;
}
form .choice input { width: auto; flex: none; }
.opt { color: var(--ink-soft); font-weight: 400; font-size: 0.9rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.paper .btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); cursor: pointer; font: inherit; font-weight: 600; }
.paper .btn-primary:hover { background: var(--ink-deep); }
.paper .btn-primary[disabled] { opacity: 0.6; cursor: wait; }
.btn-ghost-dark { color: var(--ink-deep); border-color: var(--ink); }
.status { min-height: 1.6em; font-weight: 600; margin-top: 12px; }
.status.err { color: #8a1c1c; }
.steps { display: grid; gap: 14px; padding-left: 1.4em; margin: 8px 0 20px; max-width: 44em; }
.steps .btn { margin-right: 8px; }
