/* THE EDITOR PAGE: what faq.css does not draw. The toy editor in a window, and the
   highlight cards, each an animation on the left and its words on the right. */
.ed-skins, .ed-caps, .dz-part { max-width: 1200px; margin: 0 auto 70px; scroll-margin-top: 60px; }
.ed-lead { font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--green);
           text-align: center; max-width: 750px; margin: -4px auto 28px; }

/* The toy, framed as a browser window. */
.ed-window { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--r3); box-shadow: var(--e2); overflow: hidden; }
.ed-window__bar { display: flex; gap: 8px; padding: 12px 16px; background: var(--grey-light);
                  border-bottom: 2px solid var(--grey-line); }
.ed-window__bar span { width: 12px; height: 12px; border-radius: var(--r-pill); background: var(--mint); }
.ed-window__bar span:first-child { background: var(--coral); }
.ed-window__frame { display: block; width: 100%; height: 760px; border: 0; }

/* The tour: coral labels over the toy, each opening a tip beside it. */
.ed-skins { position: relative; }
.ed-stage { position: relative; }
.ed-dot { position: absolute; z-index: 2; height: 32px; padding: 0 14px; transform: translate(-50%, -50%); white-space: nowrap;
          border: 2px solid var(--white); border-radius: var(--r-pill); background: var(--coral); color: var(--white);
          font-family: var(--font-ui); font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: var(--e2); }
.ed-dot::after { content: ""; position: absolute; inset: -7px; border-radius: inherit; border: 2px solid var(--coral);
                 animation: ed-ping 1.8s var(--ease) infinite; pointer-events: none; }
.ed-dot[aria-expanded="true"] { background: var(--green); }
.ed-dot[aria-expanded="true"]::after { animation: none; opacity: 0; }
@keyframes ed-ping { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.15); opacity: 0; } }
.ed-tip { position: absolute; z-index: 3; left: var(--x, 0); top: var(--y, 0); box-sizing: border-box;
          width: min(340px, 100%); padding: 20px 24px; background: var(--white); border-radius: var(--r2); box-shadow: var(--e3); }
.ed-tip__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; padding: 0; border: 0;
                 border-radius: var(--r-pill); background: var(--tint); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ed-tip__title { font-family: var(--font-italic); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ink); margin: 0 0 10px; }
.ed-tip p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.ed-tip__list { margin: 0; }
.ed-tip__list div { margin: 0 0 8px; }
.ed-tip__list div:last-child { margin-bottom: 0; }
.ed-tip__list dt { font-weight: 700; font-size: 16px; color: var(--green); }
.ed-tip__list dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }


/* The highlights: one to a row, the animation on the left at its own shape (nothing
   cut), the title and words on the right, centred beside it. */
.ed-grid { display: grid; gap: 40px; }
.ed-cap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
          grid-template-rows: minmax(28px, 1fr) auto auto minmax(28px, 1fr); grid-template-areas: "gif ." "gif title" "gif text" "gif .";
          column-gap: 40px; background: var(--white); border-radius: var(--r2); box-shadow: var(--e1);
          overflow: hidden; padding-right: 40px; }
.ed-cap__gif { grid-area: gif; display: grid; place-items: center; width: 100%; aspect-ratio: 1050 / 720;
               box-sizing: border-box; background: var(--tint); border-right: 2px dashed var(--line);
               color: var(--ink-mute); font-size: 14px; letter-spacing: .04em; }
.ed-cap__gif img { display: block; width: 100%; height: auto; }
/* The animation lies over its still and fades in and out slowly (play.js). */
.ed-cap__gif:has(img) { position: relative; }
.ed-cap__gif .ed-cap__anim { position: absolute; inset: 0; height: 100%; opacity: 0;
                             transition: opacity .8s var(--ease-slow); }
.ed-cap__gif .ed-cap__anim.is-on { opacity: 1; }
/* A slot with its animation takes the animation's own shape, so nothing is ever cut. */
.ed-cap__gif:has(img) { aspect-ratio: auto; border: 0; align-self: center; background: none; }
.ed-cap__title { grid-area: title; font-family: var(--font-italic); font-weight: 400; font-size: 34px;
                 line-height: 1.15; color: var(--ink); margin: 0 0 12px; }
.ed-cap__text { grid-area: text; }
.ed-cap__text p { margin: 0 0 10px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.ed-cap__text p:last-child { margin-bottom: 0; }
.ed-cap__text .ed-cap__lede { font-weight: 700; color: var(--green); }

/* Booking: the FAQ column's width, a subtitle in green, three ways side by side, and
   what we provide beside what we don't. */
.ed-book { max-width: 820px; margin: 0 auto 70px; scroll-margin-top: 60px; }
.ed-book p, .ed-book li { font-size: 18px; line-height: 1.6; color: var(--ink); }
.ed-book p { margin: 0 0 14px; }
.ed-book p.ed-book__sub { font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--green); text-align: center; }
.ed-book__h3 { font-family: var(--font-italic); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ink); margin: 30px 0 14px; }
.ed-book__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ed-book__way { background: var(--white); border-radius: var(--r2); box-shadow: var(--e1); padding: 18px 20px; }
.ed-book__way h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--green); }
.ed-book__way p { margin: 0; }
.ed-book .who-table-wrap { margin: 0 0 16px; border-radius: var(--r2); box-shadow: var(--e1); }
.ed-book__foryou { padding: 16px 20px; background: var(--white); border-left: 4px solid var(--teal); border-radius: 0 var(--r2) var(--r2) 0; box-shadow: var(--e1); }
.ed-book__foryou b { color: var(--green); }

@media (max-width: 950px) {
  /* Tablet and phone: the toy runs edge to edge, no page margin, frame or corners. */
  .ed-window { margin: 0 -20px; border: 0; border-radius: 0; box-shadow: none; }
  .ed-window__frame { height: 640px; }
  .ed-grid { gap: 24px; }
  .ed-cap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; padding-right: 24px; }
  .ed-cap__title { font-size: 28px; }
}
@media (max-width: 700px) {
  .ed-book__ways { grid-template-columns: 1fr; }
  .ed-book p, .ed-book li { font-size: 17px; }
  .ed-window__frame { height: 80svh; }
  /* A phone opens the tip as a sheet along the bottom of the screen, where it is seen. */
  .ed-tip { position: fixed; z-index: 70; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto;
            max-height: 60svh; overflow-y: auto; }
  /* One size for all running text on a phone, as 18px is on a computer. */
  .ed-lead, .ed-cap__text p { font-size: 17px; }
  /* A phone stacks them: the animation, then the words under it. */
  .ed-cap { grid-template-columns: 1fr; grid-template-rows: auto auto auto;
            grid-template-areas: "gif" "title" "text"; padding: 0 0 26px; }
  .ed-cap__gif { border-right: 0; border-bottom: 2px dashed var(--line); margin-bottom: 22px; }
  .ed-cap__title, .ed-cap__text { margin-left: 22px; margin-right: 22px; }
}
@media (prefers-reduced-motion: reduce) { .ed-dot::after { animation: none; opacity: 0; } }
