/* The landing and pricing sections added in Wave 3 (3-10): the booking tile, the plain facts, the price line, the
   questions, the language switch in the shared header, the operator line in the footer. Paper look: white cards on
   the mint-grey tint, 1px hairlines, black accents, pastel marks. Loaded after calm.css. Logical properties only, so
   every rule sits right in Arabic too. Both themes here: the tokens of glass.css and calm.css carry the dark values,
   and the few fixed colours have their dark twin at the end. */
:root {
  --ld-mint: color-mix(in srgb, #4D7C6B 14%, var(--g-ev));
  --ld-sky: color-mix(in srgb, #2F95E5 12%, var(--g-ev));
  --ld-sand: color-mix(in srgb, #C9932E 14%, var(--g-ev));
}
:root[data-theme="dark"] {
  --ld-mint: color-mix(in srgb, #4D7C6B 26%, var(--g-ev));
  --ld-sky: color-mix(in srgb, #2F95E5 22%, var(--g-ev));
  --ld-sand: color-mix(in srgb, #C9932E 24%, var(--g-ev));
}

/* ------------------------------------------------------------------ the shared header */
.ld-top { flex-wrap: wrap; }
.ld-nav { flex-wrap: wrap; justify-content: flex-end; }
.ld-nav .lang-sw { margin-inline: 4px; }
.ld-nav .lang-sw button { min-height: 32px; }

/* ------------------------------------------------------------------ the booking tile, under the three ideas */
.cm-t4 { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 32px; align-items: center; }
.cm-t4 > .cm-pill, .cm-t4 > h3, .cm-t4 > p { grid-column: 1; }
.cm-t4 > .cm-pill { justify-self: start; }      /* a grid item stretches by default: the pill keeps its own width */
.cm-t4 > .vz-book { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; }
.vz-book { display: flex; flex-wrap: wrap; gap: 8px; }
.vz-book span { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 16px; border-radius: 999px; font-size: 14px;
  font-variant-numeric: tabular-nums; color: var(--body); background: var(--g-solid); border: 1px solid var(--g-rim); }
.vz-book span.on { background: var(--ink); border-color: var(--ink); color: var(--g-on); font-weight: 500; }

/* ------------------------------------------------------------------ plain facts: small cards, one line each */
.ld-facts { padding: 24px 0 40px; }
.ld-facts .ld-k, .ld-price .ld-k, .ld-faq .ld-k { text-align: center; font-size: 13.5px; font-weight: 500; margin: 0 0 20px; color: var(--cm-mute); }
.ld-tgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ld-tgrid li { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 18px; font-size: 14.5px; line-height: 1.45;
  color: var(--ink); background: var(--g-solid); border: 1px solid var(--g-rim); }
.ld-tic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ld-mint); color: var(--ink); }
.ld-tgrid li:nth-child(3n+2) .ld-tic { background: var(--ld-sky); }
.ld-tgrid li:nth-child(3n) .ld-tic { background: var(--ld-sand); }
.ld-tic svg.i { width: 18px; height: 18px; stroke-width: 1.6; }

/* ------------------------------------------------------------------ the price line */
.ld-price { padding: 24px 0 40px; }
.ld-pline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; max-width: 760px; margin: 0 auto;
  padding: 20px 28px; border-radius: 999px; text-align: center; text-decoration: none; font-size: 16px; color: var(--ink);
  background: var(--g-solid); border: 1px solid var(--g-rim); }
.ld-pline b { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.ld-pline:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--g-rim)); }
.ld-pline:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ------------------------------------------------------------------ questions: one card, a hairline between */
.ld-faq { padding: 24px 0 40px; }
.ld-qs { max-width: 760px; margin: 0 auto; border-radius: 24px; background: var(--g-solid); border: 1px solid var(--g-rim); overflow: hidden; }
.ld-qs details + details { border-top: 1px solid var(--g-hair); }
.ld-qs summary { display: flex; align-items: center; gap: 16px; min-height: 56px; padding-block: 14px; padding-inline: 24px; cursor: pointer;
  list-style: none; font-size: 16px; font-weight: 500; color: var(--ink); }
.ld-qs summary::-webkit-details-marker { display: none; }
.ld-qs summary::after { content: "+"; margin-inline-start: auto; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 400; color: var(--cm-mute); background: var(--cm-pill); }
.ld-qs details[open] summary::after { content: "\2212"; }
.ld-qs summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.ld-qs details p { margin: 0; padding-block: 0 18px; padding-inline: 24px 68px; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.ld-qs details p a { color: var(--ink); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ pricing: the currency beside the amount, the after-trial line */
.pr-price > span { align-items: baseline; }
.pr-cur { font-size: 15px; font-weight: 500; color: var(--cm-mute); letter-spacing: .02em; }
.pr-after { margin: -40px 0 48px; font-size: 15px; color: var(--body); }

/* ------------------------------------------------------------------ the footer: the operator beside the name */
.ld-op { margin-inline-start: 10px; color: var(--cm-mute); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1000px) {
  .ld-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cm-t4 { display: flex; }
  .cm-t4 > .vz-book { margin-top: auto; padding-top: 20px; }
}
@media (max-width: 767px) {
  .ld-nav { gap: 6px; }
  .ld-nav .ld-wide { display: none; }               /* Pricing and Security stay in the footer on a phone */
  .ld-pline { border-radius: 20px; padding: 18px 20px; }
  .ld-qs { border-radius: 20px; }
  .ld-qs summary { padding-inline: 18px; font-size: 15px; }
  .ld-qs details p { padding-inline: 18px; }
  .pr-after { margin-top: -48px; }
}
@media (max-width: 480px) {
  .ld-tgrid { grid-template-columns: minmax(0, 1fr); }
  .ld-tgrid li { padding: 14px 16px; }
}
