/* VERSION B of the demo landing page (Haydn, 09/11/2026): version A's look (landing/demo/landing.css), laid out after
   a reference page: a split hero with the form, What is, Why, testimonials, what you'll see, toggled questions, and a
   floating card that opens the form in a pop-up. Version A's notes follow.
   The demo landing page (Haydn, 09/11/2026). The new website's current look (builds/rfp-casefile/site.css; brand:
   the Rose-FP-Solutions/brand repo), cut down to what one page needs. The widget grid, as the website has it since
   29/10/2026: no lines and no dot field (dots only behind the hero's card, fading out); each section is a white
   rounded container with grey or dark rounded panels inside, 16px apart. Orange buttons, the glowing "New" capsule,
   Poppins. No shadows. */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;   /* the page and cal.com's form stay light, whatever the visitor's setting */
  --canvas: #fbf9f2;
  --surface: #fffef8;
  --ink: #1e2731;
  --ink-soft: #545e6a;
  --accent: #d47500;
  --accent-deep: #8a4c00;   /* small orange text on light (brand: the accent is only 3.1:1) */
  --field: #f4f2eb;
  --card-grey: #ecebe4;
  --dark: #1b1e1f;
  --dark-ink: #fbf9f2;
  --dark-soft: #b9bdbf;
  --line-strong: color-mix(in oklab, var(--ink) 16%, transparent);
  --dot: color-mix(in oklab, var(--ink) 18%, transparent);
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --frame: clamp(1200px, 66vw, 1560px);
  --inset: clamp(1.25rem, 3vw, 3rem);   /* containers sit this far in from the column, as on the website */
  --gap: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1rem/1.6 var(--font); }
h1, h2, p, ul, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
[id] { scroll-margin-top: var(--gap); }

.frame { width: min(100% - 2 * var(--gutter), var(--frame)); margin-inline: auto; position: relative; }

/* ------------------------------------------------------- logo and capsule -- */
/* No top bar: the logo sits to the left of the "New" capsule, at the top of the hero's words. */
.hero__top { display: flex; align-items: center; gap: 14px; margin-bottom: 1.25rem; min-width: 0; }
.mark { display: block; flex: none; height: 38px; width: auto; }
.hero__top .announce { margin-bottom: 0; }

/* ---------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 0.95rem/1 var(--font);
  padding: 0.95em 1.5em; border-radius: 999px;
  background: var(--accent); color: var(--surface); text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:hover { background: color-mix(in oklab, var(--accent) 88%, #000); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.7em 1.15em; font-size: 0.9rem; }

/* --------------------------------------------------------------- the hero -- */
.hero { padding-block: clamp(2.5rem, 9vh, 6.5rem) clamp(2.5rem, 7vh, 5rem); overflow-x: clip; }   /* the dot field may reach past the screen edge */
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(2rem, 4vw, 4rem); padding-inline: var(--inset);
}
.hero h1 { font-weight: 500; font-size: clamp(2rem, 1.3rem + 1.9vw, 3rem);   /* brand scale, 10/11/2026 */ line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.accent { font-style: normal; color: var(--accent); }
.hero__sub { margin: 1rem 0 1.75rem; max-width: 34rem; color: var(--ink-soft); font-size: 1.05rem; }

/* "New": the website's announcement capsule, with its orange light running round the edge. */
.announce {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.6rem; max-width: 100%;
  margin-bottom: 1.25rem; padding: 5px 15px 5px 5px; border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 10%, transparent);
  color: var(--ink-soft); font-size: 0.875rem;
}
.announce::before {
  content: ""; position: absolute; z-index: -2; left: 50%; top: 50%;
  width: max(300%, 22rem); aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 50%, color-mix(in oklab, var(--accent) 35%, transparent) 64%, var(--accent) 80%, #ffd29b 87%, var(--accent) 92%, transparent 99%);
  animation: shiny-turn 3.6s linear infinite;
}
.announce::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: inherit; background: var(--field); }
.announce__tag { flex: none; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; font-size: 0.8125rem; }
.announce__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes shiny-turn { to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) { .announce::before { animation: none; rotate: 40deg; } }

