/* Book a free audit: form (step 1) then Cal.com calendar (step 2). Same brand as the home page. */
:root { --sun: #F2B33D; --sun-soft: #FCEFD3; --sun-text: #8A5E00; --ink: #121212; --muted: #5F5A54; --line: rgba(20,21,25,0.12); --soft: #F6F3EE; --ease: cubic-bezier(.2,.8,.2,1); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: #fff; color: var(--ink); font: 400 1rem/1.55 "Geist", system-ui, sans-serif;
  background-image: radial-gradient(45% 420px at 88% 0, rgba(242,179,61,0.24), transparent 70%), radial-gradient(35% 360px at 0 100%, rgba(242,179,61,0.12), transparent 70%); background-repeat: no-repeat; }
a { color: inherit; }
.top { max-width: 1120px; margin: 0 auto; padding: 22px 20px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 1.12rem/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.03em; }
.brand img { width: 32px; height: auto; }
.back { font-size: 0.92rem; color: var(--muted); text-decoration: none; } .back:hover { color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 40px 20px 72px; display: grid; gap: 36px; align-items: start; }
@media (min-width: 940px) { .wrap { grid-template-columns: 0.85fr 1.15fr; gap: 64px; padding-top: 72px; } .intro { position: sticky; top: 40px; } }

