/* The firm's look (Abel, 2026-10-20, from the Squarespace site): navy and white, Playfair Display headings over Lora,
   square corners. Pages with the header and footer (/agendar, /, /terminos) and the plain ones (L.html) share it. */
/* --line/--line2 divide and frame; --edge outlines anything you can tap (3:1 on the card, WCAG 1.4.11) */
:root { color-scheme: light;   /* always the firm's light look, whatever the visitor's dark mode (Abel, 2026-10-21) */
  --ink: #1f2a44; --dim: #4a5672; --line: #e3e6ec; --line2: #d5dae3; --edge: #858fa5; --ground: #f4f5f8; --card: #ffffff; --accent: #24324f;
  --tint: #eef1f6; --soft: #f8f9fb; --field: #7a869e; --foot: #24324f; --foot-ink: #ffffff; --foot-dim: #c3cbdb; --ok: #2f6b3f; --warn: #8a5a00;
  --danger: #b3261e; --lift: rgba(36, 50, 79, .35); --lift-soft: rgba(36, 50, 79, .25); --late: #f6ebd9; --late-ink: #6b4a12; --early: #e4e9f2;
  --display: "Playfair Display", Georgia, "Times New Roman", serif; --text: "Lora", Georgia, "Times New Roman", serif;
  /* the type roles (DESIGN.md › Typography): a screen's heading, a question, a box title, a meeting's name, reading text,
     answers and buttons, hints, small print, step labels and overlines */
  --fs-display: 32px; --fs-question: 28px; --fs-headline: 22px; --fs-title: 18px; --fs-body: 17px; --fs-ui: 16px; --fs-note: 15px;
  --fs-small: 14px; --fs-micro: 13px; --fs-numeral: 40px; }   /* numeral: the day on the appointment card */
::selection { background: var(--tint); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--text); }
a { color: var(--accent); }
p { margin: 0 0 14px; }
p, li, dd, .tshort li > span:last-child { text-wrap: pretty; }   /* no lone last word */
h1, h2, h3, h4, legend, .opt strong { text-wrap: balance; }   /* headings break into even lines */
h1 { margin: 0 0 14px; font: 400 var(--fs-display)/1.18 var(--display); color: var(--accent); }
h1:focus { outline: none; }
.dim { color: var(--dim); font-size: var(--fs-note); }
/* a long name, e-mail or reference wraps instead of pushing the page sideways (a 70-character e-mail at 320px) */
.card { overflow-wrap: break-word; }
.sum dd { min-width: 0; overflow-wrap: anywhere; }
.card { width: calc(100% - 32px); max-width: 600px; margin: 48px auto; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 24px 48px -30px var(--lift); padding: 40px 40px 32px; }
@media (max-width: 520px) { .card { width: calc(100% - 24px); margin: 20px auto; padding: 24px 18px; } h1 { font-size: var(--fs-question); } }

/* the header and footer (lib.js top/foot) */
.site-top { background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -12px var(--lift-soft); }
.site-top .in { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 20px; }
.brand { font: 400 25px/1.2 var(--display); color: var(--accent); text-decoration: none; }
.site-top nav { display: flex; align-items: center; gap: 18px; font-size: var(--fs-ui); }
.site-top nav a { text-decoration: none; color: var(--dim); min-height: 44px; display: inline-flex; align-items: center; }
.site-top nav a:hover { color: var(--accent); }
.call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--accent);
  color: var(--accent); text-decoration: none !important; }
.site-foot { margin-top: auto; background: var(--foot); color: var(--foot-ink); }
.site-foot .in { max-width: 1180px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 10px 24px; font-size: var(--fs-note); }
.site-foot .name { font: 400 20px/1.2 var(--display); }
.site-foot span { color: var(--foot-dim); }
.site-foot a { color: var(--foot-ink); }
@media (max-width: 520px) { .site-top .in { padding: 8px 12px; } .brand { font-size: 21px; } .call .num { display: none; }
  .site-foot .in { padding: 20px 16px; } }