/* The form sits on the website's fading dot field, reaching well past it, as the homepage's does round its drawing. */
.hero__book { position: relative; isolation: isolate; }
.hero__book::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -25%; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 22px 22px; background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent);
  mask-image: radial-gradient(closest-side, #000 45%, transparent);
}
.box--form { margin-inline: 0; background: #fff; }   /* the same white as cal.com's form (Haydn, 09/11/2026) */
/* When, where and who: three small grey cells, like the event widget's. */
.facts { display: grid; gap: 8px; margin-top: 1.75rem; max-width: 30rem; }
.facts > div { display: flex; gap: 1rem; align-items: baseline; background: var(--field); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; }
.facts dt { flex: none; width: 3.75rem; font-size: 0.8125rem; color: var(--ink-soft); }
.facts dd { font-weight: 500; line-height: 1.4; }

/* ----------------------------------------------- containers and panels -- */
.section { padding-bottom: var(--gap); }
.box {
  margin-inline: var(--inset); padding: 10px; display: grid; gap: 10px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px;
}
.box--split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.box__head { padding: clamp(1.25rem, 2.5vw, 2rem) clamp(0.75rem, 2vw, 1.5rem); }
.box__head h2 { font-weight: 500; font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.3rem);   /* brand scale, 10/11/2026: smaller for sentence headings */ line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.box__head p { color: var(--ink-soft); margin-top: 0.75rem; max-width: 32rem; }
.box__head .btn { margin-top: 1.5rem; }
.panel { border-radius: 18px; padding: clamp(1.5rem, 2.5vw, 2.25rem); font-size: 1.05rem; min-width: 0; }
.panel--grey { background: var(--card-grey); }
.panel--dark { background: var(--dark); color: var(--dark-ink); }
.panel__label { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.6rem; }
.panel--grey .panel__label { color: var(--ink-soft); }
.panel__label--accent { color: var(--accent); }   /* large enough on the dark panel */

.ticks { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4.1 7.3 8 2.8' fill='none' stroke='%238a4c00' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* ------------------------------------------------- centred sections -- */
.box__head--centre { text-align: center; justify-self: center; max-width: 48rem; grid-column: 1 / -1; }
.box__head--centre p { margin-inline: auto; max-width: 44rem; }
.box__head--centre p + p { margin-top: 1rem; }

/* What is: one container, the heading and two short paragraphs, centred. */
.box--centre .box__head { padding-block: clamp(2rem, 4vw, 3rem); }

/* Why: six white widgets, three by two, straight on the page (no heading or container), each with a line icon in the
   website's orange node box. */
.why-grid { margin-inline: var(--inset); display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why { display: grid; align-content: start; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(1.5rem, 2.5vw, 2.25rem); min-width: 0; }
.why__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 0.75rem; border-radius: 14px;
  background: color-mix(in oklab, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  color: var(--accent);
}
.why__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; margin: 0; }
.why p { color: var(--ink-soft); font-size: 1rem; }

/* ------------------------------------------------- testimonial banners -- */
/* Testimonials (13/11/2026), like the website's metrics: a four-column grid of mixed sizes whose rows line up (long
   quotes span two columns; dense packing fills holes), all dark cards (Haydn, 13/11/2026: back to dark after trying the two light backgrounds), a small uppercase
   label, large type for short quotes, one orange phrase in the longer. */
.quotes { margin-inline: var(--inset); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row;   /* rows planned in index.html (fill) */ gap: var(--gap); overflow: hidden; }
.quote { margin: 0; border-radius: 24px; padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; background: var(--dark); color: var(--dark-ink); }
.quote--wide { grid-column: span 2; }
.quote__label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark-soft); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: 1.05rem; line-height: 1.5; }
.quote--big blockquote p { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
.quote .accent { color: var(--accent); }
.quote figcaption { font-size: 0.8125rem; line-height: 1.4; color: var(--dark-soft); }
.quote figcaption b { display: block; color: var(--dark-ink); font-weight: 500; }
/* Load more: the new cards fade and rise in, a little after one another (--n). */
.quote { transition: opacity 500ms ease calc(var(--n, 0) * 70ms), translate 600ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--n, 0) * 70ms); }
.quote.is-arriving { opacity: 0; translate: 0 16px; transition: none; }
.quote:focus { outline: none; }
.quote[hidden] { display: none; }
.quotes__more { display: flex; justify-content: center; margin-top: var(--gap); }
.quotes__more[hidden] { display: none; }
/* Load more: dark, like the testimonial cards above it (Haydn, 13/11/2026). */
.btn--dark { background: var(--dark); color: var(--dark-ink); border: 0; cursor: pointer; }
.btn--dark:hover { background: color-mix(in oklab, var(--dark) 85%, #fff); }
@media (max-width: 1100px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quotes { grid-template-columns: minmax(0, 1fr); } .quote--wide { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .quote { transition: none; } }

/* What is: the light field colour used across the page (#f4f2eb, the capsule and the hero's cells), with the usual
   container line (Haydn, 09/11/2026: dark, then #d6d3d1, were too much). */
.box--field { background: var(--field); }

/* ----------------------------------------------- questions (toggles) -- */
/* As the portal's Getting started cards (and version A in #108): the question and a chevron that turns, the answer
   below a line. Cards in the page's field colour, straight on the page. */
.qa-list { margin-inline: var(--inset); display: grid; gap: var(--gap); }   /* as wide as the other widgets */
.qa { background: var(--field); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 24px; }   /* the page's field colour, like What is (Haydn, 09/11/2026) */
.qa summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem clamp(1.5rem, 2.5vw, 2.25rem); cursor: pointer;
  list-style: none; font-size: 1.1rem; font-weight: 500; line-height: 1.35; border-radius: 24px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: 1; min-width: 0; }
.qa summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.qa__chev { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.2s var(--ease-out); }
.qa[open] .qa__chev { rotate: 180deg; }
.qa p { margin: 0 clamp(1.5rem, 2.5vw, 2.25rem); padding: 1.1rem 0 1.5rem; border-top: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 1.05rem; }
.qa p a { color: var(--accent-deep); text-underline-offset: 2px; }   /* the sign-up link (Emma, 12/11/2026) */
/* An answer that's a list (What services do you offer?): the lead line, then the list in two columns. */
.qa p:has(+ .qa__list) { padding-bottom: 0.6rem; }
.qa__list { margin: 0 clamp(1.5rem, 2.5vw, 2.25rem); padding: 0 0 1.5rem 1.2rem; columns: 2 14rem; column-gap: 2rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }

/* --------------------------------------------------- what you'll see -- */
.box--split .ticks { margin-top: 1rem; }
.hosts__label { margin-top: 1.75rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.hosts { list-style: none; padding: 0; margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hosts li { display: flex; align-items: center; gap: 12px; }
.hosts img { width: 56px; height: 56px; object-fit: cover; object-position: center 25%; border-radius: 14px; filter: grayscale(1); }
.hosts span { display: grid; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.35; }
.hosts b { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.hosts__note { margin-top: 1rem; font-size: 0.875rem; }

/* The sample case: the website's case card, drawn still and complete. */
.panel--sample { display: grid; align-content: center; gap: 12px; }
.case { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; font-size: 0.875rem; }
.case__status { display: flex; justify-content: space-between; padding: 8px 14px; background: #dff0e0; color: #2e6b38; font-size: 0.75rem; font-weight: 500; }
.case__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; }
.case__name { font-weight: 500; font-size: 1rem; }
.case__meta { color: var(--ink-soft); font-size: 0.75rem; }
.ring { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #4f9d5d; font-size: 0.75rem; }
.ring b { font-weight: 500; }
.case__tasks { list-style: none; margin: 0; padding: 0 14px; display: grid; gap: 6px; }
.case__tasks li { position: relative; padding-left: 1.6rem; }
.case__tasks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1rem; height: 1rem; border-radius: 4px; background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4.1 7.3 8 2.8' fill='none' stroke='%23fffef8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.65rem no-repeat;
}
.case__note { margin: 14px; padding: 10px 12px; border-radius: 12px; background: var(--field); }
.case__note span { font-size: 0.7rem; color: var(--ink-soft); }
.sample__caption { font-size: 0.75rem; color: var(--ink-soft); text-align: center; }
/* Two sample cases taking turns (13/11/2026; as the homepage's "We take the admin off your desk"): a thin line in two
   parts above them fills while each shows (--dwell), then the other fades in. Paused while pointed at (.is-held) or off
   screen (.is-off). With reduced motion both are listed and the line is hidden (.cases.is-static). */
.segs { display: flex; gap: 6px; }
.seg { flex: 1; height: 14px; padding: 5px 0; border: 0; background: none; cursor: pointer; }   /* a bigger target than the 3px line */
.seg b { display: block; height: 3px; border-radius: 3px; position: relative; overflow: hidden; background: color-mix(in oklab, var(--ink) 12%, transparent); }
.seg b::after { content: ""; position: absolute; inset: 0; background: #373a3b; transform-origin: left center; transform: scaleX(0); }
.seg.is-done b::after { transform: scaleX(1); }
.seg.is-now b::after { animation: seg-fill var(--dwell, 5200ms) linear forwards; }
.segs.is-held .seg.is-now b::after, .segs.is-off .seg.is-now b::after { animation-play-state: paused; }
@keyframes seg-fill { to { transform: scaleX(1); } }
.cases { display: grid; }
.cases > .case { grid-area: 1 / 1; opacity: 0; translate: 0 8px; visibility: hidden; transition: opacity 450ms ease, translate 500ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 450ms; }
.cases > .case.is-on { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.cases.is-static { gap: 12px; }
.cases.is-static > .case { grid-area: auto; opacity: 1; translate: none; visibility: visible; }
.segs:has(+ .cases.is-static) { display: none; }

/* ----------------------------------------------------- the booking form -- */
.panel--cal { padding: clamp(0.5rem, 1.5vw, 1rem); background: #fff; }
.book__cal { width: 100%; min-height: 615px; overflow: auto; display: grid; }
/* Keep the form's full height from the start, so the page doesn't jump down when cal.com draws it (Haydn, 11/11/2026).
   cal.com's form gets taller as it gets narrower (its text wraps), so the space kept follows the form's own width.
   Measured 11/11/2026; a few pixels spare each time, which shows as white on the white panel. */
.panel--cal { container-type: inline-size; }
@container (max-width: 427px) { .book__cal { min-height: 643px; } }
@container (max-width: 373px) { .book__cal { min-height: 657px; } }
@container (max-width: 328px) { .book__cal { min-height: 697px; } }
@container (max-width: 291px) { .book__cal { min-height: 731px; } }
@container (max-width: 261px) { .book__cal { min-height: 798px; } }
@container (max-width: 241px) { .book__cal { min-height: 831px; } }
.book__fallback { text-align: center; font-size: 0.875rem; color: var(--ink-soft); padding: 0.75rem 0 0.25rem; }
.book__fallback a { color: var(--accent-deep); }

/* The floating card: a small widget in the corner, once the hero's form is out of view. A line, never a shadow. */
.float {
  position: fixed; z-index: 20; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px;
  background: var(--dark); border: 1px solid var(--dark); border-radius: 999px;   /* dark, to stand out (Haydn, 09/11/2026) */
  opacity: 0; translate: 0 16px; pointer-events: none; visibility: hidden;
  /* A gentle fade and rise (Haydn, 12/11/2026: at 240ms on the sharp ease-out it looked as if it just appeared). */
  transition: opacity 500ms ease, translate 600ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 500ms;
}
.float.is-shown { opacity: 1; translate: 0 0; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.float__text { display: grid; line-height: 1.3; font-size: 0.8125rem; color: var(--dark-soft); }
.float__text b { color: var(--dark-ink); font-weight: 500; font-size: 0.875rem; }
.float .btn { border: 0; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .float { transition: none; translate: none; } }
body:has(.modal[open]) .float { visibility: hidden; }   /* out of the way while the pop-up is open */

/* The pop-up: the hero's booking widget itself (the same box, panel and form), over a dimmed page, with a close
   button in its corner (Haydn, 12/11/2026: no title, and no wider than the widget at the top of the page). */
.modal {
  width: min(100% - 32px, 600px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  background: transparent; color: var(--ink); border: 0; border-radius: 24px;
}
.modal .box { position: relative; margin: 0; }
.modal .modal__close { position: absolute; top: 18px; right: 18px; z-index: 1; }
.modal::backdrop { background: color-mix(in oklab, var(--dark) 55%, transparent); }
.modal__close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card-grey); color: var(--ink); cursor: pointer; }
.modal__close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.modal__close:hover { background: color-mix(in oklab, var(--card-grey) 85%, var(--ink)); }

/* The portal's loading animation: a square that turns into a circle and back, until cal.com draws. */
.book__cal:has(iframe) .loader { display: none; }
.loader { place-self: center; width: 28px; height: 28px; background: var(--accent); animation: loader 1.4s var(--ease-out) infinite; }
@keyframes loader { 0%, 100% { border-radius: 4px; rotate: 0deg; } 50% { border-radius: 50%; rotate: 180deg; } }
@media (prefers-reduced-motion: reduce) { .loader { animation: none; border-radius: 50%; } }

/* Contact: under the questions, a way to reach us before the demo (12/11/2026). */
.contact {
  margin: var(--gap) var(--inset) 0; padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px;
}
.contact__title { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.contact p { color: var(--ink-soft); margin-top: 0.35rem; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__link {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 999px; text-decoration: none;
  background: var(--field); border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color 160ms var(--ease-out);
}
.contact__link:hover { background: var(--card-grey); }
.contact__link svg { flex: none; width: 22px; height: 22px; fill: currentColor; }
.contact__link span { display: grid; line-height: 1.25; font-size: 0.875rem; color: var(--ink-soft); }
.contact__link b { color: var(--ink); font-weight: 500; font-size: 0.9375rem; }
.foot a { color: inherit; }

/* ---------------------------------------------------------------- footer -- */
.foot { font-size: 0.8125rem; color: var(--ink-soft); }
.foot__inner { padding: 1.5rem calc(var(--inset) + 10px) 2.5rem; display: grid; gap: 0.35rem; }

/* Tablets: Why in two columns. */
@media (max-width: 1100px) and (min-width: 861px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ phones -- */
@media (max-width: 860px) {
  :root { --gap: 12px; --inset: 0px; }
  .hero__grid, .box--split, .why-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__book::before { display: none; }   /* as the website: no dots on phones */
  .hero__top { gap: 10px; }
  .mark { height: 30px; }
  .hero__top .announce { font-size: 0.75rem; gap: 0.45rem; padding-right: 12px; }   /* the capsule fits beside the logo */
  .hero__top .announce__tag { font-size: 0.75rem; padding: 2px 8px; }
  .qa, .qa summary { border-radius: 20px; }
  .qa summary { padding: 1.1rem 1.25rem; }
  .qa p, .qa__list { margin-inline: 1.25rem; }
  .float { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); justify-content: space-between; }
  .modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 8px; border-radius: 20px; }
  .box { padding: 8px; gap: 8px; border-radius: 20px; }
  .why, .quote { border-radius: 20px; padding: 1.25rem; }
  .panel { border-radius: 14px; padding: 1.25rem; }
  .btn:not(.btn--sm) { width: 100%; }
  .foot { padding-bottom: 72px; }   /* room for the floating card */
  .foot__inner { padding-inline: 4px; }
}

/* Smooth scrolling with a mouse wheel, as on the website (Haydn, 12/11/2026): vendor/lenis.min.js, set up at the foot
   of index.html. These are Lenis's own rules: while it glides, CSS smooth scrolling is off so the two don't fight. */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
