:root {
  --bg: #fff7ed;
  --card: #ffffff;
  --ink: #241b2f;
  --muted: #6f6178;
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --accent-soft: #ffedd5;
  --border: #eadfd2;
  --shadow: 0 18px 45px rgba(72, 40, 120, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(245, 158, 11, 0.22), transparent 24rem),
    var(--bg);
}

img {
  max-width: 100%;
}

.site-header {
  padding: 1rem;
}

.nav {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px dashed var(--primary);
  color: var(--primary-dark);
  background: #f5f3ff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
}

.hero {
  width: min(1120px, 100%);
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button,
.pagination button,
.fake-apply {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button:hover,
.pagination button:hover,
.fake-apply:hover {
  transform: translateY(-1px);
}

.primary,
.pagination button,
.fake-apply {
  color: white;
  background: var(--primary);
  box-shadow: 0 10px 18px rgba(124, 58, 237, 0.22);
}

.secondary {
  color: var(--primary-dark);
  background: #ede9fe;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.disclaimer,
.jobs-section,
.why {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.disclaimer {
  border: 2px dashed var(--accent);
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.disclaimer h2,
.jobs-section h2,
.why h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.055em;
}

.disclaimer p,
.why p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-count {
  color: var(--muted);
  font-weight: 700;
}

.status-message {
  color: var(--muted);
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.status-message.hidden {
  display: none;
}

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

.job-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1rem;
  min-height: 100%;
  box-shadow: 0 10px 24px rgba(36, 27, 47, 0.08);
}

.job-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #f5f3ff;
  border-radius: 1rem;
  padding: 0.75rem;
}

.job-card h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0;
}

.meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: #f5f3ff;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.description {
  color: var(--muted);
  line-height: 1.55;
}

.requirements {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.requirements li {
  margin-bottom: 0.25rem;
}

.fake-apply {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

#pageInfo {
  font-weight: 900;
}

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

.why-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.25rem;
}

.why-grid img {
  width: 58px;
  height: 58px;
}

.why-grid h3 {
  margin-bottom: 0;
}

.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
}

.footer-tagline {
  margin-top: 0.5rem;
  font-weight: 900;
  color: var(--primary-dark);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .jobs-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    border-radius: 1.25rem;
    align-items: start;
    flex-direction: column;
  }
}

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

  .job-card img {
    width: 64px;
    height: 64px;
  }

  .hero-actions,
  .pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .pagination button {
    text-align: center;
    width: 100%;
  }
}
