:root {
  color-scheme: dark;
  --bg: radial-gradient(circle at 20% -10%, #1b1d2a, #0c0f18 45%, #05060d 100%);
  --panel: rgba(12, 15, 25, 0.9);
  --panel-border: rgba(255, 255, 255, 0.12);
  --accent: #6bf0ff;
  --accent-strong: #44cbd5;
  --text: #eef2ff;
  --muted: #8c98b4;
  font-family: 'Space Grotesk', 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 2vw, 3rem);
  max-width: 900px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 1.4rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0.3rem 0;
  letter-spacing: -0.02em;
}

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

.hero .lede {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.panel {
  background: var(--panel);
  border-radius: 1.2rem;
  padding: clamp(1.75rem, 2vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.switch {
  position: relative;
  width: 56px;
  height: 32px;
  display: inline-block;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: transform 0.35s ease, background 0.35s ease;
  padding: 4px;
}

.slider::before {
  content: '';
  position: absolute;
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.35s ease;
}

.switch input:checked + .slider {
  background: var(--accent);
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

.label {
  margin: 0;
  font-weight: 600;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
}

select {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

select:focus-visible {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(68, 203, 213, 0.25);
}

.note {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  line-height: 1.5;
}

small {
  color: var(--muted);
}

.note-meta {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.btn {
  align-self: flex-start;
  border: none;
  border-radius: 0.9rem;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #060617;
  background: linear-gradient(135deg, #6bf0ff, #35c6d6 60%);
  box-shadow: 0 12px 25px rgba(39, 206, 247, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(39, 206, 247, 0.45);
}

.btn:focus-visible {
  outline: 3px solid rgba(107, 240, 255, 0.45);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .control-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