.steps { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 18px; font-size: 0.86rem; color: var(--muted); }
.steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--soft); color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.steps b.on { background: var(--sun); color: #1A1200; }
.steps i { width: 18px; height: 1px; background: var(--line); }
h1 { margin: 0 0 14px; font: 650 clamp(2.3rem, 1.6rem + 3vw, 3.6rem)/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.045em; text-wrap: balance; }
.lede { margin: 0 0 22px; color: var(--muted); font-size: 1.08rem; max-width: 34ch; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 10px; align-items: flex-start; color: #2A2B31; }
.points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231A1200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 24px 60px -36px rgba(60,35,10,0.35), 0 1px 2px rgba(0,0,0,0.04); }
fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
legend, .q { display: block; padding: 0; margin: 0 0 4px; font: 650 1.25rem/1.25 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.02em; }
.q-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 8px; background: var(--sun-soft); color: var(--sun-text); font: 600 0.85rem/1 "Geist", system-ui, sans-serif; vertical-align: 3px; }
.hint { margin: 0 0 14px; color: var(--muted); font-size: 0.93rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.94rem; font-weight: 500; cursor: pointer; transition: background .18s, border-color .18s, transform .18s var(--ease); user-select: none; }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .18s, transform .18s var(--ease); }
.chip:hover span { border-color: rgba(20,21,25,0.28); }
.chip input:checked + span { background: var(--sun-soft); border-color: var(--sun); }
.chip input:checked + span::before { background: var(--sun); transform: scale(1.25); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

textarea, input[type=tel] { width: 100%; font: inherit; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 14px; padding: 13px 15px; transition: border-color .18s, background .18s; }
textarea { min-height: 84px; resize: vertical; }
textarea:focus, input[type=tel]:focus { outline: none; background: #fff; border-color: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
::placeholder { color: #8C867E; }
input[type=tel] { font-size: 1.05rem; max-width: 340px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { min-height: 1.4em; margin: 10px 0 12px; color: #B3261E; font-size: 0.92rem; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: 600 1.06rem/1 "Geist", system-ui, sans-serif; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(30,18,0,0.6); transition: transform .25s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-1px); } .btn:active { transform: scale(0.99); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.fine { margin: 14px 0 0; font-size: 0.84rem; color: var(--muted); text-align: center; }
.fine a { text-underline-offset: 3px; }

/* Step 2: calendar */
.cal-card { padding: 0; overflow: hidden; min-height: 620px; }
.cal-head { padding: 22px clamp(20px, 3vw, 30px) 0; }
.cal-head h2 { margin: 0 0 4px; font: 650 1.4rem/1.2 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.03em; }
.cal-head p { margin: 0; color: var(--muted); font-size: 0.93rem; }
#cal { width: 100%; min-height: 560px; overflow: auto; }
.cal-wait { padding: 60px 20px; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* One question at a time (2026-12-02) */
.qcard { min-height: 470px; display: flex; flex-direction: column; }
.qtop { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 10px; }
.qcount { font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.qback { border: 0; background: none; padding: 6px 0; font: 500 0.9rem/1 "Geist", system-ui, sans-serif; color: var(--muted); cursor: pointer; }
.qback:hover { color: var(--ink); }
.qback:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.qbar { height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-bottom: 30px; }
.qbar i { display: block; height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(0.3333); transition: transform .45s var(--ease); }
.qstep { margin: 0; flex: 1; display: flex; flex-direction: column; }
.qstep legend { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 8px; }
.qstep .hint { margin-bottom: 20px; }
.qstep .chips { margin-bottom: 16px; }
.chips-col { flex-direction: column; align-items: stretch; }
.chips-col .chip span { width: 100%; min-height: 50px; border-radius: 14px; font-size: 1rem; }
.qstep > .btn, #goalMore .btn { margin-top: auto; }
#goalMore { display: flex; flex-direction: column; gap: 16px; }
.qstep .err { margin: 12px 0; min-height: 1.4em; }
.qstep input[type=tel] { max-width: none; font-size: 1.15rem; padding: 16px 18px; }
.in-r { animation: q-in-r .35s var(--ease) both; }
.in-l { animation: q-in-l .35s var(--ease) both; }
@keyframes q-in-r { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes q-in-l { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (max-width: 939px) { .qcard { min-height: 0; } .points { display: none; } .wrap { gap: 22px; } }
@media (max-width: 939px) {
  .wrap { padding-top: 22px; }
  h1 { font-size: 2.1rem; margin-bottom: 0; }
  .lede { display: none; }
  .qbar { margin-bottom: 22px; }
  .qstep .hint { margin-bottom: 14px; }
  .chip span { min-height: 40px; }
  .qstep textarea { min-height: 52px; }
  .qstep .err { margin: 8px 0; }
}

/* Left side copy (2026-12-02): discovery call, not a results promise */
.lede { margin-bottom: 8px; color: var(--ink); }
.lede-s { margin: 0 0 28px; color: var(--muted); font-size: 0.95rem; }
.points-k { margin: 0 0 10px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 939px) {
  .lede { display: block; font-size: 1rem; margin-top: 8px; }
  .lede-s { margin-bottom: 0; font-size: 0.9rem; }
  .points-k { display: none; }
}

/* Step 2: give the calendar the full width */
.wrap.cal-mode { grid-template-columns: 1fr; gap: 24px; max-width: 1040px; }
.cal-mode .intro { position: static; }
.cal-mode .intro .lede-s, .cal-mode .intro .points-k, .cal-mode .intro .points { display: none; }
.cal-mode h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }

/* Phone with country code picker (2026-12-02) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tel { position: relative; display: flex; align-items: stretch; background: var(--soft); border: 1px solid transparent; border-radius: 14px; transition: border-color .18s, background .18s, box-shadow .18s; }
.tel:focus-within { background: #fff; border-color: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.qstep .tel input[type=tel] { flex: 1; min-width: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0 14px 14px 0; padding-left: 12px; }
.qstep .tel input[type=tel]:focus { box-shadow: none; }
.cc { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px 0 14px; border: 0; border-right: 1px solid var(--line); background: none; border-radius: 14px 0 0 14px; font: 500 1.05rem/1 "Geist", system-ui, sans-serif; color: var(--ink); cursor: pointer; }
.cc b { font: 600 0.72rem/1 "Geist", system-ui, sans-serif; letter-spacing: 0.04em; padding: 5px 6px; border-radius: 6px; background: var(--sun-soft); color: var(--sun-text); }
.cc svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.cc:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ccpanel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(40,25,5,0.35); padding: 8px; }
.ccpanel input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 10px; padding: 11px 12px; }
.ccpanel input:focus { outline: none; border-color: var(--sun); background: #fff; }
#ccList { list-style: none; margin: 6px 0 0; padding: 0; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
#ccList li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; font-size: 0.95rem; }
#ccList li b { flex: none; width: 30px; font: 600 0.72rem/1 "Geist", system-ui, sans-serif; letter-spacing: 0.04em; color: var(--muted); }
#ccList li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ccList li i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
#ccList li.hi, #ccList li:hover { background: var(--sun-soft); }
#ccList li[aria-selected=true] b { color: var(--sun-text); }
#ccList .cc-none { color: var(--muted); cursor: default; }
