/* Dromo Calendar pages.

   The colours, type scale, radii and motion values are Dromo's own (dromo_frontend, globals.css):
   dark first, and the "office" palette when the system asks for light. One accent, spent on the
   chosen time and the Book button. Nothing is loaded from another site: the pages hold client
   details. Dromo's two typefaces are used when their files are in static/fonts. */

:root {
  color-scheme: dark;
  --bg: #121110;
  --surface: #1a1816;
  --surface-2: #221f1b;
  --surface-3: #2b2721;
  --line: rgba(255, 246, 232, 0.07);
  --line-strong: rgba(255, 246, 232, 0.13);
  --control-line: rgba(255, 246, 232, 0.26);
  --ink: #f4efe6;
  --ink-2: #cbc3b6;
  --muted: #958c7e;
  --accent: #34d3b0;
  --accent-ink: #06221b;
  --accent-soft: rgba(52, 211, 176, 0.14);
  --accent-text: #34d3b0;
  --warn: #f6b35b;
  --warn-soft: rgba(246, 179, 91, 0.16);
  --crit: #ff7a6b;
  --crit-soft: rgba(255, 122, 107, 0.16);
  --ok: #5fcf8f;
  --focus: 0 0 0 3px rgba(52, 211, 176, 0.38);
  --e-1: inset 0 1px 0 rgba(255, 246, 232, 0.05), 0 1px 2px rgba(0, 0, 0, 0.28), 0 8px 24px rgba(0, 0, 0, 0.28);
  --e-2: inset 0 1px 0 rgba(255, 246, 232, 0.05), 0 12px 32px rgba(0, 0, 0, 0.42);
  --brand-a: #4ee699;
  --brand-b: #09a6ad;

  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --dur-press: 80ms;
  --dur-base: 200ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Light: when the computer asks for it and nobody chose dark on the page, or when light was
   chosen on the page (page.js). The two blocks hold the same values. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f3ee;
    --surface: #ffffff;
    --surface-2: #faf8f4;
    --surface-3: #f0ece4;
    --line: rgba(28, 23, 18, 0.08);
    --line-strong: rgba(28, 23, 18, 0.14);
    --control-line: rgba(28, 23, 18, 0.36);
    --ink: #1c1712;
    --ink-2: #473f38;
    --muted: #6f665e;
    --accent: #0a7561;
    --accent-ink: #ffffff;
    --accent-soft: rgba(10, 117, 97, 0.12);
    --accent-text: #0a6b5a;
    --warn: #b25e08;
    --warn-soft: rgba(178, 94, 8, 0.1);
    --crit: #c62828;
    --crit-soft: rgba(198, 40, 40, 0.1);
    --ok: #1f8a4c;
    --focus: 0 0 0 3px rgba(10, 117, 97, 0.32);
    --e-1: 0 1px 2px rgba(28, 23, 18, 0.05), 0 8px 24px rgba(28, 23, 18, 0.07);
    --e-2: 0 12px 32px rgba(28, 23, 18, 0.16);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --surface-3: #f0ece4;
  --line: rgba(28, 23, 18, 0.08);
  --line-strong: rgba(28, 23, 18, 0.14);
  --control-line: rgba(28, 23, 18, 0.36);
  --ink: #1c1712;
  --ink-2: #473f38;
  --muted: #6f665e;
  --accent: #0a7561;
  --accent-ink: #ffffff;
  --accent-soft: rgba(10, 117, 97, 0.12);
  --accent-text: #0a6b5a;
  --warn: #b25e08;
  --warn-soft: rgba(178, 94, 8, 0.1);
  --crit: #c62828;
  --crit-soft: rgba(198, 40, 40, 0.1);
  --ok: #1f8a4c;
  --focus: 0 0 0 3px rgba(10, 117, 97, 0.32);
  --e-1: 0 1px 2px rgba(28, 23, 18, 0.05), 0 8px 24px rgba(28, 23, 18, 0.07);
  --e-2: 0 12px 32px rgba(28, 23, 18, 0.16);
}
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ul, fieldset { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Dromo's display face: the page title, the wordmark and the one headline figure on a screen. */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-feature-settings: "tnum" 1;
}

