/* flcurb.com — the homeowner page, the privacy page and the painter page.
   The Lenslead visual language (radius 0, 2px borders, hard offset
   shadows, DM Sans 400/700, cream ground, green + terracotta) under
   flcurb's OWN tokens: a homeowner must never land on a Swedish B2B lead
   company, so nothing here links brand.css or reuses its names
   (tests/test_flcurb.py). One CTA colour (terracotta), tap targets ≥ 48 px. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/DMSans-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/DMSans-Bold.ttf") format("truetype");
}

:root {
  --fc-green: #2D6A4F;       /* primary: rules, labels, the step numbers */
  --fc-green-dark: #1E4C36;
  --fc-green-soft: #DCEBE1;
  --fc-paper: #FAF8F0;       /* page ground, inner boxes */
  --fc-cta: #C75B39;         /* the one action colour */
  --fc-cta-dark: #A2431F;    /* its border and shadow */
  --fc-cta-hover: #B24F30;
  --fc-ink: #1E1B16;         /* text, card borders, card shadow */
  --fc-body: #3A362E;        /* secondary text — never lighter */
  --fc-sand: #E4DFCE;        /* dividers, empty frames */
  --fc-err: #A2431F;
  --fc-err-soft: #F7E3DA;
  --fc-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html, body { margin: 0; padding: 0; background: var(--fc-paper); }
body { font-family: "DM Sans", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased;
       color: var(--fc-ink); font-size: 18px; line-height: 1.5; }
a { color: var(--fc-green); }
a:hover { color: var(--fc-cta); }
input, button, textarea { font-family: inherit; }
.hidden { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.monolabel { font-family: var(--fc-mono); font-size: 12px; letter-spacing: 0.1em;
             text-transform: uppercase; color: var(--fc-green); }

/* Top strip + header */
.topstrip { background: var(--fc-ink); color: #fff; text-align: center; font-size: 15px;
            padding: 9px 16px; }
header.top { border-bottom: 2px solid var(--fc-green); background: var(--fc-paper); }
.headrow { display: flex; align-items: center; justify-content: space-between; gap: 16px;
           flex-wrap: wrap; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { width: 36px; height: 36px; display: block; }
.wordmark { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; text-decoration: none; }
.wordmark .w1 { color: var(--fc-green); }
.wordmark .w2 { color: var(--fc-cta); }
.headrow .monolabel { font-size: 12px; }

/* Page body */
main { padding-block: clamp(24px, 4vw, 48px); }
h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1;
     letter-spacing: -0.03em; font-weight: 700; text-wrap: pretty; }
h2 { margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
h3 { margin: 0 0 4px; font-size: 19px; }
p { margin: 0 0 14px; }
.sub { font-size: clamp(18px, 1.5vw, 20px); color: var(--fc-body); max-width: 46ch; }
.muted { color: var(--fc-body); font-size: 16px; }
.small { font-size: 15px; }
.eyebrow { display: block; margin-bottom: 10px; }
.mt { margin-top: 24px; }
.mt-s { margin-top: 10px; }

/* Phone: the house, then the form, then how it works. From 880 px two
   columns — the house and the steps on the left, the form beside them. */
.split { display: grid; gap: clamp(24px, 4vw, 40px); align-items: start;
         grid-template-areas: "intro" "form" "steps"; }
.split > .intro { grid-area: intro; }
.split > .formcard { grid-area: form; }
.split > .steps { grid-area: steps; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1.1fr 1fr; grid-template-areas: "intro form" "steps form";
           grid-template-rows: auto 1fr; row-gap: 26px; }
}

/* The Street View frame, captioned like a lead card */
.photo { background: #fff; border: 2px solid var(--fc-ink); box-shadow: 0 4px 0 var(--fc-ink);
         margin: 22px 0 8px; }
.photo .bar { display: flex; justify-content: space-between; gap: 10px; align-items: center;
              background: var(--fc-ink); color: #fff; padding: 9px 12px; }
.photo .bar .monolabel { color: #fff; font-size: 11px; }
.photo .bar .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; background: var(--fc-cta);
                   color: #fff; padding: 3px 8px; }
.frame { width: 100%; aspect-ratio: 4 / 3; background: var(--fc-sand); }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.photo .caption { margin: 0; padding: 12px 14px; font-size: 15px; color: var(--fc-body);
                  border-top: 2px solid var(--fc-ink); }

/* How it works */
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: #fff;
        border: 2px solid var(--fc-green); padding: 14px 16px; }
.step .num { flex: 0 0 40px; height: 40px; background: var(--fc-green); color: var(--fc-paper);
             font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step p { margin: 0; font-size: 16px; color: var(--fc-body); }

/* Cards */
.card { background: #fff; border: 2px solid var(--fc-ink); box-shadow: 0 4px 0 var(--fc-ink);
        padding: clamp(20px, 3vw, 28px); }
.card + .card { margin-top: 24px; }
.narrow { max-width: 680px; margin-inline: auto; }

/* Form */
label { display: block; font-weight: 700; font-size: 16px; margin: 16px 0 7px; }
label .opt { font-weight: 400; color: var(--fc-body); }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font-size: 18px; padding: 14px; border: 2px solid var(--fc-ink); border-radius: 0;
  background: #fff; color: var(--fc-ink); min-height: 52px; }
textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--fc-cta);
                              box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.25); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 8px; font-weight: 400;
           font-size: 14px; line-height: 1.45; color: var(--fc-body); }
