/* Free link tools: WhatsApp link, WhatsApp QR code and Instagram DM link pages.
 * The hero reuses .calculator-hero from serviti.css. */
.lt-section { padding-top: clamp(32px, 5vw, 56px); }
.lt-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .14);
}
.lt-form, .lt-result { min-width: 0; padding: clamp(22px, 4vw, 40px); }
.lt-form__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.lt-step { display: inline-block; margin-bottom: 7px; color: #2563eb; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lt-form h2, .lt-result h2 { margin: 0; color: var(--ink); font-size: clamp(20px, 2vw, 25px); letter-spacing: -.03em; }
.lt-reset { flex: 0 0 auto; padding: 7px 10px; color: #475569; border: 1px solid #dbe3ed; border-radius: 9px; background: #f8fafc; font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.lt-reset:hover { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.lt-fields { display: grid; gap: 18px; }
.lt-phone-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 12px; }
.lt-field { display: grid; gap: 6px; min-width: 0; color: var(--ink); }
.lt-field > span:first-child { font-size: 13px; font-weight: 850; letter-spacing: -.01em; }
.lt-field small { color: #64748b; font-size: 11.5px; font-weight: 600; line-height: 1.45; }
.lt-field input, .lt-field select, .lt-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  color: #0f172a;
  border: 1px solid #cfd9e6;
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
}
.lt-field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.lt-field input:hover, .lt-field select:hover, .lt-field textarea:hover { border-color: #94a3b8; }
.lt-field input:focus-visible, .lt-field select:focus-visible, .lt-field textarea:focus-visible, .lt-reset:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}
.lt-error { margin: 0; padding: 10px 12px; color: #9a3412; border: 1px solid #fed7aa; border-radius: 10px; background: #fff7ed; font-size: 13px; font-weight: 650; line-height: 1.45; }
.lt-privacy { margin: 20px 0 0; padding-top: 16px; color: #64748b; border-top: 1px dashed #d8e0ea; font-size: 11.5px; font-weight: 600; line-height: 1.55; }
.lt-result { background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 100%); border-left: 1px solid #e2e8f0; }
.lt-result h2 { margin-bottom: 16px; }
.lt-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.lt-link-row input {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  color: #0f172a;
  border: 1px solid #cfd9e6;
  border-radius: 11px;
  background: #fff;
  font: 600 14px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
}
.lt-qr { display: grid; place-items: center; margin: 18px 0 14px; padding: 16px; border: 1px solid #dbe4f0; border-radius: 18px; background: #fff; }
.lt-qr [data-qr] { width: min(240px, 100%); line-height: 0; }
.lt-qr [data-qr] svg { width: 100%; height: auto; }
.lt-qr-empty { margin: 0; padding: 56px 12px; color: #64748b; font-size: 13px; font-weight: 650; text-align: center; }
.lt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-actions .btn { min-height: 44px; }
.lt-actions .btn[disabled], .lt-link-row .btn[disabled] { opacity: .45; cursor: not-allowed; }
.lt-open { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: #1d4ed8; font-size: 14px; font-weight: 750; }
.lt-open[aria-disabled="true"] { color: #94a3b8; pointer-events: none; }
.lt-status { min-height: 20px; margin: 8px 0 0; color: #15803d; font-size: 13px; font-weight: 700; }
.lt-caption { margin-top: 14px; }

.lt-prose { max-width: 820px; margin: 0 auto; }
.lt-prose h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; line-height: 1.12; }
.lt-prose h3 { margin: 22px 0 6px; font-size: 18px; }
.lt-prose p, .lt-prose li { color: #334155; font-size: 16px; line-height: 1.75; }
.lt-prose ul, .lt-prose ol { padding-left: 22px; }
.lt-prose code { padding: 2px 6px; border-radius: 6px; background: #f1f5f9; font-size: .9em; overflow-wrap: anywhere; }
.lt-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.lt-examples article { min-width: 0; padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.lt-examples h3 { margin: 0 0 6px; font-size: 15px; }
.lt-examples p { margin: 0; color: #475569; font-size: 14px; line-height: 1.6; }
.lt-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.lt-more a { display: block; padding: 18px; border: 1px solid #dbe4f0; border-radius: 14px; background: #fff; color: #0f172a; font-weight: 750; text-decoration: none; }
.lt-more a:hover { border-color: #93c5fd; box-shadow: 0 10px 24px -18px rgba(37, 99, 235, .6); }
.lt-more span { display: block; margin-top: 4px; color: #64748b; font-size: 13px; font-weight: 600; line-height: 1.5; }

@media (max-width: 860px) {
  .lt-shell { grid-template-columns: minmax(0, 1fr); }
  .lt-result { border-left: 0; border-top: 1px solid #e2e8f0; }
}
@media (max-width: 520px) {
  .lt-phone-row, .lt-examples { grid-template-columns: minmax(0, 1fr); }
  .lt-link-row { grid-template-columns: minmax(0, 1fr); }
}

/* A shorter hero than the calculator's, so the tool is in view on arrival. */
.lt-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.lt-hero .calculator-hero__grid { grid-template-columns: minmax(0, 1fr); }
.lt-hero h1 { max-width: 900px; font-size: clamp(36px, 5vw, 60px); }
.lt-qr-title { margin: 22px 0 0; }
/* serviti.css resets every list; these are real bullet lists. */
.lt-prose ul { list-style: disc; padding-left: 22px; }
.lt-prose li { margin: 8px 0; padding-left: 4px; }
.calculator-next-step__list a { color: #1d4ed8; font-weight: 750; white-space: nowrap; }

/* WhatsApp website button generator */
.lt-shell--button { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.lt-form__head--sub { margin: 30px 0 18px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.lt-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.lt-fieldset legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: 13px; font-weight: 850; }
.lt-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-choice { display: inline-flex; cursor: pointer; }
.lt-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lt-choice > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; color: #1e293b; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.lt-choice input:checked + span { color: #1d4ed8; border-color: #2563eb; background: #eef4ff; box-shadow: inset 0 0 0 1px #2563eb; }
.lt-choice input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .3); outline-offset: 2px; }
.lt-swatch i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.lt-colour-pick { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #475569; font-size: 13px; font-weight: 700; }
.lt-colour-pick input { width: 44px; height: 44px; padding: 2px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; cursor: pointer; }
.lt-check { display: flex; align-items: flex-start; gap: 10px; color: #334155; font-size: 14px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.lt-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; }
.lt-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lt-preview-head h2 { margin: 0; }
.lt-device { display: inline-flex; padding: 3px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; }
.lt-device button { min-height: 38px; padding: 6px 14px; color: #475569; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.lt-device button[aria-pressed="true"] { color: #fff; background: #1d4ed8; }
.lt-preview { display: grid; place-items: center; margin: 16px 0 4px; padding: 14px; border: 1px solid #dbe4f0; border-radius: 18px; background: #e8eef7; }
/* The frame is drawn at a real computer or phone width, so the button's own
   phone rules apply exactly as on a visitor's screen, then scaled to fit. */
.lt-preview-stage { position: relative; overflow: hidden; }
.lt-preview iframe { position: absolute; top: 0; left: 0; display: block; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; transform-origin: 0 0; }
.lt-preview[data-device-view="phone"] iframe { border: 8px solid #0f172a; border-radius: 28px; }
.lt-code { width: 100%; min-height: 132px; margin-top: 10px; padding: 12px; color: #0f172a; border: 1px solid #cfd9e6; border-radius: 11px; background: #fff; font: 500 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.lt-code-note { margin: 10px 0 0; color: #64748b; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.lt-install ol { margin: 0; padding-left: 20px; list-style: decimal; }
.lt-install li { margin: 6px 0; color: #475569; font-size: 14px; line-height: 1.6; }
@media (max-width: 1100px) { .lt-shell--button { grid-template-columns: minmax(0, 1fr); } .lt-shell--button .lt-result { border-left: 0; border-top: 1px solid #e2e8f0; } }
