/* LIR off-market portal — Phase 2 styles. Mobile-first, system fonts. */

/* ─── Brand palette ────────────────────────────────────────────────────────
   lir-magenta: LIFESTYLE text (pink/magenta) — picked from logo via ImageMagick
   lir-cyan:    INTERNATIONAL REALTY text + shadow stroke — picked from logo
   Canonical source of truth: sierra-v3/docs/brand.md
   ────────────────────────────────────────────────────────────────────────── */
:root {
  --lir-magenta: #F74494;
  --lir-cyan:    #2ABBDC;
  --lir-black:   #000000;
  --lir-white:   #ffffff;

  --bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #555;
  /* PINK AS TEXT (William 2026-11-29 "46B", sierra-v3 rulings log 24607): small text and links use this darker pink,
     4.85:1 on white, 4.5:1 or better on every background it sits on (test/pink-text-1300.test.js holds each one).
     The brand pink above is 3.4:1 as text and stays for BUTTONS, the logo, icons, rules and fills. This is the one
     place the value is written: every pink text rule reads --pink-text, directly or through --accent. */
  --pink-text: #D81B74;
  /* On the off-white panels (--soft and the like) #D81B74 is 4.46:1, just under 4.5. Pink text there is the SAME
     token made a little deeper (5.5:1 on --soft); the value is derived, never written a second time. A browser
     without color-mix keeps the token itself. */
  --pink-text-on-tint: var(--pink-text);
  --accent: var(--pink-text);
  --accent-hover: #bf0047;
  --rule: #e6e6e6;
  --soft: #f7f5f1;
  --warn-bg: #fff8d8;
  --warn-bd: #d4a200;
  --warn-fg: #6a4a00;
  --error-bg: #fef2f2;
  --error-bd: #f1b0b0;
  --error-fg: #8b1a1a;
  --max-w: 640px;
  --max-w-wide: 980px;
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root { --pink-text-on-tint: color-mix(in srgb, var(--pink-text) 88%, #000); }
}
/* Every off-white panel that holds pink text or a link: inside it, pink text is the deeper shade. */
.teaser-gated, .ncnda-preview, .tx-compare-sec, .tx-faq-sec, .form-error, .placeholder, .nda-status { --pink-text: var(--pink-text-on-tint); --accent: var(--pink-text-on-tint); }


* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 56px 24px 96px; }
.container-wide { max-width: var(--max-w-wide); }

.brand { border-bottom: 1px solid var(--rule); padding-bottom: 20px; margin-bottom: 36px; }
.brand h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.brand-tag { color: var(--text-muted); font-size: 16px; margin: 12px 0 0; }

.background p { margin: 0 0 20px; color: var(--text-muted); font-size: 16px; }

.opportunities { margin-top: 48px; }
.opportunities h2 { font-size: 20px; margin: 0 0 18px; letter-spacing: -0.01em; }

.cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.card { display: block; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-1px); text-decoration: none; }
.card-photo { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #ddd; }
.card-photo-fallback { background: linear-gradient(135deg, #1a1a1a, #2e2e2e); }
.card-body { padding: 16px 18px; }
.card-type { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.card-loc { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.card-price { font-size: 17px; font-weight: 600; margin-top: 8px; }
.card-headline { font-size: 14px; margin-top: 8px; line-height: 1.45; }
.card-narrative { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.card-cta { font-size: 13px; color: var(--accent); margin-top: 14px; font-weight: 600; }

.empty { color: var(--text-muted); font-style: italic; }

.closings { margin-top: 56px; }
.closings h2 { font-size: 20px; margin: 0 0 16px; }
.closings-list { list-style: none; padding: 0; margin: 0; color: var(--text-muted); font-size: 14px; }
.closings-list li { padding: 8px 0; border-bottom: 1px dashed var(--rule); }
.example-tag { background: #fff8d8; color: #6a4a00; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 3px; letter-spacing: 0.05em; margin-left: 6px; }

.placeholder-banner {
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  color: var(--warn-fg);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.have-opportunity { margin-top: 56px; }
.have-opportunity h2 { font-size: 18px; margin: 0 0 8px; }
.have-opportunity p { color: var(--text-muted); font-size: 16px; margin: 0; }

.cta { margin: 40px 0 56px; }
.cta-link {
  display: inline-block; background: var(--lir-cyan); color: var(--lir-black); text-decoration: none;
  padding: 14px 28px; border-radius: 6px; font-size: 16px; font-weight: 600; border: none;
  cursor: pointer; transition: opacity 0.2s;
}
.cta-link:hover { opacity: 0.85; color: var(--lir-black); text-decoration: none; }
.cta-link:disabled { opacity: 0.5; cursor: wait; }

/* Front-page hero CTA — same look as .cta-link, slightly larger padding */
.cta-primary {
  display: inline-block;
  background: var(--lir-cyan);
  color: var(--lir-black);
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s;
}
.cta-primary:hover { opacity: 0.85; color: var(--lir-black); text-decoration: none; }

.btn-secondary { display: inline-block; background: #fff; color: var(--lir-magenta); border: 1px solid var(--lir-magenta);   /* a button: the brand pink */ padding: 13px 28px; border-radius: 6px; font-size: 16px; cursor: pointer; text-decoration: none; }

.contact { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.contact p { margin: 4px 0; }
.contact .agents { color: var(--text); font-weight: 500; margin-bottom: 8px; }
.contact a { color: var(--text-muted); }

.back-link { font-size: 14px; margin: 0 0 14px; }

.teaser-photo { aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: #ddd; border-radius: 8px; margin-bottom: 24px; }
.teaser-photo-fallback { background: linear-gradient(135deg, #1a1a1a, #2e2e2e); }
/* What a property with no public photo shows in the photo's place (routes/listings.js NO_PHOTO_NOTE). */
.teaser-photo-fallback, .lp-card-photo-fallback { display: flex; align-items: center; justify-content: center; }
.photo-fallback-note { color: #b5b5b5; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; line-height: 1.7; }

.teaser-header { margin-bottom: 24px; }
.teaser-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: center; color: var(--text-muted); font-size: 14px; margin-bottom: 6px; }
.teaser-type { font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.teaser-headline { font-size: 28px; margin: 8px 0; letter-spacing: -0.01em; }
.teaser-price { font-size: 22px; font-weight: 600; margin-top: 8px; }

.teaser-narrative p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.teaser-narrative p:last-child { margin-bottom: 0; }
.teaser-gated { background: var(--soft); border-radius: 8px; padding: 20px 24px; margin: 32px 0; }
.teaser-gated h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lir-cyan);
}
.teaser-gated ul { margin: 8px 0 0; padding-left: 20px; color: var(--text-muted); }
.teaser-gated li { margin: 4px 0; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.form-tight { gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.field-optional { color: #6b6b6b; font-weight: 400; font-size: 12px; margin-left: 4px; }
.field input, .field select { padding: 12px 14px; font-size: 16px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: var(--text); width: 100%; font-family: inherit; }
/* A select drawn by us, not by the browser: a bare one was 19px tall on a phone, and WebKit ignores a height on its own drawing. */
.field select, .lp-filter select { -webkit-appearance: none; appearance: none; min-height: 46px; padding-right: 36px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.lp-filter select { min-height: 0; }
@media (max-width: 720px) { .lp-filter select { min-height: 44px; } }
.field input:focus, .field select:focus { outline: 2px solid var(--lir-cyan); outline-offset: -1px; }
.form-submit { align-self: flex-start; margin-top: 6px; }
.form-resend { margin: 6px 0 0; font-size: 13px; }
.form-error { background: var(--error-bg); border: 1px solid var(--error-bd); color: var(--error-fg); border-radius: 4px; padding: 8px 12px; font-size: 14px; margin: 8px 0 0; }

.verify-step { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.verify-step.done { opacity: 0.6; }
.verify-step h2 { font-size: 17px; margin: 0 0 6px; }
.verify-help { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; }

.dev-mode-banner {
  background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--warn-fg);
  border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px;
}

/* NCNDA preview */
.ncnda-preview { background: var(--soft); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 32px; margin: 32px 0; max-height: 560px; overflow-y: auto; }
.ncnda-title { font-size: 18px; margin: 0 0 18px; text-align: center; }
.ncnda-preview h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin: 22px 0 8px; }
.ncnda-preview p { font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.ncnda-preview ul { font-size: 14px; padding-left: 20px; }
.ncnda-preview li { margin: 6px 0; }
.asset-block { background: #fffbe7; border-left: 3px solid var(--warn-bd); padding: 8px 12px; }
.liq-block { background: #fffbe7; border-left: 3px solid var(--warn-bd); padding: 8px 12px; }
/* The agent agreement's boxed Notice of Responsibility, and the initials the agent types for it. */
.notice-box { border: 2px solid #1a1a1a; padding: 12px 16px; margin: 12px 0 18px; background: #fff; }
.notice-box p { font-weight: 700; margin: 0 0 10px; }
.notice-box p:last-child { margin-bottom: 0; }
.notice-initials { border: 2px solid #1a1a1a; padding: 12px 16px; margin: 0 0 16px; }
.notice-initials label { display: block; margin-bottom: 8px; font-weight: 400; }
.notice-initials input { width: 7em; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 10px; }

.signature-section h2 { font-size: 18px; margin: 32px 0 14px; }
.signature-section h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin: 22px 0 8px; }
.buyer-fields { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 14px 18px; margin-bottom: 16px; }
.buyer-fields .kv { display: flex; gap: 14px; padding: 4px 0; font-size: 14px; }
.buyer-fields .kv .k { color: var(--text-muted); min-width: 90px; }

.agent-block { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 14px 18px; font-size: 14px; line-height: 1.6; }

.sig-help { color: var(--text-muted); font-size: 14px; }
.sig-pad-wrap { background: #fff; border: 2px dashed #c0c0c0; border-radius: 6px; padding: 4px; margin: 12px 0 6px; }
.sig-pad { width: 100%; height: 180px; touch-action: none; cursor: crosshair; display: block; }
.sig-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Property full page */
/* .ncnda-banner is intentionally green — semantic success state (NCNDA on file) */
.ncnda-banner { background: #e8f4ec; border: 1px solid #75b08d; color: #1f4a2c; padding: 10px 14px; border-radius: 6px; margin-bottom: 24px; font-size: 14px; }
/* .withheld-notice: what the seller did NOT release to NCNDA signers (#1246, lib/listing-release.js) — a caution, not an error */
.withheld-notice { background: #fff7e6; border: 1px solid #e0b96a; color: #5a4200; padding: 10px 14px; border-radius: 6px; margin: -8px 0 24px; font-size: 14px; }
.full-header { margin-bottom: 24px; }
.full-meta { display: flex; gap: 12px; color: var(--text-muted); font-size: 14px; }
.full-type { font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.full-address { font-size: 26px; margin: 8px 0; letter-spacing: -0.01em; }
.full-price { font-size: 22px; font-weight: 600; }

.full-photos { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
@media (min-width: 720px) { .full-photos { grid-template-columns: repeat(3, 1fr); } }
.full-photo { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-radius: 8px; background-color: #ddd; }
button.full-photo { display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in; }
button.full-photo:focus-visible { outline: 3px solid var(--lir-cyan); outline-offset: 2px; }
/* A photo opened large (pages/property-full.html). */
.photo-viewer { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.92); display: flex; align-items: center; justify-content: center; }
.photo-viewer[hidden] { display: none; }
.photo-viewer img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; }
.photo-viewer button { position: absolute; background: rgba(0, 0, 0, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; width: 48px; height: 48px; font-size: 22px; line-height: 1; cursor: pointer; }
.photo-viewer .pv-close { top: 14px; right: 14px; }
.photo-viewer .pv-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.photo-viewer .pv-next { right: 14px; top: 50%; transform: translateY(-50%); }
.photo-viewer .pv-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
.full-photo-fallback { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1a1a1a, #2e2e2e); border-radius: 8px; }
.full-photos-placeholder { position: relative; }
.full-photos-placeholder::before {
  content: '⚠ PHOTO PLACEHOLDERS — REPLACE BEFORE LAUNCH';
  position: absolute; top: -22px; left: 0; font-size: 11px; color: var(--warn-fg); font-weight: 600; letter-spacing: 0.04em;
}

.full-description { margin: 32px 0; }
.full-description h2 { font-size: 18px; margin: 0 0 14px; }
.full-description p { font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.full-details { margin: 32px 0; }
.full-details h2 { font-size: 18px; margin: 0 0 14px; }
.kv { width: 100%; border-collapse: collapse; }
.kv td { padding: 8px 10px; border-bottom: 1px solid var(--rule); font-size: 14px; vertical-align: top; }
.kv td.k { color: var(--text-muted); width: 200px; font-weight: 500; }
.kv td.v { color: var(--text); }
.placeholder { background: var(--warn-bg); color: var(--warn-fg); padding: 12px 14px; border-radius: 4px; font-size: 14px; }

.full-cta-row { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.full-foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); }
.downloaded-ncnda { color: var(--text-muted); font-size: 14px; }

@media (min-width: 720px) {
  .container { padding: 96px 32px; }
  .brand h1 { font-size: 26px; }
}

/* (The landing page's own white header left 2026-11-13: every page now has the portal header,
   .site-header below — sierra-v3 #1258.) */

/* ─── Landing page — Option C (black hero / white body / black footer) ─── */
/* All selectors prefixed lp- to avoid collision with other portal pages.    */

.lp-hero {
  background: #0d0f12;
  padding: 72px 32px 80px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.lp-hero-inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
.lp-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa0a6;   /* 6.9:1 on the hero; #666 was 3.3:1 */
  margin-bottom: 20px;
}
.lp-hero-headline {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 22px;
  color: #ffffff;
}
.lp-hero-sub {
  font-size: 17px;
  color: #999;
  max-width: 540px;
  line-height: 1.65;
  margin: 0 0 32px;
}
.lp-hero-sub .accent-cyan { color: var(--lir-cyan); }
.lp-hero-cta { margin: 0 0 40px; }
.lp-hero-agents {
  font-size: 14px;
  color: #9aa0a6;   /* the brokerage line; #555 was 2.6:1 on the hero */
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-hero-agents-name { color: #aaa; font-weight: 500; }

/* Subtle vice-icon watermark in hero — right side, very low opacity */
.lp-hero-watermark {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) { .lp-hero-watermark { display: none; } }

@media (max-width: 640px) {
  .lp-hero { padding: 52px 24px 60px; }
  .lp-hero-headline { font-size: 30px; }
}

.lp-body { background: #ffffff; }

.lp-section-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 32px;
}
@media (max-width: 640px) {
  .lp-section-inner { padding: 48px 20px; }
}

.lp-section-heading {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

/* ─── What's behind the NDA (landing page feature list) ─── */

.lp-behind-nda {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  background: #fafaf7;
}
.lp-behind-nda-card {
  max-width: 600px;
  margin: 0 auto;
}
.lp-behind-nda h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--lir-black);
}
.lp-behind-nda ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.lp-behind-nda li {
  padding: 11px 0;
  border-bottom: 1px solid #eeede8;
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-behind-nda li:last-child { border-bottom: none; }
.lp-behind-nda li::before {
  content: '→';
  color: var(--lir-cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.lp-behind-nda .lp-behind-nda-cta { margin-top: 4px; }

/* ─── Listing cards ─── */

.lp-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .lp-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .lp-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.lp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a1a;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.lp-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
  text-decoration: none;
}
.lp-card-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}
.lp-sample-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f59e0b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
}
.lp-card-photo-fallback {
  background: linear-gradient(135deg, #1a1a1a, #2e2e2e);
}
.lp-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lp-card-type {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lp-card-loc { font-size: 14px; color: #666; margin-top: 2px; }
.lp-card-price {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.lp-card-headline {
  font-size: 14px;
  color: #444;
  margin-top: 6px;
  line-height: 1.45;
}
.lp-card-t2 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.lp-card-badge {
  background: #f2f2f2;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}
.lp-card-narrative {
  font-size: 14px;
  color: #666;   /* 5.7:1; #888 was 3.5:1 */
  margin-top: 10px;
  line-height: 1.5;
  flex: 1;
}
.lp-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-text);
  margin-top: 16px;
  letter-spacing: 0.01em;
}

/* ─── Closings ─── */

.lp-closings { border-top: 1px solid #f0f0f0; }
.lp-closings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #6b6b6b;
  font-size: 14px;
}
.lp-closings-list li {
  padding: 9px 0;
  border-bottom: 1px dashed #ebebeb;
}
/* ─── Seller intake ─── */

.lp-seller {
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}
.lp-seller-intro {
  font-size: 16px;
  color: #555;
  margin: 0 0 28px;
  max-width: 520px;
  line-height: 1.65;
}
.lp-seller-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 580px;
}
@media (max-width: 580px) {
  .lp-seller-form { grid-template-columns: 1fr; }
}
.lp-field-full { grid-column: 1 / -1; }
.lp-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.lp-field input,
.lp-field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  transition: border-color 0.12s;
}
.lp-field input:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--lir-cyan);
  box-shadow: 0 0 0 3px rgba(0,189,216,0.12);
}
.lp-field textarea { resize: vertical; min-height: 80px; }
.lp-seller-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.lp-btn-submit {
  background: var(--lir-cyan);
  color: var(--lir-black);
  border: none;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
}
.lp-btn-submit:hover { opacity: 0.85; }
.lp-btn-submit:disabled { opacity: 0.55; cursor: wait; }
.lp-form-status { font-size: 14px; color: #666; }
.lp-form-status.success { color: var(--pink-text); font-weight: 500; }
.lp-form-status.error { color: #8b1a1a; }

/* ─── Footer ─── */

.lp-footer {
  background: #0d0f12;
  color: #9a9a9a;   /* 6.6:1; #666 was 3.3:1 */
  padding: 52px 32px;
  border-top: 3px solid var(--lir-magenta);
}
.lp-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-footer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.lp-footer-logo {
  height: 26px;
  /* No filter — lir-icon-vice.png is already colored for dark backgrounds */
  opacity: 0.75;
}
.lp-footer-brand { color: #ccc; font-size: 14px; font-weight: 600; }
.lp-footer-agents { color: #aaa; font-size: 14px; font-weight: 500; }
.lp-footer-address { font-size: 13px; }
.lp-footer-links {
  font-size: 13px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-footer-links a { color: #9a9a9a; text-decoration: none; padding: 6px 0; }
.lp-footer-links a:hover { color: #ddd; }
.lp-footer-legal {
  font-size: 12px;
  color: #8a8a8a;   /* the legal line was #444 on near-black, 1.9:1: all but invisible */
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid #1e1e1e;
  line-height: 1.6;
  max-width: 660px;
}

@media (max-width: 640px) {
  .lp-footer { padding: 40px 20px; }
}

/* ─── Signing page only (html.page-sign): black / white / greys — William, 2026-08-27.
   Every rule here is scoped to .page-sign; the teaser, homepage, register and
   verify pages keep the brand magenta/cyan untouched. The yellow Asset and
   liquidated-damages callouts stay by design. ─────────────────────────────── */
.page-sign { scroll-behavior: smooth; }
.page-sign a { color: var(--text); }
.page-sign .cta-link { background: var(--lir-black); color: var(--lir-white); }
.page-sign .cta-link:hover { color: var(--lir-white); }
.page-sign .btn-secondary { color: var(--text); border-color: var(--text); }
.page-sign .field input:focus { outline-color: var(--text); }
.page-sign .ncnda-preview { background: #f5f5f5; border-color: #d9d9d9; }
.page-sign .ncnda-preview h3,
.page-sign .signature-section h3 { color: var(--text); }
.page-sign .ncnda-list { font-size: 14px; padding-left: 20px; margin: 0 0 12px; }
.page-sign .ncnda-list li { margin: 6px 0; }
.page-sign .jump-row { margin: 0 0 4px; }
.page-sign .consent { margin: 28px 0 8px; padding: 16px 18px; border: 1px solid var(--text); border-radius: 6px; background: var(--lir-white); }
.page-sign .consent-label { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.6; color: var(--text); cursor: pointer; margin: 0; }
.page-sign .consent-box { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--lir-black); }

/* ─── The portal header (sierra-v3 #1258; markup: lib/site-nav.js, phone menu: public/nav.js).
   After Clara's nav on clara.lirlakenona.com (a thin bar, links that turn cyan on hover with a
   cyan underline on the current page, the name + Sign out on the right, a ☰ menu at phone
   width), in the portal's own colours: the dark of the landing hero, LIR magenta and cyan.
   Every selector starts at .site-header (two classes deep), so a page's own link colour
   (.page-sign a, for one) never reaches the header. ─────────────────────────────────────── */
.site-header {
  --nav-bg: #0d0f12;
  --nav-fg: #e9eaee;
  --nav-dim: #9aa0aa;
  --nav-line: #23262d;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
  box-shadow: 0 1px 0 rgba(42, 187, 220, 0.18);
  font-size: 15px;
  line-height: 1.2;
}
.site-header .site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nav-fg);
  text-decoration: none;
  flex: none;
}
.site-header .site-brand:hover { text-decoration: none; }
.site-header .site-brand-mark { width: 40px; height: 40px; display: block; }
.site-header .site-brand-text { display: flex; flex-direction: column; }
.site-header .site-brand-name { font-weight: 700; font-size: 16px; letter-spacing: 0.01em; color: var(--nav-fg); }
.site-header .site-brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lir-cyan); margin-top: 2px; }

.site-header .site-nav { margin-left: auto; }
.site-header .site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-header .site-nav-link {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  color: var(--nav-fg);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.site-header .site-nav-link:hover { color: var(--lir-cyan); background: rgba(42, 187, 220, 0.07); text-decoration: none; }
.site-header .site-nav-link[aria-current="page"] { color: var(--lir-cyan); border-bottom-color: var(--lir-cyan); font-weight: 600; }
.site-header .site-nav-link:focus-visible,
.site-header .site-brand:focus-visible,
.site-header .site-nav-toggle:focus-visible { outline: 2px solid var(--lir-cyan); outline-offset: -2px; }

.site-header .site-nav-account { display: flex; align-items: center; gap: 6px; margin-left: 10px; }
.site-header .site-nav-signin {
  height: auto;
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: var(--lir-magenta);
  color: #fff;
  font-weight: 600;
}
.site-header .site-nav-signin:hover { background: var(--accent-hover); color: #fff; }
.site-header .site-nav-who {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 12px;
  border: 1px solid var(--nav-line);
  border-radius: 999px;
  color: var(--nav-fg);
  font-size: 14px;
}
.site-header .site-nav-who::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lir-magenta); margin-right: 8px; vertical-align: 1px; }
.site-header .site-nav-signout-form { margin: 0; display: flex; }
.site-header .site-nav-signout { color: var(--nav-dim); background: none; border-left: 0; border-right: 0; font: inherit; cursor: pointer; }

.site-header .site-nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--nav-line);
  border-radius: 8px;
  color: var(--nav-fg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.site-header.is-open .site-nav-toggle { border-color: var(--lir-cyan); color: var(--lir-cyan); }

/* Between the phone menu and a full desktop bar (769-1000 px) the five links and Sign in are
   set tighter, so Sign in stays on the bar (sierra-v3 #1281 added For Investors). */
@media (min-width: 769px) and (max-width: 1000px) {
  .site-header .site-header-inner { padding: 0 16px; gap: 12px; }
  .site-header .site-nav-list { gap: 0; }
  .site-header .site-nav-link { padding: 0 9px; font-size: 14px; }
  .site-header .site-nav-account { margin-left: 6px; }
  .site-header .site-nav-signin { padding: 8px 14px; }
}
@media (min-width: 769px) and (max-width: 880px) {
  .site-header .site-brand-text { display: none; }
}

/* Phone. Without public/nav.js (no data-nav-ready) the links simply wrap under the bar, so a
   page never loses its nav; with it, they fold into the ☰ menu. */
@media (max-width: 768px) {
  .site-header .site-header-inner { height: auto; min-height: 56px; padding: 6px 16px; flex-wrap: wrap; gap: 12px; }
  .site-header .site-brand-mark { width: 34px; height: 34px; }
  .site-header .site-brand-name { font-size: 15px; }
  .site-header:not([data-nav-ready]) .site-nav { margin-left: 0; width: 100%; }
  .site-header:not([data-nav-ready]) .site-nav-list { flex-wrap: wrap; }
  .site-header:not([data-nav-ready]) .site-nav-link { height: 40px; }

  .site-header[data-nav-ready] .site-header-inner { height: 56px; flex-wrap: nowrap; }
  .site-header[data-nav-ready] .site-nav-toggle { display: inline-flex; }
  .site-header[data-nav-ready] .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--nav-bg);
    border-top: 1px solid var(--nav-line);
    border-bottom: 2px solid var(--lir-magenta);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .site-header[data-nav-ready].is-open .site-nav { display: block; }
  .site-header[data-nav-ready] .site-nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; }
  .site-header[data-nav-ready] .site-nav-link {
    height: 52px;
    padding: 0 20px;
    font-size: 17px;
    border-top: 0;
    border-bottom: 1px solid var(--nav-line);
    border-left: 3px solid transparent;
  }
  .site-header[data-nav-ready] .site-nav-link[aria-current="page"] { border-bottom-color: var(--nav-line); border-left-color: var(--lir-cyan); }
  .site-header[data-nav-ready] .site-nav-account { flex-direction: column; align-items: stretch; margin: 14px 20px 8px; gap: 10px; }
  .site-header[data-nav-ready] .site-nav-signin { justify-content: center; height: 48px; padding: 0 18px; border: 0; }
  .site-header[data-nav-ready] .site-nav-who { max-width: none; text-align: left; padding: 10px 14px; }
  .site-header[data-nav-ready] .site-nav-signout { padding: 0; height: 44px; border: 0; width: 100%; text-align: left; }
}
/* The header is sticky, so an in-page jump (/#properties, the sign page's jump links) stops
   below it instead of under it. */
html { scroll-padding-top: 76px; }
@media (max-width: 768px) { html { scroll-padding-top: 66px; } }

/* ─── Forms on a phone (sierra-v3 #1300 sweep) ───
   Every control takes the page's font (a textarea was monospace, bare inputs the browser's own). On a phone a text
   control is 16px, so an iPhone does not zoom the page in when it is tapped, and a thumb's height. */
input, select, textarea, button { font-family: inherit; }
@media (max-width: 720px) {
  input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=url], input:not([type]), select, textarea { font-size: 16px; min-height: 44px; max-width: 100%; }
  textarea { min-height: 96px; }
  input[type=checkbox], input[type=radio] { width: 20px; height: 20px; flex-shrink: 0; }
  .photo-tile button, .js-fee-save, .js-license-verify { min-height: 40px; }
  .sig-clear-link { padding: 10px 14px 10px 0; min-height: 40px; }   /* the Clear link under every signature pad, not only the buyer's */
}
