/* ==========================================================================
   recruitOS — marketing site design system
   --------------------------------------------------------------------------
   Brand rule: the product name is ALWAYS "recruitOS" (lowercase r, capital OS).
   Never "RecruitOS", "Recruit OS", or "recruit os".

   Palette derived from /assets/styles.md (brand tokens) and composed to match
   /assets/site layout example.png (approved visual baseline).
   Typeface: Montserrat — ExtraLight 200 / Light 300 / Medium 500 / Bold 700.

   Deliberate single-theme design: this is a committed brand look (dark-purple
   forward with alternating light bands), not a light/dark toggle.
   ========================================================================== */

/* ------------------------------- Tokens ---------------------------------- */
:root {
  /* Brand core (from styles.md) */
  --navy:        #200940;   /* background & primary text (dark) */
  --cream:       #f5f1e9;   /* warm light alt (documented, used sparingly) */
  --magenta:     #ee118e;   /* primary / button / accent */

  /* Plum accent ramp (styles.md) */
  --plum-900: #420a4d;
  --plum-800: #630b58;
  --plum-700: #830b65;
  --plum-600: #a30d72;
  --plum-500: #c60e80;

  /* Composed dark grounds (match the baseline image's indigo-purple depth) */
  --navy-deep: #170530;
  --indigo:    #2a0f4e;
  --indigo-2:  #34155f;
  --magenta-bright: #ff45a8;

  /* Light grounds — cool lavender-white to sit under the purple brand */
  --white:      #ffffff;
  --lavender:   #f6f4fb;
  --lavender-2: #ece7f7;

  /* Ink (neutrals biased toward the brand purple, not flat grey) */
  --ink:        #200940;
  --ink-soft:   #574b6e;
  --ink-faint:  #857a9c;

  /* On-dark text */
  --on-dark:        #f3eefb;
  --on-dark-soft:   #c9bce4;
  --on-dark-faint:  #9a8cbb;

  /* Lines */
  --line:      #e7e1f2;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Focus */
  --focus:      #ee118e;
  --focus-dark: #ffd54a;

  /* Typography — Montserrat */
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --fw-xlight: 200;
  --fw-light:  300;
  --fw-medium: 500;
  --fw-bold:   700;

  /* Fluid type scale */
  --step--1: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
  --step-4:  clamp(2.3rem, 1.7rem + 2.7vw, 3.6rem);
  --step-5:  clamp(2.8rem, 1.9rem + 4.2vw, 4.8rem);

  /* Spacing */
  --sp-2xs: 0.375rem;
  --sp-xs:  0.625rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;

  /* Radii & shadows */
  --r-sm:   10px;
  --r-btn:  4px;   /* buttons: rectangle with a small rounded edge */
  --r:      16px;
  --r-lg:   24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(23, 5, 48, 0.06), 0 4px 14px rgba(23, 5, 48, 0.06);
  --shadow-md: 0 12px 34px rgba(23, 5, 48, 0.12);
  --shadow-lg: 0 30px 70px rgba(23, 5, 48, 0.28);
  --shadow-glow: 0 20px 60px rgba(238, 17, 142, 0.35);

  --container: 1200px;
  --container-narrow: 760px;
  --t: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
/* NEVER skew the logo / brand mark: size ONE axis and let the other stay auto so
   the intrinsic aspect ratio (973 x 234 for the wordmark) is always preserved. */
.nav-logo img, .footer-logo img, .mock-brand img, img.logo { width: auto; object-fit: contain; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--plum-600); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------------------------- Accessibility ------------------------------ */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translate(-50%, -160%);
  z-index: 999;
  background: var(--navy);
  color: var(--on-dark);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: transform var(--t);
}
.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .band :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-dark); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------- Typography -------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: var(--fw-bold);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: var(--fw-medium); letter-spacing: -0.01em; }
h4 { font-size: var(--step-1); font-weight: var(--fw-medium); letter-spacing: -0.01em; }
p { max-width: 65ch; }
strong, b { font-weight: var(--fw-medium); }

.leadDark {
  font-size: var(--step-1);
  font-weight: var(--fw-light);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}

.leadDark {
  font-size: var(--step-1);
  font-weight: var(--fw-light);
  line-height: 1.5;
  color: var(--cream);
  max-width: 56ch;
}
.display-accent { color: var(--magenta); }

/* ------------------------------ Layout ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-2xl); }
.section-sm { padding-block: var(--sp-xl); }

/* Cookie consent notice (injected by main.js) */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  z-index: 900;
  width: min(760px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--navy-deep);
  color: var(--on-dark);
  border: 1px solid rgba(238, 17, 142, 0.35);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.cookie-text { margin: 0; max-width: none; font-size: var(--step--1); color: var(--on-dark-soft); }
.cookie-text a { color: #ffb3dc; }
.cookie-actions { display: flex; gap: var(--sp-xs); flex: none; }
.cookie-banner .btn { padding: 0.55rem 1.1rem; font-size: var(--step--1); }
.cookie-banner .btn-outline { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.4); }
.cookie-banner .btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); color: var(--on-dark); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* 404 / error page */
.error-hero { display: grid; align-items: center; min-height: 72vh; text-align: center; }
.error-inner { max-width: 640px; margin-inline: auto; }
.error-mark { width: min(440px, 78%); height: auto; margin: 0 auto var(--sp-lg); }
.error-hero .lead { color: var(--on-dark-soft); margin-inline: auto; margin-top: var(--sp-md); }
.error-hero .btn-row { justify-content: center; margin-top: var(--sp-lg); }
.error-hero h1 { max-width: none; }

/* Long-form legal / policy documents */
.legal h2 { font-size: var(--step-2); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: var(--sp-md); }
.legal ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: var(--sp-md); display: grid; gap: var(--sp-sm); }
.legal ol li { padding-left: 0.3rem; }

.section-head { max-width: 60ch; margin-bottom: var(--sp-lg); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-sm); }
/* opt-in: remove the width cap so a lead can run on one line.
   Works whether applied to the .lead itself or to a wrapping .section-head. */
.lead-wide, .lead-wide .lead { max-width: none; }

/* Section grounds */
.dark { background: var(--navy); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--on-dark); }
.dark p, .dark li { color: var(--on-dark-soft); }
.dark .lead { color: var(--on-dark-soft); }
.dark a { color: #ff9ed3; }
.lavender { background: var(--lavender); }

/* Grids */
.grid { display: grid; gap: var(--sp-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
#demo .split { align-items: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ------------------------------ Buttons ---------------------------------- */
.btn {
  --bg: var(--magenta);
  --fg: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: var(--fw-medium);
  font-size: var(--step-0);
  line-height: 1.1;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary { --bg: var(--magenta); --fg: #fff; box-shadow: 0 8px 24px rgba(238, 17, 142, 0.28); }
.btn-primary:hover { --bg: var(--magenta-bright); box-shadow: var(--shadow-glow); color: #fff; }

.btn-outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.dark .btn-outline, .band .btn-outline, .hero .btn-outline { --fg: var(--on-dark); border-color: rgba(255, 255, 255, 0.4); }
.dark .btn-outline:hover, .band .btn-outline:hover, .hero .btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: var(--on-dark); border-color: rgba(255, 255, 255, 0.7); }

.btn-lg { font-size: var(--step-1); padding: 1rem 1.9rem; }

.btn-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: none; border: none; padding: 0;
  color: var(--magenta); font-weight: var(--fw-medium);
  text-decoration: none;
}
.btn-link:hover { gap: 0.7em; color: var(--plum-500); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; }

/* ------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #170530; /* deep navy-purple — solid across the whole header */
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  text-transform: lowercase;
  justify-content: space-between;
  gap: var(--sp-md);
  min-height: 74px;
}
.nav-logo { display: inline-flex; margin-right: 100px; }
.nav-logo img { height: 46px; width: auto; }
/* On desktop the collapse wrapper is a flex row that fills the space after the
   logo; nav-center takes the free space (margin-right:auto) so the actions
   (Log in + Book a demo) are pinned to the far right. */
.nav-collapse { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); flex: 1; }
.nav-center { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); flex-shrink: 0; margin-right: auto; }
.nav-center a {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.nav-center a:hover, .nav-center a[aria-current="page"] { color: #fff; border-bottom-color: var(--magenta); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-sm); flex-shrink: 0; white-space: nowrap; }
.nav-actions .login {
  color: var(--on-dark-soft); text-decoration: none; font-weight: var(--fw-medium); font-size: 0.98rem;
}
.nav-actions .login:hover { color: #fff; }

/* Header CTA: magenta fill + white text as the initial state; on hover it flips
   to a white fill with a magenta outline and magenta text. Properties are set
   directly so they beat the base .btn-primary:hover rule. */
.nav-actions .btn-primary {
  background: var(--magenta);
  color: #ffffff;
  border-color: var(--magenta);
  box-shadow: none;
}
.nav-actions .btn-primary:hover {
  background: #ffffff;
  color: var(--magenta);
  border-color: var(--magenta);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  padding: 0.5rem;
  color: var(--on-dark);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-logo { margin-right: 0; }
  .nav-collapse {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line-dark);
    padding: var(--sp-sm) clamp(1.25rem, 5vw, 3rem) var(--sp-md);
    box-shadow: var(--shadow-md);
  }
  .nav-collapse.open { display: flex; }
  .nav-center { flex-direction: column; align-items: stretch; gap: 0; margin-right: 0; }
  .nav-center a { padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav-center a:hover, .nav-center a[aria-current="page"] { border-bottom-color: var(--line-dark); }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: var(--sp-sm); margin-left: 0; gap: var(--sp-sm); }
  .nav-actions .login { padding: 0.5rem 0; }
  .nav-actions .btn { width: 100%; }
}

/* ------------------------------- Hero ------------------------------------ */
.hero {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(238, 17, 142, 0.32), transparent 55%),
    radial-gradient(900px 600px at 0% 100%, rgba(99, 11, 88, 0.55), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--indigo) 55%, var(--navy) 100%);
  padding-block: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 620px; height: 620px;
  border: 1px solid rgba(238, 17, 142, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(238, 17, 142, 0.04);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: var(--on-dark-soft); max-width: 46ch; margin-top: var(--sp-md); }
.hero .btn-row { margin-top: var(--sp-lg); }
.hero-grid:has(.hero-figure) { grid-template-columns: 1fr 1.2fr; }
.hero-figure img { width: 100%; height: auto; max-width: 860px; margin-inline: auto; display: block; }
@media (max-width: 940px) { .hero-figure { display: none; } }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: var(--sp-xs) var(--sp-lg);
  margin-top: var(--sp-lg);
}
.hero-trust li { display: flex; align-items: center; gap: 0.6rem; text-align: left; color: var(--on-dark-soft); font-size: 0.95rem; }
.hero-trust .tick { flex: none; }
@media (max-width: 480px) { .hero-trust { grid-template-columns: 1fr; } }

/* Product dashboard mockup (illustrative UI, matches baseline image) */
.mock {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.5rem 0.85rem; border-bottom: 1px solid var(--line); }
.mock-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: var(--fw-medium); font-size: 0.9rem; }
.mock-brand img { height: 18px; }
.mock-dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--plum-600), var(--magenta)); }
.mock-greet { padding: 0.85rem 0.5rem 0.25rem; }
.mock-greet strong { font-weight: var(--fw-medium); }
.mock-greet span { display: block; color: var(--ink-faint); font-size: 0.8rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; padding: 0.75rem 0.5rem; }
.mock-stat { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.7rem; }
.mock-stat .k { font-size: 0.72rem; color: var(--ink-faint); }
.mock-stat .v { font-size: 1.5rem; font-weight: var(--fw-xlight); line-height: 1.1; }
.mock-stat .d { font-size: 0.68rem; color: var(--plum-600); font-weight: var(--fw-medium); }
.mock-chart { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.75rem; margin: 0.25rem 0.5rem 0.5rem; }
.mock-chart .k { font-size: 0.75rem; color: var(--ink-faint); margin-bottom: 0.4rem; }
.mock-chart svg { width: 100%; height: 92px; }

/* ------------------------------ Cards ------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
 /* border-radius: var(--r);*/
  padding: var(--sp-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/*ene*/
.cardDark {
  background: var(--plum-900);
  border: 1px solid var(--line);
  color: white;
 /* border-radius: var(--r);*/
  padding: var(--sp-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--lavender-2); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2xs); }
.card p { color: var(--ink-soft); font-size: var(--step-0); }
.card .btn-link { margin-top: auto; padding-top: var(--sp-sm); }

.dark .card, .band .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
  box-shadow: none;
}
.dark .card p, .band .card p { color: var(--on-dark-soft); }
.dark .card:hover, .band .card:hover { border-color: rgba(238, 17, 142, 0.4); }

/* Circular brand icon (as in the image) */
.icon-circle {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--plum-500), var(--magenta));
  color: #fff;
  margin-bottom: var(--sp-sm);
  box-shadow: 0 8px 20px rgba(238, 17, 142, 0.3);
}
.icon-circle svg { width: 26px; height: 26px; }

/* Feature (icon + text, used on dark platform band) */
.feature { display: flex; gap: var(--sp-sm); align-items: flex-start; }
.feature .icon-circle { width: 46px; height: 46px; margin-bottom: 0; }
.feature h4 { color: inherit; margin-bottom: 0.25rem; }

/* Model-explainer cards: tinted plum panel with the icon as a large, faint
   watermark in the top-right corner behind the text. */
.model-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #f4ebfb 0%, #fdf0f7 100%);
  border-color: rgba(99, 11, 88, 0.12);
}
.model-card h3, .model-card p { position: relative; z-index: 1; }
.model-bg {
  position: absolute;
  z-index: 0;
  right: -0.7rem;
  top: -0.9rem;
  width: 128px;
  height: 128px;
  color: var(--plum-500);
  opacity: 0.14;
  pointer-events: none;
}
.model-bg svg { width: 100%; padding:10px;  height: 100%; }

/* Product card (suite) — dark plum panel. The inner holds the icon + text as a
   tight column, centered within itself and pushed to the right of the card. */
