:root {
  --bg: #f5f0e8;
  --panel: rgba(255, 252, 246, 0.88);
  --text: #1d2433;
  --muted: #5f6675;
  --line: rgba(29, 36, 51, 0.1);
  --accent: #dd6b37;
  --accent-dark: #8f3f1c;
  --shadow: 0 24px 70px rgba(38, 37, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(221, 107, 55, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(52, 123, 109, 0.18), transparent 28%),
    linear-gradient(135deg, #f8f3eb 0%, #efe2d0 100%);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  padding: 24px 0 32px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.lede {
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.panel {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

label,
legend,
#status {
  font-size: 0.95rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  color: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.choice-group label {
  flex-direction: row;
  align-items: center;
}

.choice-group input {
  width: auto;
}

.action {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 700;
  color: #fff7f3;
  background: linear-gradient(135deg, var(--accent), #c25120);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.action:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(221, 107, 55, 0.3);
}

.results-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.result-card {
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(29, 36, 51, 0.08);
}

.result-card time {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.empty {
  padding: 18px;
  border-radius: 22px;
  background: rgba(29, 36, 51, 0.04);
  color: var(--muted);
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding-top: 28px;
  }

  .panel {
    padding: 18px;
    border-radius: 22px;
  }
}
