@font-face {
  font-family: "Source Serif";
  src: url("/fonts/serif.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --ink: #1d1c1a;
  --soft-ink: #4a4741;
  --rule: #e4e0d6;
  --yellow: #f6b60c;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1 { font-weight: 600; font-size: 1.85rem; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 1.1rem; }
h2 { font-weight: 600; font-size: 1.4rem; line-height: 1.25; margin: 0 0 .6rem; }

.wrap { max-width: 620px; margin: 0 auto; padding: 0 22px; }

/* top */
.top { padding: 22px 0 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 22px; width: auto; }
.top-link { font-family: var(--sans); font-size: 16px; font-weight: 600; }

/* letter */
.letter { padding: 40px 0 8px; }
.greeting { color: var(--soft-ink); margin-bottom: .6em; }
.letter strong { font-weight: 600; }

/* the example */
.example { margin: 28px 0 30px; }
.shots { position: relative; padding-right: 26%; }
.shots .desk {
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: #fff;
  box-shadow: 0 12px 30px -18px rgba(0,0,0,.35);
}
.shots .phone {
  position: absolute; right: 0; bottom: -18px; width: 34%;
  border: 5px solid #161616; border-radius: 18px; overflow: hidden; background: #161616;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.45);
}
.shots .phone img { border-radius: 12px; }
.example figcaption {
  margin-top: 30px; font-family: var(--sans); font-size: 16px; color: var(--soft-ink); line-height: 1.45;
}

.proof {
  margin: 1.6em 0; padding-left: 16px; border-left: 3px solid var(--yellow);
  font-style: italic;
}
.go-link { font-family: var(--sans); font-weight: 700; font-size: 17px; }

/* sign-off */
.signoff { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; }
.signoff img { width: 56px; height: 56px; border-radius: 50%; }
.signoff .name { font-weight: 600; line-height: 1.3; }
.signoff .role { font-family: var(--sans); font-size: 16px; color: var(--soft-ink); }

/* form */
.request { padding: 44px 0 56px; }
.request .wrap > p { color: var(--soft-ink); }
.form-card {
  margin-top: 18px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 22px 18px;
  font-family: var(--sans);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--soft-ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #bdb8ad; border-radius: 6px; padding: 12px 13px; min-height: 50px;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 20px;
  background: var(--yellow); color: var(--ink); border: 0; border-radius: 6px;
  font-family: var(--sans); font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-note { margin: 14px 0 0; font-size: 16px; color: var(--soft-ink); line-height: 1.45; }
.form-msg { margin: 12px 0 0; font-weight: 600; font-size: 16px; }
.form-msg:empty { display: none; }
.form-msg.err { color: #b3261e; }
.sent h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 0 0 6px; }
.sent p { margin: 0; color: var(--soft-ink); }

/* simple pages */
.page { padding: 40px 0 56px; }
.page h2 { margin-top: 1.6em; font-size: 1.2rem; }
.page .btn { width: auto; margin-top: 8px; }
.about-photo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 18px; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 22px 0 34px; font-family: var(--sans); font-size: 16px; color: var(--soft-ink); line-height: 1.5; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--soft-ink); margin-right: 16px; }

@media (min-width: 760px) {
  body { font-size: 20px; }
  h1 { font-size: 2.3rem; }
  .letter { padding-top: 64px; }
  .example { margin-left: -90px; margin-right: -90px; }
  .form-card { padding: 28px; }
}
/* example: phone in flow so it never covers the text above */
.shots { display: grid; grid-template-columns: 1fr 34%; align-items: end; padding-right: 0; }
.shots .desk { margin-bottom: 18px; }
.shots .phone { position: relative; right: auto; bottom: auto; width: auto; margin-left: -22%; z-index: 1; }
.example figcaption { margin-top: 14px; }
@media (max-width: 759px) {
  .shots { display: block; }
  .shots .desk { display: none; }
  .shots .phone { width: 64%; margin: 0 auto; }
}

/* stylised headings (same idea as the demo "Get a Free Quote" graphic) */
@font-face { font-family: "Stamp"; src: url("/fonts/bc-black-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Stamp"; src: url("/fonts/bc-xb-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
.stamp {
  font-family: "Stamp", "Arial Narrow", Impact, sans-serif; font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; color: var(--ink);
  margin: 0 0 1.1rem; text-align: center;
}
.stamp .line { display: flex; align-items: center; justify-content: center; gap: 0.22em; }
.stamp .line::before, .stamp .line::after {
  content: ""; flex: 0 1 1.1em; min-width: 0.45em; height: 0.09em; background: var(--ink); transform: translateY(0.02em);
}
.stamp .hl { position: relative; z-index: 0; padding: 0 0.04em; }
.stamp .hl::after {
  content: ""; position: absolute; z-index: -1; left: -0.02em; right: 0.02em; bottom: -0.02em; height: 0.2em;
  background: var(--yellow); transform: skewX(-12deg);
}
.stamp .pre { display: block; font-weight: 800; font-size: 0.42em; letter-spacing: 0.02em; margin-bottom: 0.3em; color: var(--soft-ink); }
.stamp-xl { font-size: clamp(2.7rem, 13.5vw, 4.6rem); margin-bottom: 1.4rem; }
.stamp-l { font-size: clamp(2.1rem, 10vw, 3.2rem); }
.stamp-s { font-size: 1.5rem; text-align: left; margin: 1.6em 0 .5rem; }
.stamp-s .line { justify-content: flex-start; }
.stamp-s .line::before, .stamp-s .line::after { display: none; }
.request .stamp-l { margin-bottom: .5rem; }
.request .wrap > p { text-align: center; }
.page .stamp-l { margin-bottom: 1.2rem; }
.page .about-photo { margin: 0 auto 18px; }
.stamp .line > span { white-space: nowrap; }
.stamp-xl { font-size: clamp(2.3rem, 12.2vw, 4.6rem); }
.stamp-l { font-size: clamp(1.9rem, 9.4vw, 3.2rem); }
.stamp-xl .pre { font-size: 0.4em; }

/* CTAs: solid yellow buttons, like the phone buttons on the demo sites */
.btn { box-shadow: 0 2px 0 #c58f00; transition: transform .1s ease, box-shadow .1s ease; }
.btn:active { transform: translateY(2px); box-shadow: none; }
.top-btn { width: auto; min-height: 44px; padding: 0 16px; font-size: 16px; border-radius: 6px; white-space: nowrap; }
.btn-big { width: 100%; min-height: 56px; font-size: 18px; gap: 8px; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  transform: translateY(110%); transition: transform .2s ease;
}
.sticky-cta.show { transform: translateY(0); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .sticky-cta { display: none; } body { padding-bottom: 0; } .btn-big { width: auto; padding: 0 28px; } }
.top .wrap { gap: 12px; }
.top-btn .lg { display: none; }
@media (min-width: 420px) { .top-btn .lg { display: inline; } .top-btn .sm { display: none; } }
.proof { font-style: normal; }
.proof strong { display: block; font-family: "Stamp", "Arial Narrow", Impact, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; margin-bottom: .25em; }
