:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #5e625d;
  --line: #d8ded6;
  --paper: #f7f3ec;
  --surface: #fffdf8;
  --accent: #2f6f68;
  --accent-dark: #234f4b;
  --rose: #ba5964;
  --gold: #d99a3d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 154, 61, 0.16), transparent 28rem),
    linear-gradient(135deg, #f7f3ec 0%, #edf5f2 52%, #f6eef0 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.eyebrow,
.response-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.workspace {
  border: 1px solid rgba(47, 111, 104, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 24px 70px rgba(43, 52, 48, 0.13);
  padding: 28px;
}

.mood-form {
  display: grid;
  gap: 14px;
}

label {
  font-size: 1rem;
  font-weight: 800;
}

textarea {
  width: 100%;
  min-height: 148px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  line-height: 1.55;
}

textarea:focus {
  outline: 3px solid rgba(47, 111, 104, 0.22);
  border-color: var(--accent);
}

button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

.response {
  margin-top: 24px;
  border-left: 4px solid var(--rose);
  border-radius: 0 8px 8px 0;
  background: #fff8f5;
  padding: 18px 20px;
}

.response.empty {
  border-left-color: var(--gold);
  background: #fffaf0;
}

.response p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    padding: 36px 0;
  }

  h1 {
    font-size: clamp(2.3rem, 14vw, 4.3rem);
  }

  .workspace {
    padding: 20px;
  }
}