/* the smallest phones (320px): the name, the language and the call button stay on one line */
@media (max-width: 380px) { .site-top .in { column-gap: 12px; } .brand { font-size: var(--fs-title); } .site-top nav { gap: 10px; } .call { padding: 0 12px; } }

/* the four steps on top of the booking card (book.js steps) */
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.steps li { display: grid; gap: 8px; font-size: var(--fs-micro); line-height: 1.3; color: var(--dim); }
.steps li::before { content: ""; height: 3px; background: var(--line2); }
.steps li.done::before, .steps li.now::before { background: var(--accent); }
.steps li.now { color: var(--accent); font-weight: 600; }
@media (max-width: 420px) { .steps li { font-size: 12px; } }
/* on phones the bars give the order: the step numbers would push "Confirmar" onto a second line; screen readers keep them */
@media (max-width: 520px) { .steps .n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }

/* buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--card); font: 500 var(--fs-body) var(--text); text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.wide { width: 100%; }
.btn:disabled { background: var(--line2); border-color: var(--line2); color: var(--dim); cursor: not-allowed; }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
form { margin: 0 0 14px; }
label { display: block; margin: 0 0 8px; font: 600 var(--fs-note)/1.45 var(--text); }
textarea, input { width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 0; background: var(--card);
  color: var(--ink); font: 400 var(--fs-body)/1.5 var(--text); }
input { min-height: 52px; }
textarea { max-width: 100%; resize: vertical; }   /* taller, never wider than the card */
textarea:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 0; border-color: var(--accent); }
.field { margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 14px; }
.row .btn { flex: 2 1 180px; }
.row .btn.ghost { flex: 1 1 140px; }
.row .btn.ghost:only-child { flex: 0 1 auto; }
button.link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.known { font-size: var(--fs-note); }
.err { margin: 12px 0 0; padding: 12px 16px; background: color-mix(in srgb, var(--danger) 10%, var(--card)); color: var(--ink); font-size: var(--fs-note); }
form > .err { margin: 0 0 14px; }   /* under its field, above its button */
/* why a button is off, right under it */
.why { margin: 0 0 14px; color: var(--dim); font-size: var(--fs-small); }
.row + .why { margin-top: -6px; }
.acceptbox .why { margin: -6px 0 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair.three { grid-template-columns: 1fr 1fr 1.4fr; }
@media (max-width: 380px) { .pair { grid-template-columns: 1fr; } }

/* the first screen (Abel, 2026-10-22: only what people came to do): the question is the heading and the box's label, the
   examples wait in the empty box, documents are one quiet link, and the client door one quiet line under Continue */
h1 label { display: inline; margin: 0; font: inherit; }
textarea::placeholder { color: var(--dim); opacity: 1; }   /* 7:1 on the card: readable, and it starts "Por ejemplo" */
.door { margin: 6px 0 0; font-size: var(--fs-note); }
.door button.link { color: var(--dim); text-align: left; }
.door button.link:hover { color: var(--accent); }
/* the public meetings screen: "¿Ya es cliente?", the same line for everyone (2026-10-21) */
.askclient { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--line2); background: var(--soft); }
.askclient p { flex: 1 1 260px; margin: 0; }

/* one tap question: Yes / No side by side */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 14px; }
.yesno .btn { min-height: 60px; font-size: var(--fs-title); }

/* the guided questions (book.js questionBlock): long lists show their first answers, the rest one tap away */
fieldset.q { margin: 0 0 18px; padding: 0; border: 0; }
fieldset.q legend { margin: 0 0 8px; padding: 0; font: 600 var(--fs-ui)/1.4 var(--text); }
fieldset.q legend.qh { margin: 0 0 16px; font: 400 var(--fs-question)/1.2 var(--display); color: var(--accent); }
fieldset.q legend.qh h1 { margin: 0; font: inherit; color: inherit; }   /* the question is the screen's h1 */
label.choice { display: flex; align-items: center; gap: 12px; min-height: 54px; margin: 0; padding: 8px 16px; border: 1px solid var(--edge);
  background: var(--card); font: 400 var(--fs-ui)/1.35 var(--text); cursor: pointer; }
