:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #161616;
  color: #f7f2e8;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(234, 67, 53, 0.32), transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(52, 168, 83, 0.24), transparent 32%),
    linear-gradient(135deg, #171717, #222222 48%, #121212);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(680px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #fbc75d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(56px, 14vw, 140px);
  line-height: 0.9;
  letter-spacing: 0;
}

.brainrot-button {
  width: min(360px, 100%);
  min-height: 88px;
  border: 3px solid #f7f2e8;
  border-radius: 8px;
  background: #ea4335;
  color: #ffffff;
  font-size: clamp(28px, 7vw, 54px);
  font-weight: 950;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 14px 0 #7a1712;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

.brainrot-button:active {
  transform: translateY(10px);
  box-shadow: 0 4px 0 #7a1712;
}

.brainrot-button:hover {
  background: #f04f3f;
}

.status {
  min-height: 24px;
  margin: 28px 0 0;
  color: #f7f2e8;
  font-weight: 700;
}

dialog {
  width: min(420px, calc(100vw - 32px));
  border: 2px solid #f7f2e8;
  border-radius: 8px;
  padding: 0;
  background: #202020;
  color: #f7f2e8;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-body {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.icon-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f7f2e8;
  font-size: 28px;
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  color: #d8d2c7;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #68635a;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font: inherit;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

textarea {
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}

.submit {
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: #34a853;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.secondary {
  min-height: 48px;
  border: 1px solid #fbc75d;
  border-radius: 6px;
  background: #2b2720;
  color: #fbc75d;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  padding: 0 14px;
}

.secondary.wide {
  width: 100%;
}

.inline-status {
  min-height: 18px;
  margin: -8px 0 0;
  color: #fbc75d;
  font-size: 13px;
  font-weight: 700;
}

.submit:disabled,
.secondary:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 420px) {
  .phone-row {
    grid-template-columns: 1fr;
  }
}
