/* SHAWNDERLAND save-the-date. Green terminal, plain words, one column. */

:root {
  --ground: #000;
  --ph: #5cff8a;
  --glow: rgba(92, 255, 138, 0.45);
  --mono: "VT323", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--ground);
  color: var(--ph);
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 0 7px var(--glow);
  display: grid;
  place-items: start center;
  padding: clamp(20px, 5vh, 56px) 18px;
  -webkit-font-smoothing: antialiased;
}

.screen {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: arrive 0.6s steps(4) both;
}
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

.bar {
  background: var(--ph);
  color: var(--ground);
  text-shadow: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 10px;
  font-size: 24px;
  font-weight: 400;
}

.title { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.wordmark {
  font-weight: 400;
  font-size: clamp(40px, 11vw, 58px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--glow), 0 0 2px var(--ph);
}
.by { font-size: 24px; }
.stars { letter-spacing: 0.4em; }

.block { display: flex; flex-direction: column; gap: 14px; }
.invite { text-align: center; }
.big { font-size: 34px; }
.dim { opacity: 0.7; }
.small { font-size: 19px; line-height: 1.2; }

.step { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 4px 0; }
.step label, legend { display: block; }
legend { margin-bottom: 8px; }

.step .choice {
  display: flex; align-items: center; gap: 22px;
  padding: 10px 12px;
  border: 2px solid var(--ph);
  cursor: pointer;
}
.choice + .choice { margin-top: -2px; }
.choice:has(input:checked) { background: var(--ph); color: var(--ground); text-shadow: none; }
.choice input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: none; color: inherit; margin: 0;
  border: 2px solid currentColor;
  cursor: pointer;
}
.choice input:checked { background: var(--ground); box-shadow: inset 0 0 0 3px var(--ph); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ph);
  background: var(--ground);
  border: 2px solid var(--ph);
  border-radius: 0;
  padding: 8px 12px;
}
select { appearance: none; -webkit-appearance: none; }
textarea { resize: vertical; line-height: 1.2; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 12px var(--glow); }
#guest-block { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

button {
  margin-top: 8px;
  font: inherit;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ground);
  background: var(--ph);
  border: 0;
  padding: 12px;
  cursor: pointer;
  text-shadow: none;
}
button:hover, button:focus-visible { outline: 2px solid var(--ph); outline-offset: 4px; }
button:disabled { opacity: 0.5; cursor: wait; }

.note { min-height: 1.3em; text-align: center; }
footer { text-align: center; font-size: 20px; }

[hidden] { display: none !important; }

@media (max-width: 480px) {
  body { font-size: 22px; }
  .big { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }
