:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --panel: #161a22;
  --line: #2f3747;
  --text: #eef1f7;
  --muted: #9aa5b8;
  --accent: #ff4d5a;
  --accent-2: #ff8f5a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 90, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 143, 90, 0.16), transparent 20%),
    linear-gradient(180deg, #090b11 0%, #0d0f14 100%);
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-card,
.card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.95;
  max-width: 12ch;
}

.lede {
  max-width: 56ch;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.6;
}

.hero-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(7, 10, 15, 0.9);
  color: var(--text);
}

textarea {
  resize: vertical;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.output {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  min-height: 120px;
  background: rgba(6, 9, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: auto;
  white-space: pre-wrap;
  color: #d7deea;
}

.stack {
  display: grid;
  gap: 12px;
}

.notes {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.notes strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }
}
