/*
  Shared by every static page on the public origin (T-7075): colour tokens, the
  header with its menu and call button, the footer, and the reading styles for
  the content pages. A page's own <style> holds only what is unique to it, such
  as the homepage's address form or the contact form.

  Plain CSS, no build step (ADR-0074). The menu is the same five links on every
  page: Google builds sitelinks from a site's own link structure, so the menu
  matters for that as well as for visitors.
*/
:root {
  color-scheme: light dark;
  --bg: #fff7f2;
  --card: #ffffff;
  --fg: #1c1417;
  --muted: #6b5b60;
  --accent: #c2185b;
  --accent-fg: #ffffff;
  --line: #eadbd3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1416;
    --card: #241c1f;
    --fg: #f7ede8;
    --muted: #b8a7ac;
    --accent: #f06292;
    --accent-fg: #1a0710;
    --line: #3d3034;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 36rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
a { color: var(--accent); }

/* --- Header ------------------------------------------------------------ */

.site-header { margin: 0 0 1.75rem; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.brand-mark { flex: none; width: 3.25rem; height: 3.25rem; }
.brand-mark img { display: block; width: 100%; height: 100%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-name small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.call {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.call svg { width: 1rem; height: 1rem; flex: none; }
.call .short { display: none; }
.actions { display: flex; align-items: center; gap: 0.5rem; }
.menu { display: none; position: relative; }
.menu summary {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  list-style: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 1.25rem; height: 1.25rem; }
.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 12rem;
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.14);
}
.menu nav a { padding: 0.7rem 0.8rem; border-radius: 0.5rem; color: var(--fg); text-decoration: none; }
.menu nav a[aria-current="page"] { color: var(--accent); font-weight: 650; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  margin-top: 0.85rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.site-nav a { color: var(--fg); text-decoration: none; padding: 0.2rem 0; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 650; }

/* --- Content pages ----------------------------------------------------- */

h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
h2 { font-size: 1.25rem; line-height: 1.25; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.3rem; }
.lede { font-size: 1.12rem; color: var(--muted); margin: 0 0 1.25rem; }
.muted { color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.25rem;
}
.ticks { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: 0.4rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0.1rem; color: var(--accent); font-weight: 700; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--accent-fg);
  background: var(--accent);
  border-radius: 0.6rem;
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.cta { margin: 2.25rem 0 0; text-align: center; }
.cta p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.95rem; }
.more { font-weight: 600; }

/* --- Footer ------------------------------------------------------------ */

.site-footer {
  margin-top: 2.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.site-footer .nap { margin: 0 0 0.9rem; line-height: 1.6; }
.site-footer .nap strong { color: var(--fg); }
.site-footer a { color: inherit; font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1rem; }

/* Phones: one header row (logo, Call, Menu) so the page's first question
   sits on the first screen. The links stay in the markup for Google and in
   every footer for people. */
@media (max-width: 30rem) {
  main { padding-top: 1rem; }
  .site-header { margin-bottom: 1.25rem; }
  .brand-mark { width: 2.75rem; height: 2.75rem; }
  .brand-name strong { font-size: 1.1rem; }
  .site-nav { display: none; }
  .menu { display: flex; align-items: center; }
  .call .long { display: none; }
  .call .short { display: inline; }
}
