* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f4f6fb;
  color: #111827;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.hero {
  margin-bottom: 32px;
}

.eyebrow {
  color: #4f46e5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h1 {
  font-size: 48px;
  line-height: 1.05;
  max-width: 800px;
  margin: 0 0 16px;
}

.subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 760px;
}

.app-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.input-panel,
.output-panel,
.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.input-panel {
  padding: 24px;
  position: sticky;
  top: 24px;
}

label {
  display: block;
  font-weight: 700;
  margin: 18px 0 8px;
}

select,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  background: white;
}

textarea {
  min-height: 340px;
  resize: vertical;
  line-height: 1.5;
}

button {
  width: 100%;
  margin-top: 16px;
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 15px;
  background: #4f46e5;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #4338ca;
}

.secondary-button {
  background: #eef2ff;
  color: #3730a3;
}

.secondary-button:hover {
  background: #e0e7ff;
}

.output-panel {
  padding: 24px;
}

.brief-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

h2 {
  margin: 0;
  font-size: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: #ecfeff;
  color: #155e75;
  font-size: 13px;
  font-weight: 800;
}

.card {
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: none;
  border: 1px solid #eef2f7;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.card p,
.card li {
  color: #374151;
  line-height: 1.55;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.follow-up {
  background: #fafafa;
}

.hidden {
  display: none;
}

.priority {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  margin-right: 6px;
}

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

  .input-panel {
    position: static;
  }

  h1 {
    font-size: 36px;
  }
}