/* The landing template on the 2.0 page kit: /wedding-venues, /function-venues and /caterers (site plan of 12 November 2026,
   Part 2; src/kit/KIT.md). One sheet for all three; only the words, the example and the photo change. Layout only, tokens only:
   it places the kit's parts and the design system's components (the window, the slip, the bezel, the phone, the thread). */

/* The hero: the copy with the website box; beside it, your reply in a window, in a bezel on the page's photograph */
.ld-from { max-width: 34em; margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--o2-ink-3); }
.ld-tile { --kit-card: 404px; aspect-ratio: auto; min-height: 620px; align-content: center; justify-items: center; padding: 32px; }
.ld-tile__card { width: min(100%, var(--kit-card)); }
.ld-mail { border: 0; border-radius: var(--o2-r-slip); box-shadow: none; font-size: 12.5px; }
.ld-mail__bar { overflow: hidden; font-weight: 500; color: var(--o2-ink-3); white-space: nowrap; text-overflow: ellipsis; }
.ld-mail__in { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border-bottom: 1px solid var(--o2-line-soft); background: var(--o2-fill); }
.ld-mail__in p { margin: 0; }
.ld-mail__in b { display: block; font-weight: 500; color: var(--o2-ink); }
.ld-mail__in p span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--o2-ink-3); }
.ld-mail__av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--o2-fill-strong); font-size: 10.5px; font-weight: 500; color: var(--o2-ink-2); }
.ld-mail__out { display: grid; gap: 12px; padding: 14px; }
.ld-mail__from { display: flex; align-items: center; gap: 8px; margin: 0; }
.ld-mail__from b { font-weight: 500; }
.ld-mail__from small { margin-left: auto; font-size: 11.5px; color: var(--o2-ink-4); white-space: nowrap; }
.ld-mail__body { margin: 0; font-size: 13px; line-height: 1.55; color: var(--o2-ink-2); }
.ld-mail__rec { padding-top: 2px; }
@media (max-width: 960px) { .ld-tile { min-height: 0; aspect-ratio: auto; } }
@media (max-width: 640px) { .ld-tile { padding: 16px; } .ld-tile__card { width: 100%; } }

/* Priced from your packages: the read card (sticky beside the slip from 961px), and the quote slip on paper */
.ld-split { display: grid; gap: 40px; align-items: start; }
.ld-split__side { display: grid; gap: 16px; }
.ld-split__main { justify-self: center; width: min(100%, 540px); }
.ld-split__line { max-width: 32em; }
@media (min-width: 961px) {
  .ld-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); }
  .ld-split__side { position: sticky; top: var(--o2-sticky-top); }
}
.ld-read { display: grid; gap: 16px; padding: 24px; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: var(--o2-e-flat); }
.ld-read__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ld-read__head b { font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; }
.ld-read__ask { margin: 0; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--o2-fill); font-size: 14px; line-height: 1.55; color: var(--o2-ink-2); }
.ld-read__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ld-read__rows { display: grid; margin: 0; }
.ld-read__rows > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--o2-line); }
.ld-read__rows dt { font-size: 13.5px; line-height: 1.5; color: var(--o2-ink-3); }
.ld-read__rows dd { margin: 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; color: var(--o2-ink); }
.ld-read__left { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--o2-ink-3); }
@media (max-width: 640px) { .ld-read { padding: 20px; } .ld-read__rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* What waits for you: the page's one dark chapter. The words and two framed reasons on the left, the waiting reply on the right. */
.ld-held { display: grid; gap: 40px; align-items: center; }
@media (min-width: 961px) { .ld-held { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 6vw, 96px); } }
.ld-held .kit-head { margin-bottom: 32px; }
.ld-wait { display: grid; gap: 16px; padding: 24px; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line); }
.ld-wait p { margin: 0; }
.ld-wait__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ld-wait__meta { font-size: 13px; color: var(--o2-ink-3); }
.ld-wait__who { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--o2-line); }
.ld-wait__who b { display: block; font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; }
.ld-wait__who small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--o2-ink-3); }
.ld-wait__why { padding: 14px 16px; border-radius: 10px; background: var(--o2-fill-strong); font-size: 14.5px; line-height: 1.5; }
.ld-wait__k { margin-bottom: 4px !important; font-size: 12.5px; font-weight: 500; color: var(--o2-ink-3); }
.ld-wait__line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.ld-wait__line span:first-child small { color: var(--o2-ink-3); font-size: inherit; }
.ld-wait__blank { color: var(--o2-ink-3); }
.ld-wait__last { font-size: 14px; line-height: 1.55; color: var(--o2-ink-3); }

/* They accept: the customer's quote page on a light phone, and the record after the reply on a thread */
.ld-accept { display: grid; gap: 48px; align-items: center; }
@media (min-width: 961px) { .ld-accept { grid-template-columns: auto minmax(0, 1fr); gap: clamp(56px, 8vw, 120px); } }
.ld-accept__fig { justify-self: center; margin: 0; }
.ld-phone { --pw: 288px; }
@media (max-width: 400px) { .ld-phone { --pw: 264px; } }
/* The customer's own quote page after they accept, as the app draws it, in iOS Safari (build.py ld_quote_page, {{ldpage key}}):
   the page in the app's own parts (o2-av, o2-tag, the slip), and Safari's address bar at the foot. Nothing drawn for the site alone. */
