/* Book a demo: a short piece of the home page's sky, then the calendar on a white card that overlaps it.
   The clouds (markup: source/clouds.py, BAND) sit behind everything in the band and so behind the card: soft sky clouds
   (computers only) and a low bank that ends in white, with a white floor under it, so the band meets the white page with no line. */
.d-top{position:relative;isolation:isolate;overflow:hidden;color:#fff;text-align:center;padding:150px 24px 210px;
  background:radial-gradient(70% 34% at 50% 100%,rgba(226,200,154,.55),transparent 72%),
    linear-gradient(180deg,#14284b 0%,#1b4487 18%,#2569c2 40%,#4c95e0 62%,#8fc4f2 82%,#cfe6fa 100%)}
.d-top .a-grain{z-index:-1}
.d-top>.cb{z-index:-1}
.d-top>.cb--sky{top:-4%;width:clamp(1100px,100%,2000px);   /* never wider than 2000px, so the clouds stay in the band; clear down the middle, where the words are: clouds only show at the sides */
  --gap:470px;-webkit-mask-image:linear-gradient(90deg,#000 calc(50% - var(--gap) - 130px),transparent calc(50% - var(--gap)),transparent calc(50% + var(--gap)),#000 calc(50% + var(--gap) + 130px));
  mask-image:linear-gradient(90deg,#000 calc(50% - var(--gap) - 130px),transparent calc(50% - var(--gap)),transparent calc(50% + var(--gap)),#000 calc(50% + var(--gap) + 130px))}
.d-top>.cb--front{bottom:0;transform:translateY(max(0px,calc(12.64*var(--vw) - 227px)))}   /* in a band wider than 1800px (a 1440px window at the 80% zoom) the bank grows with the width, so it sits lower to stay under the words */
.d-top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 85%)}
/* the sky clouds lag a little as the page scrolls; still for visitors who ask for less motion */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:scroll()){
    .d-top>.cb--sky{animation:cb-sky linear both;animation-timeline:scroll(root);animation-range:0px 600px;--cb-sky:120px}
  }
}
.d-top h1{font:800 clamp(32px,calc(4.2*var(--vw)),56px)/1.08 var(--font-display);letter-spacing:-.8px;max-width:860px;margin:0 auto;text-shadow:0 2px 30px rgba(21,33,47,.3)}
.d-top p{font:500 18px/1.5 var(--font-sans);max-width:620px;margin:18px auto 0;text-shadow:0 1px 16px rgba(21,33,47,.35)}
.d-top p b{font-weight:700}
.d-main{position:relative;z-index:1;padding:0 24px 80px;background:#fff}
.d-card{position:relative;max-width:1060px;margin:0 auto;transform:translateY(-150px);margin-bottom:-150px;padding:10px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 26px 60px rgba(30,47,69,.16)}
/* The calendar's own script keeps the frame hidden until it has loaded and then sets its height. Until then the card
   holds its place and says so; the frame's white background covers the note once it shows. */
.d-card{min-height:640px}
.d-card::before{content:"Loading the calendar…";position:absolute;left:0;right:0;top:120px;text-align:center;font:500 15px/1.4 var(--font-sans);color:#5d6b7a}
.d-card iframe{position:relative;display:block;width:100%;border:0;border-radius:8px;background:#fff}
.d-alt{max-width:1060px;margin:22px auto 0;text-align:center;font:500 14px/1.5 var(--font-sans);color:#5d6b7a}
.d-alt a{color:var(--navy-900);font-weight:700;text-underline-offset:3px}
.ft--light{border-top:0}
@media(max-width:1024px){ .d-top>.cb--sky{display:none} }
@media(max-width:760px){
  .d-top{padding:112px 16px 150px}
  .d-top>.cb--front{transform:translateY(max(0px,calc(32.13*var(--vw) - 130px)))}   /* the phone bank: same rule, wider than 405px */
  .d-top p{font-size:16px}
  .d-main{padding:0 10px 56px}
  .d-card{transform:translateY(-110px);margin-bottom:-110px;padding:4px;border-radius:12px}
}
/* A trust line under the subtitle; under the calendar, how you get started and the questions agents ask */
.d-top .d-trust{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 12px;margin:22px auto 0;font:600 15px/1.3 var(--font-sans)}
.d-trust img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #fff;box-shadow:0 6px 14px rgba(12,32,70,.3)}
.d-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 12px;border-radius:999px;background:#fff;color:var(--navy-900);text-decoration:none;
  font:600 13.5px/1.2 var(--font-sans);text-shadow:none;white-space:nowrap;box-shadow:0 8px 18px rgba(12,32,70,.22)}
.d-badge b{font:800 16px/1 var(--font-display)}
.d-badge span:last-child{text-decoration:underline;text-decoration-color:var(--gray-light);text-underline-offset:3px}
.d-trust .stars5{display:inline-block;flex:none;width:75px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9a441' d='M12 2.6l2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0/15px 14px repeat-x}
.d-steps,.d-faq{max-width:1060px;margin:64px auto 0}
.d-steps h2,.d-faq h2{font:800 30px/1.15 var(--font-display);color:var(--navy-900);letter-spacing:-.3px;margin:0 0 20px;text-align:center}
.d-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.d-steps li{padding:22px 22px 24px;border-radius:14px;background:var(--surface-soft);border:1px solid var(--border)}
.d-steps li>b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--sand);color:var(--navy-950);font:800 16px/1 var(--font-display)}
.d-steps h3{font:800 20px/1.2 var(--font-display);color:var(--navy-900);margin:14px 0 8px}
.d-steps li p{margin:0;font:500 15px/1.55 var(--font-sans);color:#4a5b6e}
.d-faq{max-width:860px}
.d-faq-list{border-radius:16px;border:1px solid var(--border);background:#fff;box-shadow:0 14px 34px rgba(30,47,69,.08);overflow:hidden}
.d-faq details+details{border-top:1px solid var(--border)}
.d-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;list-style:none;
  font:800 18px/1.3 var(--font-display);color:var(--navy-900)}
.d-faq summary::-webkit-details-marker{display:none}
.d-faq summary::after{content:"";flex:none;width:30px;height:30px;border-radius:50%;background:var(--surface-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23384e64' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .2s ease}
.d-faq details[open] summary::after{transform:rotate(45deg);background-color:var(--sand)}
.d-faq summary:hover{background:var(--surface-soft)}
.d-faq summary:focus-visible{outline:3px solid var(--sand);outline-offset:-3px}
.d-faq details p{margin:0;padding:0 70px 22px 24px;font:500 15.5px/1.6 var(--font-sans);color:#4a5b6e}
.d-faq details p a{color:var(--navy-900);font-weight:700;text-underline-offset:3px}
.d-faq-more{margin:18px 0 0;text-align:center;font:500 14.5px/1.5 var(--font-sans);color:#5d6b7a}
.d-faq-more a{color:var(--navy-900);font-weight:700;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){ .d-faq summary::after{transition:none} }
@media(max-width:760px){
  .d-top .d-trust{margin-top:14px;flex-wrap:nowrap;gap:8px}
  .d-trust img{width:32px;height:32px}
  .d-badge{gap:6px;padding:7px 12px 7px 10px}
  @media(max-width:360px){ .d-trust .stars5{width:60px;background-size:12px 11px;height:11px} }
  .d-trust>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}   /* phones: the name is read out, not shown, so the line fits on one row */
  .d-steps,.d-faq{margin-top:44px}
  .d-steps h2,.d-faq h2{font-size:24px}
  .d-steps ol{grid-template-columns:1fr;gap:10px}
  .d-faq summary{padding:18px 16px;font-size:17px}
  .d-faq details p{padding:0 16px 18px}
}
