/* Live Coordinator marketing site — RV-inspired interaction, LC brand */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lc-header-height) + 20px);
  scrollbar-color: var(--lc-accent) var(--lc-ink-deep);
  scrollbar-width: thin;
}

body.lc-marketing {
  margin: 0;
  background: var(--lc-paper);
  color: var(--lc-ink);
  font-family: var(--lc-font-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s var(--lc-ease), color 0.35s var(--lc-ease);
}

body.lc-marketing.menu-open {
  overflow: hidden;
}

::view-transition-old(root) {
  animation: 0.32s var(--lc-ease) both lc-theme-out;
}

::view-transition-new(root) {
  animation: 0.42s var(--lc-ease) both lc-theme-in;
}

@keyframes lc-theme-out {
  to {
    opacity: 0;
    transform: scale(0.992);
  }
}

@keyframes lc-theme-in {
  from {
    opacity: 0;
    transform: scale(1.008);
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--lc-ink-deep);
  font-family: var(--lc-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lc-shell {
  width: var(--lc-shell);
  margin-inline: auto;
}

.lc-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lc-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.lc-skip:focus {
  left: 1rem;
  top: 1rem;
}

.lc-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lc-accent), var(--lc-amber));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 80;
  pointer-events: none;
}

/* Header */
.lc-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--lc-header-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--lc-paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--lc-ease), box-shadow 0.25s var(--lc-ease);
}

.lc-site-header.is-scrolled {
  border-bottom-color: var(--lc-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.lc-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lc-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.lc-brand img {
  height: 56px;
  width: auto;
}

.lc-brand--square img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.theme-modern .lc-brand--wide img {
  filter: brightness(0) invert(1);
}

.lc-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  background: var(--lc-paper-soft);
  cursor: pointer;
}

.lc-menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--lc-ink);
  border-radius: 2px;
}

.lc-site-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.lc-site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--lc-muted);
}

.lc-site-nav a:hover,
.lc-site-nav a[aria-current="page"] {
  color: var(--lc-ink-deep);
}

.lc-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--lc-accent);
  color: #fff !important;
  font-weight: 700 !important;
}

.lc-site-nav.is-open {
  display: flex;
  position: fixed;
  inset: var(--lc-header-height) 0 0;
  flex-direction: column;
  align-items: stretch;
  padding: 1.25rem;
  background: var(--lc-paper);
  gap: 0.35rem;
  z-index: 39;
  border-top: 1px solid var(--lc-line);
}

.lc-site-nav.is-open a {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--lc-line);
}

/* Buttons */
.lc-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--lc-ease), background 0.2s var(--lc-ease);
}

.lc-button:hover {
  transform: translateY(-1px);
}

.lc-button-primary {
  background: var(--lc-accent);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--lc-accent) 35%, transparent);
}

.lc-button-ghost {
  background: transparent;
  border-color: var(--lc-line);
  color: var(--lc-ink-deep);
}

.lc-button-amber {
  background: var(--lc-amber);
  color: #1a1508;
}

.lc-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lc-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-muted);
  margin-bottom: 0.75rem;
}

.lc-eyebrow.accent {
  color: var(--lc-accent);
}

/* Sections + angles */
.lc-section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.lc-section-angle {
  overflow: hidden;
}

.lc-section-angle::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -3%;
  right: -3%;
  bottom: -1px;
  height: 7vw;
  max-height: 100px;
  background: var(--lc-paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.theme-modern .lc-section-angle::after {
  height: 5vw;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.lc-section--soft {
  background: var(--lc-paper-soft);
}

.lc-section--soft.lc-section-angle::after {
  background: var(--lc-paper);
}

.lc-section-intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.lc-lead {
  font-size: 1.125rem;
  color: var(--lc-muted);
  max-width: 40rem;
}

/* Hero */
.lc-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 7rem;
  color: #f4fffb;
}

.lc-hero::after {
  background: var(--lc-paper) !important;
}

.lc-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--lc-hero-tint) 78%, transparent), color-mix(in srgb, var(--lc-hero-tint) 35%, transparent)),
    url("/images/marketing/hero.png") center / cover no-repeat;
  transform: translateY(0);
  will-change: transform;
}

.lc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 22, 0.72) 0%, rgba(6, 18, 22, 0.35) 55%, rgba(6, 18, 22, 0.15) 100%),
    linear-gradient(0deg, rgba(6, 18, 22, 0.55), transparent 45%);
}

.lc-hero-grid {
  position: relative;
  z-index: 2;
}

.lc-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.lc-hero h1 em {
  font-style: normal;
  color: var(--lc-amber);
}

.lc-hero-lead {
  max-width: 36rem;
  color: rgba(244, 255, 251, 0.86);
  font-size: 1.1rem;
}

.lc-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  max-width: 36rem;
}

.lc-hero-proof li {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.lc-hero-proof strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.lc-hero-proof span {
  display: block;
  color: rgba(244, 255, 251, 0.7);
  font-size: 0.8rem;
}

/* Split / about */
.lc-split {
  display: grid;
  gap: 2rem;
}

.lc-prose p {
  color: var(--lc-muted);
}

.lc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.lc-pill-row span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--lc-accent-soft);
  color: var(--lc-accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Roles */
.lc-role-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.lc-role-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--lc-radius);
  background: var(--lc-paper);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--lc-ease);
}

