:root {
  color-scheme: light;
  --ink: #17221c;
  --muted: #59645f;
  --line: rgba(23, 34, 28, 0.14);
  --paper: #fbfaf6;
  --surface: #ffffff;
  --green: #24513a;
  --gold: #b5773e;
  --blue: #315f7c;
  --rose: #9b4f5d;
  --page-gutter: clamp(18px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 38px;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: auto;
  height: 32px;
}

.audience-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 20px;
}

.audience-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.audience-links a:hover {
  background: rgba(36, 81, 58, 0.05);
  color: var(--ink);
}

.audience-links a[aria-current="page"] {
  color: var(--green);
}

.audience-links a[aria-current="page"]::after {
  position: absolute;
  right: 14px;
  bottom: 2px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.audience-links a:focus-visible,
.audience-offer:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.nav {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.nav-account {
  margin-left: auto;
}

.nav a.nav-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fffdf7;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: 24px var(--page-gutter);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 20ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.5vw, 50px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero > section {
  min-width: 0;
}

.hero-copy {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.45;
}

.audience-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 62ch;
  margin-top: 18px;
}

.audience-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--offer-border);
  border-radius: 12px;
  background: var(--offer-background);
  color: var(--offer-ink);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.audience-offer--candidate {
  --offer-ink: #315f7c;
  --offer-background: #f0f5f8;
  --offer-border: #d5e1e8;
}

.audience-offer--recruiter {
  --offer-ink: #24513a;
  --offer-background: #f0f5ef;
  --offer-border: #d7e2d5;
}

.audience-offer:hover {
  border-color: var(--offer-ink);
  box-shadow: 0 6px 18px rgba(23, 34, 28, 0.06);
}

.audience-offer__label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audience-offer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
}

.audience-offer__copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.audience-offer__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.audience-offer__action > span {
  font-size: 20px;
}

.offer-summary {
  max-width: 62ch;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.offer-summary p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.offer-summary .offer-summary__title {
  margin-top: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fffdf7;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.hero-action--secondary {
  background: transparent;
  color: var(--green);
}

.hero-action:hover {
  text-decoration: underline;
}

.hero-action:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.visual {
  position: relative;
  container-type: inline-size;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.42)
    ),
    linear-gradient(150deg, rgba(36, 81, 58, 0.14), rgba(181, 119, 62, 0.1));
  box-shadow: 0 24px 60px rgba(23, 34, 28, 0.12);
}

.board {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-rows: auto;
  border: 1px solid rgba(23, 34, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.board-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(23, 34, 28, 0.1);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.lane {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(23, 34, 28, 0.1);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.72);
}

.lane strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticket {
  min-height: 0;
  padding: 10px;
  font-size: 14px;
  line-height: 1.3;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 34, 28, 0.09);
}

