@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --cream: #fff4e9;
  --muted: #c6bac9;
  --pink: #ff9ec1;
  --peach: #ffc8a3;
  font-family: 'DM Sans', sans-serif;
  color: var(--cream);
  background: #161020;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(#16102055, #16102088), url('/assets/miami-sunset.webp') center / cover fixed;
}
.panel {
  width: min(100%, 430px);
  padding: 28px;
  background: #161020f0;
  border: 1px solid #ffe4d530;
}
header { text-align: center; margin-bottom: 24px; }
h1 {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(36px, 9vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
}
h1 span { color: var(--pink); }
header p { margin: 0; font-size: 13px; color: var(--muted); }
form { display: grid; gap: 14px; }
.field { min-width: 0; }
label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; }
label span { color: var(--muted); font-weight: 400; }
input, textarea, button { font: inherit; border-radius: 0; }
input, textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #665363;
  background: #261c2d;
  color: var(--cream);
  font-size: 16px;
}
input::placeholder { color: #b8a6b7; opacity: 1; }
textarea { min-height: 70px; resize: vertical; }
.money { position: relative; }
.money > span { position: absolute; left: 12px; top: 11px; color: var(--muted); }
.money input { padding-left: 28px; }
button {
  padding: 13px;
  border: 0;
  background: var(--peach);
  color: #161020;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: var(--pink); }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
#form-status { margin: 0; color: var(--peach); font-size: 13px; line-height: 1.5; }
#form-status:empty { display: none; }
.privacy { margin: 14px 0 8px; color: var(--muted); font-size: 10px; text-align: center; line-height: 1.5; }
.honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 480px), (max-height: 740px) {
  body { padding: 16px; }
  .panel { padding: 22px; }
  header { margin-bottom: 18px; }
  form { gap: 11px; }
  input, textarea { padding-block: 9px; }
  .money > span { top: 9px; }
  textarea { min-height: 60px; }
  button { padding: 12px; }
}
