:root {
  --bg: #f2ece1;
  --ink: #172121;
  --muted: #4a5a58;
  --card: rgba(255, 255, 255, 0.84);
  --accent: #d9480f;
  --accent-2: #2b8a3e;
  --stroke: rgba(23, 33, 33, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #fbd38d 0%, transparent 35%),
    radial-gradient(circle at 90% 0%, #9ae6b4 0%, transparent 28%),
    linear-gradient(140deg, #f7f0e3, #dce7df);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.28;
  pointer-events: none;
  animation: drift 11s ease-in-out infinite alternate;
}

.orb-1 {
  background: #f76707;
  top: -120px;
  left: -90px;
}

.orb-2 {
  background: #2f9e44;
  right: -120px;
  bottom: -120px;
}

@keyframes drift {
  from {
    transform: translateY(0px) scale(1);
  }
  to {
    transform: translateY(25px) scale(1.08);
  }
}

.app-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 4rem;
}

.hero {
  animation: reveal 0.7s ease;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0;
}

h1 {
  margin: 0.3rem 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.02;
}

.subtitle {
  max-width: 62ch;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.card {
  background: var(--card);
  backdrop-filter: blur(6px);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(23, 33, 33, 0.12);
  margin-top: 1rem;
  animation: reveal 0.8s ease;
}

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

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

.hidden {
  display: none;
}

label {
  display: block;
  font-weight: 650;
  margin: 1rem 0 0.45rem;
}

select,
input {
  width: 100%;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.segmented label {
  margin: 0;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 550;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.button {
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.button-primary {
  color: #fff;
  background: linear-gradient(115deg, var(--accent), #ef6c00);
}

.button-ghost {
  color: var(--ink);
  background: #ffffffa5;
  border: 1px solid var(--stroke);
}

.muted {
  color: var(--muted);
  margin-top: 0.35rem;
}

.status {
  margin-top: 1.25rem;
  border: 1px dashed var(--stroke);
  border-radius: 12px;
  padding: 0.8rem;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 680px) {
  .two-col,
  .segmented {
    grid-template-columns: 1fr;
  }
}