.product-card {
  background: #420a4d;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
  align-items: flex-end;
}
.product-card:hover { border-color: rgba(238, 17, 142, 0.5); }
.product-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 15rem;
}
.product-card .brandname { font-weight: var(--fw-medium); letter-spacing: -0.01em; }
.product-card h3 { color: #ffffff; }
.product-card .brandname .os { color: var(--magenta); }
.product-card p { color: var(--on-dark-soft); }
.product-card .btn-link { align-self: center; color: #ff9ed3; }
.product-card .btn-link:hover { color: #ffffff; }
/* checklist bullets on the dark plum product card */
.product-card .checklist { text-align: left; }
.product-card .checklist span { color: var(--on-dark); }
.product-card .tick { background: rgba(238, 17, 142, 0.22); color: #ff9ed3; }
.product-tag {
  align-self: center;
  font-size: var(--step--1);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb3dc;
  margin-bottom: var(--sp-sm);
}

/* ------------------------------ Checklist -------------------------------- */
.checklist { display: grid; gap: var(--sp-sm); }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.tick {
  flex: none; width: 24px; height: 24px; margin-top: 2px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(238, 17, 142, 0.14); color: var(--magenta);
}
.tick svg { width: 14px; height: 14px; }
.dark .tick, .band .tick, .hero .tick { background: rgba(238, 17, 142, 0.22); color: #ff9ed3; }

/* --------------------------- Placeholders -------------------------------- */
/* Visibly flagged so the client can find every unverified / TBD item. */
.ph {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: var(--fw-medium); font-size: var(--step--1);
  color: #7a5a00;
  background: repeating-linear-gradient(45deg, #fff7db, #fff7db 10px, #fdefbe 10px, #fdefbe 20px);
  border: 1px dashed #d9a900; border-radius: var(--r-sm);
  padding: 0.2rem 0.55rem;
}
.ph::before { content: "\2691"; } /* flag */
.ph-box {
  border: 2px dashed #d9a900;
  background: rgba(255, 247, 219, 0.65);
  color: #7a5a00;
  border-radius: var(--r);
  padding: var(--sp-md);
}
.ph-box p { color: #7a5a00; }
.dark .ph, .band .ph { color: #ffe08a; background: rgba(255, 223, 107, 0.12); border-color: rgba(255, 223, 107, 0.5); }
.dark .ph-box, .band .ph-box { color: #ffe08a; background: rgba(255, 223, 107, 0.07); border-color: rgba(255, 223, 107, 0.45); }

/* Logo placeholder tile (ATS strip) */
.logo-tile {
  display: grid; place-items: center;
  min-height: 66px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-faint);
  font-weight: var(--fw-medium);
  font-size: var(--step--1);
  text-align: center;
  padding: var(--sp-sm);
}

/* -------------------------- ATS integrations panel ----------------------- */
.ats-section { background: #ede1ff; } /* light lavender panel background */
.ats-panel { margin: 0; }
.ats-panel img {
  width: 100%;
  height: auto;
  border-radius: 0;
}
.ats-panel figcaption {
  margin-top: var(--sp-md);
  text-align: center;
  color: var(--ink-faint);
  font-size: var(--step--1);
}

/* -------------------------- gateKeeper product page ---------------------- */
.gk-value { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
@media (max-width: 720px) { .gk-value { grid-template-columns: 1fr; gap: var(--sp-md); } }
.gk-value-num { font-size: var(--step-3); font-weight: var(--fw-xlight); color: var(--plum-600); line-height: 1; margin-bottom: 0.4rem; }
.gk-value p { color: var(--ink-soft); }

/* Illustrative mobile review card (decorative; sample data only) */
.gk-visual { display: flex; flex-direction: column; align-items: center; }
.gk-phone {
  width: 300px;
  max-width: 100%;
  background: #fff;
  color: var(--ink);
  border: 8px solid #120425;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1rem 1.15rem;
}
.gk-phone-top { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: var(--ink-faint); }
.gk-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); flex: none; }
.gk-count { font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.85rem; }
.gk-cand { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.4rem; }
.gk-avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; background: linear-gradient(150deg, var(--plum-500), var(--magenta)); }
.gk-cand strong { display: block; font-weight: var(--fw-medium); }
.gk-cand-sub { font-size: 0.72rem; color: var(--ink-faint); }
.gk-highlights { display: grid; gap: 0.5rem; margin: 0.9rem 0; }
.gk-highlights li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-soft); }
.gk-highlights .tick { width: 20px; height: 20px; background: rgba(238, 17, 142, 0.14); color: var(--magenta); }
.gk-highlights .tick svg { width: 12px; height: 12px; }
.gk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.4rem; }
.gk-btn { text-align: center; padding: 0.65rem; border-radius: var(--r-btn); font-weight: var(--fw-medium); font-size: 0.9rem; }
.gk-reject { border: 1.5px solid var(--line); color: var(--ink-soft); }
.gk-accept { background: var(--magenta); color: #fff; }
.gk-sync { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; font-size: 0.72rem; color: var(--ink-faint); }
.gk-caption { margin-top: var(--sp-sm); text-align: center; font-size: var(--step--1); color: var(--on-dark-faint); }

/* -------------------------- Sidecar Model page --------------------------- */
/* Bi-directional ATS <-> recruitOS diagram */
.sidecar-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: var(--sp-sm);
}
@media (max-width: 620px) { .sidecar-diagram { grid-template-columns: 1fr; } }
.sc-node {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  padding: var(--sp-md);
  border-radius: var(--r);
  border: 1px solid var(--line);
  min-height: 108px;
}
.sc-node strong { font-weight: var(--fw-medium); font-size: var(--step-1); color: var(--ink); }
.sc-node span { font-size: var(--step--1); color: var(--ink-faint); }
.sc-ats { background: var(--white); }
.sc-ros { background: linear-gradient(150deg, var(--plum-900), var(--indigo)); border-color: transparent; }
.sc-ros strong { color: #fff; }
.sc-ros span { color: var(--on-dark-soft); }
.sc-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; padding: 0 0.25rem; }
.sc-arrows { font-size: var(--step-3); line-height: 1; color: var(--magenta); }
.sc-link-label { font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); text-align: center; }
@media (max-width: 620px) { .sc-arrows { transform: rotate(90deg); } }
/* On the dark hero, tune the diagram to read on the dark ground */
.hero .sc-node { border-color: var(--line-dark); }
.hero .sc-ats { background: rgba(255,255,255,0.06); }
.hero .sc-ats strong { color: #fff; }
.hero .sc-ats span { color: var(--on-dark-soft); }
.hero .sc-link-label { color: var(--on-dark-faint); }

/* Why-recruitOS stat cards */
.stat-card { text-align: center; align-items: center; }
.stat-figure { font-size: var(--step-4); font-weight: var(--fw-xlight); line-height: 1; color: #fff; }
.stat-label { font-weight: var(--fw-medium); margin-top: 0.4rem; color: #fff; }
.stat-card p { color: var(--on-dark-soft); font-size: var(--step--1); margin-top: 0.35rem; }

/* ------------------- Architecture panel (framed diagram) ----------------- */
.arch-section {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--sp-2xl) + clamp(24px, 5vw, 64px));
  padding-bottom: calc(var(--sp-2xl) + clamp(24px, 5vw, 64px));
  background:
    radial-gradient(680px 340px at 12% -10%, rgba(238, 17, 142, 0.10), transparent 60%),
    radial-gradient(760px 420px at 100% 110%, rgba(99, 11, 88, 0.12), transparent 55%),
    var(--lavender-2);
}

/* Shaped section divider — full-bleed wave with a brand-gradient crest */
.sec-divider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: clamp(48px, 7vw, 96px);
  display: block;
  z-index: 0;
  pointer-events: none;
}
.sec-divider .sd-fill { fill: var(--lavender); }
.sec-divider .sd-crest {
  fill: none;
  stroke: url(#div-grad);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.9;
}
.sec-divider-bottom { top: auto; bottom: 0; }
.sec-divider-bottom .sd-fill { fill: var(--white); }
/* generic host for a bottom wave divider on a standalone section */
.wave-host { position: relative; overflow: hidden; padding-bottom: calc(var(--sp-2xl) + clamp(24px, 5vw, 64px)); }
.arch-panel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* gradient accent bar across the top of the panel */
.arch-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--plum-700), var(--magenta) 55%, var(--magenta-bright));
}
.arch-panel img { display: block; width: 100%; height: auto; }
.arch-panel figcaption { margin-top: var(--sp-md); text-align: center; color: var(--ink-faint); font-size: var(--step--1); }
/* soft glow behind the panel to lift it off the tinted ground */
.arch-stage { position: relative; }
.arch-stage::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: min(760px, 82%); height: 62%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(238, 17, 142, 0.22), transparent);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}
.arch-stage .arch-panel { z-index: 1; }

