/* Q Real Estate client pages: matches qrealestatesolutions.com (light slate background, dark slate text,
   Inter, black buttons) with the red Q from the logo as the accent. 2026-10-28 (Spock). */
:root {
  --qre-red: #d7141a;        /* the Q in the logo, a touch deeper for small marks */
  --slate: #002626;          /* their headings ("dark slate grey" on their site) */
  --teal: #3f7f7f;           /* their teal (#497a7a), a shade darker for text on white */
  --teal-dark: #245252;
  --black: #111414;
  --white: #ffffff;
  --mist: #f4fafa;           /* their page background */

  /* names the timeline styles read */
  --limestone: var(--mist);
  --paper: var(--white);
  --river: var(--slate);
  --river-ink: #dbe7e7;
  --teak: var(--teal);
  --teak-dark: var(--teal-dark);
  --ink: #142222;
  --ink-2: #4f5f5f;
  --rule: #d6e2e2;
  --chalk: var(--slate);
  --brass: var(--qre-red);
  --brick: #b3261e;
  --amber: #a86d06;
  --done: var(--slate);
  --gutter: clamp(16px, 4vw, 40px);
  --heading: "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.15; color: var(--slate); margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header: logo left, black call button right (their "contact" button) */
.site-head { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 30; }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo img { height: 46px; width: auto; }
.head-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.head-links a.plain { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--slate); text-decoration: none; }
.head-links a.plain:hover { color: var(--teal); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; border: 2px solid var(--black); border-radius: 4px; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--slate); border-color: var(--slate); color: var(--white); }

.lede { font-size: 1.02rem; color: var(--ink-2); max-width: 60ch; }

/* Page title band */
.title-band { background: var(--white); border-bottom: 1px solid var(--rule); }
.title-band .wrap { padding-top: 30px; padding-bottom: 24px; }
.title-band h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); display: inline-block; padding-left: 14px; border-left: 5px solid var(--qre-red); }
.title-band .lede { margin: 8px 0 0; }
/* Selling / Buying switch (shown only when the client has both timelines, and on the samples) */
.tl-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; background: var(--mist); border: 1px solid var(--rule); border-radius: 999px; }
.tl-switch[hidden] { display: none; }
.tl-switch a { display: inline-block; padding: 7px 20px; border-radius: 999px; font-size: .92rem; font-weight: 700; color: var(--slate); text-decoration: none; line-height: 1.2; }
.tl-switch a:hover { background: #e6f0f0; color: var(--slate); }
.tl-switch a.is-on { background: var(--slate); color: var(--white); }
.tl-sample-note { border-left-color: var(--qre-red) !important; background: #fff4f2 !important; margin-bottom: 24px; }

/* Footer, like theirs: dark band, contact details */
.site-foot { background: var(--slate); color: #e6efef; text-align: center; }
.site-foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.site-foot h2 { color: var(--white); font-size: 1rem; letter-spacing: .02em; margin: 10px 0 6px; }
.site-foot p { margin: 0; font-size: .92rem; color: #cfdede; }
.site-foot a { color: var(--white); }
.site-foot svg { width: 26px; height: 26px; fill: #8cc4c4; margin: 0 auto; display: block; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); padding: 16px var(--gutter) 20px; font-size: .8rem; color: #a9bebe; }

@media (max-width: 760px) {
  .head-row { min-height: 64px; gap: 12px; }
  .logo img { height: 36px; }
  .head-links { gap: 12px; }
  .head-links a.plain { display: none; }
  .btn { padding: 9px 12px; font-size: .78rem; }
  .site-foot .cols { grid-template-columns: 1fr; gap: 22px; }
}