label.choice + label.choice, .rest label.choice, .rest + label.choice { margin-top: 8px; }
.rest:not([hidden]) { display: block; }
/* a single-choice answer is a button: tapping it moves on (2026-10-22) */
button.choice { display: flex; align-items: center; width: 100%; min-height: 54px; margin: 0; padding: 8px 16px; border: 1px solid var(--edge);
  background: var(--card); color: inherit; font: 400 var(--fs-ui)/1.35 var(--text); text-align: left; cursor: pointer; }
button.choice + button.choice, .rest button.choice, .rest + button.choice { margin-top: 8px; }
button.choice:hover, button.choice:focus-visible { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
button.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
.quiet button.choice { margin: 0; min-height: 48px; background: var(--soft); font-size: var(--fs-note); }
.docs { margin: -6px 0 14px; }
.docs button.attach { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-ui); }
.docs .attach .ic { width: 18px; height: 18px; }
.docs .dim { margin: 8px 0 0; font-size: var(--fs-small); }
ul.files { list-style: none; margin: 4px 0 0; padding: 0; }
ul.files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 8px 12px;
  border: 1px solid var(--edge); background: var(--card); font-size: var(--fs-small); overflow-wrap: anywhere; }
button.qback { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 0 0 4px; padding: 0; border: 0; background: none;
  color: var(--accent); font: 400 var(--fs-ui) var(--text); cursor: pointer; }
