/* Contact: each part placed and sized with the tokens of system.css; the components are in components.css. */

/* ---------- hero: a wide frame (a laptop whose screen shows the team inbox), the words in a white card on its lower left ---------- */
.ct-hero { position: relative; padding-block: clamp(28px, 3.4vw, 48px) clamp(56px, 6vw, 88px); background: var(--c-paper); }
.ct-hero__stage { position: relative; }
.ct-hero__frame { margin-left: 16%; aspect-ratio: 1.7; }
.ct-hero__shot { position: absolute; inset: 0; margin: 0; }
.ct-hero__shot > img { position: absolute; inset: 0; height: 100%; max-width: none; object-position: 50% 40%; }
.ct-hero__stop { top: 16px; right: 18px; }
.ct-hero__card { position: absolute; left: 0; bottom: clamp(24px, 3vw, 40px); z-index: 5; display: grid; gap: 14px; justify-items: start; width: min(420px, 38%); padding: clamp(24px, 2.6vw, 34px); background: var(--c-paper); color: var(--c-ink); border-radius: var(--radius-l); box-shadow: 0 30px 70px -30px rgba(1, 20, 55, .55), 0 0 0 1px var(--c-line); -webkit-mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px)); mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px)); }
.ct-hero__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g-spectral); }
.ct-hero__card h1 { font: 700 clamp(2rem, 1.2rem + 1.9vw, 3.1rem)/1.06 var(--font-display); letter-spacing: -.03em; }
.ct-hero__line { color: var(--c-ink-soft); font-size: var(--fs-body); line-height: 1.5; }
.ct-hero__phone { display: inline-grid; grid-template-columns: 44px auto; align-items: center; gap: 12px; color: var(--c-ink); text-decoration: none; }
.ct-hero__phone-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #EEF3FF; color: var(--c-brand); transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear; }
.ct-hero__phone small { display: block; font: 600 .8125rem/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-soft); }
.ct-hero__phone b { display: block; font: 700 1.25rem/1.25 var(--font-display); }
.ct-hero__phone:hover .ct-hero__phone-ico { background: var(--c-brand); color: #fff; }
.ct-hero__act { display: grid; justify-items: start; gap: 10px; margin-top: 4px; }
/* the team inbox on the laptop's screen (designed at 360 x 226, placed by core.js) */
.inbox { position: absolute; inset: 0; display: grid; align-content: start; gap: 8px; padding: 0 12px 12px; background: #fff; color: var(--c-ink); font: 500 14px/1.3 var(--font-ui); }
.inbox__bar { display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 -12px; padding: 0 12px; border-bottom: 1px solid var(--c-line); }
.inbox__mark { flex: none; width: 14px; height: 14px; }
.inbox__mark .spark path { fill: var(--c-brand); }
.inbox__bar b { font: 700 14px/1 var(--font-display); }
.inbox__who { margin-left: auto; font: 500 14px/1 var(--font-ui); color: var(--c-ink-soft); }
.inbox__msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--c-line); border-radius: 6px; background: #F5F8FF; box-shadow: inset 3px 0 0 var(--c-brand); }
.inbox__ava { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-deep); color: #fff; font: 700 14px/1 var(--font-display); }
.inbox__head b { display: block; font: 700 14px/1.25 var(--font-display); white-space: nowrap; }
.inbox__head small { display: block; font: 500 14px/1.3 var(--font-ui); color: var(--c-ink-soft); white-space: nowrap; }
.inbox__msg p { grid-column: 2; font: 500 14px/1.35 var(--font-ui); }
.inbox__read { display: flex; align-items: center; gap: 6px; font: 600 14px/1.2 var(--font-ui); color: var(--c-brand-text); }
.inbox__read i { flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.inbox__reply { padding: 8px 10px; border-radius: 6px; background: var(--c-deep); color: #fff; }
.inbox__reply b { display: block; font: 700 14px/1.2 var(--font-display); color: var(--c-cyan); }
.inbox__reply p { margin-top: 2px; font: 500 14px/1.35 var(--font-ui); }
/* the hold keeps the bar's label (the first item) on; the message, its read mark and the reply fade in, each in turn,
   with no movement, and as the loop ends they fade out together: the inbox clears as one and starts again */
.inbox [data-kit-at] { opacity: var(--kit-in, 1); }
@media (max-width: 1100px) {
  /* the frame shows the laptop close, so its screen reads (its glass about 300 px or more wide, the inbox's 14 px
     text 11 px or more as shown); the photo is drawn wider than the frame, its screen's middle (53.5%, 51.7% of the
     file) at the frame's middle, by left and top alone, which core.js reads; the card stands under it, over its foot */
  .ct-hero__frame { --sw: clamp(620px, 160vw, 1100px); margin-left: 0; aspect-ratio: auto; height: clamp(300px, 60vw, 480px); }
  .ct-hero__shot > img { inset: auto; left: calc(50% - var(--sw) * .5355); top: calc(50% + 20px - var(--sw) * .3447); width: var(--sw); height: calc(var(--sw) / 1.5); margin: 0; }
  .ct-hero__stop { top: 10px; right: 12px; }
  .ct-hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .ct-hero__card h1 { font-size: clamp(1.9rem, 1rem + 2.6vw, 2.6rem); }
}

/* ---------- the form: three steps in the white card, on the pale blue ---------- */
.ct-form__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ct-form__head { position: sticky; top: calc(var(--bar-h) + 32px); }
.ct-form__aside { font-size: 1rem !important; }
.ct-form__aside a { color: var(--c-brand-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ct-form__aside a:hover { text-decoration: underline; }
.ct-card { position: relative; padding: clamp(24px, 3vw, 40px); background: var(--c-paper); color: var(--c-ink); border-radius: var(--radius-l); box-shadow: var(--shadow-l), 0 0 0 1px var(--c-line); -webkit-mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px)); mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + .6px)); }
.ct-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g-spectral); }
.ct-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.ct-steps li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--c-line); font: 600 .9375rem/1.25 var(--font-ui); color: var(--c-ink-soft); transition: border-color var(--dur-med) linear, color var(--dur-med) linear; }
.ct-steps li span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--c-line); font: 700 .875rem/1 var(--font-display); color: var(--c-ink-soft); transition: background-color var(--dur-med) linear, border-color var(--dur-med) linear, color var(--dur-med) linear; }
.ct-steps li[aria-current="step"] { border-top-color: var(--c-brand); color: var(--c-ink); }
.ct-steps li[aria-current="step"] span { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.ct-steps li[data-kit-past] { border-top-color: var(--c-ink); color: var(--c-ink); }
.ct-steps li[data-kit-past] span { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.ct-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-card legend { padding: 0; margin-bottom: 16px; font: 700 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.25 var(--font-display); letter-spacing: -.01em; color: var(--c-ink); }
.ct-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ct-choice { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: #fff; font: 600 1rem/1.3 var(--font-ui); cursor: pointer; transition: border-color var(--dur-fast) linear, background-color var(--dur-fast) linear, color var(--dur-fast) linear, transform var(--dur-fast) ease-out, box-shadow var(--dur-fast) linear; }
.ct-choice input, .ct-count input, .ct-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-choice__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-m); background: #EEF3FF; color: var(--c-brand); transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear; }
.ct-choice:hover { border-color: var(--c-brand); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.ct-choice[data-kit-on], .ct-choice:has(input:checked) { border-color: var(--c-ink); background: var(--c-ink); color: #fff; box-shadow: inset 0 -3px 0 var(--c-cyan); }
.ct-choice[data-kit-on] .ct-choice__ico, .ct-choice:has(input:checked) .ct-choice__ico { background: rgba(255, 255, 255, .12); color: var(--c-cyan); }
.ct-choice:has(input:focus-visible), .ct-count:has(input:focus-visible), .ct-chip:has(input:focus-visible) { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.ct-choices > .ct-error, .ct-counts > .ct-error { grid-column: 1 / -1; }
.ct-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ct-count { position: relative; display: block; cursor: pointer; }
.ct-count span { display: grid; place-items: center; min-height: 78px; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: #fff; font: 700 1.625rem/1 var(--font-display); color: var(--c-ink); transition: border-color var(--dur-fast) linear, background-color var(--dur-fast) linear, color var(--dur-fast) linear, transform var(--dur-fast) ease-out; }
.ct-count:hover span { border-color: var(--c-brand); transform: translateY(-1px); }
.ct-count[data-kit-on] span, .ct-count input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: #fff; box-shadow: inset 0 -3px 0 var(--c-cyan); }
.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-field { display: grid; gap: 6px; margin-top: 14px; }
.ct-fields .ct-field { margin-top: 0; }
.ct-field label, .ct-reach legend { font: 600 .9375rem/1.3 var(--font-ui) !important; color: var(--c-ink); margin: 0; }
.ct-field input { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-m); background: #fff; color: var(--c-ink); font: 500 1.0625rem/1 var(--font-ui); transition: border-color var(--dur-fast) linear, box-shadow var(--dur-fast) linear; }
.ct-field input:hover { border-color: #B9C8EA; }
.ct-field input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgba(5, 84, 251, .16); }
.ct-field[data-kit-invalid] input, .ct-field input[aria-invalid="true"] { border-color: #C2341F; }
.ct-reach { margin-top: 18px !important; }
.ct-reach legend { margin-bottom: 8px !important; }
.ct-reach__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { position: relative; display: block; cursor: pointer; }
.ct-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: 600 1rem/1 var(--font-ui); transition: border-color var(--dur-fast) linear, background-color var(--dur-fast) linear, color var(--dur-fast) linear; }
.ct-chip:hover span { border-color: var(--c-brand); }
.ct-chip[data-kit-on] span, .ct-chip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.ct-error { margin-top: 4px; font: 600 .9375rem/1.35 var(--font-ui); color: #B42318; }
.ct-hint { margin-top: 14px; color: var(--c-ink-soft); font-size: 1rem; line-height: 1.5; }
.ct-hint a { color: var(--c-brand-text); }
.ct-nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 24px; }
.ct-next { --btn-bg: var(--c-ink); --btn-bg-hover: #0B2C78; }
.ct-back { margin-right: auto; padding: 10px 4px; border: 0; background: none; color: var(--c-ink-soft); font: 600 1rem/1 var(--font-ui); cursor: pointer; }
.ct-back:hover { color: var(--c-ink); text-decoration: underline; }
.ct-card[data-kit-sending] .ct-next { opacity: .7; pointer-events: none; }
@media (max-width: 960px) {
  .ct-form__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-form__head { position: static; }
}
@media (max-width: 560px) {
  .ct-choices, .ct-fields { grid-template-columns: minmax(0, 1fr); }
  .ct-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-steps li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: .875rem; }
}

/* ---------- skip: a bakery owner at her laptop; the chat that writes the plan, in glass beside her ---------- */
.ct-skip { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--c-deep); color: var(--c-on-ink); }
.ct-skip::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g-spectral); }
.ct-skip__media { position: absolute; inset: -40px 0; z-index: -2; }
.ct-skip__media > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 30%; }
.ct-skip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1, 20, 55, .94) 0%, rgba(1, 20, 55, .7) 34%, rgba(1, 20, 55, .12) 62%, rgba(1, 20, 55, 0) 74%), linear-gradient(270deg, rgba(1, 20, 55, .6) 0%, rgba(1, 20, 55, 0) 44%); }
.ct-skip__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 5vw, 80px); align-items: end; min-height: clamp(560px, 44vw, 680px); }
.ct-skip__copy { display: grid; gap: 14px; max-width: 520px; }
.ct-skip__copy h2 { font: 700 var(--fs-h2)/1.08 var(--font-display); letter-spacing: -.025em; }
.ct-skip__copy p { color: var(--c-on-ink-soft); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; }
.ct-skip__act { display: grid; justify-items: start; gap: 10px; margin-top: 10px; }
.ct-skip__act .cta-note { color: var(--c-on-ink-soft); }
.ct-skip__stage { position: relative; align-self: center; }
.ct-skip__stop { top: -52px; right: 0; }
.ct-chat { position: relative; display: grid; grid-template-rows: auto 1fr; height: 440px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--c-ink); border-radius: var(--radius-l); box-shadow: 0 30px 70px -26px rgba(1, 10, 40, .8); overflow: hidden; }
.ct-chat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g-spectral); }
.ct-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--c-line); }
.ct-chat__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--c-deep); }
.ct-chat__ico .spark { width: 16px; height: 16px; }
.ct-chat__ico .spark path { fill: var(--c-cyan); }
.ct-chat__head b { display: block; font: 700 1rem/1.2 var(--font-display); }
.ct-chat__head small { display: block; font: 500 .875rem/1.3 var(--font-ui); color: var(--c-ink-soft); }
.ct-chat__log { display: grid; align-content: start; gap: 10px; padding: 16px 18px; }
.ct-chat [hidden] { display: none !important; }
.ct-chat__log { opacity: calc(1 - var(--kit-out, 0)); }
.ct-chat__log [data-kit-msg] { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 8px)); }
.ct-chat__bot, .ct-chat__me { max-width: 88%; padding: 10px 13px; border-radius: 12px; font: 500 .9375rem/1.4 var(--font-ui); }
.ct-chat__bot { justify-self: start; background: #EEF3FF; color: var(--c-ink); border-top-left-radius: 4px; }
.ct-chat__me { justify-self: end; background: var(--c-brand); color: #fff; border-top-right-radius: 4px; }
.ct-chat__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-chat__picks span { display: grid; place-items: center; min-width: 44px; height: 34px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: 600 .9375rem/1 var(--font-ui); transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear, border-color var(--dur-fast) linear; }
.ct-chat__picks span[data-kit-on] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.ct-chat__typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.ct-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); animation: ct-dot 1s ease-in-out infinite; }
.ct-chat__typing i:nth-child(2) { animation-delay: .15s; }
.ct-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ct-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.ct-chat__read { display: grid; gap: 8px; min-width: 210px; }
.ct-chat__read i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--c-brand) calc(var(--kit-fill, 0) * 100%), #D5E1FB 0); }
.ct-chat__done { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 12px; background: var(--c-deep); color: #fff; font: 600 1rem/1.3 var(--font-display); }
.ct-chat__done .spark { width: 16px; height: 16px; }
.ct-chat__done .spark path { fill: var(--c-cyan); }
@media (prefers-reduced-motion: reduce) { .ct-chat__typing i { animation: none; } }
@media (max-width: 860px) {
  /* the words on the navy above; the photo at the part's foot, her face high in it and the chat in its lower part,
     so the chat stays on its photo at every width (Tomer); the photo's box stays put and the picture drifts inside it */
  .ct-skip { --mh: 720px; padding-bottom: 0; }
  .ct-skip::before { inset: auto 0 0 0; height: var(--mh); background: linear-gradient(180deg, rgba(1, 20, 55, .5) 0%, rgba(1, 20, 55, 0) 16%, rgba(1, 20, 55, 0) 60%, rgba(1, 20, 55, .45) 100%); }
  .ct-skip__media { inset: auto 0 0 0; height: var(--mh); overflow: hidden; transform: none; }
  .ct-skip__media > img { inset: -40px 0; height: calc(100% + 80px); object-position: 45% 20%; transform: translate3d(0, var(--dy, 0px), 0) scale(1.08); }
  .ct-skip__in { position: relative; grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; padding-bottom: var(--mh); }
  .ct-skip__stage { position: absolute; left: 0; right: 0; bottom: 16px; width: min(100%, 420px); margin-inline: auto; }
  .ct-chat { height: 410px; background: var(--c-paper); }
}