.ld-safari { position: absolute; inset: 0; display: flex; flex-direction: column; background: #FFFFFF; }
.ld-page { display: grid; align-content: start; gap: 10px; flex: 1; min-height: 0; overflow: hidden; padding: calc(var(--pt) * 62) 14px 0; font-family: var(--o2-font); color: var(--o2-ink-fixed); -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.ld-page p { margin: 0; }
.ld-page__bar { display: flex; align-items: center; gap: 8px; margin: 0 -14px 4px !important; padding: 0 14px 10px; box-shadow: 0 1px 0 rgb(14 27 18 / 0.08); font-size: 13px; }
.ld-page__bar b { font-weight: 500; }
.ld-page__eyebrow { font-size: 11.5px; color: var(--o2-ink-3); }
.ld-page__title { margin-top: -6px !important; font: 600 20px/1.2 var(--o2-font); letter-spacing: -0.02em; }
.ld-page__meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--o2-ink-3); }
.ld-page .kit-slip { font-size: 12px; }
.ld-page__h { font-weight: 500; font-size: 13.5px; }
.ld-page__done { display: grid; gap: 6px; }
.ld-page__receipt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--o2-fill); font-size: 12px; line-height: 1.45; color: var(--o2-ink-2); }
.ld-page__receipt b { font-weight: 500; color: var(--o2-ink); }
.ld-safari__bar { flex: none; padding: 8px 12px calc(var(--pt) * 30); background: rgb(249 249 249 / 0.94); box-shadow: 0 -1px 0 rgb(60 60 67 / 0.12); }
.ld-safari__url { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); font: 400 13.5px/1 -apple-system, BlinkMacSystemFont, "Inter", sans-serif; color: #000; }
.ld-safari__aa { font-weight: 600; font-size: 12px; }
.ld-safari__url .o2-i { width: 15px; height: 15px; color: #3C3C43; }
.ld-steps { max-width: 30em; }
.ld-steps > li > div { min-width: 0; }
.ld-accept__side, .ld-setup__side { display: grid; gap: 20px; align-content: start; }

/* Setup: your packages in a white card, and Upload, Check, Forward on a thread beside it */
.ld-setup { display: grid; gap: 40px; align-items: start; }
@media (min-width: 961px) { .ld-setup { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(48px, 6vw, 80px); } }
.ld-pkgs { overflow: hidden; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: var(--o2-e-flat); }
.ld-pkgs__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 18px 22px; }
.ld-pkgs__head b { font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; }
.ld-pkgs__head span { font-size: 13.5px; color: var(--o2-ink-3); }
.ld-pkgs__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ld-pkgs__table :is(th, td) { padding: 14px 22px; border-top: 1px solid var(--o2-line); text-align: left; vertical-align: top; font-weight: 400; }
.ld-pkgs__table thead th { padding-block: 10px; font-size: 12.5px; font-weight: 500; color: var(--o2-ink-3); background: var(--o2-fill); }
.ld-pkgs__table tbody th b { display: block; font-weight: 500; color: var(--o2-ink); }
.ld-pkgs__table tbody th small { display: block; margin-top: 2px; font-size: 13px; color: var(--o2-ink-3); }
.ld-pkgs__table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ld-ok, .ld-not { white-space: nowrap; }
.ld-ok > *, .ld-not > * { vertical-align: middle; }
.ld-ok .o2-i { width: 15px; height: 15px; margin-right: 6px; stroke-width: 2.2; color: var(--o2-ink); }
.ld-not { color: var(--o2-ink-3); }
.ld-not .o2-sign { margin-right: 7px; }
.ld-blank { color: var(--o2-ink-3); }
.ld-pkgs__foot { margin: 0; padding: 14px 22px; border-top: 1px solid var(--o2-line); font-size: 13.5px; color: var(--o2-ink-3); }
@media (max-width: 640px) {
  .ld-pkgs__head, .ld-pkgs__foot { padding-inline: 16px; }
  .ld-pkgs__table { font-size: 14px; }
  .ld-pkgs__table :is(th, td) { padding: 12px 10px; }
  .ld-pkgs__table :is(th, td):first-child { padding-left: 16px; }
  .ld-pkgs__table :is(th, td):last-child { padding-right: 16px; }
  .ld-ok span, .ld-not span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the tick or ring stays; the word is read */
}

/* Who it's for: the home page's iso row, cut to three, each cell a link */
.ld-who .o2-eyebrow { margin: 0 0 22px; }
.ld-who__grid > li { padding: 0; }
.ld-who__a { display: grid; align-content: start; justify-items: start; gap: 6px; width: 100%; padding: 28px 28px 32px; color: var(--o2-ink); text-decoration: none; font-weight: 400 !important; }
.ld-who__a:hover { background: var(--o2-fill); }
.ld-who__a .o2-iso { justify-self: stretch; height: 112px; margin-bottom: 14px; }
.ld-who__a strong { font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; }
.ld-who__a > span:not(.o2-iso) { font-size: 15px; line-height: 1.55; color: var(--o2-ink-3); }
@media (min-width: 641px) and (max-width: 960px) { .ld-who__grid.kit-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ld-who__a { grid-template-columns: 80px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px 20px; }
  .ld-who__a .o2-iso { grid-row: 1 / span 2; width: 80px; height: 72px; margin: 0; }
  .ld-who__a > :not(.o2-iso) { grid-column: 2; }
}

/* Questions: the price beside the head */
.ld-price { display: grid; gap: 8px; margin-top: 12px; padding: 22px 24px; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: var(--o2-e-flat); }
.ld-price p { margin: 0; }
.ld-price__title { font: 500 18px/1.35 var(--o2-font); }
.ld-price__note { font-size: 14px; line-height: 1.55; color: var(--o2-ink-3); }
.ld-price__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px !important; font-size: 14.5px; }

/* The dark chapter's one line, framed: an icon square and the words */
.ld-held__note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--o2-r-card); box-shadow: inset 0 0 0 1px var(--o2-line); }
.ld-held__note .kit-grid__ic { margin: 0; }
.ld-held__note p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--o2-ink-2); }