label.choice:has(input:checked) { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
label.choice input { width: 20px; height: 20px; min-height: 0; margin: 0; flex: none; accent-color: var(--accent); }
fieldset.q input[type="text"], fieldset.q input[type="date"], fieldset.q input[type="number"] { margin-top: 8px; }
button.more { width: 100%; min-height: 52px; margin-top: 8px; padding: 0 16px; border: 1px dashed var(--field); background: var(--card);
  color: var(--accent); font: 400 var(--fs-ui) var(--text); cursor: pointer; }
.quiet { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.quiet label.choice { margin: 0; min-height: 48px; background: var(--soft); font-size: var(--fs-note); }
p.lead { margin: 0 0 18px; color: var(--dim); font-size: var(--fs-ui); }

/* the meetings, the calendar, the summary and payment (book.js calendar … done) */
.opts { display: grid; gap: 12px; margin: 0 0 14px; }
.optwrap { border: 1px solid var(--edge); background: var(--card); }
.optwrap:hover, .optwrap:focus-within { border-color: var(--accent); }
.opt { width: 100%; display: grid; gap: 5px; text-align: left; padding: 18px 20px 10px; border: 1px solid var(--edge); background: var(--card);
  color: var(--ink); font: 400 var(--fs-note)/1.5 var(--text); cursor: pointer; }
.optwrap .opt { border: 0; }
.opts > .opt:hover, .opts > .opt:focus-visible { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt strong { font-size: var(--fs-title); font-weight: 600; }
.opt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt .price { font: 400 var(--fs-headline)/1.2 var(--display); color: var(--accent); }
.opt .price, .day .dn, h1, .terms h2 { font-variant-numeric: lining-nums; }
.optwrap .tlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 20px 6px; font-size: var(--fs-small); }
.optwrap .terms { margin: 0 12px 12px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.day { display: grid; justify-items: center; gap: 4px; min-height: 92px; padding: 10px 4px; border: 1px solid var(--edge); background: var(--card);
  color: var(--ink); font: 400 var(--fs-micro)/1.2 var(--text); cursor: pointer; }
.day .dw { letter-spacing: .06em; text-transform: uppercase; }
.day .dn { font: 400 var(--fs-question)/1 var(--display); }
.day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--card); }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.times .dim { grid-column: 1 / -1; margin: 4px 0; }
.time { min-height: 52px; border: 1px solid var(--accent); background: var(--card); color: var(--accent); font: 600 var(--fs-ui) var(--text); cursor: pointer; }
.time:hover, .time:focus-visible { background: var(--accent); color: var(--card); }
@media (max-width: 420px) { .days { grid-template-columns: repeat(3, minmax(0, 1fr)); } .times { grid-template-columns: 1fr 1fr; } }
.sumbox { margin: 0 0 20px; padding: 16px 18px; background: var(--ground); }
.sumbox > strong { display: block; margin: 0 0 8px; font-size: var(--fs-title); font-weight: 600; }   /* the meeting's name, as in its option */
.sum { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 12px; font-size: var(--fs-ui); }
.sum dt { color: var(--dim); } .sum dd { margin: 0; }
.held { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line2); font-size: var(--fs-small); color: var(--dim); }
.held .ic { width: 16px; height: 16px; }
.held .left { font-weight: 600; font-variant-numeric: tabular-nums; }
.held .left:focus { outline: none; }
.held > span:not(.sr) { flex: 1 1 12em; }
.held button.link { color: inherit; font-weight: 600; }
.held.soon { color: var(--warn); }
.acceptbox { display: grid; gap: 16px; margin: 0 0 14px; padding: 20px; border: 2px solid var(--line2); background: var(--soft); }
.acceptbox:has(input:checked) { border-color: var(--accent); background: var(--tint); }
label.choice.accept { margin: 0; padding: 0; min-height: 0; border: 0; background: none; box-shadow: none; align-items: flex-start; font-size: var(--fs-ui); line-height: 1.5; font-weight: 400; }
label.choice.accept input { width: 24px; height: 24px; margin-top: 1px; }
details.okline { margin: 0 0 18px; padding: 12px 16px; background: var(--tint); font-size: var(--fs-note); color: var(--accent); }
details.okline summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
details.okline summary::-webkit-details-marker { display: none; }
details.okline summary > span:not(.see), p.okline > span { flex: 1 1 12em; }
details.okline summary .see { text-decoration: underline; font-size: var(--fs-small); }
details.okline .terms { margin: 12px 0 0; }
/* the booked screen's appointment card: the chosen day as a large navy tile (as in the day picker), the rest beside it */
.appt { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; margin: 0 0 16px; padding: 16px 18px; background: var(--ground); }
.appt-day { display: grid; justify-items: center; gap: 2px; padding: 12px 4px 10px; background: var(--accent); color: var(--card); font: 400 var(--fs-micro)/1.2 var(--text); }
.appt-day span:first-child { text-transform: uppercase; letter-spacing: .06em; }
.appt-day strong { font: 400 var(--fs-numeral)/1 var(--display); font-variant-numeric: lining-nums; }
.appt .sum { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.appt .sum dt { font-size: var(--fs-small); }
.appt .sum dd + dt { margin-top: 8px; }
.addcal { margin: 0 0 18px; }
a[href^="tel:"] { white-space: nowrap; }   /* a phone number never breaks across lines */
@media (max-width: 380px) { .appt { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px; } .appt-day strong { font-size: 34px; }
  .addcal .btn { padding: 0 14px; } }
.okmark { display: flex; justify-content: center; margin: 0 0 18px; }
.okmark span { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--card); display: flex; align-items: center; justify-content: center; }
.okmark .ic { width: 30px; height: 30px; stroke-width: 2.2; }
p.okline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; background: var(--tint); font-size: var(--fs-small); color: var(--accent); }
.hf { height: 52px; margin: 0 0 14px; padding: 0 12px; border: 1px solid var(--field); background: var(--card); }
.hf iframe { width: 100%; height: 50px; border: 0; }
.hf:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
.sf { margin: 0 0 14px; min-height: 48px; }   /* Stripe's card field draws its own boxes */
/* the card frames stay see-through on a dark page (a frame whose color scheme differs from the page gets a white canvas);
   book.js hands them the page's colors */