.ticket span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 20px var(--page-gutter) 24px;
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feature {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.feature strong {
  display: block;
  margin-top: 22px;
  font-size: 20px;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.candidate-theme .hero,
.recruiter-theme .hero {
  align-items: start;
  gap: clamp(16px, 2vw, 32px);
  row-gap: 0;
  padding-block: 24px;
}

.home-theme h1,
.candidate-theme h1,
.recruiter-theme h1 {
  font-size: clamp(40px, 3.5vw, 50px);
}

.candidate-theme .visual,
.recruiter-theme .visual {
  align-self: start;
  min-height: 0;
  background: transparent;
  box-shadow: none;
}

.candidate-theme .lane,
.recruiter-theme .lane {
  min-height: 0;
}

.candidate-theme .section,
.recruiter-theme .section {
  padding-block: 28px 38px;
}

.candidate-theme .feature-grid,
.recruiter-theme .feature-grid {
  gap: 12px;
  margin-top: 20px;
}

.candidate-theme .feature,
.recruiter-theme .feature {
  min-height: 0;
  padding: 18px;
}

.candidate-theme .feature strong,
.recruiter-theme .feature strong {
  margin-top: 14px;
  font-size: 18px;
}
.candidate-theme {
  --green: #315f7c;
  --gold: #9b4f5d;
}

.lane,
.ticket {
  min-width: 0;
}

.ticket,
.lane strong {
  overflow-wrap: anywhere;
}

@container (max-width: 32rem) {
  .lane-grid {
    gap: 8px;
    padding: 10px;
  }

  .lane {
    gap: 8px;
    padding: 9px;
  }

  .lane strong {
    font-size: 0.7rem;
  }

  .ticket {
    min-height: 0;
    padding: 10px;
    font-size: 0.9rem;
  }

  .ticket span {
    font-size: 0.7rem;
  }
}
@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
  }

  .visual {
    min-height: 420px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  :is(.candidate-theme, .recruiter-theme) .visual {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  .audience-links {
    width: 100%;
    margin-left: 0;
  }

  .audience-links a {
    flex: 1;
  }

  .nav {
    width: 100%;
    margin-left: 0;
  }

  .nav-account {
    margin-left: 0;
  }

  .nav a {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
  }

  .hero {
    gap: 32px;
    padding: 36px 18px 48px;
  }

  h1 {
    max-width: none;
    font-size: clamp(40px, 14vw, 52px);
    line-height: 0.95;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .visual {
    min-height: 0;
    padding: 12px;
    overflow: visible;
  }

  .board {
    position: relative;
    inset: auto;
  }

  .board-header {
    padding: 10px;
  }

  .lane-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .lane {
    min-height: 0;
    padding: 12px;
  }

  .ticket {
    min-height: 0;
  }

  .section {
    padding: 38px 18px 52px;
  }

  .feature {
    min-height: 0;
    padding: 20px;
  }
}
@media (min-width: 901px) and (min-height: 680px) {
  body.home-theme,
  body.candidate-theme,
  body.recruiter-theme {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
  }

  .home-theme .hero,
  .candidate-theme .hero,
  .recruiter-theme .hero {
    min-height: 0;
    padding-block: 12px;
  }

  .home-theme .visual,
  .candidate-theme .visual,
  .recruiter-theme .visual {
    height: auto;
    min-height: 0;
  }

  .home-theme .lane,
  .candidate-theme .lane,
  .recruiter-theme .lane,
  .home-theme .ticket,
  .candidate-theme .ticket,
  .recruiter-theme .ticket {
    min-height: 0;
  }

  .candidate-theme .section,
  .recruiter-theme .section {
    padding-block: 12px 16px;
  }

  .candidate-theme .section h2,
  .recruiter-theme .section h2 {
    max-width: none;
    font-size: clamp(20px, 2vw, 30px);
  }

  .candidate-theme .feature-grid,
  .recruiter-theme .feature-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .candidate-theme .feature,
  .recruiter-theme .feature {
    padding: 10px;
  }

  .candidate-theme .feature strong,
  .recruiter-theme .feature strong {
    margin-top: 8px;
    font-size: 16px;
  }

  .candidate-theme .feature p,
  .recruiter-theme .feature p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
  }
}
/* Taller desktops can give both role pages more room inside their boxes. */
@media (min-width: 901px) and (min-height: 850px) {
  :is(.candidate-theme, .recruiter-theme) .visual {
    padding: 16px;
  }
  :is(.candidate-theme, .recruiter-theme) .board-header {
    padding: 16px;
  }
  :is(.candidate-theme, .recruiter-theme) .lane-grid {
    gap: 12px;
    padding: 16px;
  }
  :is(.candidate-theme, .recruiter-theme) .lane {
    gap: 12px;
    padding: 12px;
  }
  :is(.candidate-theme, .recruiter-theme) .ticket {
    padding: 12px;
    font-size: 16px;
    line-height: 1.4;
  }
  :is(.candidate-theme, .recruiter-theme) .offer-summary {
    padding: 18px 20px;
  }
  :is(.candidate-theme, .recruiter-theme) .feature {
    padding: 16px;
  }
  :is(.candidate-theme, .recruiter-theme) .feature strong {
    margin-top: 12px;
  }
  :is(.candidate-theme, .recruiter-theme) .feature p {
    margin-top: 8px;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .audience-offers {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .audience-offer {
    padding: 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audience-links a,
  .audience-offer {
    transition: none;
  }
}

/* One shared foundation for the three recruiting capabilities. */
.ai-base {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fffdf7;
  scroll-margin-top: 88px;
}
.board > .ai-base {
  margin: 0 16px 16px;
}
.ai-base h2,
.ai-base h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}
.ai-base p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
}
.ai-base .ai-base__note {
  color: #e4e9df;
  font-size: 13px;
}
@media (min-width: 901px) {
  :is(.candidate-theme, .recruiter-theme) .hero {
    row-gap: 0;
    grid-template-rows: auto 1fr;
  }
  :is(.candidate-theme, .recruiter-theme) .hero-heading {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  :is(.candidate-theme, .recruiter-theme) .hero > section {
    grid-column: 1;
    grid-row: 2;
  }
  :is(.candidate-theme, .recruiter-theme) .hero > .visual {
    grid-column: 2;
    grid-row: 2;
  }
  .ai-base {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 6px;
    align-items: center;
  }
  .ai-base h2,
  .ai-base h3 {
    grid-row: span 2;
  }
  .ai-base p {
    margin: 0;
  }
}
@media (max-width: 760px) {
  .ai-base {
    padding: 20px;
    scroll-margin-top: 190px;
  }
}
