/* Book a call: the hero's composition, cool blue tiles on the left, and a form that reads as one sentence. */
.b-screen { position: relative; isolation: isolate; overflow-x: clip; display: grid; grid-template-rows: auto 1fr; min-height: 100svh; padding: 0 var(--pad); }
.b-screen::before {
  content: ""; position: absolute; z-index: -2; top: 0; left: 0; bottom: 0; aspect-ratio: 1688 / 1736; height: 100%;
  background: url(img/flizes-blue.webp) center / cover no-repeat;
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
.b-screen::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(270deg, #000 38%, rgb(0 0 0 / .7) 50%, transparent 66%),
    linear-gradient(rgb(0 0 0 / .5), transparent 15%, transparent 40%, rgb(0 0 0 / .85) 66%, #000 84%);
}
.b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(32px, 6vw, 112px); align-items: end; padding-bottom: clamp(28px, 4vw, 56px); }
.b-promise { display: flex; align-items: flex-start; gap: 10px; max-width: 34em; margin-top: 28px; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); }
.b-promise .star { flex: none; width: 15px; height: 13px; margin: .4em 0 0; vertical-align: 0; }

/* The sentence: inputs sit inline on hairlines and grow with what you type. */
.b-stage { padding-bottom: .3em; }
.mad { font-family: "Allo Variable", "Allo", system-ui, sans-serif; font-variation-settings: "ROND" 0; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.55; letter-spacing: -.03em; color: rgb(244 244 245 / .6); }
.mad input, .sel-btn {
  font: inherit; letter-spacing: inherit; color: var(--text); background: none; border: 0; border-bottom: 1px solid rgb(255 255 255 / .3); border-radius: 0; padding: 0 1px; margin: 0;
  transition: border-color .15s;
}
.mad input { field-sizing: content; min-width: 2ch; max-width: 100%; }
.mad input::placeholder { color: rgb(244 244 245 / .3); }
.mad input:hover, .sel-btn:hover { border-color: rgb(255 255 255 / .55); }
.mad input:focus, .sel-btn:focus-visible { outline: none; border-color: var(--text); }
.mad input[aria-invalid] { border-color: var(--red); }
.sel { position: relative; display: inline-block; }
.sel-btn { padding-right: .9em; cursor: pointer; }
.sel-list { position: absolute; z-index: 10; left: 0; top: calc(100% + 8px); display: grid; min-width: 260px; padding: 6px; border: 1px solid rgb(255 255 255 / .1); border-radius: 18px; corner-shape: squircle; background: rgb(18 18 20 / .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 60px -16px rgb(0 0 0 / .9); animation: b-in .18s; }
.sel-list[hidden] { display: none; }
.sel-list button { padding: 9px 12px; border: 0; border-radius: 12px; corner-shape: squircle; background: none; color: rgb(244 244 245 / .8); font-family: "Allo", system-ui, sans-serif; font-size: 16px; letter-spacing: 0; line-height: 1.3; text-align: left; white-space: nowrap; cursor: pointer; }
.sel-list button:hover, .sel-list button:focus-visible { outline: none; background: rgb(255 255 255 / .07); color: var(--text); }
.sel-list button[aria-selected="true"] { background: rgb(255 255 255 / .12); color: var(--text); }
.sel::after { content: ""; position: absolute; right: .1em; top: 50%; width: .32em; height: .32em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: var(--muted); rotate: 45deg; translate: 0 -70%; pointer-events: none; }

.b-msg { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--red); }
.b-form textarea { display: block; width: 100%; margin-top: 10px; padding: 10px 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / .2); background: none; color: var(--text); font: inherit; font-size: 18px; resize: vertical; field-sizing: content; min-height: 48px; }
.b-form textarea::placeholder { color: rgb(244 244 245 / .32); }
.b-form textarea:focus { outline: none; border-color: var(--text); }

.b-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; }
.b-send { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 26px; border: 0; border-radius: 22px; corner-shape: squircle; background: var(--text); color: #09090b; font: inherit; font-weight: 500; cursor: pointer; transition: background-color .2s, scale .15s; }
.b-send:hover { background: #d4d4da; }
.b-send:active { scale: .98; }
.b-send svg { width: 20px; height: 20px; transition: translate .2s; }
.b-send:hover svg { translate: 3px 0; }
.b-alt { font-size: 14px; color: var(--muted); }
.b-alt a { color: var(--text); border-bottom: 1px solid var(--line); }
.b-alt .wa { display: inline-flex; align-items: center; gap: 5px; }
.b-alt .wa svg { width: 15px; height: 15px; color: #25d366; }
.b-fine { margin-top: 18px; font-size: 13px; color: var(--muted); }
.b-fine a { border-bottom: 1px solid var(--line); }

.b-done { animation: b-in .4s cubic-bezier(.16, 1, .3, 1); }
.b-done:focus { outline: none; }
.b-done h2 { margin: 0; font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.035em; }
.b-done p { margin-top: 12px; color: var(--muted); }
.b-form[hidden], .b-done[hidden] { display: none; }
@keyframes b-in { from { opacity: 0; } }

::selection { background: var(--red); color: #fff; }

@media (max-width: 960px) {
  .b-grid { grid-template-columns: 1fr; align-items: start; gap: 48px; padding-top: min(46vw, 40svh); }
  .b-screen::before { height: auto; width: 100%; bottom: auto; background-image: url(img/flizes-blue-900.webp); }
  .b-screen::after { background: linear-gradient(rgb(0 0 0 / .4), transparent 10%, transparent 14%, rgb(0 0 0 / .8) 28%, #000 42%); }
}
@media (prefers-reduced-motion: reduce) {
  .b-screen::before, .b-done { animation: none; }
}