.hf iframe, .sf iframe { color-scheme: light; }
/* the field only bots fill (kept off-screen, not display:none, which bots skip) */
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* the terms of a meeting (pb_public/terms.js): facts, the short version with icons, two pictures, then everything folded */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.terms { margin: 4px 0 18px; border: 1px solid var(--line); background: var(--card); font: 400 var(--fs-ui)/1.5 var(--text); }
.thead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tbody { padding: 18px 18px 4px; }
.terms h2 { margin: 0; font: 400 var(--fs-headline)/1.25 var(--display); color: var(--accent); }
.terms h2:focus { outline: none; }
.tlang { display: inline-flex; border: 1px solid var(--accent); }
.tlang button { min-height: 44px; padding: 0 14px; border: 0; background: var(--card); color: var(--accent); font: 400 var(--fs-note) var(--text); cursor: pointer; }
.tlang button[aria-pressed="true"] { background: var(--accent); color: var(--card); font-weight: 600; }
.tfacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.tfacts li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--tint); color: var(--accent); font-size: var(--fs-small); }
.tfacts .ic { width: 16px; height: 16px; }
.terms h3 { margin: 0 0 12px; font: 400 var(--fs-micro)/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.tshort { display: grid; gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.tshort li { display: flex; gap: 14px; align-items: flex-start; }
.tshort li > span:last-child { display: grid; gap: 2px; font-size: var(--fs-note); color: var(--dim); }
.tshort strong { font-size: var(--fs-ui); font-weight: 600; color: var(--ink); }
.tbadge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 1px solid var(--line2); color: var(--accent); }
.tbadge .ic { width: 18px; height: 18px; }
.tg { margin: 0 0 18px; }
/* the cancel picture: 24 h or more before | less than 24 h | the meeting */
.tg-bar { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 0; margin-top: 10px; font-size: var(--fs-micro); line-height: 1.35; }
.tg-bar > div { display: grid; gap: 2px; padding: 10px 12px; }
.tg-bar .ok { background: var(--early); }
.tg-bar .ok strong { color: var(--accent); }
.tg-bar .late { background: var(--late); }
.tg-bar .late strong { color: var(--late-ink); }
.tg-bar .end { grid-auto-flow: column; justify-content: center; align-items: center; gap: 6px; background: var(--accent); color: var(--card); }
.tg-bar .end .ic { width: 16px; height: 16px; }
.tg-bar strong { font-weight: 600; }
/* everything else, folded */
.tall { margin: 0 0 12px; border-top: 1px solid var(--line); }
.tall summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-weight: 600; cursor: pointer; list-style: none; }
.tall summary::-webkit-details-marker { display: none; }
.tall summary::after { content: "+"; font-size: var(--fs-headline); font-weight: 400; }
.tall[open] summary::after { content: "−"; }
.tsec { padding: 14px 0; border-top: 1px solid var(--line); }
.tsec h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 var(--fs-ui)/1.3 var(--text); }
.tsec h4 .ic { color: var(--accent); width: 18px; height: 18px; }
.tsec ul { margin: 0; padding: 0 0 0 28px; color: var(--dim); font-size: var(--fs-note); }
.tsec li { margin: 3px 0; }
.tcontact { margin: 12px 0 4px; font-size: var(--fs-note); }
/* the terms' reading lines stay under about 70 characters, also on the wide public page */
.tshort li > span:last-child, .tsec ul, .tcontact, .terms .tver { max-width: 60ch; }
.tver { margin: 0 0 6px; color: var(--dim); font-size: var(--fs-micro); }
@media (max-width: 420px) { .tg-bar { grid-template-columns: 1fr; } .tbody { padding: 14px 12px 4px; } .thead { padding: 14px 12px; } }

