:root {
  --bg: #f4f0e6;
  --ink: #1f1a16;
  --surface: #fffdf8;
  --border: #d9cebb;
  --accent: #d45500;
  --accent-dark: #8b2f00;
  --muted: #6d6256;
  --success: #14532d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 10% 5%, #ffd8b0 0%, transparent 36%),
    radial-gradient(circle at 85% 3%, #ffd1a6 0%, transparent 29%),
    linear-gradient(170deg, #f7f1e6, #efe5d2);
  min-height: 100vh;
}

.hero {
  position: relative;
  padding: 3rem 1.25rem 2rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 85, 0, 0.32), transparent 65%);
  top: -180px;
  right: -90px;
  pointer-events: none;
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  animation: rise 520ms ease-out;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  max-width: 720px;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.layout {
  max-width: 1180px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  background: color-mix(in srgb, var(--surface) 94%, #ffffff 6%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 14px 32px rgba(90, 53, 24, 0.09);
  animation: rise 420ms ease both;
}

.card:nth-child(2) {
  animation-delay: 80ms;
}

.card:nth-child(3) {
  animation-delay: 120ms;
}

.card:nth-child(4) {
  animation-delay: 160ms;
}

.card:nth-child(5) {
  animation-delay: 200ms;
}

.card:nth-child(6) {
  animation-delay: 240ms;
}

.card:nth-child(7) {
  animation-delay: 280ms;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  color: var(--muted);
}

input,
textarea,
select,
button,
pre {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.58rem 0.68rem;
  background: #fffdf9;
  color: var(--ink);
}

textarea {
  min-height: 82px;
  resize: vertical;
}

button {
  border: 1px solid #a13e00;
  background: linear-gradient(160deg, #d45500, #ac3f00);
  color: #fff6eb;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 130ms ease, filter 130ms ease;
}

button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.inline-form {
  display: flex;
  gap: 0.6rem;
}

.inline-form input {
  flex: 1;
}

.stack {
  display: grid;
  gap: 0.65rem;
}

.job-item,
.match-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.7rem;
}

.job-item h3,
.match-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  color: #6b4f36;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  background: #f6e7d6;
  border: 1px solid #edcaa7;
  color: #7a3408;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
}

.span-2 {
  grid-column: span 2;
}

#activity-log {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.8rem;
  background: #fffaf2;
  color: #2a231e;
  max-height: 280px;
  overflow: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.ok {
  color: var(--success);
}

.err {
  color: #991b1b;
}

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

  .span-2 {
    grid-column: auto;
  }

  .inline-form {
    flex-direction: column;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