.consent input { width: 24px; height: 24px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--fc-green); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 14px 0 0; }
.turnstile:empty { display: none; }

/* Buttons — primary terracotta with a hard shadow; secondary outlined */
.btn { display: block; width: 100%; min-height: 56px; margin-top: 18px; padding: 16px 18px;
       font-size: 19px; font-weight: 700; color: #fff; background: var(--fc-cta);
       border: 2px solid var(--fc-cta-dark); box-shadow: 0 3px 0 var(--fc-cta-dark); border-radius: 0;
       cursor: pointer; text-align: center; text-decoration: none;
       transition: background-color 120ms ease; }
.btn:hover { background: var(--fc-cta-hover); color: #fff; box-shadow: 0 2px 0 var(--fc-cta-dark); }
.btn[disabled] { opacity: 0.65; cursor: default; }
.btn.secondary { background: #fff; color: var(--fc-ink); border-color: var(--fc-ink);
                 box-shadow: 0 3px 0 var(--fc-ink); }
.btn.secondary:hover { background: var(--fc-paper); color: var(--fc-ink); }
.btn.small { width: auto; min-height: 48px; font-size: 16px; padding: 11px 16px; margin: 0; }
.btn.green { background: var(--fc-green); border-color: var(--fc-green-dark);
             box-shadow: 0 3px 0 var(--fc-green-dark); }
.btn.green:hover { background: var(--fc-green-dark); }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btnrow form { margin: 0; }

.notice { padding: 13px 14px; margin: 14px 0 0; font-size: 16px; border: 2px solid; }
.notice.ok { background: var(--fc-green-soft); color: var(--fc-green-dark); border-color: var(--fc-green); }
.notice.err { background: var(--fc-err-soft); color: var(--fc-err); border-color: var(--fc-err); }

.callbox { border: 2px solid var(--fc-green); background: var(--fc-paper); padding: 14px 16px; margin-top: 22px; }
.callbox p { margin: 0; font-size: 16px; color: var(--fc-body); }
.phone { font-size: 21px; font-weight: 700; text-decoration: none; color: var(--fc-green); }
.fineprint { margin: 16px 0 0; font-size: 14px; color: var(--fc-body); }

/* Painter page: the homeowner's details and the lead's facts */
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.chip { font-size: 15px; border: 2px solid var(--fc-green); color: var(--fc-green); padding: 4px 10px; }
.chip.filled { background: var(--fc-green); color: #fff; font-weight: 700; }
.details { border-top: 2px solid var(--fc-ink); margin: 18px 0 0; padding: 0; }
.details .row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
                border-bottom: 1px solid var(--fc-sand); padding: 10px 0; }
.details dt { font-size: 15px; color: var(--fc-body); flex: 0 0 auto; }
.details dd { margin: 0; font-size: 18px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.note { background: var(--fc-paper); border: 2px solid var(--fc-sand); padding: 12px 14px; margin-top: 16px; }
.note .monolabel { display: block; margin-bottom: 4px; }
.note p { margin: 0; font-size: 17px; }

/* Text pages */
.legal h2 { font-size: clamp(20px, 2vw, 24px); margin: 28px 0 8px; }
.legal p { font-size: 17px; line-height: 1.6; }
.legal .updated { margin: 0 0 20px; }

footer { border-top: 2px solid var(--fc-green); }
.footrow { display: flex; align-items: center; justify-content: space-between; gap: 14px;
           flex-wrap: wrap; padding-block: 20px; }
.footrow .wordmark { font-size: 20px; }
.footrow p { margin: 0; font-size: 14px; color: var(--fc-body); max-width: 60ch; }
.footrow a { color: var(--fc-body); }
