/* Signal Works: /start form (also used by 404.html), "Daylight editorial". Kept out of the HTML so the CSP can forbid inline styles. */
:root {
  --paper: #f7f3ea; --card: #fffdf8; --rule: #dcd3c1; --field: #968b75; --field-hover: #7a705d;
  --ink: #0e2a22; --text: #26352f; --muted: #56655e;
  --signal: #2fbf7c; --signal-hover: #27a96c; --green-deep: #0b6b45;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); color: var(--text); background: var(--paper);
       -webkit-font-smoothing: antialiased; line-height: 1.55; font-size: 16px; overflow-x: hidden; }
a { color: inherit; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1224px; margin: 0 auto; padding: 0 32px; }

/* Header */
.top { border-bottom: 1px solid var(--rule); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px;
           padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.sw-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.logo-name { font-weight: 700; font-size: 17px; line-height: 1.1; letter-spacing: -.005em; }
.logo-name span { display: block; font-weight: 500; font-size: 11px; color: var(--muted);
                  letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
.top-tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink);
           text-decoration: none; min-height: 44px; padding: 10px 0; border-bottom: 1px solid transparent;
           white-space: nowrap; }
.top-tel:hover { border-bottom-color: var(--ink); }
.tel-ico { width: 16px; height: 16px; flex: none; color: var(--green-deep); }

/* Page layout: intro and "what happens next" on the left, the form on the right.
   On narrow screens the form comes straight after the intro and the steps follow it. */
.page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        grid-template-areas: "intro card" "after card"; grid-template-rows: auto 1fr; column-gap: 72px;
        align-items: start; padding-top: 72px; padding-bottom: 96px; }
.eyebrow { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; color: var(--green-deep); font-size: 13px;
           font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; text-wrap: balance; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none;
                   margin-top: calc(.75em - 3.5px); }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-optical-sizing: auto; }
.intro { grid-area: intro; }
.card { grid-area: card; }
.after { grid-area: after; margin-top: 40px; }
.intro h1 { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.6; color: var(--text); margin-top: 22px; max-width: 32em; }
.after-h { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
           color: var(--muted); line-height: 1.4; margin-bottom: 12px; }
.next { list-style: none; border-top: 2px solid var(--ink); }
.next li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: baseline;
           padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 16.5px; color: var(--ink); }
.next .n { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--green-deep); }
.talk { margin-top: 30px; }
.talk-k { display: block; font-size: 15px; color: var(--muted); }
.talk-tel { display: inline-block; font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.15;
            letter-spacing: -.01em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal);
            text-decoration-thickness: 2px; text-underline-offset: 7px; padding: 4px 0 8px; margin-top: 0; }
.talk-tel:hover { text-decoration-color: var(--ink); }

/* Form card */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 34px 36px 30px;
        box-shadow: 0 1px 1px rgba(14,42,34,.03), 0 30px 60px -36px rgba(14,42,34,.28); }
label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin: 18px 0 7px; }
label .opt { color: var(--muted); font-weight: 500; font-size: 13px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.err + .row > div > label { margin-top: 0; }
input, select, textarea { width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--field); border-radius: 10px; padding: 12px 14px; background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease; }
input::placeholder, textarea::placeholder { color: #6a746d; }
select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; min-height: 46px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 96px; }
input:hover, select:hover, textarea:hover { border-color: var(--field-hover); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(47,191,124,.28); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%;
       background: var(--signal); color: var(--ink); font-family: inherit; font-weight: 600; font-size: 17px;
       line-height: 1.2; border: 0; padding: 17px 26px; border-radius: 10px; cursor: pointer; margin-top: 28px;
       text-decoration: none; transition: background .15s ease, transform .15s ease; }
@media (hover: hover) {
  .btn:hover { background: var(--signal-hover); transform: translateY(-1px); }
}
.btn:disabled { opacity: .6; transform: none; cursor: default; }
/* The error sits at the top of the form, where focus lands on a missing field. It sticks to the top
   of the screen while the form is in view, so a send failure is seen from the button too. */
.err { position: sticky; top: 12px; z-index: 2; background: #fbeceb; border: 1px solid #ecb7b2; color: #9b2119;
       border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px;
       box-shadow: 0 8px 20px -12px rgba(14,42,34,.35); }
.fine { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.fine + .fine { margin-top: 4px; }

/* Success state */
.done { text-align: center; padding: 28px 8px 12px; }
.done:focus { outline: none; }
.done-mark { width: 52px; height: 52px; }
.done h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; margin: 16px 0 12px; }
.done p { color: var(--text); font-size: 17px; line-height: 1.6; max-width: 40ch; margin: 0 auto; }
.tel { color: var(--ink); font-weight: 600; white-space: nowrap; }
.back { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 15px; text-decoration: none;
        padding: 11px 0; border-bottom: 1px solid var(--rule); }
.back:hover { color: var(--ink); border-bottom-color: var(--ink); }

.hp { position: absolute; left: -9999px; top: -9999px; }
.nojs { background: #fbeceb; border: 1px solid #ecb7b2; color: #9b2119; border-radius: 10px;
        padding: 12px 14px; font-size: 14px; margin-bottom: 8px; }
.nojs a { color: inherit; font-weight: 600; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .btn, input, select, textarea { transition: none; }
  .btn:hover { transform: none; }
}

/* Tracking-pixel fallback image (noscript) */
.px { display: none; }

/* 404 page */
.page-narrow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "card"; grid-template-rows: none;
               max-width: 784px; }
.page-narrow .card { margin-top: 40px; }
.notfound h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 12px; }
.notfound p { color: var(--text); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.nf-act { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; }
.nf-act .btn { width: auto; margin-top: 0; }
.nf-act .back { margin-top: 0; }

@media (max-width: 960px) {
  .page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "card" "after"; grid-template-rows: none;
          padding-top: 52px; padding-bottom: 72px; }
  .intro { max-width: 640px; }
  .card { max-width: 720px; margin-top: 36px; }
  .after { max-width: 640px; margin-top: 44px; }
  /* After a successful send, keep the confirmation close to the top of the screen. */
  .page:has(#done:not([hidden])) .after,
  .page:has(#done:not([hidden])) .lede { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .top-row { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .logo { gap: 10px; }
  .top .sw-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .logo-name span { font-size: 10px; letter-spacing: .1em; }
  .top-tel { font-size: 14.5px; gap: 6px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .page { padding-top: 36px; padding-bottom: 56px; }
  .card { margin-top: 28px; }
  .after { margin-top: 40px; }
  .page-narrow .card { margin-top: 32px; }
  .intro h1 { font-size: 38px; }
  .lede { font-size: 17.5px; margin-top: 18px; }
  .next li { padding: 13px 0; font-size: 15.5px; grid-template-columns: 30px minmax(0, 1fr); }
  .next .n { font-size: 23px; }
  .talk { margin-top: 24px; }
  .talk-tel { font-size: 30px; }
  .card { padding: 24px 20px 22px; border-radius: 16px; margin-left: -4px; margin-right: -4px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .err + .row > div:last-child > label { margin-top: 18px; }
  .done h2 { font-size: 34px; }
  .notfound h2 { font-size: 28px; }
  .nf-act .btn { width: 100%; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo { gap: 8px; }
  .top .sw-mark { width: 32px; height: 32px; }
  .logo-name { font-size: 15px; }
  .logo-name span { font-size: 9.5px; letter-spacing: .08em; }
  .top-tel { font-size: 14px; }
  .tel-ico { width: 14px; height: 14px; }
}
/* Under 350px there is no room for the descriptor beside the header button. */
@media (max-width: 349px) {
  .logo-name span { display: none; }
}
