/* Public landing (defence.tenderbot.dev). Invite only. Colour is the app skin in theme.css
   (WhatsApp green tokens: --primary, --chat-bg, --header, --unread). */
.lp {
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--chat-bg);
  background-image: var(--wallpaper);
  color: var(--foreground);
  font-family: var(--font);
}
.lp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  background: var(--header);
  border-bottom: 1px solid var(--border);
}
.lp-bar .brand { font-size: 16px; }
.lp-bar .brand:hover { text-decoration: none; }
.lp-signin { flex: none; height: 36px; padding: 0 14px; }
.lp-main {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.lp-invite { margin: 0; color: var(--muted-foreground); font-size: 14px; }
/* Large green download control. Overrides .btn's 32px pill so it stays a button on a phone. */
a.lp-apk {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(11 20 26 / .18);
}
a.lp-apk:hover { text-decoration: none; opacity: .92; }
html.android a.lp-apk { box-shadow: 0 0 0 3px var(--unread); }
.lp-dl { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp-ver { margin: 0; color: var(--muted-foreground); font-size: 13px; }
.lp-pkgs { display: flex; flex-wrap: wrap; gap: 8px; }
a.lp-pkg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}
a.lp-pkg:hover { text-decoration: none; opacity: .92; }
.lp-note { margin: 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.45; }
.lp-rows { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}
.lp-label { font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.lp-label:hover { text-decoration: underline; }
.lp-cmd {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  font: 12px/1.45 ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color: var(--foreground);
  background: var(--header);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
}
button.lp-copy {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  flex: none;
  white-space: nowrap;
}
.lp-sha { margin: 4px 0 0; text-align: center; font-size: 11px; }
.lp-sha a { color: var(--muted-foreground); text-decoration: underline; text-underline-offset: 2px; }
.lp-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--header);
  color: var(--muted-foreground);
  font-size: 12px;
}

/* DefenceTender: version chip, hero and the KYC (ComplyOnce) step. */
.lp-chip { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--muted, rgb(0 0 0 / .06)); color: var(--muted-foreground); font-size: 11px; font-weight: 500; vertical-align: middle; }
.lp-hero h1 { margin: 8px 0 4px; font-size: 26px; letter-spacing: -0.02em; }
.lp-hero p { margin: 0 0 6px; color: var(--muted-foreground); line-height: 1.5; }
.lp-kyc { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--background, #fff); display: flex; flex-direction: column; gap: 10px; }
.kyc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kyc-head h2 { margin: 0; font-size: 18px; }
.kyc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); font-size: 12px; }
.kyc-steps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; font-size: 13px; color: var(--muted-foreground); }
.kyc-steps li { display: flex; align-items: center; gap: 6px; }
.kyc-steps li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: var(--primary-foreground, #fff); font-size: 11px; font-weight: 700; }
.kyc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.kyc-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.kyc-form input:not([type=checkbox]), .kyc-form select { height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--background, #fff); color: var(--foreground); font: inherit; }
.kyc-form .kyc-consent { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 8px; }
.kyc-form button { grid-column: 1 / -1; height: 40px; }
.kyc-note, .kyc-sent { margin: 0; font-size: 12px; color: var(--muted-foreground); }
.kyc-sent { font-size: 14px; color: var(--primary); font-weight: 600; }
