/* HRHero marketing site */
:root {
  /* Royal blue = primary (matches employer portal) */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-soft: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.22);
  /* Brand teal = accent */
  --teal: #1f878c;
  --teal-dark: #16696d;
  --teal-light: #2a9fa4;
  --teal-soft: #e8f4f4;
  --teal-glow: rgba(31, 135, 140, 0.2);
  --ink: #0c1929;
  --ink-muted: #475569;
  --ink-soft: #94a3b8;
  --surface: #ffffff;
  --surface-alt: #f8fafb;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1100px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.125rem; }

.lead {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 30rem;
  line-height: 1.7;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-intro {
  max-width: 32rem;
  margin-bottom: 44px;
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

section { padding: 80px 0; }

@media (max-width: 768px) {
  section { padding: 52px 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-teal {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 2px 8px var(--teal-glow);
}

.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-outline {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-ghost {
  color: var(--ink-muted);
  background: transparent;
  padding: 10px 14px;
}

.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 13px 24px; font-size: 15px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.nav-logo img { height: 34px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: 8px;
}

.nav-menu a:hover {
  color: var(--ink);
  background: var(--primary-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--surface);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .nav-menu.is-open { transform: translateX(0); }

  .nav-menu a { padding: 14px 12px; font-size: 15px; }

  .nav-actions--desktop { display: none; }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .nav-mobile-cta .btn { width: 100%; }
}

@media (min-width: 901px) {
  .nav-mobile-cta { display: none; }
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-h) + 44px);
  padding-bottom: 64px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.hero h1 .hl {
  color: var(--primary);
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(12, 25, 41, 0.06);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.panel-top span:last-child {
  color: var(--teal);
  font-weight: 700;
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.panel-body { padding: 16px; }

.pipeline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.pipe-col {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 84px;
}

.pipe-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.pipe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  font-size: 11px;
}

.pipe-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.score {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric {
  padding: 10px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  text-align: center;
}

.metric b {
  display: block;
  font-size: 17px;
  color: var(--primary);
}

.metric small {
  font-size: 10px;
  color: var(--ink-soft);
}

/* Quick entry strip */
.entry-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 700px) {
  .entry-strip { grid-template-columns: 1fr; }
}

.entry-item {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.entry-item + .entry-item {
  border-left: 1px solid var(--border);
}

@media (max-width: 700px) {
  .entry-item + .entry-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

.entry-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.entry-item:first-child .entry-icon { background: var(--primary); }
.entry-item:last-child .entry-icon { background: var(--teal); }

.entry-item h3 {
  font-size: 15px;
  margin-bottom: 2px;
}

.entry-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.entry-item a {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.entry-item:last-child a { color: var(--teal-dark); }

@media (max-width: 700px) {
  .entry-item { flex-wrap: wrap; }
  .entry-item a { margin-left: 60px; }
}

/* Features bento */
.features-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-tile {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-tile:hover {
  border-color: var(--border-strong);
}

.feature-tile.span-7 { grid-column: span 7; }
.feature-tile.span-5 { grid-column: span 5; }
.feature-tile.span-4 { grid-column: span 4; }

@media (max-width: 900px) {
  .feature-tile.span-7,
  .feature-tile.span-5,
  .feature-tile.span-4 { grid-column: span 12; }
}

.feature-tile h3 { margin-bottom: 8px; }

.feature-tile p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

.feature-tile ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.feature-tile li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.feature-tile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--teal);
}

.feature-tile.accent-blue li::before { background: var(--primary); }

.tile-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 12px;
}

.feature-tile.accent-blue .tile-tag { color: var(--primary); }

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .steps-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps-row { grid-template-columns: 1fr; }
}

.step {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step:nth-child(even) .step-num { background: var(--teal); }

.step h3 { margin-bottom: 6px; font-size: 1rem; }

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* App cards */
.apps-section { background: var(--surface-alt); }

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 700px) {
  .apps-grid { grid-template-columns: 1fr; }
}

.app-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.app-card--employer { border-top: 4px solid var(--primary); }
.app-card--candidate { border-top: 4px solid var(--teal); }

.app-card h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}

.app-card p {
  flex: 1;
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 15px;
}

.app-url {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

/* Pricing */
.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pricing-row { grid-template-columns: 1fr; }
}

.plan {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.plan-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 28px var(--primary-glow);
}

.plan-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.plan h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.plan ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 22px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.75;
}

.plan-featured li::before { background: var(--primary); }

.plan .btn { width: 100%; }

/* CTA */
.cta-block {
  padding: 52px 36px;
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-block h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-block p {
  margin: 0 auto 24px;
  max-width: 26rem;
  opacity: 0.92;
  font-size: 1rem;
}

.cta-block .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
  box-shadow: none;
}

.cta-block .btn-primary:hover {
  background: var(--primary-soft);
}

.cta-block .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.cta-block .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-side p {
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.contact-mail {
  display: block;
  font-weight: 600;
  color: var(--primary);
  padding: 10px 0;
  font-size: 15px;
}

.contact-mail:hover { color: var(--primary-dark); }

.contact-social {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 8px;
}

.contact-social a {
  color: var(--teal-dark);
  font-weight: 600;
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .form-2col { grid-template-columns: 1fr; }
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.field textarea { min-height: 110px; resize: vertical; }

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}

.form-status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  background: var(--ink);
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo img {
  height: 30px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #94a3b8;
}

.footer-col a:hover { color: var(--teal-light); }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.footer-links a {
  color: #94a3b8;
  margin-left: 16px;
}

.footer-links a:hover { color: #fff; }

/* Legal */
.legal-page {
  padding: calc(var(--nav-h) + 40px) 0 72px;
}

.legal-page .wrap {
  max-width: 680px;
  margin: 0 auto;
  width: min(100% - 32px, 680px);
}

.legal-page .updated {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.legal-page section {
  padding: 0;
  margin-bottom: 28px;
}

.legal-page h2 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-muted);
  font-size: 15px;
}

.legal-page ul { padding-left: 1.2rem; }

.legal-back { margin-top: 32px; }

/* AI section (glazed) */
.ai-section {
  padding: 88px 0;
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(31, 135, 140, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 95% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    var(--ink);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ai-section .container {
  position: relative;
  z-index: 1;
}

.ai-section .kicker {
  color: var(--teal-light);
  background: rgba(31, 135, 140, 0.2);
  border: 1px solid rgba(42, 159, 164, 0.35);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  margin-bottom: 16px;
}

.ai-section h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  margin-bottom: 12px;
}

.ai-section .section-intro {
  max-width: 36rem;
  margin-bottom: 40px;
}

.ai-section .section-intro p {
  color: #94a3b8;
  font-size: 1rem;
}

.ai-glaze-shell {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 24px;
}

.ai-init-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 720px) {
  .ai-init-grid { grid-template-columns: 1fr; }
}

.ai-init-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.ai-init-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
}

.ai-init-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.init-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}

.init-badge--instant {
  background: rgba(37, 99, 235, 0.35);
  color: #bfdbfe;
}

.init-badge--engine {
  background: rgba(31, 135, 140, 0.35);
  color: #99f6e4;
}

.ai-init-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
}

.ai-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.ai-flow span {
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-flow .arrow {
  color: var(--teal-light);
  padding: 0;
  background: none;
  border: none;
  font-size: 14px;
}

.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 1024px) {
  .ai-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .ai-features-grid {
    grid-template-columns: 1fr;
  }
}

.ai-feature {
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ai-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 159, 164, 0.45);
  box-shadow: 0 12px 32px rgba(31, 135, 140, 0.15);
}

.ai-feature-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-light);
  margin-bottom: 10px;
}

.ai-feature h4 {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ai-feature p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.ai-feature-meta {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-feature-meta strong {
  display: block;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 2px;
}

.ai-fallback-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  color: #94a3b8;
  background: rgba(31, 135, 140, 0.12);
  border: 1px solid rgba(31, 135, 140, 0.25);
}

.ai-fallback-note strong {
  color: var(--teal-light);
}

.ai-section .btn-row {
  margin-top: 32px;
}

.ai-section .btn-primary {
  box-shadow: 0 4px 20px var(--primary-glow);
}

.ai-section .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.ai-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.careers-section {
  padding: 72px 0;
  background: var(--surface-alt);
}

.careers-embed-wrap {
  margin-top: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(12, 25, 41, 0.08);
}

.careers-embed {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: #f5f5f5;
}

@media (max-width: 768px) {
  .careers-embed {
    min-height: 520px;
  }
}
