/* Live homepage nav — visual clone of the icre.grok.me header/footer/float
   (what visitors see at investcapitalrealestate.com, which iframes that preview).
   Tokens and structure taken from the public CSS/HTML on 22 Nov 2026.
   Do not restyle these rules when changing the Concept B page around them. */
.live-header {
  --color-paper: #f3efe6;
  --color-card: #fffcf7;
  --color-ink: #14241c;
  --color-forest: #1c3d32;
  --color-muted: #5c675f;
  --color-line: #ddd6c8;
  --color-copper: #b8612f;
  --radius-control: 0.8rem;
  --font-sans: "Figtree", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Fraunces", "Source Serif 4", ui-serif, Georgia, serif;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--color-line);
  background: rgb(243 239 230 / 0.95);
  backdrop-filter: blur(4px);
  font-family: var(--font-sans);
  color: var(--color-ink);
}
.live-header .lh-row {
  margin: 0 auto;
  max-width: 72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
}
.live-header .lh-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-ink);
  text-decoration: none;
}
.live-header .lh-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}
.live-header .lh-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
}
.live-header .lh-desktop a:hover { color: var(--color-ink); }
.live-header .lh-tools { display: flex; align-items: center; gap: 0.5rem; }
.live-header .lh-lang {
  display: flex;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-line);
  background: var(--color-card);
  padding: 0.125rem;
}
.live-header .lh-lang button {
  min-height: 44px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-control);
  padding: 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
}
.live-header .lh-lang button[aria-pressed="true"] {
  background: var(--color-forest);
  color: var(--color-paper);
}
.live-header .lh-schedule {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  background: var(--color-copper);
  color: var(--color-paper);
  padding: 0.625rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
@media (min-width: 640px) {
  .live-header .lh-schedule { padding-left: 1rem; padding-right: 1rem; }
}
.live-header .lh-mobile {
  display: grid;
  gap: 0.125rem;
  padding: 0 1.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
}
.live-header .lh-mobile .lh-mrow {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.625rem;
  row-gap: 0.125rem;
}
.live-header .lh-mobile a {
  padding: 0.25rem 0;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .live-header .lh-desktop { display: flex; }
  .live-header .lh-mobile { display: none; }
}

/* Floating Menu + Ask the page — same as live (bottom-right pills). */
.live-float {
  --color-paper: #f3efe6;
  --color-ink: #14241c;
  --color-line: #ddd6c8;
  --color-copper: #b8612f;
  --color-forest: #1c3d32;
  --color-muted: #5c675f;
  --radius-control: 0.8rem;
  --font-sans: "Figtree", "Manrope", ui-sans-serif, system-ui, sans-serif;
  position: fixed;
  right: 1rem;
  bottom: 7rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: var(--font-sans);
}
@media (min-width: 640px) {
  .live-float { bottom: 8rem; }
}
/* Mobile: dock to the bottom with safe padding so CTAs are never covered.
   Labels and menu items stay the same. */
@media (max-width: 799px) {
  .live-float {
    left: 0;
    right: 0;
    bottom: 0;
    align-items: flex-end;
    padding: 0.5rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 11, 0.55) 40%, rgba(11, 11, 11, 0.88) 100%);
    pointer-events: none;
  }
  .live-float .lf-pills,
  .live-float .lf-panel { pointer-events: auto; }
  .live-float .lf-panel {
    width: min(22rem, calc(100vw - 1.5rem));
  }
  .live-float .lf-menu,
  .live-float .lf-ask {
    min-height: 44px;
  }
  .live-float .lf-menu { padding: 0 0.85rem; }
  .live-float .lf-ask { padding: 0.2rem 0.85rem 0.2rem 0.2rem; }
  .live-float .lf-ask img { width: 2rem; height: 2rem; }
}
.live-float .lf-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.live-float .lf-menu,
.live-float .lf-ask {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  cursor: pointer;
  font-family: inherit;
}
.live-float .lf-menu { padding: 0 1rem; }
.live-float .lf-ask { padding: 0.25rem 1rem 0.25rem 0.25rem; gap: 0.5rem; }
.live-float .lf-ask img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 20%;
}
.live-float .lf-panel {
  width: min(22rem, calc(100vw - 2rem));
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.18);
  overflow: hidden;
  color: var(--color-ink);
}
.live-float .lf-panel[hidden] { display: none; }
.live-float .lf-panel a, .live-float .lf-panel button.lf-row {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.9rem 1rem;
  font-family: inherit;
  cursor: pointer;
}
.live-float .lf-panel a:first-child,
.live-float .lf-panel .lf-book {
  background: var(--color-copper);
  color: var(--color-paper);
}
.live-float .lf-panel .lf-title { font-weight: 600; font-size: 1rem; }
.live-float .lf-panel .lf-note { margin: 0.15rem 0 0; font-size: 0.875rem; opacity: 0.9; }
.live-float .lf-ask-box { padding: 0.85rem 1rem 1rem; }
.live-float .lf-ask-box p { margin: 0 0 0.6rem; font-size: 0.875rem; color: var(--color-muted); }
.live-float .lf-ask-box input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  padding: 0.5rem 0.7rem;
  font: inherit;
  box-sizing: border-box;
}
.live-float .lf-ask-box .lf-reply {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-ink);
}

/* Footer legal nav — same labels, order, URLs, and Campus button treatment. */
.live-legal {
  --color-paper: #f3efe6;
  --color-ink: #14241c;
  --color-forest: #1c3d32;
  --color-muted: #5c675f;
  --color-line: #ddd6c8;
  --radius-control: 0.8rem;
  --font-sans: "Figtree", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Fraunces", "Source Serif 4", ui-serif, Georgia, serif;
  font-family: var(--font-sans);
}
.live-legal .ll-inner {
  margin: 0 auto;
  max-width: 72rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
}
@media (min-width: 768px) {
  .live-legal .ll-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.live-legal .ll-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0;
}
.live-legal .ll-blurb {
  margin: 0.5rem 0 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}
.live-legal nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  align-items: center;
}
.live-legal nav a { color: var(--color-ink); text-decoration: none; }
.live-legal nav a.ll-campus {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  background: var(--color-forest);
  color: var(--color-paper);
  padding: 0 1rem;
  font-weight: 600;
}