/* --- frame ------------------------------------------------------------------------------ */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.lockup { display: flex; align-items: center; gap: 10px; }
.mark { display: block; flex: none; }
.word {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.product { color: var(--ink-2); font-size: 15px; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.brand-page { margin-left: auto; color: var(--muted); font-size: 13px; }
.theme-switch {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}
.theme-switch:hover { border-color: var(--accent); color: var(--accent-text); }
.brand-page + .theme-switch { margin-left: 4px; }

.page { max-width: 36rem; margin: 0 auto; padding: 28px 16px 72px; }
.page.wide { max-width: 70rem; padding-left: 20px; padding-right: 20px; }

/* --- who the meeting is for -------------------------------------------------------------- */

.client { margin-bottom: 20px; }
h1 { font-size: 30px; line-height: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 8px; }
.facts div { display: flex; gap: 8px; align-items: baseline; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* --- messages ---------------------------------------------------------------------------- */

.notice {
  margin: 0 0 16px;
  padding: 11px 14px;
  background: var(--warn-soft);
  border-left: 3px solid var(--warn);
  border-radius: var(--r-md);
  font-weight: 600;
}
.error { margin-top: 6px; color: var(--crit); font-weight: 600; font-size: 13px; line-height: 18px; }
.hint { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 18px; }
.optional { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }

/* --- the two columns: what to fill in, and the meeting being booked ------------------------ */

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 24px; align-items: start; }
.steps { min-width: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 20px 22px;
}
.card + .card { margin-top: 16px; }
.card h2, .card-title { display: block; font-size: 17px; line-height: 24px; font-weight: 650; }
.card.details h2 { margin-bottom: 16px; }
.card-title { margin-bottom: 10px; }
.card.has-error { border-color: var(--crit); }

/* --- times ------------------------------------------------------------------------------- */

.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.zone { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.zone select { width: auto; padding: 5px 30px 5px 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.zone-note { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 18px; }

.days { margin-top: 18px; }
.day + .day { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.day h3 { display: flex; align-items: baseline; gap: 10px; font-weight: 400; }
.day-name { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.015em; }
.day-date { color: var(--muted); font-size: 13px; }
.empty { margin-top: 8px; color: var(--muted); }

.part { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.part-name { padding-top: 11px; color: var(--muted); font-size: 13px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr)); gap: 14px 8px; }

.time { position: relative; display: block; cursor: pointer; }
.time input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.time span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  padding: 5px 6px;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.time b { font-weight: inherit; }
.time small { font-size: 12px; font-weight: 600; color: var(--muted); }
/* How a time sits with the agent's other visits. "Offer first" is the one loud thing in the list;
   "Avoid" steps back: dashed, dimmed, still bookable. */
.time em { font-style: normal; font-size: 12px; line-height: 15px; font-weight: 600; }
.time.is-offer span { border-color: var(--accent); background: var(--accent-soft); }
.time.is-offer em { color: var(--accent-text); }
.time.is-avoid span { border-style: dashed; border-color: var(--warn); color: var(--muted); }
.time.is-avoid em { color: var(--warn); }
.time .badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-style: normal;
  font-size: 11px;
  line-height: 17px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.time.is-avoid .badge { background: var(--bg); color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.time input:checked ~ .badge { background: var(--ink); color: var(--bg); box-shadow: none; }
.time input:checked + span em { color: inherit; opacity: 0.85; }
.drive-note { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 20px; }
.drive-note strong { color: var(--accent-text); font-weight: 700; }
.drive-note strong.warn { color: var(--warn); }
/* The line that says which times to offer first. Each time in it picks that time below. */
.offer-line { margin-top: 10px; color: var(--ink); font-size: 14px; line-height: 26px; }
.offer-pick {
  display: inline-block;
  padding: 0 9px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 22px;
  white-space: nowrap;
  cursor: pointer;
}
.offer-pick:hover { background: var(--accent); color: var(--accent-ink); }
.time:hover span { border-color: var(--accent); }
.time input:checked + span, .time.is-offer input:checked + span, .time.is-avoid input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  border-style: solid;
  color: var(--accent-ink);
}
.time input:checked + span small { color: inherit; opacity: 0.8; }
.time input:focus-visible + span { box-shadow: var(--focus); }
.time input:active + span { transform: scale(0.97); }

/* --- the form ---------------------------------------------------------------------------- */

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 6px; }

input[type="text"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
textarea { display: block; resize: vertical; min-height: 5rem; }
input[type="text"]:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: var(--accent);
}
.field.has-error input[type="text"], .field.has-error select, .address.has-error input[type="text"] {
  border-color: var(--crit);
  background: var(--crit-soft);
}
.address.has-error input[type="text"]:not(:placeholder-shown) { border-color: var(--control-line); background: var(--surface-2); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block;
  padding: 9px 18px;
  border: 1px solid var(--control-line);
  border-radius: 999px;
  font-weight: 600;
  background: var(--surface-2);
}
.choice:hover span { border-color: var(--accent); }
.choice input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.choice input:focus-visible + span { box-shadow: var(--focus); }

.follow-up { padding-left: 14px; border-left: 2px solid var(--line-strong); margin-bottom: 18px; }
.follow-up-title { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.with-none { display: flex; gap: 8px; }
.with-none input { flex: 1 1 auto; min-width: 0; }

.on-file { font-weight: 600; }
.on-file.missing { font-weight: 400; color: var(--muted); }
.address { margin-top: 4px; }
.address summary { display: inline-block; cursor: pointer; color: var(--accent-text); font-size: 13px; font-weight: 600; border-radius: var(--r-sm); }
.address summary::-webkit-details-marker { display: none; }
.address summary::marker { content: ""; }
.address summary:hover { text-decoration: underline; }
.address[open] summary { margin-bottom: 12px; }
.address[open] { padding: 12px 14px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); margin-top: 8px; }
.address .field { margin-bottom: 12px; }
.address .field > label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.row { display: flex; gap: 12px; }
.row .grow { flex: 1 1 auto; }
.row .narrow { flex: 0 0 5.5rem; }
.row .field { margin-bottom: 0; }

button.quiet {
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-md);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
button.quiet:hover { border-color: var(--accent); color: var(--accent-text); }

/* --- your name: type to find it, then pick it ---------------------------------------------- */

.combo { position: relative; }
.combo input { padding-right: 38px; }
.combo::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.combo-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 17rem;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--e-2);
}
.combo-list.is-up { top: auto; bottom: calc(100% + 6px); }
.combo-list li { padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer; }
.combo-list li.is-active { background: var(--accent-soft); color: var(--accent-text); }
.combo-list li b { font-weight: 700; }
.combo-list .combo-none { color: var(--muted); cursor: default; }
.combo input.is-picked { font-weight: 600; }

/* Address search: the list under Street. No arrow: the box is still a box to type in. */
.address-combo::after { content: none; }
.address-combo input { padding-right: 12px; }
.combo-list li small { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }
.combo-list li.is-active small { color: inherit; }
.combo-list .combo-credit { padding: 6px 10px 2px; text-align: right; color: var(--muted); font-family: Roboto, Arial, sans-serif; font-size: 12px; cursor: default; }
.hint.is-found { color: var(--ok); }
.recent { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* --- the meeting being booked ------------------------------------------------------------- */

.ticket {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--e-1);
  padding: 24px 20px 20px;
}
/* The brand's mint-to-teal runs along the top edge. Drawn as a background so the card's own
   corners shape it and the name list can still drop out of the card. */
.ticket, .result.is-booked {
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b)) top / 100% 4px no-repeat, var(--surface);
}
.ticket .field { margin-top: 16px; }
.when-day { color: var(--ink-2); font-size: 13px; line-height: 18px; }
.when-time { font-size: 30px; line-height: 36px; margin-top: 2px; }
.when-time small { display: block; font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.ticket-when.is-empty .when-time { color: var(--muted); }
.ticket-when.is-empty .when-day { color: var(--muted); }

.ticket-rows { margin: 18px 0 0; border-top: 1px solid var(--line); }
.ticket-rows div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticket-rows dt { color: var(--muted); font-size: 13px; }
.ticket-rows dd { font-weight: 600; overflow-wrap: anywhere; }
.ticket-rows dd.unset { font-weight: 400; color: var(--muted); }

/* A time marked "Avoid" asks for a tick before it can be booked. */
.ticket .avoid-ok {
  padding: 12px 14px;
  border: 1px dashed var(--warn);
  border-radius: var(--r-md);
  background: var(--warn-soft);
}
.field > label.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
.check input:focus-visible { outline: none; box-shadow: var(--focus); }

button.primary {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}
button.primary:hover { filter: brightness(1.06); }
button.primary:active { transform: translateY(1px); }
button.primary:disabled { opacity: 0.7; cursor: progress; }

/* --- result and message pages ------------------------------------------------------------ */

.result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--e-1);
  padding: 30px 26px 28px;
  margin-top: 8px;
}
.result h1 { font-size: 26px; line-height: 32px; }
.result .lede { margin-top: 10px; color: var(--ink-2); }
.result .hint { margin-top: 18px; }
/* A link that reads as a button: the way back to Dromo's app after connecting. */
.back { margin-top: 22px; }
a.primary, a.quiet { display: inline-block; text-decoration: none; border-radius: var(--r-md); }
a.primary {
  min-height: 48px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 48px;
}
a.primary:hover { filter: brightness(1.06); }
a.quiet { padding: 8px 14px; border: 1px solid var(--control-line); color: inherit; font-size: 13px; font-weight: 600; }
a.quiet:hover { border-color: var(--accent); color: var(--accent-text); }
a.primary:focus-visible, a.quiet:focus-visible { outline: none; box-shadow: var(--focus); }