/* ------------------- Why recruitOS — table (logo + data) ----------------- */
/* Layout via a table: the logo cell rowspans the data rows, the heading colspans
   the figure + text columns, and each figure is a row header (th scope="row"). */
.why-table { width: 100%; border-collapse: collapse; }
.why-table .wt-logo { width: 34%; vertical-align: middle; padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.why-table .wt-logo img { width: 100%; max-width: 320px; margin-inline: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.why-table .wt-head { text-align: left; padding: 0 0 var(--sp-sm); }
.why-table .wt-head h2 { color: #fff; }
.why-table .wt-fig {
  width: 6rem;
  white-space: nowrap;
  text-align: center;
  vertical-align: top;
  padding: var(--sp-md) var(--sp-md) var(--sp-md) 0;
  font-size: var(--step-5);
  font-weight: var(--fw-light);
  color: #ff9ed3;
  border-top: 1px solid var(--line-dark);
}
.why-table .wt-text { vertical-align: top; padding: var(--sp-lg) 0; padding-right:30px; border-top: 1px solid var(--line-dark); text-align:center }
.why-table .wt-text strong { display: block; color: #fff; font-weight: var(--fw-medium); font-size: var(--step-2); margin-bottom: 0.15rem; }
.why-table .wt-text span { color: var(--on-dark-soft); font-size: var(--step--2); }
@media (max-width: 860px) {
  .why-table, .why-table tbody, .why-table tr, .why-table td, .why-table th { display: block; width: auto; text-align: center; }
  .why-table .wt-logo { padding-right: 0; margin-bottom: var(--sp-lg); }
  .why-table .wt-logo img { max-width: 220px; margin-inline: auto; }
  .why-table .wt-fig { width: auto; padding: var(--sp-md) 0 0; text-align: center; }
  .why-table .wt-text { border-top: 0; padding: 0.2rem 0 var(--sp-md); text-align: center; }
}

/* ------------------------------ Timeline --------------------------------- */
/* Numbered progression: horizontal with a connecting line on desktop,
   vertical with a left rail on mobile. */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--plum-500), var(--magenta));
  z-index: 0;
}
.tl-step { position: relative; z-index: 1; text-align: center; }
.tl-marker {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-sm);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--plum-500), var(--magenta));
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--step-1);
  border: 4px solid var(--lavender);
  box-shadow: 0 6px 16px rgba(238, 17, 142, 0.3);
}
.tl-step h4 { margin-bottom: var(--sp-2xs); }
.tl-step p { font-size: var(--step--1); color: var(--ink-soft); max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before {
    top: 0; bottom: 0; left: 27px; right: auto;
    width: 3px; height: auto;
    background: linear-gradient(180deg, var(--plum-500), var(--magenta));
  }
  .tl-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-md); align-items: start; text-align: left; padding-bottom: var(--sp-lg); }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-marker { margin: 0; }
  .tl-step p { max-width: none; margin-inline: 0; }
}

