:root {
  --lp-bg: #f5f7fc;
  --lp-text: #0f172a;
  --lp-muted: #5b6478;
  --lp-line: #e7e9f2;
  --lp-violet: #2D2F6E;
  --lp-violet-2: #3D3B8A;
  --lp-brand-gradient: linear-gradient(90deg, #2D2F6E 0%, #3D3B8A 52%, #4A4CA0 100%);
  --lp-card: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--lp-text);
  padding-bottom: 108px;
  background:
    radial-gradient(50% 40% at 15% 12%, rgba(196, 184, 248, 0.18), rgba(245, 247, 252, 0)),
    radial-gradient(42% 34% at 88% 10%, rgba(167, 139, 250, 0.14), rgba(245, 247, 252, 0)),
    var(--lp-bg);
}

a {
  color: inherit;
}

.lp-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 42px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  padding: 0;
}

.header-shell {
  border: 1px solid #ebeaf7;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  height: 76px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.brand-logo-header {
  height: 65px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font: 700 13px/1 "Space Grotesk", sans-serif;
  color: #fff;
  background: linear-gradient(130deg, var(--lp-violet), var(--lp-violet-2));
}

.brand-text {
  font: 700 18px/1 "Space Grotesk", sans-serif;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.header-nav a {
  color: #556078;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.header-nav a:hover {
  color: var(--lp-violet);
}

.nav-link-button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-link-button:hover {
  color: var(--lp-violet);
}

.cta-mini {
  height: 38px;
  min-width: 144px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d9d7ef;
  background: linear-gradient(90deg, #2D2F6E, #3D3B8A);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #d9d7ef;
  text-align: center;
}

.lp-page {
  max-width: 900px;
  margin: 22px auto 0;
}

.lp-page-wide {
  max-width: 980px;
}

.lp-hero {
  text-align: center;
  margin: 10px 0 18px;
}

.lp-hero h1 {
  margin: 0;
  font: 700 clamp(2rem, 4.8vw, 3rem)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.lp-hero p {
  margin: 12px auto 0;
  max-width: 700px;
  color: var(--lp-muted);
  line-height: 1.6;
  font-size: 17px;
}

.lp-card {
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: var(--lp-card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  padding: 24px 24px 22px;
}

.lp-card + .lp-card {
  margin-top: 14px;
}

.lp-meta {
  color: var(--lp-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #dddff0;
  background: #fafbff;
  color: #556078;
  font-size: 12px;
  padding: 5px 10px;
}

.lp-callout {
  border: 1px solid #eee3b6;
  background: #fffbe8;
  color: #7a6417;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
}

.lp-prose h1,
.lp-prose h2,
.lp-prose h3 {
  margin: 0 0 10px;
  color: var(--lp-text);
  font-family: "Space Grotesk", sans-serif;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.demo-overview h1 {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: transparent;
  background: var(--lp-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.demo-lead {
  margin: 0;
  color: #424f6b;
  font-size: 16px;
  line-height: 1.65;
}

.demo-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.demo-list li {
  position: relative;
  padding-left: 18px;
  color: #18213a;
  line-height: 1.5;
  font-size: 14px;
}

.demo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2D2F6E, #3D3B8A);
}

.demo-metrics {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e4e8f4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.demo-metrics strong {
  display: block;
  color: #1a2240;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.demo-metrics span {
  color: #58637e;
  font-size: 12px;
}

.demo-form-card {
  border: 1px solid #dfe4f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 16px 16px;
}

.demo-form-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  color: transparent;
  background: var(--lp-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.demo-form-card > p {
  margin: 8px 0 0;
  color: #5c6882;
  font-size: 14px;
  line-height: 1.45;
}

.demo-form {
  margin-top: 14px;
  position: relative;
  display: grid;
  gap: 10px;
}

.demo-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #2d3753;
  font-weight: 700;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid #d2d9ec;
  border-radius: 10px;
  background: #fdfdff;
  color: #1a223f;
  padding: 10px 11px;
  font: 500 14px/1.3 "DM Sans", sans-serif;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: 2px solid rgba(124, 58, 237, 0.22);
  outline-offset: 0;
  border-color: #a996f0;
}

.demo-submit {
  margin-top: 4px;
  width: 100%;
  height: 42px;
}

.demo-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.demo-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.demo-form-status {
  margin: 2px 0 0;
  min-height: 20px;
  font-size: 13px;
  color: #5c6882;
}

.demo-form-status.is-success {
  color: #1f8f54;
}

.demo-form-status.is-error {
  color: #c23535;
}

.lp-prose h1 {
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.lp-prose h2 {
  margin-top: 22px;
  font-size: 1.18rem;
}

.lp-prose h3 {
  margin-top: 16px;
  font-size: 1rem;
}

.lp-prose p,
.lp-prose li {
  color: var(--lp-muted);
  line-height: 1.68;
}

.lp-prose p {
  margin: 0 0 10px;
}

.lp-prose ul {
  margin: 6px 0 12px;
  padding-left: 20px;
}

.lp-prose ol {
  margin: 6px 0 12px;
  padding-left: 22px;
}

.lp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lp-grid-tight {
  gap: 10px;
}

.lp-panel {
  border: 1px solid #eaedf6;
  background: #fcfdff;
  border-radius: 14px;
  padding: 14px;
}

.lp-panel h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.lp-panel p {
  margin: 0;
  color: var(--lp-muted);
  line-height: 1.55;
  font-size: 14px;
}

.lp-footer-note {
  text-align: center;
  color: #73809a;
  font-size: 13px;
  margin-top: 14px;
}

.lp-sep {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--lp-line);
}

/* Landing-like floating footer (collapsible) */
.floating-footer {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(92vw, 860px);
  height: 196px;
  display: flex;
  align-items: flex-end;
  z-index: 15;
  pointer-events: auto;
}

.floating-footer-card {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #d9deec;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.floating-footer-peek {
  min-height: 36px;
  max-height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a7388;
  font-size: 13px;
  line-height: 1;
  transition: opacity 180ms ease, transform 220ms ease, min-height 220ms ease, max-height 220ms ease, padding 220ms ease;
}

.floating-footer-expanded {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  align-content: center;
  gap: 22px;
  padding: 0 22px;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  transition: max-height 260ms ease, opacity 180ms ease, transform 220ms ease, padding 220ms ease;
}

.floating-footer-brand {
  display: flex;
  align-items: center;
}

.floating-footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

.floating-footer-center a {
  color: #647089;
  font-size: 14px;
  text-decoration: none;
}

.floating-footer-center a:hover {
  color: var(--lp-violet);
}

.floating-footer-center p {
  margin: 0;
  color: #6a7388;
  font-size: 13px;
}

.floating-footer-links {
  display: grid;
  gap: 5px;
  justify-items: end;
  align-content: center;
}

.floating-footer-links a {
  color: #66728a;
  font-size: 13px;
  text-decoration: none;
}

.floating-footer-links a:hover {
  color: var(--lp-violet);
}

.floating-footer.is-open .floating-footer-card,
.floating-footer-card:focus-within {
  border-color: #cfd7ea;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.floating-footer.is-open .floating-footer-peek,
.floating-footer-card:focus-within .floating-footer-peek {
  opacity: 0;
  transform: translateY(-6px);
  min-height: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.floating-footer.is-open .floating-footer-expanded,
.floating-footer-card:focus-within .floating-footer-expanded {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 14px;
  padding-bottom: 14px;
}

.role-gate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  display: grid;
  place-items: center;
  z-index: 120;
  padding: 20px;
}

.role-gate {
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid #ddd7f6;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  padding: 24px 22px;
  text-align: center;
}

.role-gate h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  color: #0f172a;
}

.role-gate p {
  margin: 10px 0 0;
  color: #5b6478;
}

.role-gate-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.role-gate-actions button {
  appearance: none;
  border: 1px solid #d9d7ef;
  border-radius: 999px;
  height: 44px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.role-gate-recruiter {
  background: linear-gradient(90deg, #2D2F6E, #3D3B8A);
  color: #fff;
  border-color: transparent !important;
}

.role-gate-candidate {
  background: #fff;
  color: #3f3f66;
}

@media (max-width: 960px) {
  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-nav {
    display: none;
  }

  .lp-grid-2,
  .lp-grid-3 {
    grid-template-columns: 1fr;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .floating-footer {
    width: min(96vw, 760px);
    bottom: 10px;
    height: 210px;
  }

  .floating-footer-expanded {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  .floating-footer-links {
    justify-items: center;
    grid-template-columns: repeat(2, minmax(0, auto));
    column-gap: 14px;
    row-gap: 4px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 148px;
  }

  .lp-shell {
    padding: 10px 10px 28px;
  }

  .header-shell {
    top: 8px;
    height: 56px;
    border-radius: 14px;
    padding: 0 12px;
  }

  .brand-text {
    font-size: 16px;
  }

  .cta-mini {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .lp-page {
    margin-top: 14px;
  }

  .lp-card {
    border-radius: 16px;
    padding: 16px 14px;
  }

  .lp-hero p {
    font-size: 15px;
  }

  .demo-field-grid {
    grid-template-columns: 1fr;
  }

  .floating-footer {
    width: min(96vw, 520px);
    height: auto;
  }

  .floating-footer-peek {
    display: none;
  }

  .floating-footer-expanded {
    max-height: 220px;
    min-height: 0;
    opacity: 1;
    transform: none;
    padding: 12px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .floating-footer-card {
    background: rgba(255, 255, 255, 0.82);
  }

  .floating-footer .brand {
    justify-content: center;
  }
  .floating-footer-center a {
    font-size: 13px;
    word-break: break-word;
    white-space: normal;
  }
}