.lc-role-card:hover {
  transform: translateY(-4px);
}

.lc-role-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.lc-role-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.lc-role-card p {
  margin: 0;
  color: var(--lc-muted);
  font-size: 0.95rem;
}

.lc-role-card__tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lc-amber-deep);
}

/* Feature explorer */
.lc-feature-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lc-feature-card {
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--lc-line);
  background: var(--lc-paper);
  color: var(--lc-ink);
  cursor: pointer;
  transition: border-color 0.2s var(--lc-ease), background 0.2s var(--lc-ease);
}

.lc-feature-card.is-active,
.lc-feature-card:hover {
  border-color: var(--lc-accent);
  background: var(--lc-accent-soft);
}

.lc-feature-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.lc-feature-card span {
  color: var(--lc-muted);
  font-size: 0.875rem;
}

.lc-feature-detail {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--lc-radius);
  background: var(--lc-paper-soft);
  border: 1px solid var(--lc-line);
}

.lc-feature-detail h3 {
  margin-bottom: 0.35rem;
}

.lc-feature-detail p {
  margin: 0;
  color: var(--lc-muted);
}

/* Slider */
.lc-slider-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lc-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lc-slider-controls button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--lc-line);
  background: var(--lc-paper);
  color: var(--lc-ink);
  cursor: pointer;
}

.lc-slider-status {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lc-muted);
  min-width: 3.5rem;
  text-align: center;
}

.lc-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 78%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1.5rem, calc(50vw - 590px));
  scrollbar-width: none;
  cursor: grab;
}

.lc-slider::-webkit-scrollbar {
  display: none;
}

.lc-slide {
  scroll-snap-align: start;
  border-radius: var(--lc-radius);
  overflow: hidden;
  background: var(--lc-paper);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow);
  min-height: 100%;
}

.lc-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lc-slide__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.lc-slide__body h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.lc-slide__body p {
  margin: 0;
  color: var(--lc-muted);
}

/* Method */
.lc-method {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: method;
}

.lc-method li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  border-radius: var(--lc-radius);
  background: var(--lc-paper);
  border: 1px solid var(--lc-line);
  counter-increment: method;
}

.lc-method li::before {
  content: counter(method, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  font-family: var(--lc-font-display);
  font-weight: 700;
  color: var(--lc-accent);
}

.lc-method strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--lc-ink-deep);
}

.lc-method span {
  color: var(--lc-muted);
  font-size: 0.95rem;
}

/* CTA band */
.lc-cta {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 6rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lc-accent) 88%, #000), color-mix(in srgb, var(--lc-hero-tint) 70%, #000));
  color: #f4fffb;
}

.lc-cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 16ch;
}

.lc-cta p {
  color: rgba(244, 255, 251, 0.82);
  max-width: 34rem;
}

.lc-cta::after {
  background: var(--lc-paper-soft) !important;
}

/* Footer + theme switcher */
.lc-footer {
  padding: clamp(4.5rem, 8vw, 7rem) 0 7rem;
  background: var(--lc-paper-soft);
  border-top: 1px solid var(--lc-line);
}

.lc-footer-grid {
  display: grid;
  gap: 3rem;
}

.lc-footer-intro {
  max-width: 34rem;
}

.lc-footer-intro .lc-brand img {
  height: 64px;
}

.lc-footer-intro .lc-lead {
  margin: 1.5rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.lc-footer a {
  color: var(--lc-muted);
  text-decoration: none;
  font-weight: 600;
}

.lc-footer a:hover {
  color: var(--lc-accent);
}

.lc-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.lc-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.lc-footer-column h2 {
  margin: 0 0 0.35rem;
  color: var(--lc-ink-deep);
  font-family: var(--lc-font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lc-line);
  color: var(--lc-muted);
  font-size: 0.85rem;
}

.lc-theme-switcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lc-paper) 90%, transparent);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow);
  backdrop-filter: blur(10px);
}

.lc-theme-switcher button {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: var(--lc-muted);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.lc-theme-switcher button.is-active {
  background: var(--lc-accent);
  color: #fff;
}

/* Reveal */
.lc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--lc-ease), transform 0.7s var(--lc-ease);
}

.lc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Inner marketing pages */
.lc-page-hero {
  padding: 4rem 0 3rem;
  background: var(--lc-paper-soft);
}

.lc-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.lc-page-hero img {
  margin-top: 1.5rem;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--lc-radius);
  border: 1px solid var(--lc-line);
}

@media (min-width: 768px) {
  .lc-split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .lc-role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lc-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lc-method {
    grid-template-columns: repeat(2, 1fr);
  }

  .lc-footer-grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .lc-footer-bottom {
    grid-column: 1 / -1;
  }

  .lc-slider {
    grid-auto-columns: minmax(520px, 70%);
  }
}

@media (min-width: 992px) {
  .lc-menu-toggle {
    display: none;
  }

  .lc-site-nav {
    display: flex;
  }

  .lc-role-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lc-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .lc-hero-proof {
    grid-template-columns: 1fr;
  }

  .lc-site-header .lc-brand--wide {
    display: none;
  }

  .lc-site-header .lc-brand--square {
    display: inline-flex;
  }
}

@media (min-width: 641px) {
  .lc-site-header .lc-brand--square {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