/* ------------------------------ Band (gradient) -------------------------- */
.band {
  color: var(--on-dark);
  background:
    radial-gradient(700px 400px at 12% 0%, rgba(238, 17, 142, 0.4), transparent 60%),
    linear-gradient(120deg, var(--plum-900), var(--plum-700) 45%, var(--indigo) 100%);
}
.band .stat-num { font-size: var(--step-4); font-weight: var(--fw-xlight); line-height: 1; color: #fff; }

/* CTA band (rounded) */
.cta {
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.25rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(238, 17, 142, 0.35), transparent 60%),
    linear-gradient(120deg, var(--plum-900), var(--indigo));
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-lg);
  flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: var(--step-3); max-width: 22ch; }
.cta p { color: var(--on-dark-soft); margin-top: 0.5rem; }

/* ------------------------------ Pricing ---------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); align-items: stretch; }
@media (max-width: 1024px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; }
.price-card.featured { border-color: var(--magenta); box-shadow: 0 18px 44px rgba(238, 17, 142, 0.18); }
.price-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--magenta); color: #fff; font-size: var(--step--1); font-weight: var(--fw-medium);
  padding: 0.25rem 0.8rem; border-radius: var(--r-pill);
}
.price-name { font-size: var(--step-1); font-weight: var(--fw-medium); }
.price-amt { font-size: var(--step-3); font-weight: var(--fw-xlight); line-height: 1.1; margin: 0.5rem 0 0.25rem; }
.price-card .checklist { margin: var(--sp-md) 0; }
.price-card .btn { width: 100%; margin-top: auto; }

/* ------------------------------ Forms ------------------------------------ */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 0.4rem; margin-bottom: var(--sp-md); }
.field label { font-weight: var(--fw-medium); font-size: var(--step--1); }
.field .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(238, 17, 142, 0.16);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: var(--step--1); color: var(--ink-faint); }
.check-row { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-row input { width: auto; margin-top: 0.3rem; }

/* ------------------------------ Toggle ----------------------------------- */
.toggle-row { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.toggle { position: relative; width: 46px; height: 26px; }
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle .track { position: absolute; inset: 0; background: var(--lavender-2); border-radius: var(--r-pill); transition: background var(--t); }
.toggle .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t); }
.toggle input:checked ~ .track { background: var(--magenta); }
.toggle input:checked ~ .thumb { transform: translateX(20px); }
.toggle input:focus-visible ~ .track { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ------------------------------ Footer ----------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding-block: var(--sp-xl) var(--sp-lg); }
.site-footer h4 { color: #fff; font-size: var(--step-0); font-weight: var(--fw-medium); margin-bottom: var(--sp-sm); letter-spacing: 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1.3fr 1fr 1fr; gap: var(--sp-lg); }
.site-footer ul li { white-space: nowrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo img { height: 32px; margin-bottom: var(--sp-sm); }
.footer-sub { display: flex; gap: 0.5rem; margin-top: var(--sp-sm); }
.footer-sub input { flex: 1; min-width: 0; padding: 0.65rem 0.85rem; border-radius: var(--r-sm); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.06); color: #fff; }
.footer-sub input::placeholder { color: var(--on-dark-faint); }
.footer-sub .btn { flex: none; padding: 0.65rem 0.9rem; }
.social { display: flex; gap: 0.6rem; margin-top: var(--sp-md); }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark-soft); }
.social a:hover { color: #fff; border-color: var(--magenta); background: rgba(238, 17, 142, 0.15); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: var(--sp-xl); padding-top: var(--sp-md); border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--sp-sm) var(--sp-md);
  justify-content: space-between; align-items: center; font-size: var(--step--1);
}
.footer-bottom p { color: var(--on-dark-faint); max-width: none; }
.footer-legal { display: flex; gap: var(--sp-md); flex-wrap: wrap; }

/* ------------------------------ Utilities -------------------------------- */
.text-center { text-align: center; }
.mx-auto {margin-inline: auto; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-0 { margin-bottom: 0; }
.max-58 { max-width: 58ch; }
.stack > * + * { margin-top: var(--sp-sm); }
.stack-lg > * + * { margin-top: var(--sp-md); }