/* the Terms and Conditions (/legal) and the Privacy Policy (/legal/privacy) */
.card.wide { max-width: 1080px; }

/* motion (DESIGN.md › Motion): colors ease, a press dips 1px, a bar that turns navy fills from the left, and the booked
   mark settles and draws its check. Entrances of screens, times and folded text are in book.js / terms.js (enter, fadeIn). */
.btn, .time, .day, label.choice, .door button.link, .optwrap, .opt, button.more, .tlang button, .acceptbox, .call, .site-top nav a,
details.okline, .tall summary {
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, box-shadow 160ms ease-out; }
.held { transition: color 400ms ease-out; }   /* turning amber at 2 minutes */
.btn:not(:disabled):active, .time:active, .day:active, .opt:active, label.choice:active,
button.more:active { transform: translateY(1px); }
.steps li.fill::before { background: linear-gradient(var(--accent), var(--accent)) left / 100% 100% no-repeat var(--line2);
  animation: stepfill 520ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both; }
@keyframes stepfill { from { background-size: 0% 100%; } }
.okmark span { animation: okset 560ms cubic-bezier(0.16, 1, 0.3, 1) both; }
/* the icon path runs from its long end: a negative offset draws it from the short stroke, as a hand writes a check */
.okmark .ic path { animation: okdraw 420ms cubic-bezier(0.65, 0, 0.35, 1) 260ms both; }
@keyframes okset { from { opacity: 0; transform: scale(.72); } }
@keyframes okdraw { from { stroke-dasharray: 24; stroke-dashoffset: -24; } to { stroke-dasharray: 24; stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .btn:not(:disabled):active, .time:active, .day:active, .opt:active, label.choice:active,
  button.more:active { transform: none; }
  .steps li.fill::before { animation: none; }
  .okmark span { animation: okfade 200ms ease-out both; }
  .okmark .ic path { animation: none; }
}
@keyframes okfade { from { opacity: 0; } }

/* the record of accepted terms (/portal/legal/{key}, 2026-10-22): an acceptance record, printable */
.receipt .kicker { margin: 0 0 6px; font: 600 12px/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
dl.record { margin: 18px 0 12px; border-top: 1px solid var(--line); }
dl.record > div { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
dl.record dt { color: var(--dim); font-size: var(--fs-small); }
dl.record dd { margin: 0; }
@media (max-width: 560px) { dl.record > div { grid-template-columns: 1fr; } }
code.hash { font: 13px/1.5 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
@media print {
  .site-top, .site-foot, .noprint { display: none !important; }
  body, main.card { background: #fff; box-shadow: none; border: 0; }
}

/* the Terms and Conditions and Privacy Policy pages (/legal, /legal/privacy, 2026-10-22) */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--dim); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.legal-tabs a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
/* long reading (Abel, 2026-10-22: Playfair's thin strokes were hard to read at section size): the section headings are
   Lora semibold, a clear step above the text, with more room above than below; the text is ink, at 1.7, under 68ch */
.legal .lead { max-width: 68ch; margin: 0 0 8px; color: var(--ink); font-size: var(--fs-body); line-height: 1.7; }
.legal .legal-sec { margin: 0; }
.legal .legal-sec h2 { margin: 34px 0 10px; max-width: 68ch; font: 600 var(--fs-title)/1.35 var(--text); color: var(--accent); }
.legal .legal-sec p { margin: 0 0 14px; max-width: 68ch; line-height: 1.7; }
.small { font-size: var(--fs-small); }
.receipt > h2 { margin: 30px 0 12px; font: 600 var(--fs-title)/1.35 var(--text); color: var(--accent); }
.site-foot .legal-links { display: block; margin-top: 6px; }
.site-foot .legal-links a { color: inherit; }