.result .notice { margin-top: 16px; }
.result form { margin-top: 22px; }
.result .ticket-when { margin-top: 22px; }
.result button.primary { width: auto; margin-top: 0; }
.planted { margin-bottom: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.copied { color: var(--muted); font-size: 13px; }
.offscreen { position: fixed; left: -200vw; top: 0; }
.status { margin-top: 14px; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.broken { color: var(--crit); }
.plain { margin: 16px 0 0 18px; color: var(--ink-2); }
.plain li { margin-bottom: 6px; }

/* --- changing a booked meeting: move, fix, cancel ------------------------------------------ */

a.act {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
a.act:hover { border-color: var(--accent); color: var(--accent-text); }
a.act.danger { border-color: var(--crit); color: var(--crit); }
a.act.danger:hover { background: var(--crit-soft); border-color: var(--crit); color: var(--crit); }
a.act:focus-visible, .leave a:focus-visible, a.leave:focus-visible { outline: none; box-shadow: var(--focus); }
.actions.change { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.leave, .leave a { color: var(--accent-text); font-size: 13px; font-weight: 600; text-decoration: none; }
.leave a:hover, a.leave:hover { text-decoration: underline; }
p.leave { margin-top: 12px; text-align: center; }
button.danger {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--crit);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--crit);
  font-weight: 650;
  cursor: pointer;
}
button.danger:hover { background: var(--crit-soft); }
button.danger:disabled { opacity: 0.7; cursor: progress; }
.card .actions { margin-top: 0; }
.card .field + .actions { margin-top: 18px; }
.card .actions button.primary { width: auto; margin-top: 0; }
.reasons { border: 0; min-width: 0; }
.reasons legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.field > label.reason {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-weight: 400;
  cursor: pointer;
}
.field > label.reason + label.reason { margin-top: 8px; }
.reason:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.reason input { flex: none; margin: 4px 0 0; accent-color: var(--accent); }
.reason small { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }
.result .field { margin-top: 18px; }

/* --- narrow screens: one column, with the meeting card last ------------------------------- */

@media (max-width: 61.99rem) {
  .booking { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ticket { position: static; }
}

@media (max-width: 34rem) {
  h1 { font-size: 26px; line-height: 32px; }
  .page.wide, .page { padding-left: 16px; padding-right: 16px; }
  .card { padding: 16px 14px 18px; }
  .part { grid-template-columns: minmax(0, 1fr); gap: 12px; }  /* room for a badge above a time */
  .part-name { padding-top: 0; }
  .row { flex-wrap: wrap; }
  .row .grow { flex-basis: 100%; }
  .row .narrow { flex: 1 1 5rem; }
  .brand-page { display: none; }
}

/* --- motion: a picked time answers at once, and the pin plants when a meeting is booked ---- */

@media (prefers-reduced-motion: no-preference) {
  .time span, .choice span, button.quiet { transition: background-color var(--dur-press), border-color var(--dur-press), transform var(--dur-press); }
  .ticket-when.is-fresh .when-time, .ticket-when.is-fresh .when-day { animation: when-in var(--dur-base) var(--ease-out); }
  .planted .mark { transform-origin: 50% 100%; animation: mark-plant 640ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
}

@keyframes when-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Dromo's own opening moment (BrandLockup): the pin drops, lands and settles. */
@keyframes mark-plant {
  0% { opacity: 0; transform: translateY(-28px) scale(0.6); }
  45% { opacity: 1; transform: translateY(0) scale(1.08); }
  62% { transform: translateY(-6px) scale(0.98); }
  80% { transform: translateY(0) scale(1.03); }
  100% { opacity: 1; transform: none; }
}

/* --- the public pages: what the app is, and the privacy policy ---------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 28px; font-size: 18px; line-height: 26px; }
.prose p, .prose ul { margin-top: 10px; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
